huangxiaoqiang
5 天以前 c3877b2ebec19f473f45e8c2245926f65d2a3948
ÏîÄ¿´úÂë/LGPDA/pages/task/Outbound.vue
@@ -10,8 +10,8 @@
                     placeholder="请输入托盘编码" ref='midInput' />
               </uni-forms-item>
               <uni-forms-item label="出库库位">
                  <uni-easyinput type="text" :focus="istrue"  v-model="SourceAddress"
                     placeholder="请输入出库库位" ref='midInput' />
                  <uni-easyinput type="text" :focus="istrue" v-model="SourceAddress" placeholder="请输入出库库位"
                     ref='midInput' />
               </uni-forms-item>
            </uni-forms>
            <button @click="InboundTask" type="primary" size="default" style="margin-top: 2%;">出库</button>
@@ -22,8 +22,8 @@
         <view style="padding: 5%;">
            <uni-forms label-width="120">
               <uni-forms-item label="出库库位">
                  <uni-easyinput type="text" :focus="!barcodefocus" @input="inputChangebarcode" v-model="StartAddress"
                     placeholder="请输入出库库位" ref='midInput' />
                  <uni-easyinput type="text" :focus="!barcodefocus" @input="inputChangebarcode"
                     v-model="StartAddress" placeholder="请输入出库库位" ref='midInput' />
               </uni-forms-item>
            </uni-forms>
            <button @click="SamplingInboundTask" type="primary" size="default" style="margin-top: 2%;">抽检出库</button>
@@ -52,22 +52,22 @@
      //    this.getEndLocations();
      // },
      methods: {
         carNoInputChange() {
            this.istrue = false;
            this.$nextTick(function(x) {
               if (this.barcode != '') {
                  this.istrue = true;
               }
            })
         },
         inputChangebarcode() {
            this.barcodefocus = false;
            this.$nextTick(function(x) {
               if (this.barcode != '') {
                  this.barcodefocus = true;
               }
            })
         },
         // carNoInputChange() {
         //    this.istrue = false;
         //    this.$nextTick(function(x) {
         //       if (this.barcode != '') {
         //          this.istrue = true;
         //       }
         //    })
         // },
         // inputChangebarcode() {
         //    this.barcodefocus = false;
         //    this.$nextTick(function(x) {
         //       if (this.barcode != '') {
         //          this.barcodefocus = true;
         //       }
         //    })
         // },
         onClickItem(e) {
            if (this.current != e.currentIndex) {
               this.current = e.currentIndex;