This commit is contained in:
xiaozhiyong
2025-09-05 10:28:53 +08:00
parent f3a3f3c6c2
commit 4697d1a08c
2 changed files with 41 additions and 35 deletions

View File

@@ -64,7 +64,7 @@
<view class="margin solid margin-top-0 radius">
<form>
<view class="flex bg-white">
<view class="flex-sub padding-right" @tap="showPlate='show'">
<!-- <view class="flex-sub padding-right" @tap="showPlate='show'">
<view class="cu-form-group ">
<view class="">
<view class="site-icon-sm">
@@ -75,7 +75,7 @@
{{plateNumber?plateNumber:(plateNumberSel?plateNumberSel:'非必填')}}
</view>
</view>
</view>
</view> -->
<view class="flex-sub padding-left">
<!-- @tap="showJober='show'" -->
<!-- 请选择加油员 -->
@@ -670,7 +670,7 @@
}
this.xoilAmountGun = e.detail.value
oilSiteApi.getOrderDiscountInfo(number).then(res => {
console.log(res)
// console.log(res)
this.realMoney = res.data.payRealAmount
this.discount = res.data.oilDiscountAmount
this.vlom = res.data.volume
@@ -678,19 +678,19 @@
},
checkInfo() {
// console.log(this.radio)
this.tsetPlate(this.plateNumber || this.plateNumberSel)
if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056',
'1762304610449412096', '1689183774927818752', '1689184331812888576'
]
.includes(this.siteId || this.oilItem.siteId)) {
// this.plateNumber=''
uni.showToast({
title: '车牌号不可为空或格式错误,请重新输入',
icon: 'none',
duration: 2000
})
return false
}
// this.tsetPlate(this.plateNumber || this.plateNumberSel)
// if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056',
// '1762304610449412096', '1689183774927818752', '1689184331812888576'
// ]
// .includes(this.siteId || this.oilItem.siteId)) {
// // this.plateNumber=''
// uni.showToast({
// title: '车牌号不可为空或格式错误,请重新输入',
// icon: 'none',
// duration: 2000
// })
// return false
// }
if (this.radio == null || !this.oilSitePriceDetailsVo[this.radio].priceId) {
uni.showToast({
icon: 'none',
@@ -841,19 +841,19 @@
},
beforeMake() {
// console.log(this.radio, 'beforeMake')
this.tsetPlate(this.plateNumber || this.plateNumberSel)
if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056',
'1762304610449412096', '1689183774927818752', '1689184331812888576'
]
.includes(this.siteId || this.oilItem.siteId)) {
// this.plateNumber=''
uni.showToast({
title: '车牌号不可为空或格式错误,请重新输入',
icon: 'none',
duration: 2000
})
return false
}
// this.tsetPlate(this.plateNumber || this.plateNumberSel)
// if (!this.testPlateResult && !['1689182438357262336', '1689183144276463616', '1689185023261741056',
// '1762304610449412096', '1689183774927818752', '1689184331812888576'
// ]
// .includes(this.siteId || this.oilItem.siteId)) {
// // this.plateNumber=''
// uni.showToast({
// title: '车牌号不可为空或格式错误,请重新输入',
// icon: 'none',
// duration: 2000
// })
// return false
// }
if (this.radio == null || !this.oilSitePriceDetailsVo[this.radio].priceId) {
uni.showToast({
icon: 'none',