优化 停车缴费权限

This commit is contained in:
java110 2020-12-14 08:48:32 +08:00
parent b6af57d90b
commit 076a3ac0a4

View File

@ -47,32 +47,33 @@
<td class="text-center">{{fee.startTime}}</td>
<td class="text-center">{{_getEndTime(fee)}}</td>
<td class="text-center">{{_getDeadlineTime(fee)}}</td>
<td class="text-center" v-if="fee.feeTypeCd == '888800010015' || fee.feeTypeCd == '888800010016' ">
<div>上期度数:{{fee.preDegrees}}</div>
<td class="text-center"
v-if="fee.feeTypeCd == '888800010015' || fee.feeTypeCd == '888800010016' ">
<div>上期度数:{{fee.preDegrees}}</div>
<div>本期度数:{{fee.curDegrees}} </div>
<div>单价:{{fee.squarePrice}} </div>
<div>附加费:{{fee.additionalAmount}}</div>
</td>
<td class="text-center" width="150" v-else-if="fee.feeTypeCd == '888800010017'">
<div>算法:{{_getAttrValue(fee.feeAttrs,'390005')}}</div>
<div>算法:{{_getAttrValue(fee.feeAttrs,'390005')}}</div>
<div>用量:{{_getAttrValue(fee.feeAttrs,'390003')}}</div>
</td>
<td class="text-center" v-else>
<div>单价:{{fee.squarePrice}}</div>
<div >固定费:{{fee.additionalAmount}}</div>
<div>固定费:{{fee.additionalAmount}}</div>
</td>
<td class="text-center">{{fee.stateName}}</td>
<td class="text-right">
<button class="btn btn-link btn-xs" v-if="fee.state != '2009001' && vc.hasPrivilege('502020090482580004')"
v-on:click="_payFee(fee)">缴费
<button class="btn btn-link btn-xs" v-if="fee.state != '2009001'
&& vc.hasPrivilege('502020082314267912')" v-on:click="_payFee(fee)">缴费
</button>
<button class="btn btn-link btn-xs" v-on:click="_payFeeHis(fee)">缴费历史
</button>
<button class="btn btn-link btn-xs" v-if="fee.isDefault == 'F'"
<button class="btn btn-link btn-xs" v-if="vc.hasPrivilege('502020090604200029')"
v-on:click="_deleteFee(fee)">取消费用
</button>
<button class="btn btn-link btn-xs"
v-if="fee.state != '2009001' && vc.hasPrivilege('502020090418500005')"
v-if="fee.state != '2009001' && vc.hasPrivilege('502020090427190001')"
v-on:click="_editFee(fee)">费用变更
</button>
</td>
@ -87,9 +88,8 @@
</div>
<vc:create path="property/deleteFee"></vc:create>
<vc:create path="property/editFee"></vc:create>
<vc:create path="property/carCreateFeeAdd"
></vc:create>
<vc:create path="property/carCreateFeeAdd"></vc:create>
<vc:create path="property/addMeterWater" callBackListener="" callBackFunction=""></vc:create>
</div>