Browse Source

员工选择 2022-06-21 sxm

master
[li_she] 4 years ago
parent
commit
8c50aa93a2
  1. 2
      src/views/modules/shopOrder/productionReport/common/productionLineYieldReport.vue
  2. 2
      src/views/modules/shopOrder/shopOrder/common/routing.vue

2
src/views/modules/shopOrder/productionReport/common/productionLineYieldReport.vue

@ -276,7 +276,7 @@
this.tagNo = val this.tagNo = val
this.$nextTick(() => { this.$nextTick(() => {
let query = this.itemData.operator let query = this.itemData.operator
this.$refs.baseList.init(val, query)
this.$refs.baseList.init(val, query, " and A.OperatorID in (Select D.ResourceID from WorkCenterResource as D Where D.Site=A.Site and D.WorkCenterNo= 'FQC')")
}) })
}, },
// //

2
src/views/modules/shopOrder/shopOrder/common/routing.vue

@ -580,6 +580,8 @@
if (data.code == 0) { if (data.code == 0) {
let maxItem = JSON.parse(JSON.stringify(this.selectRow)) let maxItem = JSON.parse(JSON.stringify(this.selectRow))
maxItem.itemNo = Number(data.data) + 10 maxItem.itemNo = Number(data.data) + 10
let barcodeID = '0000'+maxItem.itemNo
maxItem.barcodeID = maxItem.site+'-00000'+maxItem.orderNo+"-"+barcodeID.slice(-4)
// //
this.addRouteInShopOrder(maxItem) this.addRouteInShopOrder(maxItem)
} }

Loading…
Cancel
Save