pull/6/head
caolc 2 years ago
parent 4cabd0907e
commit c5d0bb0bfc
  1. 60
      BagStation/pages/components/price-select-tab.vue

@ -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',

Loading…
Cancel
Save