This commit is contained in:
xiaozhiyong
2024-08-13 08:54:54 +08:00
parent 8943b412ea
commit cfcb6da1b5
6 changed files with 99 additions and 36 deletions

View File

@@ -363,7 +363,11 @@
activeCur: {
type: Number,
default: 0
}
},
siteId: {
type: String,
default: ''
},
},
data() {
return {
@@ -671,8 +675,8 @@
checkInfo() {
// console.log(this.radio)
this.tsetPlate(this.plateNumber ? this.plateNumber : this.plateNumberSel)
if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056']
.includes(this.oilItem.siteId)) {
if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056','1762304610449412096']
.includes(this.siteId || this.oilItem.siteId)) {
// this.plateNumber=''
uni.showToast({
title: '车牌号不可为空或格式错误,请重新输入',
@@ -832,8 +836,8 @@
beforeMake() {
// console.log(this.radio, 'beforeMake')
this.tsetPlate(this.plateNumber ? this.plateNumber : this.plateNumberSel)
if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056']
.includes(this.oilItem.siteId)) {
if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056','1762304610449412096']
.includes(this.siteId || this.oilItem.siteId)) {
// this.plateNumber=''
uni.showToast({
title: '车牌号不可为空或格式错误,请重新输入',

View File

@@ -63,7 +63,7 @@
<!-- 价格 -->
<price-select-tab @onChangePayQr="onChangePayQr" @onChangePay="onChangePay" :active-cur="activeCur"
:site-name="siteInfo.siteName" :channel-list="siteInfo.oilSiteChannelDetailsVos"
:channelJuli="siteInfo.juli"></price-select-tab>
:channelJuli="siteInfo.juli" :siteId="siteId"></price-select-tab>
</view>
@@ -79,6 +79,7 @@
data() {
return {
isBackPrev: true,
siteId:'',
radio: 'B',
mainURL: this.global.mainURL,
imgURL: this.global.imgURL,
@@ -108,6 +109,7 @@
if (authorization && target.siteId) {
// 扫码进入 返回按钮点击回到首页
this.isBackPrev = false
this.siteId = target.siteId
this.getSiteInfo(target.siteId)
}
} catch (e) {}