更新
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user