记得上下班打卡 | git大法好,push需谨慎

Commit f5dd57ab authored by 张国柄's avatar 张国柄

页面调整;

parent 94b8446c
...@@ -218,6 +218,7 @@ ...@@ -218,6 +218,7 @@
function memberOrderRefund () { function memberOrderRefund () {
if ($.validate.form("form-member-order-refund")) { if ($.validate.form("form-member-order-refund")) {
$.operate.saveModal(ctx + "adam/order/orderList/refund", $('#form-member-order-refund').serialize(), memberOrderRefundCallback); $.operate.saveModal(ctx + "adam/order/orderList/refund", $('#form-member-order-refund').serialize(), memberOrderRefundCallback);
$('#member-refund-form').hide();
} }
} }
...@@ -230,8 +231,10 @@ ...@@ -230,8 +231,10 @@
setTimeout("refreshTab()", 1500); setTimeout("refreshTab()", 1500);
} else if (result.code == web_status.WARNING) { } else if (result.code == web_status.WARNING) {
$.modal.alertWarning(result.msg); $.modal.alertWarning(result.msg);
$('#member-refund-form').show();
} else { } else {
$.modal.alertError(result.msg); $.modal.alertError(result.msg);
$('#member-refund-form').show();
} }
} }
</script> </script>
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
[[${mgtCouponInfoDto?.validity}]] 天 [[${mgtCouponInfoDto?.validity}]] 天
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group" id="show_detail_redeemValidity">
<label class="col-sm-3 control-label">兑换有效期:</label> <label class="col-sm-3 control-label">兑换有效期:</label>
<div class="form-control-static col-sm-9"> <div class="form-control-static col-sm-9">
[[${mgtCouponInfoDto?.redeemValidity}]] 天 [[${mgtCouponInfoDto?.redeemValidity}]] 天
...@@ -90,7 +90,12 @@ ...@@ -90,7 +90,12 @@
</div> </div>
<th:block th:include="include :: footer" /> <th:block th:include="include :: footer" />
<script th:inline="javascript"> <script th:inline="javascript">
const detailVo = /*[[${mgtCouponInfoDto}]]*/{};
if (!$.isEmptyObject(detailVo) && detailVo.bindType === 0) {
$("#show_detail_redeemValidity").show();
} else {
$("#show_detail_redeemValidity").hide();
}
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
[[${mgtCouponInfoDto?.validity}]] 天 [[${mgtCouponInfoDto?.validity}]] 天
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group" id="show_detail_redeemValidity">
<label class="col-sm-3 control-label">兑换有效期:</label> <label class="col-sm-3 control-label">兑换有效期:</label>
<div class="form-control-static col-sm-9"> <div class="form-control-static col-sm-9">
[[${mgtCouponInfoDto?.redeemValidity}]] 天 [[${mgtCouponInfoDto?.redeemValidity}]] 天
...@@ -90,7 +90,12 @@ ...@@ -90,7 +90,12 @@
</div> </div>
<th:block th:include="include :: footer" /> <th:block th:include="include :: footer" />
<script th:inline="javascript"> <script th:inline="javascript">
const detailVo = /*[[${mgtCouponInfoDto}]]*/{};
if (!$.isEmptyObject(detailVo) && detailVo.bindType === 0) {
$("#show_detail_redeemValidity").show();
} else {
$("#show_detail_redeemValidity").hide();
}
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
[[${mgtCouponInfoDto?.validity}]] 天 [[${mgtCouponInfoDto?.validity}]] 天
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group" id="show_detail_redeemValidity">
<label class="col-sm-3 control-label">兑换有效期:</label> <label class="col-sm-3 control-label">兑换有效期:</label>
<div class="form-control-static col-sm-9"> <div class="form-control-static col-sm-9">
[[${mgtCouponInfoDto?.redeemValidity}]] 天 [[${mgtCouponInfoDto?.redeemValidity}]] 天
...@@ -90,7 +90,12 @@ ...@@ -90,7 +90,12 @@
</div> </div>
<th:block th:include="include :: footer" /> <th:block th:include="include :: footer" />
<script th:inline="javascript"> <script th:inline="javascript">
const detailVo = /*[[${mgtCouponInfoDto}]]*/{};
if (!$.isEmptyObject(detailVo) && detailVo.bindType === 0) {
$("#show_detail_redeemValidity").show();
} else {
$("#show_detail_redeemValidity").hide();
}
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment