|
|
@@ -135,15 +135,15 @@
|
|
|
@select="handleSelectionChange"
|
|
|
@select-all="handleSelectionChange"
|
|
|
:cache-key="cacheKeyUrl"
|
|
|
- :datasource="orderForm.productList"
|
|
|
+ :datasource="form.originalList"
|
|
|
row-key="id"
|
|
|
max-height="500px"
|
|
|
>
|
|
|
<template v-slot:toolbar>
|
|
|
<div class="headbox">
|
|
|
- <span class="amount">总计:{{ orderForm.totalAmount }}元</span>
|
|
|
+ <span class="amount">总计:{{ form.amount }}元</span>
|
|
|
<span class="amount"
|
|
|
- >应付金额:{{ orderForm.payAmount }}元</span
|
|
|
+ >应付金额:{{ form.discountAmount }}元</span
|
|
|
>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -953,6 +953,7 @@
|
|
|
if (data) {
|
|
|
this.form.sourceNo = data.orderNo;
|
|
|
this.form.sourceId = data.id;
|
|
|
+ this.form.originalList = data.productList;
|
|
|
// this.form.amount = data.totalAmount;
|
|
|
// this.form.discountAmount = data.payAmount;
|
|
|
this.$nextTick(() => {
|