{
  "topBlock": [
    {
      "type": "module",
      "label": "",
      "prefix": "",
      "value": "",
      "suffix": "",
      "children": [
        {
          "type": "field",
          "label": "用户",
          "prefix": "",
          "value": "{{takerId}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "录入日期",
          "prefix": "",
          "value": "{{captureTime}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "交易流水号",
          "prefix": "",
          "value": "{{dealId}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "簿记架构",
          "prefix": "",
          "value": "{{folder}}",
          "suffix": "",
          "children": [],

          "request": {
            "need": "true",
            "type": "field",
            "url": "/dcs/dcs/getHierarchy.action",
            "param": {},
            "data": {
              "folderCode": "{{folder}}"
            },
            "returnField": "result"
          }
        },
        {
          "type": "field",
          "label": "来源",
          "prefix": "",
          "value": "{{sourceName}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "来源流水号",
          "prefix": "",
          "value": "{{globalId}}",
          "suffix": "",
          "children": []
        }
      ]
    }
  ],
  "fieldBlock": [
    {
      "type": "module",
      "label": "",
      "prefix": "",
      "value": "交易信息",
      "suffix": "",
      "children": [
        {
          "type": "field",
          "label": "货币对",
          "prefix": "",
          "value": "{{underlying}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "即期汇率",
          "prefix": "",
          "value": "{{spotRate}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "金额",
          "prefix": "{{ccy1}}",
          "value": "{{amount1}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "金额",
          "prefix": "{{ccy2}}",
          "value": "{{amount2}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "交易日期",
          "prefix": "",
          "value": "{{tradeDate}}",
          "suffix": "{{tradeTime}}",
          "children": []
        },
        {
          "type": "field",
          "label": "起息日",
          "prefix": "",
          "value": "{{maturityDate}}",
          "suffix": "",
          "children": []
        }
      ]
    },
    {
      "type": "module",
      "label": "",
      "prefix": "",
      "value": "交易账户",
      "suffix": "",
      "children": [
        {
          "type": "field",
          "label": "账户",
          "prefix": "",
          "value": "{{folder}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "账户名称",
          "prefix": "",
          "value": "{{folder}}",
          "suffix": "",
          "children": [],

          "request": {
            "need": "true",
            "type": "field",
            "url": "dcs/dcs/queryFolderById.action",
            "param": {},
            "data": {
              "code": "{{folder}}"
            },
            "returnField": "result.localName"
          }
        },
        {
          "type": "field",
          "label": "交易对手",
          "prefix": "",
          "value": "{{cpty}}",
          "suffix": "",
          "children": []
        },
        {
          "type": "field",
          "label": "对手名称",
          "prefix": "",
          "value": "{{cpty}}",
          "suffix": "",
          "children": [],

          "request": {
            "need": "true",
            "type": "field",
            "url": "dcs/dcs/queryCptyName.action",
            "param": {},
            "data": {
              "code": "{{cpty}}"
            },
            "returnField": "result"
          }
        }
      ]
    }
  ]
}