#
whycq
2024-08-09 ae6fccae984271d6380567b22e0e5bdd8da9b52b
pages/pakin/pakin.vue
@@ -47,11 +47,19 @@
                  </view>
               </view>
               <view class="list-left-item">
                  <view class="desc">袋号:</view>
                  <view class="left-item">{{item.units}}</view>
               </view>
               <view class="list-left-item">
                  <view class="desc">重量备注:</view>
                  <view class="left-item">{{item.memo}}</view>
               </view>
               <!-- <view class="list-left-item">
                  <view class="desc">重量:</view>
                  <view class="left-item">
                     <uni-tag :text="item.weight" type="warning"></uni-tag>
                  </view>
               </view>
               </view> -->
               <view class="list-left-item">
                  <view class="desc">数量:</view>
                  <view class="left-item">{{item.anfme}}</view>
@@ -82,14 +90,22 @@
                        style="background-color: #f7f7f7;padding: 0;color: #d5d5d5;">
                  </view>
               </view>
               <!-- <view class="popup-item">
               <view class="popup-item">
                  <view class="popup-item-left">批号:</view>
                  <view class="popup-item-right"><input type="text" v-model="batch"></view>
               </view> -->
               </view>
               <view class="popup-item">
                  <view class="popup-item-left">袋号:</view>
                  <view class="popup-item-right"><input type="text" v-model="units"></view>
               </view>
               <view class="popup-item">
                  <view class="popup-item-left">重量备注:</view>
                  <view class="popup-item-right"><input type="text" v-model="memo"></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> -->
               <view class="popup-item">
                  <view class="popup-item-left">数量:</view>
                  <view class="popup-item-right" style="border: none;justify-content: center;">
@@ -318,6 +334,8 @@
            this.matnr = this.dataList[i].matnr
            this.count = this.dataList[i].anfme
            this.batch = this.dataList[i].batch
            this.units = this.dataList[i].units
            this.memo = this.dataList[i].memo
            this.weight = this.dataList[i].weight
            this.rowNum = i
            this.eject()
@@ -347,6 +365,8 @@
         reviseConfirm() {
            this.dataList[this.rowNum].anfme = this.count
            this.dataList[this.rowNum].batch = this.batch
            this.dataList[this.rowNum].units = this.units
            this.dataList[this.rowNum].memo = this.memo
            this.dataList[this.rowNum].weight = this.weight
            this.matnr = ''
            this.messageText = "修改成功"
@@ -450,11 +470,15 @@
<style>
   @import url('../../static/css/wms.css/wms.css');
   .list:first-child {
      margin-top: 280rpx;
   }
   .code {
      width: 100%;
      position: fixed;
      min-height: 200rpx;
      min-height: 140rpx;
      background-color: #FFF;
      z-index: 10;
   }
@@ -462,7 +486,7 @@
   .item {
      display: flex;
      align-items: center;
      height: 100rpx;
      height: 70rpx;
      margin-left: 20rpx;
      border-bottom: 1px solid #DCDFE6;
   }
@@ -494,7 +518,7 @@
      width: 100%;
      background-color: white;
      position: fixed;
      margin-top: 200rpx;
      margin-top: 140rpx;
      z-index: 9;
      /* border-top: 1px solid #DCDFE6; */
      text-align: center;