| | |
| | | |
| | | <uni-td align="center"> |
| | | <view>{{ item.bunkerName }}</view></uni-td> |
| | | <uni-td align="center"> |
| | | <uni-td align="center" v-if="isNumOk"> |
| | | <view> |
| | | <u-input |
| | | v-model="subDataList[index].quant" |
| | | v-model="subDataList[index].surplusQuant" |
| | | border="surround" |
| | | placeholder="请输入数量" /> |
| | | </view></uni-td> |
| | |
| | | if(this.isNumOk){ |
| | | let tempArr = []; |
| | | this.subDataList.forEach(item=>{ |
| | | tempArr.push(item.productId + ':' + item.quant); |
| | | tempArr.push(item.productId + ':' + item.surplusQuant); |
| | | this.isWeighing = item.isWeight; |
| | | this.orderType = item.orderType; |
| | | }) |
| | |
| | | confirmBuild() { |
| | | let tempArr = []; |
| | | this.subDataList.forEach(item=>{ |
| | | tempArr.push(item.productId + ':' + item.quant); |
| | | tempArr.push(item.productId + ':' + item.surplusQuant); |
| | | }) |
| | | this.mapProductNum = tempArr.join(",") |
| | | let form = { |