Browse Source

包装发运

pull/159/head
wangxy 3 years ago
parent
commit
a80f67507f
2 changed files with 5 additions and 4 deletions
  1. +3
    -2
      src/views/quality/component/shipmentCode.vue
  2. +2
    -2
      src/views/quality/pkg.vue

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

@ -59,7 +59,9 @@ export default {
}
checkScancarpack(params).then(res => {
if (res.code === 200) {
this.$refs.successAudio.play()
if (res.data === 'success') { //
this.$refs.successAudio.play()
}
this.isSuccess = true
this.newEmitObj = {
shipOrderId: this.shipOrderId,
@ -85,7 +87,6 @@ export default {
currentShipOrder: el,
}
this.$emit('handleSuccessCode', this.newEmitObj)
this.$refs.successAudio.play()
} else {
this.$refs.errAudio.play();
this.statusInfo = '请正确扫描捡料单!'


+ 2
- 2
src/views/quality/pkg.vue View File

@ -204,8 +204,8 @@ export default {
}
api.checkpackorderitem(params).then((res) => {
if (res.code === 200) {
this.$refs.successAudio.play()
if (res.data == 'close') {
this.$refs.successAudio.play()
this.defaultSelectOne()
} else {
this.packorderitemlst(1) //
@ -243,7 +243,7 @@ export default {
//
api.checkbarcode(code).then((res) => {
if (res.code === 200) {
this.$refs.successAudio.play()
// this.$refs.successAudio.play()
if (res.data.InfoType === "doing") { // doing !
this.$confirm(`是否要创建包装单`, '提示', {
confirmButtonText: '确定',


Loading…
Cancel
Save