|
|
@@ -216,11 +216,11 @@
|
|
|
</div>
|
|
|
<div class="accounts-list">
|
|
|
实收
|
|
|
- <el-input style="width: 80%" v-model="realMoney" clearable></el-input>
|
|
|
+ <el-input style="width: 80%" v-model="modifyPrice" clearable></el-input>
|
|
|
</div>
|
|
|
<div class="accounts-list">
|
|
|
优惠
|
|
|
- <div class="accounts-center">{{(totalMoney - realMoney).toFixed(2)}}</div>
|
|
|
+ <div class="accounts-center">{{(totalMoney - modifyPrice).toFixed(2)}}</div>
|
|
|
</div>
|
|
|
<div class="accounts-list">
|
|
|
备注
|
|
|
@@ -235,7 +235,7 @@
|
|
|
<div class="accounts-list">
|
|
|
{{ payType }}
|
|
|
<div class="accounts-center">
|
|
|
- ¥{{ realMoney }}
|
|
|
+ ¥{{ modifyPrice }}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="accounts-list">
|
|
|
@@ -318,7 +318,7 @@ export default {
|
|
|
big:null,//大单位(扎)
|
|
|
small:null,//小单位(支)
|
|
|
totalMoney:0,//总价
|
|
|
- realMoney:0,//实际收款
|
|
|
+ modifyPrice:0,//实际收款
|
|
|
allList:'',//所有-可搜索数据
|
|
|
seekVal:'',//搜索值
|
|
|
seekOldVal:'',//旧-搜索值(上一次搜索值)
|
|
|
@@ -422,9 +422,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- realMoneyFun(money){
|
|
|
- let realMoney = this.$util.copyObject(money)
|
|
|
- return realMoney.toFixed(2);
|
|
|
+ modifyPriceFun(money){
|
|
|
+ let modifyPrice = this.$util.copyObject(money)
|
|
|
+ return modifyPrice.toFixed(2);
|
|
|
},
|
|
|
todays(type) {
|
|
|
var myDate = new Date();
|
|
|
@@ -465,7 +465,7 @@ export default {
|
|
|
product:JSON.stringify(product),
|
|
|
remark:this.remark,
|
|
|
clearType:this.payType=='欠款'?1:2,
|
|
|
- realPrice: this.realMoney,
|
|
|
+ modifyPrice: this.modifyPrice,
|
|
|
}
|
|
|
this.$service.order.orderCreate(parameter).then(res => {
|
|
|
this.orderMsg = res;
|
|
|
@@ -590,7 +590,7 @@ export default {
|
|
|
})
|
|
|
this.totalMoney = totalMoney;
|
|
|
this.number = this.totalMoney
|
|
|
- this.realMoney = this.totalMoney;
|
|
|
+ this.modifyPrice = this.totalMoney;
|
|
|
},
|
|
|
/**关闭选择扎支弹窗-初始化**/
|
|
|
escFun(){
|
|
|
@@ -714,7 +714,7 @@ export default {
|
|
|
},
|
|
|
freightInput(){
|
|
|
this.totalMoney = Number(this.freight) + this.number
|
|
|
- this.realMoney = Number(this.freight) + this.number
|
|
|
+ this.modifyPrice = Number(this.freight) + this.number
|
|
|
}
|
|
|
}
|
|
|
};
|