#146 发运优化

Merged
Liwei merged 1 commits from feature_supplier into develop 3 years ago
  1. +5
    -3
      src/views/quality/component/shipmentCode.vue

+ 5
- 3
src/views/quality/component/shipmentCode.vue View File

@ -42,9 +42,9 @@ export default {
//
enterPress() {
this.statusInfo = ''
if (this.pickCode.indexOf('P-') != -1) { //
if (this.pickCode.indexOf('P-') != -1) { //
if (!this.shipOrderId) {
this.msgInfo('请先扫描发运单!')
this.statusInfo = '请先扫描捡料单!'
return
} else {
let params = {
@ -68,7 +68,7 @@ export default {
this.isSuccess = false
})
}
} else { //
} else { //
this.tableData.forEach(el => {
if (el['JIT_ShipOrder-ShipOrderId'] === this.pickCode) {
this.currentShipOrder = el
@ -77,10 +77,12 @@ export default {
}
this.$emit('handleSuccessCode', this.newEmitObj)
} else {
this.statusInfo = '请正确扫描捡料单!'
return
}
})
}
this.pickCode = ''
},
//
resetCode() {


Loading…
Cancel
Save