77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
@model AssetUnit
|
|
@{
|
|
ViewBag.Title = "簿记账户|查看";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
IsDongGuan = PS.Config.Company==CompanyEnum.东莞
|
|
};
|
|
}
|
|
|
|
@section JS{
|
|
<script type="text/javascript">
|
|
function deleteassetunit(id) {
|
|
main.confirmPost("确定删除吗?", "/assetunit/Deleteassetunit", { id: id, d: new Date() })
|
|
.done(function () {
|
|
window.parent.location.reload();
|
|
});
|
|
}
|
|
</script>
|
|
}
|
|
|
|
<div class="yc-panel">
|
|
<table class="table table-bordered">
|
|
<colgroup>
|
|
<col span="1" width="120" />
|
|
</colgroup>
|
|
<tr>
|
|
<th class="tdRight">簿记账户名称</th>
|
|
<td colspan="3">@Model.Name</td>
|
|
</tr>
|
|
@if (ConsUserGroup.HasGroup)
|
|
{
|
|
<tr>
|
|
<th class="tdRight">用户组</th>
|
|
<td colspan="3">@(ConsUserGroup.GetGroupDesc(Model.UserGroup))</td>
|
|
</tr>
|
|
}
|
|
<tr>
|
|
<th class="tdRight">账户组名称</th>
|
|
<td colspan="3">@Model.GroupName</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="tdRight">@(pageObj.IsDongGuan?"系统账号":"交易员")</th>
|
|
<td colspan="3">@Model.TraderNames</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="tdRight">基础币种</th>
|
|
<td colspan="3">@Model.BaseCurrency</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="tdRight">备注 </th>
|
|
<td colspan="3">@Model.Remark</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="tdRight">操作人 </th>
|
|
<td colspan="3">@Model.OptName</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="tdRight">操作时间 </th>
|
|
<td colspan="3">@Utilities.ShowValidDatetime(Model.OptDate)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
<div class="mt-4" style="text-align: center;">
|
|
@if (CurUser.系统管理.簿记账户修改)
|
|
{
|
|
@MyControls.Btn("修改", "window.location.href=('/assetunit/assetunitEdit/?enid=" + Model.EncryptId + "');")
|
|
}
|
|
@if (CurUser.系统管理.簿记账户新增)
|
|
{
|
|
@MyControls.Btn("删除", "deleteassetunit('" + Model.EncryptId + "');")
|
|
}
|
|
@MyControls.Btn("关闭", "layer.closeMe();")
|
|
</div>
|
|
@Html.HiddenFor(model => model.id) |