Commit 25148d87 authored by 张冬's avatar 张冬

询价公告和招标公告文件问题

parent cf8960ae
......@@ -393,6 +393,7 @@ export default {
item.name = item.fileName;
item.url = item.accessoryUrl;
}
data.accessoryPOList=data.accessoryVOList
this.ruleForm = data;
let userInfo = JSON.parse(localStorage.getItem('userInfo'));
this.ruleForm.purchaseAgent = userInfo.companyName;
......
......@@ -62,12 +62,13 @@ export default {
}
};
return {
accessoryPOList: [],
editorOption: {},
breads: ['招标管理', '招标项目管理', '工作台'],
ruleForm: {
title: '',
content: ''
content: '',
accessoryPOList: [],
},
rules: {
title: [
......@@ -110,7 +111,7 @@ export default {
for (let item of val) {
item.accessoryUrl = item.fileUrl;
}
this.accessoryPOList = val;
this.ruleForm.accessoryPOList = val;
},
// 获取详情
async getbiddingProjectId() {
......@@ -129,7 +130,6 @@ export default {
async submit() {
let ruleForm = this.ruleForm;
ruleForm.projectId = localStorage.getItem('projectId');
ruleForm.accessoryPOList = this.accessoryPOList;
try {
const valid = await this.$refs['ruleForm'].validate();
if (valid) {
......@@ -154,7 +154,6 @@ export default {
async submit1() {
let ruleForm = this.ruleForm;
ruleForm.projectId = localStorage.getItem('projectId');
ruleForm.accessoryPOList = this.accessoryPOList;
try {
const valid = await this.$refs['ruleForm'].validate();
if (valid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment