#
lsh
昨天 28c702018c4accb6b15c02cc16a44f777bad72d4
#
1个文件已修改
25 ■■■■ 已修改文件
pages/inbound/buffStore.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/inbound/buffStore.vue
@@ -439,6 +439,7 @@
                const { code, data, msg } = await request('/AGV/bindAndIn/start/T', {
                    matNr: this.matNr,
                    palletSta: this.palletStaBarcode,
                    area: "20",
                    palletBarcode: this.palletBarcode
                })
                if (code === 200) {
@@ -447,20 +448,20 @@
                        icon: 'success'
                    })
                    // 更新物料编码、物料名称
                    this.matNr = item.matnrCode || ''
                    this.makTx = ' 待入库物料名称:' + (item.makTx || '')
                    // this.matNr = item.matnrCode || ''
                    // this.makTx = ' 待入库物料名称:' + (item.makTx || '')
                    // 从列表中移除该项
                    const index = this.bagList.findIndex(
                        (i) => i.palletId === item.palletId
                    )
                    if (index > -1) {
                        this.bagList.splice(index, 1)
                    }
                    // 如果列表为空,关闭弹窗
                    if (this.bagList.length === 0) {
                        this.closeModal()
                    }
                    // const index = this.bagList.findIndex(
                    //     (i) => i.palletId === item.palletId
                    // )
                    // if (index > -1) {
                    //     this.bagList.splice(index, 1)
                    // }
                    // // 如果列表为空,关闭弹窗
                    // if (this.bagList.length === 0) {
                    //     this.closeModal()
                    // }
                } else {
                    uni.showToast({
                        title: msg,