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

Commit 0d2b1a8c authored by jiangxiulong's avatar jiangxiulong

退款金额页面

parent b37b63e4
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">快递费:</label> <label class="col-sm-3 control-label">快递费:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" type="text" name="RefundPriceExpress"> <input class="form-control" type="number" min="0" name="RefundPriceExpress">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
layer.msg("未找到该订单信息"); layer.msg("未找到该订单信息");
} else { } else {
$("#orderTicketsId").val(result.orderTicketVo.orderTicketsId); $("#orderTicketsId").val(result.orderTicketVo.orderTicketsId);
$('input[name="RefundPriceExpress"]').val(result.orderTicketVo.priceExpress);
$('input[name="RefundPriceExpress"]').attr("max", result.orderTicketVo.priceExpress);
var options = { var options = {
data: result.orderTicketEntitiesVo, data: result.orderTicketEntitiesVo,
pagination: false, pagination: false,
...@@ -71,9 +73,19 @@ ...@@ -71,9 +73,19 @@
field: 'orderTicketEntitiesId', field: 'orderTicketEntitiesId',
title: '入场人id' title: '入场人id'
}, },
{
field: '',
title: '退款金额',
formatter: function (value, row, index) {
var price = result.orderTicketVo.price;
var html = '<input class="form-control" type="number" min="0.01" max="'+price+'" name="entitiesPrice" value="'+price+'">';
return html;
}
},
] ]
}; };
$.table.init(options); $.table.init(options);
// $('#bootstrap-table').
} }
$.modal.closeLoading(); $.modal.closeLoading();
} }
......
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