新增利息端类型字段

This commit is contained in:
马冰冰
2026-07-23 16:59:58 +08:00
parent ef7fa7c6e5
commit ef179fc26c
5 changed files with 22 additions and 1 deletions
@@ -1289,6 +1289,7 @@ const vue = new Vue({
thisObj.getSwapList = thisObj.trade.swap_positions.filter(x => { if ((x.UnderlyingCode == null || x.UnderlyingCode.length == 0) && x.IsInitial && (x.InterestMode == 1 || x.InterestMode == 2 || x.InterestMode == 7 || x.InterestMode == 8 || x.InterestMode == 9)) return x; });
thisObj.getSwapList.forEach((val, num, arr) => {
arr[num].index = num;
arr[num].category_tag = arr[num].category_tag || '互换利率';
// 解析 InterestSwapInterval 为 SwapIntervalList
if (arr[num].InterestSwapInterval && !arr[num].SwapIntervalList) {
try {
@@ -1368,7 +1369,8 @@ const vue = new Vue({
HappenDate: null,//发生日期,
Currency: 'CNY',//币种
interest_rest_days: 7,//重置频率
interest_rule: null//利率准则
interest_rule: null,//利率准则
category_tag: '互换利率'//类别
}
thisObj.getSwapList.push(getSwap);
},