Browse Source

2024.12.12

java8
yuejiayang 1 year ago
parent
commit
ae91613b08
  1. 6
      src/views/modules/part/standardRoutingOperation.vue

6
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) {

Loading…
Cancel
Save