|
|
|
|
@ -1898,6 +1898,7 @@ export default {
|
|
|
|
|
let total = eval(this.$refs.payment.payLists.map(item=>{return item.payMoney?item.payMoney*1:0}).join("+"))
|
|
|
|
|
if(this.appearPrices*1 || total){
|
|
|
|
|
if(total>this.appearPrices*1){
|
|
|
|
|
this.formData = new FormData();
|
|
|
|
|
return this.$alert(`现金金额多出${total-this.appearPrices*1}元`, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
confirmButtonClass: "confirmbtnFalses",
|
|
|
|
|
@ -1906,6 +1907,7 @@ export default {
|
|
|
|
|
callback: action => {}
|
|
|
|
|
});
|
|
|
|
|
}else if(total<this.appearPrices*1){
|
|
|
|
|
this.formData = new FormData();
|
|
|
|
|
return this.$alert(`现金金额还需支付${this.appearPrices*1 - total}`, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
confirmButtonClass: "confirmbtnFalses",
|
|
|
|
|
|