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

72 lines
3.2 KiB
Plaintext

@model List<ClientCashInCashOut>
@{
ViewBag.Title = "机构客户职责联系人信息表 编辑";
Layout = null;
}
<table class="table table-bordered">
<tr>
<td><input id="all" name="all" onclick="chkAll_onclick(this)" type="checkbox" /></td>
@if (!ViewBag.IsOnlyCloseButton)
{
<td class="tdRight">操作</td>
}
<td class="tdRight">资金编号</td>
<td class="tdRight">方向类型</td>
<td class="tdRight">金额</td>
<td class="tdRight">资金状态</td>
<td class="tdRight">操作人</td>
<td class="tdRight">创建人</td>
<td class="tdRight">发生时间</td>
<td width="150" class="tdRight">操作时间</td>
<td class="tdRight">备注</td>
</tr>
<tbody>
@foreach (var item in Model)
{
<tr>
<td><input name="sub" value="@item.id" onclick="chk_onclick(this)" type="checkbox" /></td>
@if (!ViewBag.IsOnlyCloseButton)
{
<td>
@if (item.State == "未确认" || item.State == "")
{
<a href="javascript:void(0);" onclick="Editentryexit(@item.id,@item.TradeId)">修改</a>
<a href="javascript:void(0);" onclick="Deleentryexit(@item.id,@item.TradeId)">删除</a>
}
else if (CurUser.交易管理_已确认交易资金维护 && item.Action != ClientCashInCashOut.系统操作_票息)
{
<a href="javascript:void(0);" onclick="Editentryexit(@item.id,@item.TradeId)">修改</a>
if (item.TradeDirectionType == "其他收入" || item.TradeDirectionType == "其他支出")
{
<a href="javascript:void(0);" onclick="Deleentryexit(@item.id,@item.TradeId)">删除</a>
}
}
else
{
<a href="javascript:void(0);" onclick="setComments('@item.EncryptId')">修改备注</a>
}
</td>
}
<td class="tdRight">@item.Number</td>
<td class="tdRight">@item.TradeDirectionType</td>
<td class="tdRight">@(item.Money == 0 ? 0 : item.Money * -1)</td>
<td class="tdRight">@item.State</td>
<td class="tdRight">@item.OptName</td>
<td class="tdRight">@item.CreatorName</td>
<td class="tdRight">@item.HappenDate?.ToString("yyyy-MM-dd")</td>
<td class="tdRight">@item.OptDate?.ToString("yyyy-MM-dd HH:mm:ss")</td>
<td class="tdRight">
@if (item.Comments != null && item.Comments.StartsWith("http://"))
{
<a href="@(item.Comments)" style="text-decoration:underline;" target="_blank">@(item.Comments)</a>
}
else
{
@(item.Comments)
}
</td>
</tr>
}
</tbody>
</table>