This commit is contained in:
caolc
2022-12-15 10:05:40 +08:00
parent 4cabd0907e
commit c5d0bb0bfc

View File

@@ -648,14 +648,14 @@
checkInfo(){
console.log(this.radio)
this.tsetPlate(this.plateNumber ? this.plateNumber : this.plateNumberSel)
if (!this.testPlateResult) {
this.plateNumber=''
uni.showToast({
title: '车牌号校验不通过,自动将其置空,不影响加油',
icon: 'none'
})
// return false
}
// if (!this.testPlateResult) {
// this.plateNumber=''
// uni.showToast({
// title: '车牌号校验不通过,自动将其置空,不影响加油',
// icon: 'none'
// })
// // return false
// }
if (this.radio==null||!this.oilSitePriceDetailsVo[this.radio].priceId) {
uni.showToast({
icon: 'none',
@@ -663,13 +663,13 @@
})
return false
}
if (!(this.plateNumber ? this.plateNumber : this.plateNumberSel)) {
uni.showToast({
icon: 'none',
title: '未选择加油车牌'
})
// return false
}
// if (!(this.plateNumber ? this.plateNumber : this.plateNumberSel)) {
// uni.showToast({
// icon: 'none',
// title: '未选择加油车牌'
// })
// // return false
// }
if (!this.oilBar) {
uni.showToast({
icon: 'none',
@@ -807,14 +807,14 @@
beforeMake() {
console.log(this.radio,'beforeMake')
this.tsetPlate(this.plateNumber ? this.plateNumber : this.plateNumberSel)
if (!this.testPlateResult) {
this.plateNumber=''
uni.showToast({
title: '车牌号校验不通过,自动将其置空,不影响加油',
icon: 'none'
})
// return false
}
// if (!this.testPlateResult) {
// this.plateNumber=''
// uni.showToast({
// title: '车牌号校验不通过,自动将其置空,不影响加油',
// icon: 'none'
// })
// // return false
// }
if (this.radio==null||!this.oilSitePriceDetailsVo[this.radio].priceId) {
uni.showToast({
icon: 'none',
@@ -822,13 +822,13 @@
})
return false
}
if (!(this.plateNumber ? this.plateNumber : this.plateNumberSel)) {
uni.showToast({
icon: 'none',
title: '未选择加油车牌'
})
// return false
}
// if (!(this.plateNumber ? this.plateNumber : this.plateNumberSel)) {
// uni.showToast({
// icon: 'none',
// title: '未选择加油车牌'
// })
// // return false
// }
if (!this.oilBar) {
uni.showToast({
icon: 'none',