| | |
| | | <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>
|
| | |
| | | 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() {},
|
| | |
| | | const newArr = this.list.map(item => {
|
| | | return {
|
| | | ...item,
|
| | | receiptQty: item.receiptQty === null ? 0 : +item.receiptQty
|
| | | anfme: item.anfme === null ? 0 : + item.anfme,
|
| | | receiptQty: item.anfme === null ? 0 : + item.anfme
|
| | | };
|
| | | });
|
| | |
|