#
whycq
2023-05-06 424d5b1cb1779166d6d07a03d01dbaa4abc1ef9e
pages/mat/matSelected.vue
@@ -17,7 +17,7 @@
            <view class="form-item-desc"><text>批号</text></view>
            <view class="form-item-content">
               <view class="form-input">
                  <input type="text">
                  <input type="text" v-model="mat.batch">
               </view>
            </view>
         </view>
@@ -44,7 +44,7 @@
               maktx: null,
               specs: null,
               batch: null,
               anfme: null,
               anfme: 0,
            },
            baseIP:'',
            basePORT:'',
@@ -78,13 +78,11 @@
            this.mat.anfme = value
         },
         back() {
            console.log(this.mat.anfme);
            if (this.mat.anfme === 0) {
               uni.showToast({title: '请输入数量', icon: "none", position: 'top'});
               return;
            }
            this.getOpenerEventChannel().emit('matList', {data: this.mat});
            uni.vibrateShort();
            uni.navigateBack({
               
            })