|
@@ -61,7 +61,7 @@
|
|
|
<div class="col" style="flex: none">
|
|
|
<div class="label">实际支付金额:</div>
|
|
|
<div class="value">
|
|
|
- <div style="width: 95px;color: red;">{{ data.actAmount || 0 }}元</div>
|
|
|
+ <div style="width: 95px;color: red;">{{(data.payAmount * 100 - data.backAmount* 100 - data.expressAmount* 100 - data.totalBalance * 100)/100}}元</div>
|
|
|
</div>
|
|
|
<span style="padding: 0 10px"> </span>
|
|
|
</div>
|
|
@@ -112,20 +112,20 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- payAmount () {
|
|
|
- return this.data.payAmount
|
|
|
- },
|
|
|
- totalBalance () {
|
|
|
- return this.data.totalBalance
|
|
|
- }
|
|
|
+ // payAmount () {
|
|
|
+ // return this.data.payAmount
|
|
|
+ // },
|
|
|
+ // totalBalance () {
|
|
|
+ // return this.data.totalBalance
|
|
|
+ // }
|
|
|
},
|
|
|
watch: {
|
|
|
- payAmount () {
|
|
|
- this.$set(this.data, 'actAmount', (this.data.payAmount - this.data.totalBalance).toFixed(2))
|
|
|
- },
|
|
|
- totalBalance () {
|
|
|
- this.$set(this.data, 'actAmount', (this.data.payAmount - this.data.totalBalance).toFixed(2))
|
|
|
- },
|
|
|
+ // payAmount () {
|
|
|
+ // this.$set(this.data, 'actAmount', (this.data.payAmount - this.data.totalBalance).toFixed(2))
|
|
|
+ // },
|
|
|
+ // totalBalance () {
|
|
|
+ // this.$set(this.data, 'actAmount', (this.data.payAmount - this.data.totalBalance).toFixed(2))
|
|
|
+ // },
|
|
|
value: {
|
|
|
handler (n) {
|
|
|
this.modal = n
|