1
zhang
2025-09-26 4a01b5f1b111885aa0cadf3d5f96fee78413be16
pages/pakin/pakin.vue
@@ -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: '',
@@ -172,6 +173,7 @@
         },
         // barcode input 事件
         barcodeInput() {
            this.barcode = this.barcode.replace(/^\{|\}$/g, '')
            // 不设置定时器 会出现扫入的字符串不全
            setTimeout(() => {
               var len = this.barcode.length
@@ -329,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()