|
|
@@ -17,20 +17,21 @@ |
|
|
|
|
|
|
|
<view v-if="item.isRightLabel" class="right-label-container"> |
|
|
|
<text class="right-label">{{item.label}}</text> |
|
|
|
<text class="amount">{{item.key === 'amount'? '¥'+ item.value:item.value}}</text> |
|
|
|
<text class="amount">{{item.key === 'amount'? '¥'+ item.value:item.value}}</text><span>元</span> |
|
|
|
</view> |
|
|
|
<text v-else class="amount"> |
|
|
|
{{item.key === 'amount'? '¥'+ item.value:item.value}} |
|
|
|
<span v-if="item.label === '权益金'" class="pending-text"><span>(待支付)</span></span> |
|
|
|
<span v-if="item.label === '办理费'" class="pending-text"><span>元(待支付)</span></span> |
|
|
|
<span v-if="item.label === '合计金额'" class="pending-text"><span>元</span></span> |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
<template v-for='(item,index) in amountList'> |
|
|
|
<!-- <template v-for='(item,index) in amountList'> |
|
|
|
<view class="detail-item" :key='index' |
|
|
|
v-if='item.value !== "" && item.value !== undefined && parseFloat(item.value) !== 0'> |
|
|
|
<text>{{item.label}}</text> |
|
|
|
<view> |
|
|
|
<text class="amount">{{'¥'+ item.value}} </text> |
|
|
|
<text class="amount">{{'¥'+ item.value}} 元</text> |
|
|
|
<text class="status" :class="{amount:item.status==='SUCCESS'}">{{item.statusName}} |
|
|
|
</text> |
|
|
|
</view> |
|
|
@@ -38,8 +39,8 @@ |
|
|
|
</template> |
|
|
|
<view class="detail-item" v-if='amountData.totalFee && parseFloat(amountData.totalFee) !== 0'> |
|
|
|
<text>合计金额</text> |
|
|
|
<text class="amount">¥{{amountData.totalFee}} </text> |
|
|
|
</view> |
|
|
|
<text class="amount">¥{{amountData.totalFee}}元 </text> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<view class="over-txt"> |
|
|
|
<button class="btn-txt btn" :class='{disabledBtn:!qdOrderVal.h5ReturnQdUrl}' |
|
|
@@ -87,44 +88,58 @@ |
|
|
|
const { qdOrderVal } = storeToRefs(qdOrderStore); |
|
|
|
|
|
|
|
let orderObj: any = {} |
|
|
|
let formData = reactive<any>([{ |
|
|
|
let formData = reactive<any>([ |
|
|
|
{ |
|
|
|
label: '车主姓名', |
|
|
|
key: "customerName", |
|
|
|
value: '' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '订单号', |
|
|
|
value: '', |
|
|
|
key: "orderNo", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '车牌号', |
|
|
|
key: "vehiclePlate", |
|
|
|
value: '贵' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '车牌颜色', |
|
|
|
key: "vehiclePlateColor", |
|
|
|
value: '贵' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '订单步骤', |
|
|
|
value: '', |
|
|
|
key: "orderStepCode", |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '产品名', |
|
|
|
value: '', |
|
|
|
key: "productName", |
|
|
|
key1: 'promoteName', |
|
|
|
}, { |
|
|
|
label: '订单步骤', |
|
|
|
value: '', |
|
|
|
key: "orderStepCode", |
|
|
|
}, { |
|
|
|
label: '车牌号', |
|
|
|
key: "vehiclePlate", |
|
|
|
value: '贵' |
|
|
|
}, { |
|
|
|
label: '车牌颜色', |
|
|
|
key: "vehiclePlateColor", |
|
|
|
value: '贵' |
|
|
|
}, { |
|
|
|
label: '车主姓名', |
|
|
|
key: "customerName", |
|
|
|
value: '' |
|
|
|
}, { |
|
|
|
label: '权益金', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '办理费', |
|
|
|
key: "amount", |
|
|
|
value: '', |
|
|
|
needpay: true |
|
|
|
}, { |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '合计金额', |
|
|
|
key: "amount", |
|
|
|
value: '', |
|
|
|
needpay: true |
|
|
|
}, { |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '待付款', |
|
|
|
key: "amount", |
|
|
|
value: '', |
|
|
|
needpay: true, |
|
|
|
isRightLabel: true |
|
|
|
}]) |
|
|
|
}, |
|
|
|
]) |
|
|
|
const amountList = ref<any>([]) |
|
|
|
const checked = ref(false) |
|
|
|
// 实付款 |