Files
zszq-trs/YLErpWeb/Views/SwapTrade/tradeDelaySettlement.cshtml
T
2024-05-09 14:06:26 +08:00

47 lines
1.3 KiB
Plaintext

@{
ViewBag.Title = "交易管理 | 交易延期结算";
Layout = "~/Views/Shared/_InfoLayout.cshtml";
}
@section JS
{
<script type="text/javascript">
var tradeids = @Json.Serialize(ViewBag.tradeids);
function closeMe() {
layer.closeMe();
}
function Save() {
var query = {
tradeids: tradeids,
settlementvalue : $("#isDelay").val()
};
query = $.param(query);
main.post("/SwapTrade/tradeDelaySettlementquery", query).done(function (resp) {
if (resp.success) {
window.parent.location.reload();
}
});
}
</script>
}
<div class="yc-panel">
@if (ViewBag.isBatch)
{
<span style="color:red">已勾选@(ViewBag.count)条交易</span>
}
<div class="form-group">
<label class="formlabel half">是否延期结算</label>
<select id="isDelay">
<option value="1" selected>是</option>
<option value="0">否</option>
</select>
</div>
</div>
<div style="text-align:center">
<button class="btn btn-primary" type="button" onclick="Save();">保存</button>
<button class="btn btn-primary" type="button" onclick="closeMe();">关闭</button>
</div>