|
@@ -16,7 +16,7 @@
|
|
|
{{ !!thisItem['parkingDetail'] ? thisItem['parkingDetail'] : '--' }}
|
|
|
</template>
|
|
|
<template v-else-if="item.slot == 'chargeMode'">
|
|
|
- {{ !!chargeModeValue[thisItem[item.prop]] ? chargeModeValue[thisItem[item.prop]] : '--' }}
|
|
|
+ {{chargeModeValue[thisItem[item.prop]]}}
|
|
|
</template>
|
|
|
<template v-else-if="item.slot === 'chargeStatus'">
|
|
|
<span
|
|
@@ -29,7 +29,7 @@
|
|
|
>已缴费</span>
|
|
|
</template>
|
|
|
<template v-else-if="item.slot === 'payEndTime'">
|
|
|
- <div style="white-space: nowrap">{{ thisItem['payBeginTime'] }} - {{ thisItem['payEndTime'] }}</div>
|
|
|
+ <div style="white-space: nowrap">{{ (thisItem['payBeginTime']).substr(0,10) }} - {{ (thisItem['payEndTime']).substr(0,10) }}</div>
|
|
|
</template>
|
|
|
|
|
|
<template v-else>
|
|
@@ -53,7 +53,8 @@ export default {
|
|
|
chargeModeValue: {
|
|
|
1: '固定收费',
|
|
|
2: '价格*面积收费',
|
|
|
- 4: '单价*用量'
|
|
|
+ 3: '阶梯',
|
|
|
+ 4: '单价*用量收费'
|
|
|
},
|
|
|
formLook: [
|
|
|
{
|
|
@@ -62,7 +63,8 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: '计费方式:',
|
|
|
- prop: 'chargeModeDict'
|
|
|
+ prop: 'chargeMode',
|
|
|
+ slot: 'chargeMode',
|
|
|
},
|
|
|
{
|
|
|
label: '面积(㎡):',
|
|
@@ -70,7 +72,7 @@ export default {
|
|
|
slot: 'assetsArea'
|
|
|
},
|
|
|
{
|
|
|
- label: '单价(元/㎡):',
|
|
|
+ label: '单价(元):',
|
|
|
prop: 'chargePrice'
|
|
|
},
|
|
|
{
|
|
@@ -135,10 +137,10 @@ export default {
|
|
|
methods: {
|
|
|
getDatali (id) {
|
|
|
this.$http
|
|
|
- .get('/czc-charge/charge/bill/findUserBillDetail', { id: id })
|
|
|
+ // /czc-charge/charge/bill/find/{id}
|
|
|
+ .post(`/czc-charge/charge/bill/find/${id}`)
|
|
|
.then(({ data, msg, status }) => {
|
|
|
if (status == 0) {
|
|
|
-
|
|
|
this.thisItem = data;
|
|
|
}
|
|
|
})
|
|
@@ -157,9 +159,9 @@ export default {
|
|
|
}
|
|
|
} else if (val == 'chargePrice') {
|
|
|
if (type == 2) {
|
|
|
- lab = '价格(元/吨):';
|
|
|
+ lab = '价格(元):';
|
|
|
} else if (type == 3) {
|
|
|
- lab = '价格(元/度):';
|
|
|
+ lab = '价格(元):';
|
|
|
}
|
|
|
}
|
|
|
return lab;
|