HN.UI/Views/Voucher/ViewDetails.cshtml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@using HN.Model
@model VoucherInfo
@{
ViewBag.Title = "ViewDetails";
}
<div class="easyui-panel" data-options="border:false,fit:true">
<div class="easyui-layout" data-options="fit:true">
<div data-options="region:'north',border:false">
<div class="tbarform">
<table>
<tr>
<td class="td-right">制单人:</td>
<td class="td-left">@Html.TextBoxFor(m => m.CreateName, new { @class = "easyui-textbox", data_options = "prompt:'自动生成',readonly:true" })<span class="required">*</span></td>
<td class="td-right">凭证序号:</td>
<td class="td-left">@Html.TextBoxFor(m => m.No, new { @class = "easyui-textbox", data_options = "prompt:'自动生成',readonly:true", Value = Model.No.ToString() == "0" ? "" : Model.No.ToString() })<span class="required">*</span></td>
<td class="td-right">凭证号:</td>
<td class="td-left">@Html.TextBoxFor(m => m.VoNo, new { @class = "easyui-textbox", data_options = "prompt:'自动生成',readonly:true" })<span class="required">*</span></td>
</tr>
<tr>
<td class="td-right">凭证字:</td>
<td class="td-left">@Html.DropDownListFor(m => m.VoWords, new List<SelectListItem>() { new SelectListItem { Value = "记", Text = "记" } }, new { @class = "easyui-combobox", @editable = "false",@readonly="readonly" })<span class="required">*</span></td>
<td class="td-right">编制日期:</td>
<td class="td-left">@Html.TextBoxFor(m => m.VoDate, new { @class = "easyui-datebox", data_options = "readonly:true" })<span class="required">*</span></td>
<td class="td-right">登账人:</td>
<td class="td-left">@Html.TextBoxFor(m => m.BookName, new { @class = "easyui-textbox", data_options = "readonly:true" })<span class="required">*</span></td>
</tr>
<tr>
<td class="td-right">附件张数:</td>
<td class="td-left" colspan="5">@Html.TextBoxFor(m => m.AttachNum, new { @class = "easyui-numberbox", data_options = "readonly:true" })<span class="required">*</span></td>
</tr>
</table>
</div>
</div>
<div data-options="region:'center',border:false">
<table id="dgs"></table>
</div>
</div>
</div>
<script type="text/javascript">
$("#dgs").datagrid({
title: ' ',
url: '/Voucher/GetDetails/@Model.VoID',
rownumbers: true,
fit: true,
fitColumns: true,
singleSelect: true,
striped: true,
columns: [[
{ field: 'VosID', title: 'VosID', hidden: true },
{ field: 'CpsID', title: 'VosID', hidden: true },
{ field: 'BkID', title: 'VosID', hidden: true },
{ field: 'Abstract', title: '摘要', width: 180, halign: 'center', editor: { type: 'textbox', options: { required: true } } },
{ field: 'SubName', title: '会记科目', width: 150, halign: 'center', editor: { type: 'combobox' } },
{ field: 'AccountName', title: '资金账户', width: 150, halign: 'center', editor: { type: 'combobox' } },
{ field: 'DbMoney', title: '借方金额', width: 100, halign: 'center', align: 'right', editor: { type: 'numberbox', options: { precision: 2, required: true } } },
{ field: 'CrMoney', title: '贷方金额', width: 100, halign: 'center', align: 'right', editor: { type: 'numberbox', options: { precision: 2, required: true } } },
]]
});
</script>
后面还有 1 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
