#
whycq
2024-03-13 48ce80144f3c7f7f85fd6f76f455d5dddf032f73
pages/pakin/pakin.vue
@@ -50,6 +50,10 @@
                     <uni-tag :text="item.batch" type="warning"></uni-tag>
                  </view>
               </view>
               <view class="list-left-item">
                  <view class="desc">米数:</view>
                  <view class="left-item">{{item.meter ? item.meter : '--'}}</view>
               </view>
               <!-- <view class="list-left-item">
                  <view class="desc">重量:</view>
                  <view class="left-item">
@@ -90,10 +94,10 @@
                  <view class="popup-item-left">批号:</view>
                  <view class="popup-item-right"><input type="text" v-model="batch"></view>
               </view>
               <!-- <view class="popup-item">
                  <view class="popup-item-left">重量:</view>
                  <view class="popup-item-right"><input type="text" v-model="weight"></view>
               </view> -->
               <view class="popup-item">
                  <view class="popup-item-left">米数:</view>
                  <view class="popup-item-right"><input type="text" v-model="meter"></view>
               </view>
               <view class="popup-item">
                  <view class="popup-item-left">数量:</view>
                  <view class="popup-item-right" style="border: none;justify-content: center;">
@@ -160,6 +164,7 @@
            matFocus: false,
            matData: '',
            removeNum: 0,
            meter: ''
         }
      },
      onLoad() {
@@ -323,6 +328,7 @@
            this.count = this.dataList[i].anfme
            this.batch = this.dataList[i].batch
            this.weight = this.dataList[i].weight
            this.meter = this.dataList[i].meter
            this.rowNum = i
            this.eject()
         },
@@ -352,6 +358,7 @@
            this.dataList[this.rowNum].anfme = this.count
            this.dataList[this.rowNum].batch = this.batch
            this.dataList[this.rowNum].weight = this.weight
            this.dataList[this.rowNum].meter = this.meter
            this.matnr = ''
            this.messageText = "修改成功"
            this.messageToggle('success')
@@ -392,6 +399,9 @@
                  return;
               }
            }
            for (let k of that.dataList) {
               k.batch = k.batch + '_' + k.meter
            }
            uni.request({
               url: that.baseUrl + '/mobile/comb/auth',
               data: JSON.stringify({