- init/data.yaml → init/data.json(修复格式错误,补全字典 balance_side/subjecttype/currency_status) - 从 tokentest 抽取账务配置:subject(8)/account_config(8)/accounting_config(8)/currency(4)/exchange_rate(3) - currency_list/exchange_rate_list 去 alias(单表单逻辑) - 删失效软链 wwwroot/index.ui
394 lines
8.7 KiB
JSON
394 lines
8.7 KiB
JSON
{
|
|
"appcodes": [
|
|
{
|
|
"id": "accounting_dir",
|
|
"name": "记账方向",
|
|
"hierarchy_flg": "0"
|
|
},
|
|
{
|
|
"id": "balance_at",
|
|
"name": "余额方向",
|
|
"hierarchy_flg": "0"
|
|
},
|
|
{
|
|
"id": "balance_side",
|
|
"name": "科目余额方向",
|
|
"hierarchy_flg": "0"
|
|
},
|
|
{
|
|
"id": "subjecttype",
|
|
"name": "科目类别",
|
|
"hierarchy_flg": "0"
|
|
},
|
|
{
|
|
"id": "partytype",
|
|
"name": "机构类型",
|
|
"hierarchy_flg": "0"
|
|
},
|
|
{
|
|
"id": "credit_status",
|
|
"name": "信用额度状态",
|
|
"hierarchy_flg": "0"
|
|
},
|
|
{
|
|
"id": "currency_status",
|
|
"name": "币种状态",
|
|
"hierarchy_flg": "0"
|
|
}
|
|
],
|
|
"appcodes_kv": [
|
|
{
|
|
"id": "accounting_dir_0",
|
|
"parentid": "accounting_dir",
|
|
"k": "0",
|
|
"v": "借"
|
|
},
|
|
{
|
|
"id": "accounting_dir_1",
|
|
"parentid": "accounting_dir",
|
|
"k": "1",
|
|
"v": "贷"
|
|
},
|
|
{
|
|
"id": "balance_at_0",
|
|
"parentid": "balance_at",
|
|
"k": "0",
|
|
"v": "借"
|
|
},
|
|
{
|
|
"id": "balance_at_1",
|
|
"parentid": "balance_at",
|
|
"k": "1",
|
|
"v": "贷"
|
|
},
|
|
{
|
|
"id": "balance_side_0",
|
|
"parentid": "balance_side",
|
|
"k": "0",
|
|
"v": "借"
|
|
},
|
|
{
|
|
"id": "balance_side_1",
|
|
"parentid": "balance_side",
|
|
"k": "1",
|
|
"v": "贷"
|
|
},
|
|
{
|
|
"id": "subjecttype_asset",
|
|
"parentid": "subjecttype",
|
|
"k": "资产",
|
|
"v": "资产"
|
|
},
|
|
{
|
|
"id": "subjecttype_liability",
|
|
"parentid": "subjecttype",
|
|
"k": "负债",
|
|
"v": "负债"
|
|
},
|
|
{
|
|
"id": "subjecttype_pl",
|
|
"parentid": "subjecttype",
|
|
"k": "损益",
|
|
"v": "损益"
|
|
},
|
|
{
|
|
"id": "partytype_owner",
|
|
"parentid": "partytype",
|
|
"k": "owner",
|
|
"v": "平台"
|
|
},
|
|
{
|
|
"id": "partytype_reseller",
|
|
"parentid": "partytype",
|
|
"k": "reseller",
|
|
"v": "分销商"
|
|
},
|
|
{
|
|
"id": "partytype_customer",
|
|
"parentid": "partytype",
|
|
"k": "customer",
|
|
"v": "客户"
|
|
},
|
|
{
|
|
"id": "partytype_provider",
|
|
"parentid": "partytype",
|
|
"k": "provider",
|
|
"v": "供应商"
|
|
},
|
|
{
|
|
"id": "credit_status_active",
|
|
"parentid": "credit_status",
|
|
"k": "active",
|
|
"v": "生效"
|
|
},
|
|
{
|
|
"id": "credit_status_inactive",
|
|
"parentid": "credit_status",
|
|
"k": "inactive",
|
|
"v": "停用"
|
|
},
|
|
{
|
|
"id": "credit_status_expired",
|
|
"parentid": "credit_status",
|
|
"k": "expired",
|
|
"v": "已过期"
|
|
},
|
|
{
|
|
"id": "currency_status_active",
|
|
"parentid": "currency_status",
|
|
"k": "active",
|
|
"v": "启用"
|
|
},
|
|
{
|
|
"id": "currency_status_inactive",
|
|
"parentid": "currency_status",
|
|
"k": "inactive",
|
|
"v": "停用"
|
|
}
|
|
],
|
|
"subject": [
|
|
{
|
|
"id": "BUyr-yN8rtwefNOjQwVXK",
|
|
"name": "平台银行存款",
|
|
"balance_side": "0",
|
|
"subjecttype": "资产"
|
|
},
|
|
{
|
|
"id": "c98nEf0i_uF7Ik6gozaau",
|
|
"name": "平台充值成本",
|
|
"balance_side": "0",
|
|
"subjecttype": "损益"
|
|
},
|
|
{
|
|
"id": "ePcBex1OU1wdF_-_okZRv",
|
|
"name": "商户营业收入",
|
|
"balance_side": "1",
|
|
"subjecttype": "损益"
|
|
},
|
|
{
|
|
"id": "ERd8EAZa35M4PRLsKI6yX",
|
|
"name": "商户采购成本",
|
|
"balance_side": "0",
|
|
"subjecttype": "损益"
|
|
},
|
|
{
|
|
"id": "heJJIQTWsZE_HbS7WWI4S",
|
|
"name": "商户交易费支出",
|
|
"balance_side": "0",
|
|
"subjecttype": "损益"
|
|
},
|
|
{
|
|
"id": "Iw1EFL1Ubl7Dq7JVFMMEq",
|
|
"name": "客户资金账户",
|
|
"balance_side": "1",
|
|
"subjecttype": "负债"
|
|
},
|
|
{
|
|
"id": "Lnzxp-5XdWadoTCyZiN6M",
|
|
"name": "平台交易费收入",
|
|
"balance_side": "1",
|
|
"subjecttype": "损益"
|
|
},
|
|
{
|
|
"id": "pF2OEBe_E2sYK7fAuVN3n",
|
|
"name": "供应商分销收入",
|
|
"balance_side": "1",
|
|
"subjecttype": "损益"
|
|
}
|
|
],
|
|
"account_config": [
|
|
{
|
|
"id": "b_MKox_VZiFYIR_lzJC6F",
|
|
"subjectid": "ePcBex1OU1wdF_-_okZRv",
|
|
"partytype": "分销商",
|
|
"party1type": null
|
|
},
|
|
{
|
|
"id": "GIhJc5osnYqgkhDXSiZKQ",
|
|
"subjectid": "BUyr-yN8rtwefNOjQwVXK",
|
|
"partytype": "平台",
|
|
"party1type": null
|
|
},
|
|
{
|
|
"id": "KtwnMnfejNKsnBnPIu7G4",
|
|
"subjectid": "heJJIQTWsZE_HbS7WWI4S",
|
|
"partytype": "分销商",
|
|
"party1type": null
|
|
},
|
|
{
|
|
"id": "qNjewpZiTatSy828LktP0",
|
|
"subjectid": "ERd8EAZa35M4PRLsKI6yX",
|
|
"partytype": "分销商",
|
|
"party1type": "供应商"
|
|
},
|
|
{
|
|
"id": "t-sco3C4pl4ON0pKktGEQ",
|
|
"subjectid": "Iw1EFL1Ubl7Dq7JVFMMEq",
|
|
"partytype": "客户",
|
|
"party1type": null
|
|
},
|
|
{
|
|
"id": "W-11FsYRSzKhx8j7Kc5Il",
|
|
"subjectid": "Lnzxp-5XdWadoTCyZiN6M",
|
|
"partytype": "平台",
|
|
"party1type": null
|
|
},
|
|
{
|
|
"id": "XC6-lNo1yGcxGufTSSi1U",
|
|
"subjectid": "c98nEf0i_uF7Ik6gozaau",
|
|
"partytype": "平台",
|
|
"party1type": null
|
|
},
|
|
{
|
|
"id": "Z6adBvS1uqKP7XuYf73t9",
|
|
"subjectid": "pF2OEBe_E2sYK7fAuVN3n",
|
|
"partytype": "供应商",
|
|
"party1type": "分销商"
|
|
}
|
|
],
|
|
"accounting_config": [
|
|
{
|
|
"id": "_j054xv_mpfLrD8svBCkT",
|
|
"action": "PAY",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "0",
|
|
"orgtype": "customer",
|
|
"org1type": null,
|
|
"subjectid": "Iw1EFL1Ubl7Dq7JVFMMEq",
|
|
"amt_pattern": "${交易金额}$"
|
|
},
|
|
{
|
|
"id": "_U3HGWL4ywA-ML7cVdBZa",
|
|
"action": "PAY",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "1",
|
|
"orgtype": "reseller",
|
|
"org1type": null,
|
|
"subjectid": "ePcBex1OU1wdF_-_okZRv",
|
|
"amt_pattern": "${交易金额}$"
|
|
},
|
|
{
|
|
"id": "1VOt1KDML_lM0uiH7NFSW",
|
|
"action": "RECHARGE",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "0",
|
|
"orgtype": "owner",
|
|
"org1type": null,
|
|
"subjectid": "c98nEf0i_uF7Ik6gozaau",
|
|
"amt_pattern": "${充值费率}$ * ${交易金额}$"
|
|
},
|
|
{
|
|
"id": "4wQNg-KX8kjOY3evlE2ar",
|
|
"action": "PAY*",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "0",
|
|
"orgtype": "reseller",
|
|
"org1type": "provider",
|
|
"subjectid": "ERd8EAZa35M4PRLsKI6yX",
|
|
"amt_pattern": "${采购成本}$"
|
|
},
|
|
{
|
|
"id": "CIrdqoS2XLP_pxahjKLBQ",
|
|
"action": "PAY",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "1",
|
|
"orgtype": "owner",
|
|
"org1type": null,
|
|
"subjectid": "Lnzxp-5XdWadoTCyZiN6M",
|
|
"amt_pattern": "${交易手续费}$"
|
|
},
|
|
{
|
|
"id": "vi9Q9r3V-IXXgEffs7un8",
|
|
"action": "PAY*",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "1",
|
|
"orgtype": "provider",
|
|
"org1type": "reseller",
|
|
"subjectid": "pF2OEBe_E2sYK7fAuVN3n",
|
|
"amt_pattern": "${采购成本}$"
|
|
},
|
|
{
|
|
"id": "vQ7GNoVridCqzQZ6MtbwN",
|
|
"action": "RECHARGE",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "1",
|
|
"orgtype": "customer",
|
|
"org1type": null,
|
|
"subjectid": "Iw1EFL1Ubl7Dq7JVFMMEq",
|
|
"amt_pattern": "${交易金额}$"
|
|
},
|
|
{
|
|
"id": "Z34IkRVy5SohRqxkVQT2p",
|
|
"action": "RECHARGE",
|
|
"accounting_orgtype": "owner",
|
|
"accounting_dir": "0",
|
|
"orgtype": "owner",
|
|
"org1type": null,
|
|
"subjectid": "BUyr-yN8rtwefNOjQwVXK",
|
|
"amt_pattern": "${交易金额}$ - ${充值费率}$ * ${交易金额}$"
|
|
}
|
|
],
|
|
"currency": [
|
|
{
|
|
"id": "CNY",
|
|
"name": "人民币",
|
|
"symbol": "¥",
|
|
"decimal_places": 2,
|
|
"is_base": "1",
|
|
"status": "active"
|
|
},
|
|
{
|
|
"id": "GBP",
|
|
"name": "英镑",
|
|
"symbol": "£",
|
|
"decimal_places": 2,
|
|
"is_base": "0",
|
|
"status": "active"
|
|
},
|
|
{
|
|
"id": "JPY",
|
|
"name": "日元",
|
|
"symbol": "¥",
|
|
"decimal_places": 0,
|
|
"is_base": "0",
|
|
"status": "active"
|
|
},
|
|
{
|
|
"id": "USD",
|
|
"name": "美元",
|
|
"symbol": "$",
|
|
"decimal_places": 2,
|
|
"is_base": "0",
|
|
"status": "active"
|
|
}
|
|
],
|
|
"exchange_rate": [
|
|
{
|
|
"id": "er_gbp_cny_20260821",
|
|
"from_currency": "GBP",
|
|
"to_currency": "CNY",
|
|
"buy_rate": 9.15,
|
|
"sell_rate": 9.2179,
|
|
"mid_rate": 9.2101,
|
|
"effective_date": "2026-08-21"
|
|
},
|
|
{
|
|
"id": "er_jpy_cny_20260821",
|
|
"from_currency": "JPY",
|
|
"to_currency": "CNY",
|
|
"buy_rate": 0.042221,
|
|
"sell_rate": 0.042547,
|
|
"mid_rate": 0.042516,
|
|
"effective_date": "2026-08-21"
|
|
},
|
|
{
|
|
"id": "er_usd_cny_20260821",
|
|
"from_currency": "USD",
|
|
"to_currency": "CNY",
|
|
"buy_rate": 6.7096,
|
|
"sell_rate": 6.7379,
|
|
"mid_rate": 6.7817,
|
|
"effective_date": "2026-08-21"
|
|
}
|
|
]
|
|
} |