From 7cb7fc7cd45a2c578e71034882aa3cbe7371a2b5 Mon Sep 17 00:00:00 2001
From: qiezi <15576055375@163.com>
Date: Fri, 8 Nov 2024 11:36:55 +0800
Subject: [PATCH] 2024-11-08
---
.../modules/proofing/requestForProofing.vue | 43 ++++++++++++++++---
.../modules/quotation/requestForQuote.vue | 26 ++++++++---
.../modules/quotation/sellForQuotation.vue | 23 ++++++++--
src/views/modules/test/requestForTest.vue | 39 +++++++++++++++--
4 files changed, 112 insertions(+), 19 deletions(-)
diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue
index 7477ea9..8a5d2f3 100644
--- a/src/views/modules/proofing/requestForProofing.vue
+++ b/src/views/modules/proofing/requestForProofing.vue
@@ -232,14 +232,18 @@
CS
-
+
+
+
NPI工程师
-
+
+
+
@@ -247,14 +251,25 @@
Approver
-
+
+
+
DelegateAccess
-
+
+
+
+
+
+
+
+
+
+
@@ -847,7 +862,22 @@ export default {
if (newVal === false){
this.detailVisible = false
}
- }
+ },
+ 'modalData.tracker'(newVal,oldVal){
+ if (!newVal){
+ this.modalData.trackerName = ''
+ }
+ },
+ 'modalData.engineer'(newVal,oldVal){
+ if (!newVal){
+ this.modalData.engineerName = ''
+ }
+ },
+ 'modalData.approver'(newVal,oldVal){
+ if (!newVal){
+ this.modalData.approverName = ''
+ }
+ },
},
computed: {
delegateAccessName: {
@@ -3538,6 +3568,9 @@ export default {
} else {
this.$router.push({name:`part-partInformation`,params:{partNo:row.testPartNo},})
}
+ },
+ clearModalData(filed){
+ this.modalData[filed] = ''
}
}
}
diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue
index 07951ec..f9b04de 100644
--- a/src/views/modules/quotation/requestForQuote.vue
+++ b/src/views/modules/quotation/requestForQuote.vue
@@ -266,13 +266,17 @@
报价专员
报价专员
-
+
+
+
采购专员
-
+
+
+
@@ -566,7 +570,7 @@
@tab-click="tabClick" class="customer-tab">
+ :quotation-no="quotationCurrentRow.quotationBatchNo" height="45vh">
@@ -695,7 +699,7 @@
-
+
@@ -854,6 +858,11 @@ export default {
this.modalData.trackerName = ''
}
},
+ "modalData.quoter"(newVal,oldVal){
+ if (newVal === '' || newVal === null || newVal === undefined){
+ this.modalData.quoterName = ''
+ }
+ },
"searchData.quotationNo"(newVal,oldVal){
this.searchData.quotationNo = newVal.toUpperCase()
},
@@ -864,7 +873,7 @@ export default {
if (newVal === false){
this.detailVisible = false
}
- }
+ },
},
data() {
return {
@@ -2509,7 +2518,7 @@ export default {
getPriceCheckProperties() {
let params = {
site: this.quotationCurrentRow.site,
- quotationNo: this.quotationCurrentRow.quotationNo
+ quotationNo: this.quotationCurrentRow.quotationBatchNo
}
getPriceCheckPropertiesList(params).then(({data}) => {
if (data && data.code === 0) {
@@ -3385,7 +3394,10 @@ export default {
updateDetailModal(row){
this.detailVisible = true
this.updateModal(row)
- }
+ },
+ clearModalData(field){
+ this.modalData[field] = ''
+ },
}
}
diff --git a/src/views/modules/quotation/sellForQuotation.vue b/src/views/modules/quotation/sellForQuotation.vue
index 116f1a5..2c580be 100644
--- a/src/views/modules/quotation/sellForQuotation.vue
+++ b/src/views/modules/quotation/sellForQuotation.vue
@@ -277,7 +277,9 @@
报价专员
-
+
+
+
@@ -285,7 +287,9 @@
采购专员
-
+
+
+
@@ -1546,7 +1550,10 @@ export default {
}
})
}
- }
+ },
+ clearInsertData(field){
+ this.insertData[field] = ''
+ },
},
computed: {},
watch: {
@@ -1588,6 +1595,16 @@ export default {
"searchData.projectId"(newVal,oldVal){
this.searchData.projectId = newVal.toUpperCase()
},
+ 'insertData.quoter'(newVal,oldVal){
+ if (!newVal){
+ this.insertData.quoterName = ''
+ }
+ },
+ 'insertData.tracker'(newVal,oldVal){
+ if (!newVal){
+ this.insertData.trackerName = ''
+ }
+ },
},
mounted() {
},
diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue
index cae16ba..c578ae9 100644
--- a/src/views/modules/test/requestForTest.vue
+++ b/src/views/modules/test/requestForTest.vue
@@ -248,28 +248,36 @@
Artwork
Artwork
-
+
+
+
TP工程师
TP工程师
-
+
+
+
CQC
CQC
-
+
+
+
FAI
FAI
-
+ \
+
+
@@ -895,6 +903,26 @@
}
}
},
+ 'modalData.tracker'(newV, oldV){
+ if (newV === '' || newV === undefined || newV === null){
+ this.modalData.trackerName = ''
+ }
+ },
+ 'modalData.engineer'(newV, oldV){
+ if (newV === '' || newV === undefined || newV === null){
+ this.modalData.engineerName = ''
+ }
+ },
+ 'modalData.artwork'(newV, oldV){
+ if (newV === '' || newV === undefined || newV === null){
+ this.modalData.artworkName = ''
+ }
+ },
+ 'modalData.planner'(newV, oldV){
+ if (newV === '' || newV === undefined || newV === null){
+ this.modalData.plannerName = ''
+ }
+ },
modalFlag(newVal, oldVal){
if (newVal === false){
this.detailFlag = false
@@ -3408,6 +3436,9 @@
}
})
},
+ clearModalData(field){
+ this.modalData[field] = ''
+ }
},
}