1
zhang
2025-09-26 4a01b5f1b111885aa0cadf3d5f96fee78413be16
pages/pakin/pakin.vue
@@ -2,7 +2,7 @@
   <view>
      <view class="code">
         <view class="item">
            <view class="code-decs">站点码:</view>
            <view class="code-decs">托盘码:</view>
            <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus"
               @input="barcodeInput()">
         </view>
@@ -41,7 +41,7 @@
                  <view class="left-item">{{item.specs}}</view>
               </view>
               <view class="list-left-item">
                  <view class="desc" style="width: 38%;">情况说明:</view>
                  <view class="desc" style="width: 38%;">批号:</view>
                  <view class="left-item">
                     <uni-tag :text="item.batch" type="warning"></uni-tag>
                  </view>
@@ -83,8 +83,8 @@
                  </view>
               </view>
               <view class="popup-item">
                  <view class="popup-item-left" style="width: 20vw;">情况说明:</view>
                  <view class="popup-item-right" style="width: 46vw;"><input type="text" v-model="batch"></view>
                  <view class="popup-item-left" style="width: 20vw;">备注:</view>
                  <view class="popup-item-right" style="width: 46vw;"><input type="text" v-model="memo"></view>
               </view>
               <!-- <view class="popup-item">
                  <view class="popup-item-left">重量:</view>
@@ -141,6 +141,7 @@
            baseUrl: '',
            token: '',
            barcode: '',
            mome: '',
            dataList: [],
            count: 0,
            rowNum: '',
@@ -176,7 +177,7 @@
            // 不设置定时器 会出现扫入的字符串不全
            setTimeout(() => {
               var len = this.barcode.length
               if (len != 3) {
               if (len != 8) {
                  uni.showToast({
                     title: '托盘码有误请重试',
                     icon: "none",
@@ -330,6 +331,7 @@
            this.matnr = this.dataList[i].matnr
            this.count = this.dataList[i].anfme
            this.batch = this.dataList[i].batch
            this.memo = this.dataList[i].memo
            this.weight = this.dataList[i].weight
            this.rowNum = i
            this.eject()