1
huangxiaoqiang
3 天以前 5a15fa73d5f6a39917013871a65eb11a8c013391
ÏîÄ¿´úÂë/PDA/pages/task/Inbound.vue
@@ -6,18 +6,18 @@
         <view style="padding: 5%;">
            <uni-forms label-width="120">
               <uni-forms-item label="托盘编码">
                  <uni-easyinput type="text" :focus="!istrue" v-model="PalletCode1" placeholder="请输入托盘编码"
                     ref='midInput' />
                  <uni-easyinput type="text" :focus="barcodeFocus" v-model="PalletCode1" placeholder="请输入托盘编码"
                     ref='midInput' @input="Changebarcode()"/>
               </uni-forms-item>
               <uni-forms-item label="入库起点">
                  <uni-easyinput type="text" :focus="istrue" v-model="SourceAddress" placeholder="请输入入库起点"
                  <uni-easyinput type="text" :focus="addressFocus" v-model="SourceAddress" placeholder="请输入入库起点"
                     ref='midInput' />
               </uni-forms-item>
               <!-- <uni-forms-item label="入库终点">
                  <uni-easyinput type="text" :focus="istrue" v-model="TargetAddress" placeholder="请输入入库终点"
                     ref='midInput' />
               </uni-forms-item> -->
               <uni-forms-item label="终 ç‚¹ åŒº åŸŸ">
               <uni-forms-item label="终点区域">
                  <uni-data-select :focus="!istrue" v-model="AreaId" :localdata="range"
                     placeholder="请输选择入库终点区域"></uni-data-select>
               </uni-forms-item>
@@ -87,8 +87,10 @@
   export default {
      data() {
         return {
            barcodeFocus:true,
            focus: false,
            istrue: false,
            addressFocus:false,
            barcodefocus: false,
            range: [],
            group: [],
@@ -191,7 +193,7 @@
            var param = {
               "PalletCode": this.PalletCode3,
            }
            this.$u.post('/api/StockInfo/DeleteGroupPlateAsync', param).then(res => {
            this.$u.post('/api/BoxingInfo/DeleteGroupPlateAsync', param).then(res => {
               if (res.status) {
                  this.$refs.luToast.show({
                     title: res.message,
@@ -251,6 +253,14 @@
            })
         },
         Changebarcode() {
            this.barcodeFocus = false;
            this.$nextTick(function(x) {
               if (this.PalletCode1 != '') {
                  this.addressFocus = true;
               }
            })
         },
         inputChangebarcode() {
            this.$nextTick(() => {
               this.$u.post('/api/BoxingInfo/GetPalletCodeInfo?palletCode=' + this.PalletCode2, "").then(