52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
@using YLErp.Commons
|
|
@model List<underlying_manager>
|
|
@{
|
|
ViewBag.Title = "批量设置观察价格";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
}
|
|
@section CSS{
|
|
<style type="text/css">
|
|
.btn {
|
|
border: none
|
|
}
|
|
|
|
.form-group {
|
|
min-height: 34px;
|
|
}
|
|
</style>
|
|
}
|
|
@section JS
|
|
{
|
|
<script>
|
|
var tradeIds = "@ViewBag.TradeIds";
|
|
var model =@Html.JsonSerialize(Model);
|
|
$(document).ready(function () {
|
|
main.setTradeDatePicker("", "#ObservationDate", null, vue.setObservationDate);
|
|
$("#ObservationDate").val("@valuedateBLL.ValueDate.ToString("yyyy-MM-dd")");
|
|
});
|
|
</script>
|
|
<script src="~/Scripts/app/trade/batchSetObservationPrice.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
}
|
|
<div id="vueDiv" class="yc-panel">
|
|
<div class="row" style="margin-top: 20px">
|
|
<div class="form-group col-12">
|
|
<label class="formlabel">观察日期</label>
|
|
<input class="text-box" id="ObservationDate" onchange="vue.setObservationDate($(this).val())" type="text" />
|
|
</div>
|
|
<template v-for="(item,index) in underlyingList">
|
|
<div class="form-group col-6">
|
|
<label class="formlabel">标的代码</label>
|
|
<input class="text-box" v-model="item.UnderlyingCode" readonly="readonly" type="text" />
|
|
</div>
|
|
<div class="form-group col-6">
|
|
<label class="formlabel">标的价格</label>
|
|
<input class="text-box" v-model="item.Price" type="number" min="0" />
|
|
</div>
|
|
</template>
|
|
</div>
|
|
<hr />
|
|
<div class="form-group text-center" style="margin-top: 20px">
|
|
<input type="button" class="btn btn-primary" value="确认" v-on:click="submit" />
|
|
<input type="button" class="btn btn-primary" value="关闭" v-on:click="layer.closeMe()" />
|
|
</div>
|
|
</div> |