12
zhang
2025-06-03 ff97e4b3acbfbc626db1856aeada0c441bf4b257
12
2个文件已修改
36 ■■■■■ 已修改文件
pages/basics/order.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/order.vue
@@ -26,7 +26,7 @@
                </view>
                <view class="square-content">
                    <view class="content-input">
                        <input v-model="order" type="text" placeholder="扫码 / 输入" @input="findOrder()" :focus="focus"
                        <input v-model="order" type="text" disabled="true"
                            placeholder-style="line-height:  85rpx;">
                        <uni-icons type="closeempty" size="20" color="#dadada" @click="removeOrder()"></uni-icons>
                    </view>
@@ -446,14 +446,7 @@
            },
            findTiaoMa() {
                let that = this
                if (!that.orderNo) {
                    uni.showToast({
                        title: '请扫描单据号',
                        icon: "none",
                        position: 'top'
                    });
                    return;
                }
                uni.request({
                    url: that.commonUrl + '/mobile/mat/search/auth',
                    data: {
@@ -467,7 +460,18 @@
                        console.log(result)
                        let res = result.data
                        if (res.code === 200 && res.data) {
                            that.checkMat(res.data)
                            if (that.orderNo == res.data.orderNo){
                                that.findOrder()
                                that.checkMat(res.data)
                            }else if (that.orderNo){
                                if (that.orderNo != res.data.orderNo){
                                    uni.showToast({
                                        title: '不同单据不能混合组托',
                                        icon: "none",
                                        position: 'top'
                                    });
                                }
                            }
                            //this.tiaomas.unshift(that.tiaoma)
                        } else if (res.code == 403) {
                            uni.showToast({
pages/index/index.vue
@@ -35,12 +35,12 @@
                    //     color: 'blue',
                    //     cuIcon: 'copy'
                    // },
                    // {
                    //     title: '组托入库',
                    //     name: 'pakin',
                    //     color: 'blue',
                    //     cuIcon: 'copy'
                    // },
                    {
                        title: '组托入库',
                        name: 'pakin',
                        color: 'blue',
                        cuIcon: 'copy'
                    },
                    // {
                    //     title: '齐套入库',
                    //     name: 'kitting',