From 4226ab2dc2337dd46221d74bde43eb3a7ff31c03 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Thu, 8 Oct 2026 13:42:49 +0800 Subject: [PATCH] =?UTF-8?q?2026-10-08=20=E9=A1=B9=E7=9B=AE=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=9A=201=E3=80=81=E6=96=B0=E5=A2=9E=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E2=80=9D=E4=BC=98=E5=85=88=E7=BA=A7=E2=80=9C=E9=BB=98?= =?UTF-8?q?=E8=AE=A4Standard=EF=BC=9B=202=E3=80=81=E4=B8=BB=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E2=80=9C=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=B9=B4=E9=94=80=E5=94=AE=E9=A2=9DCNY(K)=E2=80=9D?= =?UTF-8?q?=E5=92=8C=E2=80=9C=E4=BA=A7=E5=93=81=E7=B1=BB=E5=88=AB=E2=80=9D?= =?UTF-8?q?=203=E3=80=81"=E9=A1=B9=E7=9B=AE=E6=8F=8F=E8=BF=B0=E2=80=9D?= =?UTF-8?q?=E6=94=B9=E6=88=90=E2=80=9C=E5=AE=A2=E6=88=B7=E4=BA=A7=E5=93=81?= =?UTF-8?q?"=EF=BC=8C"=E5=AE=A2=E6=88=B7=E5=BA=94=E7=94=A8/=E8=A6=81?= =?UTF-8?q?=E6=B1=82"=20=E6=94=B9=E6=88=90"=E5=AE=A2=E6=88=B7=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=BA=94=E7=94=A8=EF=BC=9B=204=E3=80=81=E3=80=90?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E3=80=91=E4=B8=AD=E6=B7=BB=E5=8A=A0=E2=80=9C?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=B9=B4=E9=94=80=E5=94=AE=E9=A2=9DCNY(K)?= =?UTF-8?q?=E2=80=9D=E6=9D=A1=E4=BB=B6=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com_projectInfo-add-or-update.vue | 10 +- .../project/projectInfo/projectInfo.vue | 92 ++++++++++++++++++- .../modules/proofing/requestForProofing.vue | 6 +- .../modules/quotation/requestForQuote.vue | 4 +- .../quotationProjectInformation.vue | 4 +- src/views/modules/test/requestForTest.vue | 4 +- 6 files changed, 103 insertions(+), 17 deletions(-) diff --git a/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue b/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue index b568688..20adadf 100644 --- a/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue +++ b/src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue @@ -90,10 +90,10 @@ - + - + @@ -360,7 +360,7 @@ projectName:'', projectDesc:'', needDate:'', - priority:'', + priority:'Standard', projectSource:'', industry:'', priorityDesc:'', @@ -641,7 +641,7 @@ projectName: '', projectDesc: '', needDate: '', - priority: '', + priority: 'Standard', projectSource: '', industry: '', priorityDesc: '', @@ -1169,7 +1169,7 @@ missing.push('直接客户') } if (!this.dataForm.customerRemark || String(this.dataForm.customerRemark).trim() === '') { - missing.push('客户应用/要求') + missing.push('客户产品应用') } if (missing.length) { this.$message.warning('项目经理不为空时,' + missing.join('、') + '不能为空') diff --git a/src/views/modules/project/projectInfo/projectInfo.vue b/src/views/modules/project/projectInfo/projectInfo.vue index 5ad17b1..5bd0c76 100644 --- a/src/views/modules/project/projectInfo/projectInfo.vue +++ b/src/views/modules/project/projectInfo/projectInfo.vue @@ -184,10 +184,10 @@ - + - + @@ -656,6 +656,43 @@ fixed: '', columnWidth: 120 }, + { + userId: this.$store.state.user.name, + functionId: 101002001, + serialNumber: '101002001Table1ProjectAmount', + tableId: "101002001Table1", + tableName: "项目信息主表", + columnProp: "projectAmount", + headerAlign: "center", + align: "right", + columnLabel: "项目年销售额CNY(K)", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 170 + }, + { + userId: this.$store.state.user.name, + functionId: 101002001, + serialNumber: '101002001Table1ProductCategory', + tableId: "101002001Table1", + tableName: "项目信息主表", + columnProp: "productCategory", + headerAlign: "center", + align: "left", + columnLabel: "产品类别", + columnHidden: false, + columnImage: false, + columnSortable: false, + showOverflowTooltip: true, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 180 + }, { userId: this.$store.state.user.name, functionId: 101002001, @@ -2118,6 +2155,55 @@ if(!this.accessField('10202002')){ this.columnList1=this.columnList1.filter(item => item.columnProp !== 'projectSource'); } + this.ensureProjectListColumns() + }, + ensureProjectListColumns () { + const columns = Array.isArray(this.columnList1) ? this.columnList1.slice() : [] + const extras = [ + { + columnProp: 'projectAmount', + columnLabel: '项目年销售额CNY(K)', + align: 'right', + columnWidth: 170, + serialNumber: '101002001Table1ProjectAmount' + }, + { + columnProp: 'productCategory', + columnLabel: '产品类别', + align: 'left', + columnWidth: 180, + serialNumber: '101002001Table1ProductCategory' + } + ] + let anchor = columns.findIndex(item => item.columnProp === 'customerProjectNo') + extras.forEach(extra => { + if (columns.some(item => item.columnProp === extra.columnProp)) { + return + } + const column = { + userId: this.$store.state.user.name, + functionId: 101002001, + serialNumber: extra.serialNumber, + tableId: '101002001Table1', + tableName: '项目信息主表', + columnProp: extra.columnProp, + headerAlign: 'center', + align: extra.align, + columnLabel: extra.columnLabel, + columnHidden: false, + columnImage: false, + columnSortable: false, + showOverflowTooltip: extra.columnProp === 'productCategory', + sortLv: 0, + status: true, + fixed: '', + columnWidth: extra.columnWidth + } + const insertAt = anchor >= 0 ? anchor + 1 : columns.length + columns.splice(insertAt, 0, column) + anchor = insertAt + }) + this.columnList1 = columns }, toChangeMenu(changeNo){ @@ -2276,7 +2362,7 @@ missing.push('直接客户') } if (!source.customerRemark || String(source.customerRemark).trim() === '') { - missing.push('客户应用/要求') + missing.push('客户产品应用') } if (missing.length) { this.$message.warning('项目经理不为空时,' + missing.join('、') + '不能为空') diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue index 4fd8e11..3018ac3 100644 --- a/src/views/modules/proofing/requestForProofing.vue +++ b/src/views/modules/proofing/requestForProofing.vue @@ -224,7 +224,7 @@ 客户编码 - @@ -659,10 +659,10 @@ - + - + diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index e3163b3..1d010cd 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -684,10 +684,10 @@ - + - + diff --git a/src/views/modules/quotation/sellForQuotation/quotationProjectInformation.vue b/src/views/modules/quotation/sellForQuotation/quotationProjectInformation.vue index 5dfa970..bea565d 100644 --- a/src/views/modules/quotation/sellForQuotation/quotationProjectInformation.vue +++ b/src/views/modules/quotation/sellForQuotation/quotationProjectInformation.vue @@ -64,10 +64,10 @@ - + - + diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index ad39f20..c4d5c01 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -799,10 +799,10 @@ - + - +