From aa1120c235d98210a370914b5c4dd03271ac5563 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Wed, 3 Apr 2024 09:12:37 +0800 Subject: [PATCH] plm BM --- src/api/customer/customerInformation.js | 1 + .../com_projectInfo-add-or-update.vue | 19 ++++- .../project/projectInfo/projectInfo.vue | 81 ++++++++++++++++++- 3 files changed, 98 insertions(+), 3 deletions(-) diff --git a/src/api/customer/customerInformation.js b/src/api/customer/customerInformation.js index b9c9427..6bbdfcc 100644 --- a/src/api/customer/customerInformation.js +++ b/src/api/customer/customerInformation.js @@ -25,3 +25,4 @@ export const customerInformationEdit = data => createAPI(`/plm/customerInformati */ export const customerInformationDelete = data => createAPI(`/plm/customerInformation/customerInformationDelete`,'post',data) +export const customerInformationSearchForCheck= data => createAPI(`/plm/customerInformation/customerInformationSearchForCheck`,'post',data) 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 f6690b8..5a2a884 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 @@ -35,12 +35,18 @@ - + 所属客户 + + + 终端客户 + + + @@ -258,7 +264,9 @@ projectTypeDb:'', projectType:'', customerName:'', + finalCustomerName:'', customerId:'', + finalCustomerId:'', projectName:'', projectDesc:'', needDate:'', @@ -406,6 +414,9 @@ if(type==1) { strVal = this.dataForm.customerId } + if(type==2) { + strVal = this.dataForm.finalCustomerId + } } if (val === 1011) { if(type==1) { @@ -433,6 +444,10 @@ this.dataForm.customerId = val.Customer_no this.dataForm.customerName = val.Customer_desc } + if(this.tagNo1==2) { + this.dataForm.finalCustomerId = val.Customer_no + this.dataForm.finalCustomerName = val.Customer_desc + } } if (this.tagNo === 1011) { if(this.tagNo1==1) { @@ -519,6 +534,8 @@ projectOwnerList:[], buNo:'', buDesc:'', + finalCustomerId:'', + finalCustomerName:'', } let inData={ site:this.dataForm.site, diff --git a/src/views/modules/project/projectInfo/projectInfo.vue b/src/views/modules/project/projectInfo/projectInfo.vue index 7ac6d46..4f1d2a0 100644 --- a/src/views/modules/project/projectInfo/projectInfo.vue +++ b/src/views/modules/project/projectInfo/projectInfo.vue @@ -210,6 +210,50 @@ + +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ +
+ + + +
+
+ + + +
+
+ + + +
+
@@ -430,7 +474,7 @@