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

Commit 0d2b1a8c authored by jiangxiulong's avatar jiangxiulong

退款金额页面

parent b37b63e4
......@@ -16,7 +16,7 @@
<div class="form-group">
<label class="col-sm-3 control-label">快递费:</label>
<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 class="form-group">
......@@ -61,6 +61,8 @@
layer.msg("未找到该订单信息");
} else {
$("#orderTicketsId").val(result.orderTicketVo.orderTicketsId);
$('input[name="RefundPriceExpress"]').val(result.orderTicketVo.priceExpress);
$('input[name="RefundPriceExpress"]').attr("max", result.orderTicketVo.priceExpress);
var options = {
data: result.orderTicketEntitiesVo,
pagination: false,
......@@ -71,9 +73,19 @@
field: 'orderTicketEntitiesId',
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);
// $('#bootstrap-table').
}
$.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