Showing
4 changed files
with
8 additions
and
8 deletions
| ... | ... | @@ -43,7 +43,7 @@ |
| 43 | 43 | <uni-list> |
| 44 | 44 | <uni-list-item title="买断品种"> |
| 45 | 45 | <template v-slot:footer> |
| 46 | - <uni-easyinput :value="item.buyoutCategory" :inputBorder="false" disabled /> | |
| 46 | + <uni-easyinput :value="item.productName" :inputBorder="false" disabled /> | |
| 47 | 47 | </template> |
| 48 | 48 | </uni-list-item> |
| 49 | 49 | <uni-list-item title="买断数量"> |
| ... | ... | @@ -339,7 +339,7 @@ export default { |
| 339 | 339 | settleLineId: item.settleLineId || item.id || '', |
| 340 | 340 | procurementPlanId: item.procurementPlanId || '', |
| 341 | 341 | productId: item.productId || '', |
| 342 | - buyoutCategory: item.buyoutCategory || item.category || '', | |
| 342 | + productName: item.productName || '', | |
| 343 | 343 | buyoutQuantity, |
| 344 | 344 | buyoutPrice, |
| 345 | 345 | buyoutAmount: this.calcBuyoutAmount(buyoutPrice, buyoutQuantity), |
| ... | ... | @@ -428,7 +428,7 @@ export default { |
| 428 | 428 | settleLineId: item.settleLineId || '', |
| 429 | 429 | procurementPlanId: item.procurementPlanId || '', |
| 430 | 430 | productId: item.productId || '', |
| 431 | - buyoutCategory: item.buyoutCategory || '', | |
| 431 | + productName: item.productName || '', | |
| 432 | 432 | buyoutQuantity: this.toNum(item.buyoutQuantity), |
| 433 | 433 | buyoutPrice: this.toNum(item.buyoutPrice), |
| 434 | 434 | buyoutAmount: this.toNum(item.buyoutAmount), | ... | ... |
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | <view v-if="!lineList.length" class="empty-tip">暂无明细</view> |
| 26 | 26 | <view v-for="(item, idx) in lineList" :key="'l-' + (item.id || idx)" class="card"> |
| 27 | 27 | <view class="card-index">第 {{ idx + 1 }} 行</view> |
| 28 | - <view class="row"><text class="label">买断品种</text><text class="value">{{ safeText(item.buyoutCategory) }}</text></view> | |
| 28 | + <view class="row"><text class="label">买断品种</text><text class="value">{{ safeText(item.productName) }}</text></view> | |
| 29 | 29 | <view class="row"><text class="label">买断数量</text><text class="value">{{ formatNumber(item.buyoutQuantity) }}</text></view> |
| 30 | 30 | <view class="row"><text class="label">买断单价</text><text class="value">{{ formatNumber(item.buyoutPrice) }}</text></view> |
| 31 | 31 | <view class="row"><text class="label">买断金额</text><text class="value">{{ formatNumber(item.buyoutAmount) }}</text></view> | ... | ... |
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | <uni-list> |
| 43 | 43 | <uni-list-item title="买断品种"> |
| 44 | 44 | <template v-slot:footer> |
| 45 | - <uni-easyinput :value="item.buyoutCategory" :inputBorder="false" disabled /> | |
| 45 | + <uni-easyinput :value="item.productName" :inputBorder="false" disabled /> | |
| 46 | 46 | </template> |
| 47 | 47 | </uni-list-item> |
| 48 | 48 | <uni-list-item title="买断数量"> |
| ... | ... | @@ -236,7 +236,7 @@ export default { |
| 236 | 236 | settleLineId: item.settleLineId || '', |
| 237 | 237 | procurementPlanId: item.procurementPlanId || '', |
| 238 | 238 | productId: item.productId || '', |
| 239 | - buyoutCategory: item.buyoutCategory || '', | |
| 239 | + productName: item.productName || '', | |
| 240 | 240 | buyoutQuantity: item.buyoutQuantity == null ? '' : item.buyoutQuantity, |
| 241 | 241 | buyoutPrice: item.buyoutPrice == null ? '' : item.buyoutPrice, |
| 242 | 242 | buyoutAmount: item.buyoutAmount == null ? '' : item.buyoutAmount, |
| ... | ... | @@ -316,7 +316,7 @@ export default { |
| 316 | 316 | settleLineId: item.settleLineId || '', |
| 317 | 317 | procurementPlanId: item.procurementPlanId || '', |
| 318 | 318 | productId: item.productId || '', |
| 319 | - buyoutCategory: item.buyoutCategory || '', | |
| 319 | + productName: item.productName || '', | |
| 320 | 320 | buyoutQuantity: this.toNum(item.buyoutQuantity), |
| 321 | 321 | buyoutPrice: this.toNum(item.buyoutPrice), |
| 322 | 322 | buyoutAmount: this.toNum(item.buyoutAmount), | ... | ... |
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | <view v-if="!lineList.length" class="empty-tip">暂无明细</view> |
| 21 | 21 | <view v-for="(item, idx) in lineList" :key="'l-' + (item.id || idx)" class="card"> |
| 22 | 22 | <view class="card-index">第 {{ idx + 1 }} 行</view> |
| 23 | - <view class="row"><text class="label">买断品种</text><text class="value">{{ safeText(item.buyoutCategory) }}</text></view> | |
| 23 | + <view class="row"><text class="label">买断品种</text><text class="value">{{ safeText(item.productName) }}</text></view> | |
| 24 | 24 | <view class="row"><text class="label">买断数量</text><text class="value">{{ formatNumber(item.buyoutQuantity) }}</text></view> |
| 25 | 25 | <view class="row"><text class="label">买断单价</text><text class="value">{{ formatNumber(item.buyoutPrice) }}</text></view> |
| 26 | 26 | <view class="row"><text class="label">买断金额</text><text class="value">{{ formatNumber(item.buyoutAmount) }}</text></view> | ... | ... |