Commit b68b73c5 authored by 吴冠's avatar 吴冠
parents 64923c48 25148d87
...@@ -393,6 +393,7 @@ export default { ...@@ -393,6 +393,7 @@ export default {
item.name = item.fileName; item.name = item.fileName;
item.url = item.accessoryUrl; item.url = item.accessoryUrl;
} }
data.accessoryPOList=data.accessoryVOList
this.ruleForm = data; this.ruleForm = data;
let userInfo = JSON.parse(localStorage.getItem('userInfo')); let userInfo = JSON.parse(localStorage.getItem('userInfo'));
this.ruleForm.purchaseAgent = userInfo.companyName; this.ruleForm.purchaseAgent = userInfo.companyName;
......
...@@ -62,12 +62,13 @@ export default { ...@@ -62,12 +62,13 @@ export default {
} }
}; };
return { return {
accessoryPOList: [],
editorOption: {}, editorOption: {},
breads: ['招标管理', '招标项目管理', '工作台'], breads: ['招标管理', '招标项目管理', '工作台'],
ruleForm: { ruleForm: {
title: '', title: '',
content: '' content: '',
accessoryPOList: [],
}, },
rules: { rules: {
title: [ title: [
...@@ -110,7 +111,7 @@ export default { ...@@ -110,7 +111,7 @@ export default {
for (let item of val) { for (let item of val) {
item.accessoryUrl = item.fileUrl; item.accessoryUrl = item.fileUrl;
} }
this.accessoryPOList = val; this.ruleForm.accessoryPOList = val;
}, },
// 获取详情 // 获取详情
async getbiddingProjectId() { async getbiddingProjectId() {
...@@ -129,7 +130,6 @@ export default { ...@@ -129,7 +130,6 @@ export default {
async submit() { async submit() {
let ruleForm = this.ruleForm; let ruleForm = this.ruleForm;
ruleForm.projectId = localStorage.getItem('projectId'); ruleForm.projectId = localStorage.getItem('projectId');
ruleForm.accessoryPOList = this.accessoryPOList;
try { try {
const valid = await this.$refs['ruleForm'].validate(); const valid = await this.$refs['ruleForm'].validate();
if (valid) { if (valid) {
...@@ -154,7 +154,6 @@ export default { ...@@ -154,7 +154,6 @@ export default {
async submit1() { async submit1() {
let ruleForm = this.ruleForm; let ruleForm = this.ruleForm;
ruleForm.projectId = localStorage.getItem('projectId'); ruleForm.projectId = localStorage.getItem('projectId');
ruleForm.accessoryPOList = this.accessoryPOList;
try { try {
const valid = await this.$refs['ruleForm'].validate(); const valid = await this.$refs['ruleForm'].validate();
if (valid) { if (valid) {
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
{ {
id: 54, id: 54,
label: '查看招标公告', label: '查看招标公告',
url: '/supply/bid/signupOnline/seeAnnouncement', url: '/supply/bid/joinProject/seeInvitation',
bright: false bright: false
}, },
{ {
......
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