Browse Source

2025/7/10

master
Aoi_Tori 6 months ago
parent
commit
7f97de3646
  1. 20
      src/views/modules/test/requestForTest.vue

20
src/views/modules/test/requestForTest.vue

@ -1105,13 +1105,13 @@ export default {
modalFlag(newVal, oldVal) { modalFlag(newVal, oldVal) {
if (newVal === false) { if (newVal === false) {
this.detailFlag = false this.detailFlag = false
this.modalData.customerNoFlag = false
this.modalData.projectIdFlag = true
this.modalData.testPartNoFlag = false
this.projectPartData.projectId = ''
this.searchProjectData.customerId = ''
this.searchProjectData.testPartNo = ''
} }
this.modalData.customerNoFlag = false
this.modalData.projectIdFlag = true
this.modalData.testPartNoFlag = false
this.projectPartData.projectId = ''
this.searchProjectData.customerId = ''
this.searchProjectData.testPartNo = ''
}, },
rejectVisible(newVal, oldVal) { rejectVisible(newVal, oldVal) {
if (newVal === false) { if (newVal === false) {
@ -1124,6 +1124,8 @@ export default {
this.projectPartData.customerPartNo = '' this.projectPartData.customerPartNo = ''
this.partPageNo = 1 this.partPageNo = 1
this.partPageSize = 20 this.partPageSize = 20
} else {
this.getProjectPartList()
} }
} }
}, },
@ -2679,6 +2681,12 @@ export default {
*/ */
addModal() { addModal() {
this.searchTestPropertiesItem(); this.searchTestPropertiesItem();
this.modalData.customerNoFlag = false
this.modalData.projectIdFlag = true
this.modalData.testPartNoFlag = false
this.projectPartData.projectId = ''
this.searchProjectData.customerId = ''
this.searchProjectData.testPartNo = ''
this.modalDisableFlag = false this.modalDisableFlag = false
this.modalFlag = true this.modalFlag = true
}, },

Loading…
Cancel
Save