bug
This commit is contained in:
parent
c52b006879
commit
4cddc769d1
@ -2339,7 +2339,8 @@
|
||||
|
||||
// 校验油罐内油是否足够
|
||||
getOilTank(this.form.tankId).then(res => {
|
||||
if (res.data.tankVolume-this.form.liters<0){
|
||||
console.log(res)
|
||||
if (res.data.storedQuantity-this.form.liters<0){
|
||||
this.$modal.msgError("所加油的升数大于油罐内的升数,请重新选择加油升数")
|
||||
return;
|
||||
}else {
|
||||
@ -2725,8 +2726,8 @@
|
||||
_this.isQuery = true;
|
||||
}
|
||||
if (response.data.status == "paid"){
|
||||
_this.isPaySuccess = true;
|
||||
_this.isPay = true;
|
||||
_this.isPaySuccess = true;
|
||||
_this.isQuery = false;
|
||||
_this.amount = 0
|
||||
|
||||
@ -2735,7 +2736,7 @@
|
||||
}
|
||||
if (response.data.status == "payFail"){
|
||||
_this.isPaySuccess = false;
|
||||
_this.isPay = true;
|
||||
// _this.isPay = true;
|
||||
_this.isQuery = false;
|
||||
|
||||
_this.loading = false;
|
||||
|
Loading…
Reference in New Issue
Block a user