From dadb9143cb596dad2a79d9b2158aeff8385b3fb2 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Fri, 9 Aug 2024 09:47:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/components/price-select-tab.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/BagStation/pages/components/price-select-tab.vue b/BagStation/pages/components/price-select-tab.vue index 4b4af27..bd293d5 100644 --- a/BagStation/pages/components/price-select-tab.vue +++ b/BagStation/pages/components/price-select-tab.vue @@ -497,12 +497,14 @@ checkBar: [], realMoney: '', xoilAmountGun: '', - vlom: '' + vlom: '', + oilItem: {}, } }, created() { - let oilItem = uni.getStorageSync('oilItem') - this.showtitles = oilItem.listTag + this.oilItem = uni.getStorageSync('oilItem') + // console.log('oilItemoilItemoilItemoilItem',this.oilItem) + this.showtitles = this.oilItem.listTag }, watch: { activeChannelCode: { @@ -619,7 +621,7 @@ }) }, ChooseCheckMoney(e) { - console.log(e) + // console.log(e) this.vol = e + '' this.checkMoneyVol(this.vol) }, @@ -667,9 +669,10 @@ }) }, checkInfo() { - console.log(this.radio) + // console.log(this.radio) this.tsetPlate(this.plateNumber ? this.plateNumber : this.plateNumberSel) - if (!this.testPlateResult) { + if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056'] + .includes(this.oilItem.siteId)) { // this.plateNumber='' uni.showToast({ title: '车牌号不可为空或格式错误,请重新输入', @@ -829,7 +832,8 @@ beforeMake() { // console.log(this.radio, 'beforeMake') this.tsetPlate(this.plateNumber ? this.plateNumber : this.plateNumberSel) - if (!this.testPlateResult) { + if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056'] + .includes(this.oilItem.siteId)) { // this.plateNumber='' uni.showToast({ title: '车牌号不可为空或格式错误,请重新输入',