Commit aa90388e by lixinyi

退回编辑修改,js文件位置修改

parent ac6fc97f
...@@ -336,6 +336,24 @@ export default [ ...@@ -336,6 +336,24 @@ export default [
}, },
], ],
}, },
{
path: "0.1.11.1",
name: "39. BranchIdentification",
label: "BranchIdentification",
tag: "BrnchId",
status: "O",
children: [
{
path: "0.1.11.1.0",
name: "40. Identification",
label: "Identification",
tag: "Id",
type: "TextInput",
status: "O",
maxLength: "35",
},
],
},
], ],
}, },
{ {
......
export default [ export default [
{ {
path: "0", path: "0",
name: "Message root", name: "1. Message root",
label: "Message root", label: "Message root",
tag: "FICdtTrf", tag: "FICdtTrf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.0", path: "0.0",
name: "GroupHeader", name: "2. GroupHeader",
label: "GroupHeader", label: "GroupHeader",
tag: "GrpHdr", tag: "GrpHdr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.0.0", path: "0.0.0",
name: "MessageIdentification", name: "3. MessageIdentification",
label: "MessageIdentification", label: "MessageIdentification",
tag: "MsgId", tag: "MsgId",
type: "TextInput", type: "TextInput",
...@@ -26,7 +26,7 @@ export default [ ...@@ -26,7 +26,7 @@ export default [
}, },
{ {
path: "0.0.1", path: "0.0.1",
name: "CreationDateTime", name: "4. CreationDateTime",
label: "CreationDateTime", label: "CreationDateTime",
tag: "CreDtTm", tag: "CreDtTm",
type: "DateTime", type: "DateTime",
...@@ -34,7 +34,7 @@ export default [ ...@@ -34,7 +34,7 @@ export default [
}, },
{ {
path: "0.0.2", path: "0.0.2",
name: "NumberOfTransactions", name: "5. NumberOfTransactions",
label: "NumberOfTransactions", label: "NumberOfTransactions",
tag: "NbOfTxs", tag: "NbOfTxs",
type: "TextInput", type: "TextInput",
...@@ -44,14 +44,14 @@ export default [ ...@@ -44,14 +44,14 @@ export default [
}, },
{ {
path: "0.0.3", path: "0.0.3",
name: "SettlementInformation", name: "6. SettlementInformation",
label: "SettlementInformation", label: "SettlementInformation",
tag: "SttlmInf", tag: "SttlmInf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.0.3.0", path: "0.0.3.0",
name: "SettlementMethod", name: "7. SettlementMethod",
label: "SettlementMethod", label: "SettlementMethod",
tag: "SttlmMtd", tag: "SttlmMtd",
type: "TextInput", type: "TextInput",
...@@ -65,21 +65,21 @@ export default [ ...@@ -65,21 +65,21 @@ export default [
}, },
{ {
path: "0.1", path: "0.1",
name: "CreditTransferTransactionInformation", name: "8. CreditTransferTransactionInformation",
label: "CreditTransferTransactionInformation", label: "CreditTransferTransactionInformation",
tag: "CdtTrfTxInf", tag: "CdtTrfTxInf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.0", path: "0.1.0",
name: "PaymentIdentification", name: "9. PaymentIdentification",
label: "PaymentIdentification", label: "PaymentIdentification",
tag: "PmtId", tag: "PmtId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.0.0", path: "0.1.0.0",
name: "InstructionIdentification", name: "10. InstructionIdentification",
label: "InstructionIdentification", label: "InstructionIdentification",
tag: "InstrId", tag: "InstrId",
type: "TextInput", type: "TextInput",
...@@ -88,7 +88,7 @@ export default [ ...@@ -88,7 +88,7 @@ export default [
}, },
{ {
path: "0.1.0.1", path: "0.1.0.1",
name: "EndToEndIdentification", name: "11. EndToEndIdentification",
label: "EndToEndIdentification", label: "EndToEndIdentification",
tag: "EndToEndId", tag: "EndToEndId",
type: "TextInput", type: "TextInput",
...@@ -98,7 +98,7 @@ export default [ ...@@ -98,7 +98,7 @@ export default [
}, },
{ {
path: "0.1.0.2", path: "0.1.0.2",
name: "TransactionIdentification", name: "12. TransactionIdentification",
label: "TransactionIdentification", label: "TransactionIdentification",
tag: "TxId", tag: "TxId",
type: "TextInput", type: "TextInput",
...@@ -110,21 +110,21 @@ export default [ ...@@ -110,21 +110,21 @@ export default [
}, },
{ {
path: "0.1.1", path: "0.1.1",
name: "PaymentTypeInformation", name: "13. PaymentTypeInformation",
label: "PaymentTypeInformation", label: "PaymentTypeInformation",
tag: "PmtTpInf", tag: "PmtTpInf",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.1.0", path: "0.1.1.0",
name: "CategoryPurpose", name: "14. CategoryPurpose",
label: "CategoryPurpose", label: "CategoryPurpose",
tag: "CtgyPurp", tag: "CtgyPurp",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.1.0.0", path: "0.1.1.0.0",
name: "Proprietary", name: "15. Proprietary",
label: "Proprietary", label: "Proprietary",
tag: "Prtry", tag: "Prtry",
type: "Select#proprietary112", type: "Select#proprietary112",
...@@ -137,7 +137,7 @@ export default [ ...@@ -137,7 +137,7 @@ export default [
}, },
{ {
path: "0.1.2", path: "0.1.2",
name: "InterbankSettlementAmount", name: "16. InterbankSettlementAmount",
label: "InterbankSettlementAmount", label: "InterbankSettlementAmount",
tag: "IntrBkSttlmAmt", tag: "IntrBkSttlmAmt",
type: "AmountCIPS#18,5", type: "AmountCIPS#18,5",
...@@ -145,7 +145,7 @@ export default [ ...@@ -145,7 +145,7 @@ export default [
}, },
{ {
path: "0.1.3", path: "0.1.3",
name: "InterbankSettlementDate", name: "17. InterbankSettlementDate",
label: "InterbankSettlementDate", label: "InterbankSettlementDate",
tag: "IntrBkSttlmDt", tag: "IntrBkSttlmDt",
type: "Date", type: "Date",
...@@ -153,7 +153,7 @@ export default [ ...@@ -153,7 +153,7 @@ export default [
}, },
{ {
path: "0.1.4", path: "0.1.4",
name: "SettlementPriority", name: "18. SettlementPriority",
label: "SettlementPriority", label: "SettlementPriority",
tag: "SttlmPrty", tag: "SttlmPrty",
type: "Select#priority3Code", type: "Select#priority3Code",
...@@ -161,14 +161,14 @@ export default [ ...@@ -161,14 +161,14 @@ export default [
}, },
{ {
path: "0.1.5", path: "0.1.5",
name: "SettlementTimeIndication", name: "19. SettlementTimeIndication",
label: "SettlementTimeIndication", label: "SettlementTimeIndication",
tag: "SttlmTmIndctn", tag: "SttlmTmIndctn",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.5.0", path: "0.1.5.0",
name: "DebitDateTime", name: "20. DebitDateTime",
label: "DebitDateTime", label: "DebitDateTime",
tag: "DbtDtTm", tag: "DbtDtTm",
type: "DateTime", type: "DateTime",
...@@ -178,28 +178,28 @@ export default [ ...@@ -178,28 +178,28 @@ export default [
}, },
{ {
path: "0.1.6", path: "0.1.6",
name: "InstructingAgent", name: "21. InstructingAgent",
label: "InstructingAgent", label: "InstructingAgent",
tag: "InstgAgt", tag: "InstgAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.6.0", path: "0.1.6.0",
name: "FinancialInstitutionIdentification", name: "22. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.6.0.0", path: "0.1.6.0.0",
name: "ClearingSystemMemberIdentification", name: "23. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.6.0.0.0", path: "0.1.6.0.0.0",
name: "MemberIdentification", name: "24. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -214,14 +214,14 @@ export default [ ...@@ -214,14 +214,14 @@ export default [
}, },
{ {
path: "0.1.6.1", path: "0.1.6.1",
name: "BranchIdentification", name: "25. BranchIdentification",
label: "BranchIdentification", label: "BranchIdentification",
tag: "BrnchId", tag: "BrnchId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.6.1.0", path: "0.1.6.1.0",
name: "Identification", name: "26. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -234,28 +234,28 @@ export default [ ...@@ -234,28 +234,28 @@ export default [
}, },
{ {
path: "0.1.7", path: "0.1.7",
name: "InstructedAgent", name: "27. InstructedAgent",
label: "InstructedAgent", label: "InstructedAgent",
tag: "InstdAgt", tag: "InstdAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.7.0", path: "0.1.7.0",
name: "FinancialInstitutionIdentification", name: "28. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.7.0.0", path: "0.1.7.0.0",
name: "ClearingSystemMemberIdentification", name: "29. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.7.0.0.0", path: "0.1.7.0.0.0",
name: "MemberIdentification", name: "30. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -268,14 +268,14 @@ export default [ ...@@ -268,14 +268,14 @@ export default [
}, },
{ {
path: "0.1.7.1", path: "0.1.7.1",
name: "BranchIdentification", name: "31. BranchIdentification",
label: "BranchIdentification", label: "BranchIdentification",
tag: "BrnchId", tag: "BrnchId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.7.1.0", path: "0.1.7.1.0",
name: "Identification", name: "32. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -288,28 +288,28 @@ export default [ ...@@ -288,28 +288,28 @@ export default [
}, },
{ {
path: "0.1.8", path: "0.1.8",
name: "IntermediaryAgent1", name: "33. IntermediaryAgent1",
label: "IntermediaryAgent1", label: "IntermediaryAgent1",
tag: "IntrmyAgt1", tag: "IntrmyAgt1",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.8.0", path: "0.1.8.0",
name: "FinancialInstitutionIdentification", name: "34. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.8.0.0", path: "0.1.8.0.0",
name: "ClearingSystemMemberIdentification", name: "35. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.8.0.0.0", path: "0.1.8.0.0.0",
name: "MemberIdentification", name: "36. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -320,7 +320,7 @@ export default [ ...@@ -320,7 +320,7 @@ export default [
}, },
{ {
path: "0.1.8.0.1", path: "0.1.8.0.1",
name: "Name", name: "37. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -333,28 +333,28 @@ export default [ ...@@ -333,28 +333,28 @@ export default [
}, },
{ {
path: "0.1.9", path: "0.1.9",
name: "IntermediaryAgent2", name: "38. IntermediaryAgent2",
label: "IntermediaryAgent2", label: "IntermediaryAgent2",
tag: "IntrmyAgt2", tag: "IntrmyAgt2",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.9.0", path: "0.1.9.0",
name: "FinancialInstitutionIdentification", name: "39. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.9.0.0", path: "0.1.9.0.0",
name: "ClearingSystemMemberIdentification", name: "40. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.9.0.0.0", path: "0.1.9.0.0.0",
name: "MemberIdentification", name: "41. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -365,7 +365,7 @@ export default [ ...@@ -365,7 +365,7 @@ export default [
}, },
{ {
path: "0.1.9.0.1", path: "0.1.9.0.1",
name: "Name", name: "42. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -378,28 +378,28 @@ export default [ ...@@ -378,28 +378,28 @@ export default [
}, },
{ {
path: "0.1.10", path: "0.1.10",
name: "Debtor", name: "43. Debtor",
label: "Debtor", label: "Debtor",
tag: "Dbtr", tag: "Dbtr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.10.0", path: "0.1.10.0",
name: "FinancialInstitutionIdentification", name: "44. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.10.0.0", path: "0.1.10.0.0",
name: "ClearingSystemMemberIdentification", name: "45. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.10.0.0.0", path: "0.1.10.0.0.0",
name: "MemberIdentification", name: "46. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -410,7 +410,7 @@ export default [ ...@@ -410,7 +410,7 @@ export default [
}, },
{ {
path: "0.1.10.0.1", path: "0.1.10.0.1",
name: "Name", name: "47. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -419,14 +419,14 @@ export default [ ...@@ -419,14 +419,14 @@ export default [
}, },
{ {
path: "0.1.10.0.2", path: "0.1.10.0.2",
name: "PostalAddress", name: "48. PostalAddress",
label: "PostalAddress", label: "PostalAddress",
tag: "PstlAdr", tag: "PstlAdr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.10.0.2.0", path: "0.1.10.0.2.0",
name: "AddressLine", name: "49. AddressLine",
label: "AddressLine", label: "AddressLine",
tag: "AdrLine", tag: "AdrLine",
type: "TextInput", type: "TextInput",
...@@ -442,28 +442,28 @@ export default [ ...@@ -442,28 +442,28 @@ export default [
}, },
{ {
path: "0.1.11", path: "0.1.11",
name: "DebtorAccount", name: "50. DebtorAccount",
label: "DebtorAccount", label: "DebtorAccount",
tag: "DbtrAcct", tag: "DbtrAcct",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.11.0", path: "0.1.11.0",
name: "Identification", name: "51. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.11.0.0", path: "0.1.11.0.0",
name: "Other", name: "52. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.11.0.0.0", path: "0.1.11.0.0.0",
name: "Identification", name: "53. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -478,28 +478,28 @@ export default [ ...@@ -478,28 +478,28 @@ export default [
}, },
{ {
path: "0.1.12", path: "0.1.12",
name: "DebtorAgent", name: "54. DebtorAgent",
label: "DebtorAgent", label: "DebtorAgent",
tag: "DbtrAgt", tag: "DbtrAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.12.0", path: "0.1.12.0",
name: "FinancialInstitutionIdentification", name: "55. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.12.0.0", path: "0.1.12.0.0",
name: "ClearingSystemMemberIdentification", name: "56. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.12.0.0.0", path: "0.1.12.0.0.0",
name: "MemberIdentification", name: "57. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -510,7 +510,7 @@ export default [ ...@@ -510,7 +510,7 @@ export default [
}, },
{ {
path: "0.1.12.0.1", path: "0.1.12.0.1",
name: "Name", name: "58. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -523,28 +523,28 @@ export default [ ...@@ -523,28 +523,28 @@ export default [
}, },
{ {
path: "0.1.13", path: "0.1.13",
name: "CreditorAgent", name: "59. CreditorAgent",
label: "CreditorAgent", label: "CreditorAgent",
tag: "CdtrAgt", tag: "CdtrAgt",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.13.0", path: "0.1.13.0",
name: "FinancialInstitutionIdentification", name: "60. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.13.0.0", path: "0.1.13.0.0",
name: "ClearingSystemMemberIdentification", name: "61. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.13.0.0.0", path: "0.1.13.0.0.0",
name: "MemberIdentification", name: "62. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -555,7 +555,7 @@ export default [ ...@@ -555,7 +555,7 @@ export default [
}, },
{ {
path: "0.1.13.0.1", path: "0.1.13.0.1",
name: "Name", name: "63. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -568,28 +568,28 @@ export default [ ...@@ -568,28 +568,28 @@ export default [
}, },
{ {
path: "0.1.14", path: "0.1.14",
name: "Creditor", name: "64. Creditor",
label: "Creditor", label: "Creditor",
tag: "Cdtr", tag: "Cdtr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.14.0", path: "0.1.14.0",
name: "FinancialInstitutionIdentification", name: "65. FinancialInstitutionIdentification",
label: "FinancialInstitutionIdentification", label: "FinancialInstitutionIdentification",
tag: "FinInstnId", tag: "FinInstnId",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.14.0.0", path: "0.1.14.0.0",
name: "ClearingSystemMemberIdentification", name: "66. ClearingSystemMemberIdentification",
label: "ClearingSystemMemberIdentification", label: "ClearingSystemMemberIdentification",
tag: "ClrSysMmbId", tag: "ClrSysMmbId",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.14.0.0.0", path: "0.1.14.0.0.0",
name: "MemberIdentification", name: "67. MemberIdentification",
label: "MemberIdentification", label: "MemberIdentification",
tag: "MmbId", tag: "MmbId",
type: "TextInput", type: "TextInput",
...@@ -600,7 +600,7 @@ export default [ ...@@ -600,7 +600,7 @@ export default [
}, },
{ {
path: "0.1.14.0.1", path: "0.1.14.0.1",
name: "Name", name: "68. Name",
label: "Name", label: "Name",
tag: "Nm", tag: "Nm",
type: "TextInput", type: "TextInput",
...@@ -609,14 +609,14 @@ export default [ ...@@ -609,14 +609,14 @@ export default [
}, },
{ {
path: "0.1.14.0.2", path: "0.1.14.0.2",
name: "PostalAddress", name: "69. PostalAddress",
label: "PostalAddress", label: "PostalAddress",
tag: "PstlAdr", tag: "PstlAdr",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.14.0.2.0", path: "0.1.14.0.2.0",
name: "AddressLine", name: "70. AddressLine",
label: "AddressLine", label: "AddressLine",
tag: "AdrLine", tag: "AdrLine",
type: "TextInput", type: "TextInput",
...@@ -632,28 +632,28 @@ export default [ ...@@ -632,28 +632,28 @@ export default [
}, },
{ {
path: "0.1.15", path: "0.1.15",
name: "CreditorAccount", name: "71. CreditorAccount",
label: "CreditorAccount", label: "CreditorAccount",
tag: "CdtrAcct", tag: "CdtrAcct",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.15.0", path: "0.1.15.0",
name: "Identification", name: "72. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.15.0.0", path: "0.1.15.0.0",
name: "Other", name: "73. Other",
label: "Other", label: "Other",
tag: "Othr", tag: "Othr",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.15.0.0.0", path: "0.1.15.0.0.0",
name: "Identification", name: "74. Identification",
label: "Identification", label: "Identification",
tag: "Id", tag: "Id",
type: "TextInput", type: "TextInput",
...@@ -668,7 +668,7 @@ export default [ ...@@ -668,7 +668,7 @@ export default [
}, },
{ {
path: "0.1.16", path: "0.1.16",
name: "InstructionForCreditorAgent", name: "75. InstructionForCreditorAgent",
label: "InstructionForCreditorAgent", label: "InstructionForCreditorAgent",
tag: "InstrForCdtrAgt", tag: "InstrForCdtrAgt",
status: "O", status: "O",
...@@ -676,7 +676,7 @@ export default [ ...@@ -676,7 +676,7 @@ export default [
children: [ children: [
{ {
path: "0.1.16.0", path: "0.1.16.0",
name: "InstructionInformation", name: "76. InstructionInformation",
label: "InstructionInformation", label: "InstructionInformation",
tag: "InstrInf", tag: "InstrInf",
type: "TextInput", type: "TextInput",
...@@ -687,14 +687,14 @@ export default [ ...@@ -687,14 +687,14 @@ export default [
}, },
{ {
path: "0.1.17", path: "0.1.17",
name: "RemittanceInformation", name: "77. RemittanceInformation",
label: "RemittanceInformation", label: "RemittanceInformation",
tag: "RmtInf", tag: "RmtInf",
status: "O", status: "O",
children: [ children: [
{ {
path: "0.1.17.0", path: "0.1.17.0",
name: "Unstructured", name: "78. Unstructured",
label: "Unstructured", label: "Unstructured",
tag: "Ustrd", tag: "Ustrd",
type: "TextInput", type: "TextInput",
...@@ -706,14 +706,14 @@ export default [ ...@@ -706,14 +706,14 @@ export default [
}, },
{ {
path: "0.1.18", path: "0.1.18",
name: "SupplementaryData", name: "79. SupplementaryData",
label: "SupplementaryData", label: "SupplementaryData",
tag: "SplmtryData", tag: "SplmtryData",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.18.0", path: "0.1.18.0",
name: "PlaceAndName", name: "80. PlaceAndName",
label: "PlaceAndName", label: "PlaceAndName",
tag: "PlcAndNm", tag: "PlcAndNm",
type: "TextInput", type: "TextInput",
...@@ -723,21 +723,21 @@ export default [ ...@@ -723,21 +723,21 @@ export default [
}, },
{ {
path: "0.1.18.1", path: "0.1.18.1",
name: "Envelope", name: "81. Envelope",
label: "Envelope", label: "Envelope",
tag: "Envlp", tag: "Envlp",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.18.1.0", path: "0.1.18.1.0",
name: "Contents", name: "82. Contents",
label: "Contents", label: "Contents",
tag: "Cnts", tag: "Cnts",
status: "M", status: "M",
children: [ children: [
{ {
path: "0.1.18.1.0.0", path: "0.1.18.1.0.0",
name: "ExpectedSettlementDate", name: "83. ExpectedSettlementDate",
label: "ExpectedSettlementDate", label: "ExpectedSettlementDate",
tag: "XpctdSttlmDt", tag: "XpctdSttlmDt",
type: "Date", type: "Date",
...@@ -745,7 +745,7 @@ export default [ ...@@ -745,7 +745,7 @@ export default [
}, },
{ {
path: "0.1.18.1.0.1", path: "0.1.18.1.0.1",
name: "OrderNumber", name: "84. OrderNumber",
label: "OrderNumber", label: "OrderNumber",
tag: "OrdNum", tag: "OrdNum",
type: "TextInput", type: "TextInput",
...@@ -754,7 +754,7 @@ export default [ ...@@ -754,7 +754,7 @@ export default [
}, },
{ {
path: "0.1.18.1.0.2", path: "0.1.18.1.0.2",
name: "OrderInformation", name: "85. OrderInformation",
label: "OrderInformation", label: "OrderInformation",
tag: "OrdInf", tag: "OrdInf",
type: "TextInput", type: "TextInput",
...@@ -763,7 +763,7 @@ export default [ ...@@ -763,7 +763,7 @@ export default [
}, },
{ {
path: "0.1.18.1.0.3", path: "0.1.18.1.0.3",
name: "BusinessPhase", name: "86. BusinessPhase",
label: "BusinessPhase", label: "BusinessPhase",
tag: "BizPhs", tag: "BizPhs",
type: "Select#BizPhaseTypeCode", type: "Select#BizPhaseTypeCode",
...@@ -781,7 +781,7 @@ export default [ ...@@ -781,7 +781,7 @@ export default [
}, },
{ {
path: "1", path: "1",
name: "MesgType", name: "87. MesgType",
tag: "MesgType", tag: "MesgType",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
...@@ -789,7 +789,7 @@ export default [ ...@@ -789,7 +789,7 @@ export default [
}, },
{ {
path: "2", path: "2",
name: "MesgPriority", name: "88. MesgPriority",
tag: "MesgPriority", tag: "MesgPriority",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
...@@ -797,21 +797,21 @@ export default [ ...@@ -797,21 +797,21 @@ export default [
}, },
{ {
path: "3", path: "3",
name: "OrigReceiver", name: "89. OrigReceiver",
tag: "OrigReceiver", tag: "OrigReceiver",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "4", path: "4",
name: "OrigSendDate", name: "90. OrigSendDate",
tag: "OrigSendDate", tag: "OrigSendDate",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "5", path: "5",
name: "MesgDirection", name: "91. MesgDirection",
tag: "MesgDirection", tag: "MesgDirection",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
...@@ -819,28 +819,28 @@ export default [ ...@@ -819,28 +819,28 @@ export default [
}, },
{ {
path: "6", path: "6",
name: "MesgRefID", name: "92. MesgRefID",
tag: "MesgRefID", tag: "MesgRefID",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "7", path: "7",
name: "MesgID", name: "93. MesgID",
tag: "MesgID", tag: "MesgID",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "8", path: "8",
name: "cipsMsgId", name: "94. cipsMsgId",
tag: "cipsMsgId", tag: "cipsMsgId",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
}, },
{ {
path: "9", path: "9",
name: "OrigSendTime", name: "95. OrigSendTime",
tag: "OrigSendTime", tag: "OrigSendTime",
type: "HiddenInput", type: "HiddenInput",
status: "O", status: "O",
......
...@@ -203,18 +203,17 @@ public class CipsEditorController { ...@@ -203,18 +203,17 @@ public class CipsEditorController {
// } // }
if (cipsVo.getType() != null) { if (cipsVo.getType() != null) {
try { try {
String xml = transfer(cipsVo.getJson());
Map<String, Object> transmap = new HashMap(); Map<String, Object> transmap = new HashMap();
transmap.put("interface", "cips2map"); transmap.put("interface", "cips2map");
transmap.put("transaction", "cips2map"); transmap.put("transaction", "cips2map");
transmap.put("cipsStr", xml); transmap.put("cipsStr", xmlStr);
Map transres = (Map) CommonSend.send(transmap); Map transres = (Map) CommonSend.send(transmap);
String transretcod = (String) transres.get("retcode"); String transretcod = (String) transres.get("retcode");
String transretmsg = (String) transres.get("retmsg"); String transretmsg = (String) transres.get("retmsg");
logger.info("cips2map结果:"+transres.toString()); logger.info("cips2map结果:"+transres.toString());
Map<String, Object> xmlMaps = new HashMap<>(); Map<String, Object> xmlMaps = new HashMap<>();
if (transretcod != null && transretcod.endsWith("0000000")) { if (transretcod != null && transretcod.endsWith("0000000")) {
xmlMaps = res; xmlMaps = transres;
} else{ } else{
return null; return null;
} }
......
...@@ -92,7 +92,7 @@ public class SwiftTransferUtil { ...@@ -92,7 +92,7 @@ public class SwiftTransferUtil {
* @param sheetName * @param sheetName
*/ */
public static void generateJsTemplateFile(String sheetName) { public static void generateJsTemplateFile(String sheetName) {
InputStream resourceAsStream = SwiftTransferUtil.class.getResourceAsStream("/js/CIPS.xlsx"); InputStream resourceAsStream = SwiftTransferUtil.class.getClassLoader().getResourceAsStream("cipsjs/CIPS.xlsx");
ExcelReader reader = ExcelUtil.getReader(resourceAsStream, sheetName); ExcelReader reader = ExcelUtil.getReader(resourceAsStream, sheetName);
List<Map<String, Object>> content = reader.readAll(); List<Map<String, Object>> content = reader.readAll();
if (content.size() > 0) { if (content.size() > 0) {
...@@ -145,7 +145,7 @@ public class SwiftTransferUtil { ...@@ -145,7 +145,7 @@ public class SwiftTransferUtil {
message = "export default [\r\n" + message + "\r\n]"; message = "export default [\r\n" + message + "\r\n]";
try { try {
// File msgFolder = new File(System.getProperty("user.dir") + "/swift-service/src/main/resources/js"); // File msgFolder = new File(System.getProperty("user.dir") + "/swift-service/src/main/resources/js");
File msgFolder = new File(System.getProperty("user.dir") + "/src/main/resources/js"); File msgFolder = new File(System.getProperty("user.dir") + "/src/main/resources/cipsjs");
File msgFile = new File(msgFolder, sheetName.replace(".", "_") + ".js"); File msgFile = new File(msgFolder, sheetName.replace(".", "_") + ".js");
FileWriter fileWriter = new FileWriter(msgFile); FileWriter fileWriter = new FileWriter(msgFile);
IOUtils.write(message, fileWriter); IOUtils.write(message, fileWriter);
...@@ -260,7 +260,7 @@ public class SwiftTransferUtil { ...@@ -260,7 +260,7 @@ public class SwiftTransferUtil {
} }
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
generateJsTemplateFile("cips.112.001.02"); generateJsTemplateFile("cips.111.001.02");
// generateBTCFile(); // generateBTCFile();
} }
} }
<!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="favicon.ico"/><title>ISO手工拟报</title><script defer="defer" src="js/chunk-vendors.dbe64cdc.js"></script><script defer="defer" src="js/app.9f47b6c5.js"></script><script defer="defer" src="js/main.59945214.js"></script><link href="css/chunk-vendors.77489a8d.css" rel="stylesheet"><link href="css/app.ca356171.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but swiftiso-editor doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="favicon.ico"/><title>ISO手工拟报</title><script defer="defer" src="js/chunk-vendors.dbe64cdc.js"></script><script defer="defer" src="js/app.2a5cae72.js"></script><script defer="defer" src="js/main.59945214.js"></script><link href="css/chunk-vendors.77489a8d.css" rel="stylesheet"><link href="css/app.ca356171.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but swiftiso-editor doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment