diff --git a/src/views/modules/part/standardRoutingOperation.vue b/src/views/modules/part/standardRoutingOperation.vue index aaafc0a..9ad7b5d 100644 --- a/src/views/modules/part/standardRoutingOperation.vue +++ b/src/views/modules/part/standardRoutingOperation.vue @@ -942,7 +942,7 @@ export default { if (this.modalData.workCenterNo != null && this.modalData.workCenterNo !== '') { let tempData = { tagno: tagNo, - conditionSql: " and work_center_no = '" + this.modalData.workCenterNo + "'" + " and site = '" + this.modalData.bu.split('_')[0] + "'" + " and bu_no = '" + this.modalData.bu.split('_')[1] + "'" + conditionSql: " and work_center_no = '" + this.modalData.workCenterNo + "'" + " and site = '" + this.modalData.bu.split('_')[0] + "'" } // 返回 Promise return verifyData(tempData).then(({ data }) => { @@ -972,7 +972,7 @@ export default { if (this.modalData.setupLaborClassNo != null && this.modalData.setupLaborClassNo !== '') { let tempData = { tagno: tagNo, - conditionSql: " and class_no = '" + this.modalData.setupLaborClassNo + "'" + " and site = '" + this.modalData.bu.split('_')[0] + "'" + " and bu_no = '" + this.modalData.bu.split('_')[1] + "'" + conditionSql: " and class_no = '" + this.modalData.setupLaborClassNo + "'" + " and site = '" + this.modalData.bu.split('_')[0] + "'" } // 返回 Promise return verifyData(tempData).then(({data}) => { @@ -1002,7 +1002,7 @@ export default { if (this.modalData.laborClassNo != null && this.modalData.laborClassNo !== '') { let tempData = { tagno: tagNo, - conditionSql: " and class_no = '" + this.modalData.laborClassNo + "'" + " and site = '" + this.modalData.bu.split('_')[0] + "'" + " and bu_no = '" + this.modalData.bu.split('_')[1] + "'" + conditionSql: " and class_no = '" + this.modalData.laborClassNo + "'" + " and site = '" + this.modalData.bu.split('_')[0] + "'" } return verifyData(tempData).then(({data}) => { if (data && data.code === 0) {