verou
2025-04-11 9ce65ebc2a9ab9e0276480252dfda439affe588a
pages/listing/disc.vue
@@ -100,7 +100,7 @@
                        <view class="title text-blue"><text
                              class="text-red text-xl vertical-middle">*</text>组盘数量:
                        </view>
                        <input type="number" placeholder="请输入组盘数量" v-model="item.receiptQty"></input>
                        <input type="number" placeholder="请输入组盘数量" v-model="item.anfme"></input>
                     </view>
                  </view>
               </view>
@@ -142,7 +142,7 @@
      computed: {
         ...mapState('user', ['dynamicFields']),
         allCount() {
            return this.list.reduce((acc, row) => +row.receiptQty + acc, 0) || 0
            return this.list.reduce((acc, row) => +row.anfme + acc, 0) || 0
         }
      },
      mounted() {},
@@ -217,7 +217,8 @@
            const newArr = this.list.map(item => {
               return {
                  ...item,
                  receiptQty: item.receiptQty === null ? 0 : +item.receiptQty
                  anfme: item.anfme === null ? 0 : +item.anfme
                  // receiptQty: item.receiptQty === null ? 0 : +item.receiptQty
               };
            });