#
whycq
2022-09-22 b68cdb5e69be9eca5147966e722d52613875de51
#
1个文件已修改
14 ■■■■ 已修改文件
pages/basics/manStoCheck.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/manStoCheck.vue
@@ -8,8 +8,8 @@
            </view>
            <view class="square-content">
                <view class="content-input">
                    <input type="text" v-model="locno" placeholder="扫码 / 输入" :focus="locnoFocus">
                    <uni-icons v-show="locno" type="closeempty" size="20" color="#dadada" @click="remove('locno')"></uni-icons>
                    <input type="text" v-model="locNo" placeholder="扫码 / 输入" :focus="locnoFocus">
                    <uni-icons v-show="locNo" type="closeempty" size="20" color="#dadada" @click="remove('locno')"></uni-icons>
                </view>
            </view>
        </view>
@@ -113,7 +113,7 @@
        data() {
            return {
                commonUrl:null,
                locno: '',
                locNo: '',
                locnoFocus: true,
                matnr: '',
                matnrFocus: true,
@@ -238,14 +238,14 @@
            },
            resst() {
                this.matList = []
                this.locno = ''
                this.locNo = ''
                // this.barcodeFocuss()
                uni.vibrateShort();
            },
            comb() {
                uni.vibrateShort();
                let that = this;
                if (that.locno === '') {
                if (that.locNo === '') {
                    uni.showToast({title: '请扫描库位条码', icon: "none", position: 'top'});
                    return;
                }
@@ -261,9 +261,9 @@
                }
                uni.showLoading();
                uni.request({
                    url: that.commonUrl + '/mobile/comb/auth',
                    url: that.commonUrl + '/locCheck/pda',
                    data: JSON.stringify({
                        barcode: that.barcode,
                        locNo: that.locNo,
                        combMats: that.matList
                    }),
                    method: 'POST',