#
whycq
2024-07-12 8dce0c046351d793415c8e2ab42a2ab85fb7e3ba
pages/pakin/pakin.vue
@@ -22,7 +22,8 @@
         </view>
         <view class="item">
            <view class="code-decs">物料码:</view>
            <input type="text" placeholder=" 扫码 / 输入" v-model="matnr" :focus="matFocus" @input="findMat()">
            <input type="text" style="width: 350rpx;" placeholder=" 扫码 / 输入" v-model="matnr" :focus="matFocus" @input="findMat()">
            <uni-icons type="close" color="#c1c1c1" @click="clearMatnr"></uni-icons>
            <view class="item-right">
               <button></button>
               <text style="text-align: right;color: #409EFF;" @click="selectMat()">提取+</text>
@@ -190,6 +191,10 @@
      },
      methods: {
         back() { uni.navigateBack({}) },
         clearMatnr() {
            // this.matnr = ''
            this.focuss()
         },
         messageToggle(type) {
            this.msgType1 = type
            this.$refs.message.open()
@@ -222,7 +227,7 @@
         },
         // 商品光标清空重置
         focuss() {
            this.focus = false;
            this.matFocus = false;
            setTimeout(() => {
               this.matnr = '';
               this.matFocus = true;