zhou zhou
5 天以前 90973a0d28df32f953276212377642ebbd6bceab
#空托出
1个文件已修改
21 ■■■■ 已修改文件
pages/emptyTray/outBound.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/emptyTray/outBound.vue
@@ -33,6 +33,7 @@
            <button
                class="cu-btn bg-blue shadow-blur"
                @click="confirm"
                :disabled="isconfirm"
            >
                呼叫
            </button>
@@ -53,7 +54,8 @@
            list: [],
            range: [],
            curCode: '',
            palletTypeId: ''
            palletTypeId: '',
            isconfirm : false
        }
    },
    computed: {
@@ -145,10 +147,15 @@
                })
                return
            } else {
                const { code, data, msg } = await request('/orders/confirm', {
                    receipts: newArr,
                    palletTypeId: this.palletTypeId
                })
                this.isconfirm = true
                try{
                    const { code, data, msg } = await request(
                        '/callForEmptyContainers',
                        {
                            staNo: this.barcode,
                            type: this.palletTypeId
                        }
                    )
                if (code === 200) {
                    uni.showToast({
                        title: '呼叫空托盘中,请稍作等待'
@@ -163,6 +170,10 @@
                        position: 'top'
                    })
                }
                }finally{
                    this.isconfirm = false
                }
            }
            // const {