zjj
2025-03-21 f3fd6931f2f1c68b9f51a51de2eeb32f07135a53
#出入库修改
2个文件已修改
40 ■■■■ 已修改文件
pages/basics/pakin.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/pakin.vue
@@ -32,6 +32,19 @@
                    </view>
                </view>
            </view>
            <view class="square-2">
                <view class="square-title">
                    <view class="title-sign"><view class="sign"></view></view>
                    <view class="title-text"><text>库位码</text></view>
                </view>
                <view class="square-content">
                    <view class="content-input">
                        <input v-model="locNo" type="text" placeholder="扫码 / 输入"
                          placeholder-style="line-height:  85rpx;">
                        <uni-icons type="closeempty" size="20" color="#dadada" @click="removeLocNo()"></uni-icons>
                    </view>
                </view>
            </view>
            
            
            <view class="square-1">
@@ -136,7 +149,8 @@
                check:false,
                checkText:'全选',
                checkedData:[],
                batch:''
                batch:'',
                locNo:''
            }
        },
        onShow() {
@@ -195,6 +209,7 @@
            resst() {
                this.matList = []
                this.barcode = ''
                this.locNo = ''
                this.barcodeFocuss()
                uni.vibrateShort();
            },
@@ -205,6 +220,10 @@
                this.$nextTick(function() {
                    this.barcodeFocus = true;
                });
            },
            removeLocNo() {
                this.locNo = ''
                uni.vibrateShort();
            },
            removeMatnr() {
                this.matnr = ''
@@ -226,6 +245,10 @@
                    uni.showToast({title: '请扫描托盘条码', icon: "none", position: 'top'});
                    return;
                }
                if (that.locNo === '') {
                    uni.showToast({title: '请输入库位码', icon: "none", position: 'top'});
                    return;
                }
                if (that.matList.length === 0) {
                    uni.showToast({title: '请添加商品列表', icon: "none", position: 'top'});
                    return;
@@ -241,6 +264,7 @@
                    url: that.commonUrl + '/mobile/comb/auth',
                    data: JSON.stringify({
                        barcode: that.barcode,
                        locno: that.locNo,
                        combMats: that.matList
                    }),
                    method: 'POST',
pages/index/index.vue
@@ -36,17 +36,17 @@
                    //     cuIcon: 'copy'
                    // },
                    {
                        title: '组托入库',
                        title: '组托',
                        name: 'pakin',
                        color: 'blue',
                        cuIcon: 'copy'
                    },
                    {
                        title: '订单组托',
                        name: 'order',
                        color: 'blue',
                        cuIcon: 'goods'
                    },
                    // {
                    //     title: '订单组托',
                    //     name: 'order',
                    //     color: 'blue',
                    //     cuIcon: 'goods'
                    // },
                    {
                        title: '库存查询',
                        name: 'stockQuery',