Browse Source

包装发运报警

pull/158/head
wangxy 3 years ago
parent
commit
05afa03568
2 changed files with 7 additions and 0 deletions
  1. +2
    -0
      src/views/quality/component/shipmentCode.vue
  2. +5
    -0
      src/views/quality/pkg.vue

+ 2
- 0
src/views/quality/component/shipmentCode.vue View File

@ -85,7 +85,9 @@ export default {
currentShipOrder: el,
}
this.$emit('handleSuccessCode', this.newEmitObj)
this.$refs.successAudio.play()
} else {
this.$refs.errAudio.play();
this.statusInfo = '请正确扫描捡料单!'
return
}


+ 5
- 0
src/views/quality/pkg.vue View File

@ -204,12 +204,17 @@ export default {
}
api.checkpackorderitem(params).then((res) => {
if (res.code === 200) {
this.$refs.successAudio.play()
if (res.data == 'close') {
this.defaultSelectOne()
} else {
this.packorderitemlst(1) //
}
} else {
this.$refs.errAudio.play();
}
}).catch(() => {
this.$refs.errAudio.play();
})
},
//


Loading…
Cancel
Save