分支自 SuZhouGuanHong/TaiYuanTaiZhong

huanghongfeng
2024-06-25 0fc13e17d0d508fda80860c29cb9540ca7fc104b
´úÂë¹ÜÀí/Ì«ÖØPDA/pages/feeding/feeding.vue
@@ -4,7 +4,7 @@
         class="login__info__item__input tn-flex tn-flex-direction-row tn-flex-nowrap tn-flex-col-center tn-flex-row-left">
         <view class="login__info__item__input__content">
            <input maxlength="500" :disabled="isfill" v-model="barcode" placeholder-class="input-placeholder"
               focus="true" @input="barcodeInput" placeholder="请扫描条码"   />
               focus="focu" @input="barcodeInput" placeholder="请从下往上扫描条码"   />
               
         </view>
         <button class="" size="mini" @click="clearSN" > æ¸…空</button>
@@ -35,6 +35,7 @@
            show: false,
            station: '',
            stationNo: '',
            focu:true,
            selectorObj: [{
                  cateName: '1号下料口',
                  id: "W01001004"
@@ -55,7 +56,7 @@
               if (len <= 4) {
                  this.barcode = this.barcode + ',';
               }
               else if(len < 5){
               else if(len < 5){
                  this.barcode = this.barcode;
               }
                else {
@@ -72,12 +73,17 @@
            this.stationNo = x.id
         },
         clearSN:function(e){
            this.barcode="";
            this.isfill=false;
         },
         submit() {
            if (this.barcode == '') {
               this.$t.message.toast('条码不能为空')
               this.$t.message.toast('条码不能为空!')
               return;
            }
            if(this.station==''){
               this.$t.message.toast('请选择下料口!')
               return;
            }