油站二维码

This commit is contained in:
xk_guohonglei
2020-08-22 16:27:15 +08:00
parent b68df95618
commit 95d1376376
7 changed files with 240 additions and 50 deletions

View File

@@ -1,11 +1,11 @@
// 可供选择的订单
// 开票列表
<template>
<view class="cu-item radius shadow">
<image class="pay-status" :src="baseURL+'static/img/oil-unfinished.png'" alt />
<view class="cu-item radius shadow margin-bottom">
<!-- <image class="pay-status" :src="baseURL+'static/img/oil-unfinished.png'" alt /> -->
<view class="cu-avatar text-sl" :style="'background-image:url('+baseURL+'static/img/order-wjy.png)'"></view>
<view class="content">
<view class=" solid-bottom padding-bottom">
<view class=" solid-bottom padding-bottom-sm">
<view class="flex-treble">
{{item.orderID}}
</view>
@@ -20,9 +20,9 @@
<view class="details">
<view class="top1 text-left">
<image class="icon icon-desc " :src="baseURL+'static/img/oil-lf.png'" alt />
<text class="padding-left-xs" v-if="item.vol"> {{item.vol}}</text>
<text >
{{item.oilName}} {{item.oilCode}}
<text class="padding-left-xs" v-if="item.vol"> {{item.vol|numberFilter}}</text>
<text>
{{item.oilName}}
</text>
</view>
@@ -30,7 +30,7 @@
<image class="icon icon-desc " :src="baseURL+'static/img/oil-time.png'" alt />
<text class="padding-left-xs">
{{item.credateDatetime}}
{{item.createDatetime.substring(0,19)}}
</text>
</view>
<view class="bottom text-left">
@@ -44,7 +44,7 @@
</view>
</view>
<view class="margin-top-sm flex justify-between">
<view class="text-gray text-df">2018年12月4日</view>
<view class="text-gray text-df">{{item.createDatetime.substring(0, 10)}}</view>
<view>
<text class="color-000 total-money">{{item.realamount|numberFilter}}</text>
</view>
@@ -99,6 +99,7 @@
}
},
numberFilter(value) {
value = value -1+1
return value.toFixed(2)
}
}