82 lines
2.8 KiB
Plaintext
82 lines
2.8 KiB
Plaintext
@using YLErp.Web.Models.JsModels;
|
|
@model SwapRate
|
|
@{
|
|
ViewBag.Title = "阶梯费率 | 详情";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
}
|
|
@section JS{
|
|
<script src="~/Scripts/app/swapRate/swapRateView.js?v=@HtmlUtil.JsVersion"></script>
|
|
}
|
|
<div class="row no-gutters">
|
|
<div class="yc-panel" style="width:400px">
|
|
@if (CurUser.基础参数管理.阶梯费率编辑)
|
|
{
|
|
@MyControls.Btn("修改", string.Format("editRate('{0}')", Model.EncryptId))
|
|
}
|
|
@MyControls.Btn("操作历史", string.Format("history('{0}')", Model.EncryptId))
|
|
@if (CurUser.基础参数管理.阶梯费率删除)
|
|
{
|
|
<div style="display:inline-block;float:right;">
|
|
@MyControls.Btn("删除", string.Format("deleteRate('{0}')", Model.EncryptId))
|
|
</div>
|
|
}
|
|
|
|
</div>
|
|
</div>
|
|
<div class="row no-gutters">
|
|
<div class="yc-panel" style="width:400px">
|
|
<table class="table table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td>客户名称</td>
|
|
<td>@Model.ClientName</td>
|
|
</tr>
|
|
<tr>
|
|
<td>生效日期</td>
|
|
<td>@Model.TakeEffectDate.OtcFormatDate()</td>
|
|
</tr>
|
|
<tr>
|
|
<td>临时费率</td>
|
|
@if (Model.TempRateIsPercent)
|
|
{
|
|
<td>@Model.TempRate.OtcFormatPercent(4)</td>
|
|
}
|
|
else
|
|
{
|
|
<td>@Model.TempRate.OtcFormatMoney(true)</td>
|
|
}
|
|
</tr>
|
|
<tr>
|
|
<td>基础费率</td>
|
|
@if (Model.BaseRateIsPercent)
|
|
{
|
|
<td>@Model.BaseRate.OtcFormatPercent(4)</td>
|
|
}
|
|
else
|
|
{
|
|
<td>@Model.BaseRate.OtcFormatMoney(true)</td>
|
|
}
|
|
</tr>
|
|
<tr>
|
|
<td>优惠费率</td>
|
|
@if (Model.DiscountRateIsPercent)
|
|
{
|
|
<td>@Model.DiscountRate.OtcFormatPercent(4)</td>
|
|
}
|
|
else
|
|
{
|
|
<td>@Model.DiscountRate.OtcFormatMoney(true)</td>
|
|
}
|
|
</tr>
|
|
<tr>
|
|
<td>优惠累计量下限</td>
|
|
<td>@Model.DiscountAccDown.OtcFormatMoney(true)</td>
|
|
</tr>
|
|
<tr>
|
|
<td>线下费率</td>
|
|
<td>@Model.OfflineRate.OtcFormatPercent(4)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div> |