111
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
|
||||
<view style="flex-grow: 1; display: flex;" @tap="showModel='show'">
|
||||
<view v-if="hz(carNumber.charAt(0))" class="sign">
|
||||
{{carNumber.charAt(0)||''}}
|
||||
<text v-if="carNumber">{{carNumber.charAt(0)||''}}</text>
|
||||
<uni-icons color="#ffffff" type="forward" size="15"></uni-icons>
|
||||
</view>
|
||||
<view class="flexcenter">{{carNumber.substr(1,6)||'请输入车牌号'}}</view>
|
||||
@@ -203,13 +203,15 @@
|
||||
<text>约¥{{insertResult.vMoney|numberFilter}}</text>
|
||||
</view>
|
||||
<view class="cu-form-group" v-else>
|
||||
<view class="title newtitle"> {{siteData.siteType=='2'?'加气金额':'加油金额'}}</view>
|
||||
<input class="newtitle" :placeholder="`请输入${siteData.siteType=='2'?'加气金额':'加油金额'}`" @input="checkNumber" type="digit" @blur="getMoney"
|
||||
<view class="title newtitle"> {{siteData.siteType=='2'?'加气升数':'加油金额'}}</view>
|
||||
<input class="newtitle" :placeholder="`请输入${siteData.siteType=='2'?'加气升数':'加油金额'}`" @input="checkNumber" type="digit" @blur="getMoney"
|
||||
v-model="insertResult.vol" name="input" />
|
||||
<view style="width: 170rpx;text-align: end;" class="textEllipsis">
|
||||
<text class="">
|
||||
<!-- 约 {{ vlom? vlom:'xxx.x' }} L clc 注销 -->
|
||||
{{vlom?'约' + ( (Math.round(vlom*100)/100).toFixed(2) ) + (siteData.siteType=='2'?'KG':'L'):''}}
|
||||
<text v-if="siteData.siteType!='2'">{{vlom?'约' + ( (Math.round(vlom*100)/100).toFixed(2) ) + (siteData.siteType=='2'?'元':'L'):''}}</text>
|
||||
<text v-if="siteData.siteType=='2'">{{vlom?'约' + ( insertResult.vDoMoney ? insertResult.vDoMoney:'') + (siteData.siteType=='2'?'元':'L'):''}}</text>
|
||||
<!-- {{vlom?'约' + ( (Math.round(vlom*100)/100).toFixed(2) ) + 'L':''}} -->
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -537,7 +539,8 @@
|
||||
userType: uerTyps,
|
||||
xoilAmountGun: e.detail.value,
|
||||
priceId: this.activeSitePrice,
|
||||
companyId: this.siteData.companyId
|
||||
companyId: this.siteData.companyId,
|
||||
createSource:this.siteData.siteType=='2'?'XOIL':''
|
||||
}
|
||||
}
|
||||
this.xoilAmountGun = e.detail.value
|
||||
@@ -950,7 +953,7 @@
|
||||
oilCardType: this.siteData.oilCardNature, //类型:String 必有字段 备注:油卡性质 1:个人 2:企业 3:外请
|
||||
accountCardCode: this.siteData.accountCardCode, //类型:String 必有字段 备注:油卡卡号
|
||||
siteUserName: "1", //类型:String 必有字段 备注:加油员名称
|
||||
version: 1, //类型:Number 必有字段 备注:版本号
|
||||
version: this.siteData.siteType=='2'?'XOIL':'', //类型:Number 必有字段 备注:版本号
|
||||
xoilAmountGun: this.insertResult.vol, //类型:String 必有字段 备注:加油升数
|
||||
}
|
||||
} else {
|
||||
@@ -975,7 +978,7 @@
|
||||
oilCardType: this.siteData.oilCardNature, //类型:String 必有字段 备注:油卡性质 1:个人 2:企业 3:外请
|
||||
accountCardCode: this.siteData.accountCardCode, //类型:String 必有字段 备注:油卡卡号
|
||||
siteUserName: "1", //类型:String 必有字段 备注:加油员名称
|
||||
version: 1, //类型:Number 必有字段 备注:版本号
|
||||
version: this.siteData.siteType=='2'?'XOIL':'', //类型:Number 必有字段 备注:版本号
|
||||
xoilAmountGun: this.insertResult.vol, //类型:String 必有字段 备注:加油升数
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user