|
@@ -217,12 +217,12 @@
|
|
{{ scope.row.payRebateAmount | numToFixed }}
|
|
{{ scope.row.payRebateAmount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="right" label="发货折扣金额" prop="discAmount" min-width="110" show-overflow-tooltip>
|
|
|
|
|
|
+ <el-table-column align="right" label="发货折扣金额" prop="totalDiscAmount" min-width="110" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.totalDiscAmount | numToFixed }}
|
|
{{ scope.row.totalDiscAmount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="right" label="折扣额合计" prop="totalDiscAmount" min-width="100" show-overflow-tooltip>
|
|
|
|
|
|
+ <el-table-column align="right" label="折扣额合计" prop="compute_zkeAmount" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ (scope.row.totalDiscAmount + scope.row.payRebateAmount) | numToFixed }}
|
|
{{ (scope.row.totalDiscAmount + scope.row.payRebateAmount) | numToFixed }}
|
|
</template>
|
|
</template>
|
|
@@ -233,12 +233,12 @@
|
|
{{ scope.row.singlePayPrice | numToFixed }}
|
|
{{ scope.row.singlePayPrice | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="right" label="含税总额" prop="singlePayPrice" min-width="100" show-overflow-tooltip>
|
|
|
|
|
|
+ <el-table-column align="right" label="含税总额" prop="payAmount" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.payAmount | numToFixed }}
|
|
{{ scope.row.payAmount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="right" label="未出库数量" prop="singlePayPrice" min-width="100" show-overflow-tooltip>
|
|
|
|
|
|
+ <el-table-column align="right" label="未出库数量" prop="" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ comRefundableQty(scope.row.type, scope.row.salesExamineStatus, scope.row) }}
|
|
{{ comRefundableQty(scope.row.type, scope.row.salesExamineStatus, scope.row) }}
|
|
</template>
|
|
</template>
|
|
@@ -493,6 +493,20 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ watch: {
|
|
|
|
+ dataList: {
|
|
|
|
+ handler(newValue, oldValue) {
|
|
|
|
+ if(newValue && newValue.length) {
|
|
|
|
+ newValue.forEach((item, index) => {
|
|
|
|
+ this.dataList[index].compute_zkeAmount = item.totalDiscAmount + item.payRebateAmount;
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ immediate: true,
|
|
|
|
+ deep: true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
created() {
|
|
created() {
|
|
this.getSalesmanList();
|
|
this.getSalesmanList();
|
|
this.getCategoryList();
|
|
this.getCategoryList();
|
|
@@ -592,7 +606,7 @@ export default {
|
|
res.data.records.forEach(item => {
|
|
res.data.records.forEach(item => {
|
|
item.notOutNumber = item.salesStatus ? 0 : item.refundableQty;
|
|
item.notOutNumber = item.salesStatus ? 0 : item.refundableQty;
|
|
item.sums1 = ['refundableQty'];
|
|
item.sums1 = ['refundableQty'];
|
|
- item.sums2 = ['payAmount', 'payRebateAmount', 'discAmount', 'totalDiscAmount'];
|
|
|
|
|
|
+ item.sums2 = ['payAmount', 'payRebateAmount', 'discAmount', 'totalDiscAmount', 'singlePayPrice', 'compute_zkeAmount'];
|
|
})
|
|
})
|
|
this.dataList = res.data.records;
|
|
this.dataList = res.data.records;
|
|
this.listTotal = res.data.total;
|
|
this.listTotal = res.data.total;
|