63 lines
2.6 KiB
Plaintext
63 lines
2.6 KiB
Plaintext
@using YLErp.Modules.SwapModule.Dto;
|
|
@model TrsAccountManageDto
|
|
@{
|
|
ViewBag.Title = "做市账户 | 编辑";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
var jsClients = ClientDataModel.GetAllTrsClient(Model.id);
|
|
var clientIds = Model.TrsAccountManageDetails.Select(s => s.client_id).ToList();
|
|
}
|
|
@section CSS{
|
|
<link href="~/Statics/libs/datetime/flatpickr/flatpickr.min.css" rel="stylesheet" />
|
|
<style>
|
|
.yt-input-group-append {
|
|
color: red;
|
|
}
|
|
|
|
.search-group{
|
|
margin-left:5px;
|
|
}
|
|
</style>
|
|
}
|
|
@section JS{
|
|
<script>
|
|
var model = @Json.Serialize(Model);
|
|
var clients = @Json.Serialize(jsClients);
|
|
var clientIds = @Json.Serialize(clientIds);
|
|
</script>
|
|
<script src="~/Scripts/app/trs_account_manage/edit.js?v=@HtmlUtil.JsVersion"></script>
|
|
}
|
|
<div id="rateEditModal">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-body">
|
|
|
|
<div class="form-group">
|
|
<label class="formlabel half">trader id</label>
|
|
<input class="text-box" type="text" v-model="account.TraderId" placeholder="trader id">
|
|
<span style="color:red">*</span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel half">账户</label>
|
|
<input class="text-box" type="text" v-model="account.Account" placeholder="请填写账户">
|
|
<span style="color:red">*</span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel half">账户名称</label>
|
|
<input class="text-box" type="text" v-model="account.AccountName" placeholder="请填写账户名称">
|
|
</div>
|
|
<div class="form-group" style="display:flex">
|
|
<label class="formlabel half">客户</label>
|
|
@Html.MyAceDropdownInput("ClientId", "", jsClients,appendEmptyAll:false,multiple:true)
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel half">备注</label>
|
|
<textarea v-model="account.Remark" class='text-box text-left' rows='3' id='Remark'></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-primary" v-on:click="save">保存</button>
|
|
<button type="button" class="btn btn-secondary" v-on:click="close">关闭</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |