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

Loading…
Cancel
Save