优化代码

This commit is contained in:
wuxw 2022-10-21 06:35:55 +08:00
parent 6f9ca4eb15
commit c0f52ff629
3 changed files with 9 additions and 1 deletions

View File

@ -87,6 +87,11 @@
});
},
saveParkingCouponInfo: function() {
if($that.addParkingCouponInfo.typeCd == '4004'){
$that.addParkingCouponInfo.value = 24 *60;
}
if (!vc.component.addParkingCouponValidate()) {
vc.toast(vc.validate.errInfo);

View File

@ -92,6 +92,9 @@
});
},
editParkingCoupon: function() {
if($that.editParkingCouponInfo.typeCd == '4004'){
$that.editParkingCouponInfo.value = 24 *60;
}
if (!vc.component.editParkingCouponValidate()) {
vc.toast(vc.validate.errInfo);
return;

View File

@ -65,8 +65,8 @@
<td class="text-center">{{parkingCoupon.shopName}}</td>
<td class="text-center">{{parkingCoupon.paName}}</td>
<td class="text-center">{{parkingCoupon.price}}</td>
<td class="text-center">{{parkingCoupon.payTypeName}}</td>
<td class="text-center">{{parkingCoupon.quantity}}</td>
<td class="text-center">{{parkingCoupon.payTypeName}}</td>
<td class="text-center">{{parkingCoupon.receivableAmount}}</td>
<td class="text-center">{{parkingCoupon.receivedAmount}}</td>
<td class="text-center">{{parkingCoupon.remark}}</td>