#
whycq
2022-09-22 b68cdb5e69be9eca5147966e722d52613875de51
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',