diff --git a/public/components/property/addParkingCoupon/addParkingCoupon.js b/public/components/property/addParkingCoupon/addParkingCoupon.js index 81194f068..637179149 100644 --- a/public/components/property/addParkingCoupon/addParkingCoupon.js +++ b/public/components/property/addParkingCoupon/addParkingCoupon.js @@ -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); diff --git a/public/components/property/editParkingCoupon/editParkingCoupon.js b/public/components/property/editParkingCoupon/editParkingCoupon.js index 14067618b..113cb625c 100644 --- a/public/components/property/editParkingCoupon/editParkingCoupon.js +++ b/public/components/property/editParkingCoupon/editParkingCoupon.js @@ -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; diff --git a/public/pages/property/parkingCouponOrder/parkingCouponOrder.html b/public/pages/property/parkingCouponOrder/parkingCouponOrder.html index a90ebaad5..cddb7f8fd 100644 --- a/public/pages/property/parkingCouponOrder/parkingCouponOrder.html +++ b/public/pages/property/parkingCouponOrder/parkingCouponOrder.html @@ -65,8 +65,8 @@