oa内容格式调整
This commit is contained in:
@@ -209,52 +209,11 @@ namespace YLErp.Modules.TradeModule
|
||||
}
|
||||
|
||||
var posiTypeStr = currentPositionType == (int)PositionTypeFlag.Long ? "买入" : "卖出";
|
||||
string bgContent = @$"<!DOCTYPE html>
|
||||
<html lang=""zh-CN"">
|
||||
<head>
|
||||
<meta charset=""UTF-8"">
|
||||
<title>交易确认书</title>
|
||||
<style>
|
||||
body {{ font-family: Arial, sans-serif; line-height: 1.6; }}
|
||||
table {{ width: 100%; border-collapse: collapse; }}
|
||||
th, td {{ text-align: left; padding: 8px; }}
|
||||
p {{ margin: 10px 0; }}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>各位领导:</p>
|
||||
<p style=""text-indent: 2em"">经友好协商,我司拟与交易对手开展以下场外利率收益互换交易:</p>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>浮动收益交付方</th>
|
||||
<th>存款收益接收方</th>
|
||||
<th>标的</th>
|
||||
<th>方向</th>
|
||||
<th>起始日</th>
|
||||
<th>到期日</th>
|
||||
<th>合约名义本金</th>
|
||||
<th>保证金支付方</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>浙商证券</td>
|
||||
<td>{trade.ClientName}</td>
|
||||
<td>{trade.UnderlyingInstrumentTypeCn}</td>
|
||||
<td>{posiTypeStr}</td>
|
||||
<td>{trade.StartDate?.ToString("yyyy/M/d")}</td>
|
||||
<td>{exerciseDate?.ToString("yyyy/M/d")}</td>
|
||||
<td>{totalNotionalPrincipal:N0}元</td>
|
||||
<td>{trade.ClientName}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>交易标的满足浙商证券标的池管理要求,交易对手方为非交易商,提供【{(marginRate*100).ToString("0.##")}%】名义本金的履约担保品作为初始保证金。保证金预警线与盯市追保符合内外规要求。</p>
|
||||
</body>
|
||||
</html>";
|
||||
string bgContent = @$"<p>各位领导:</p>
|
||||
<p style=""margin-left: 40px"">经友好协商,我司拟与交易对手开展以下场外利率收益互换交易:</p>
|
||||
<p style=""margin-left: 40px"">浮动收益交付方 存款收益接收方 标的 方向 起始日 到期日 合约名义本金 保证金支付方</p>
|
||||
<p style=""margin-left: 40px"">浙商证券 {trade.ClientName} {trade.UnderlyingInstrumentTypeCn} {posiTypeStr} {trade.StartDate?.ToString("yyyy/M/d")} {exerciseDate?.ToString("yyyy/M/d")} {totalNotionalPrincipal:N0}元 {trade.ClientName}</p>
|
||||
<p>交易标的满足浙商证券标的池管理要求,交易对手方为非交易商,提供【{(marginRate*100).ToString("0.##")}%】名义本金的履约担保品作为初始保证金。保证金预警线与盯市追保符合内外规要求。</p>";
|
||||
// 构建OA请求参数
|
||||
var oaRequest = new
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user