Commit f5a3d87c by fukai

恢复报文支持类型

parent 0dbcb588
...@@ -22,10 +22,6 @@ export const mty=[ ...@@ -22,10 +22,6 @@ export const mty=[
{mty:"mt295",desp:"MT 295 Queries"}, {mty:"mt295",desp:"MT 295 Queries"},
{mty:"mt296",desp:"MT 296 Answers"}, {mty:"mt296",desp:"MT 296 Answers"},
{mty:"mt299",desp:"MT 299 Free Format Message"}, {mty:"mt299",desp:"MT 299 Free Format Message"},
<<<<<<< HEAD
{mty:"mt300",desp:"MT 300 Foregin Exchang confirmation"},
{mty:"mt320",desp:"MT 320 Fixed Loan/Deposit Confirmation"},
=======
{mty:"mt300",desp:"MT 300 Foreign Exchange Confirmation"}, {mty:"mt300",desp:"MT 300 Foreign Exchange Confirmation"},
{mty:"mt305",desp:"MT 305 Foreign Currency Option Confirmation"}, {mty:"mt305",desp:"MT 305 Foreign Currency Option Confirmation"},
...@@ -33,7 +29,6 @@ export const mty=[ ...@@ -33,7 +29,6 @@ export const mty=[
{mty:"mt360",desp:"MT 360 Single Currency Interest Rate Derivative Confirmation"}, {mty:"mt360",desp:"MT 360 Single Currency Interest Rate Derivative Confirmation"},
{mty:"mt400",desp:"MT 400 Advice of Payment"}, {mty:"mt400",desp:"MT 400 Advice of Payment"},
>>>>>>> 5f958ca09fec2e32c28fb7949d1f4f41a25f80e9
{mty:"mt410",desp:"MT 410 Acknowledgement"}, {mty:"mt410",desp:"MT 410 Acknowledgement"},
{mty:"mt420",desp:"MT 420 Tracer"}, {mty:"mt420",desp:"MT 420 Tracer"},
{mty:"mt422",desp:"MT 422 Advice of Fate and Request for Instructions"}, {mty:"mt422",desp:"MT 422 Advice of Fate and Request for Instructions"},
......
import MTn92 from './MTn92'
import MTn91 from './MTn91'
import MTn96 from './MTn96' import MTn96 from './MTn96'
import MTn95 from './MTn95' import MTn95 from './MTn95'
import MTn98 from './MTn98'
import MTn99 from './MTn99' import MTn99 from './MTn99'
import MT760 from './MT760' import MT210 from './MT210'
import MT420 from './MT420'
import MT750 from './MT750' import MT750 from './MT750'
import MT410 from './MT410' import MT410 from './MT410'
import MT740 from './MT740'
import MT103 from './MT103'
import MT202 from './MT202'
import MT422 from './MT422'
import MT499 from './MT499' import MT499 from './MT499'
import MT752 from './MT752' import MT752 from './MT752'
import MT730 from './MT730'
import MT950 from './MT950'
import MT732 from './MT732' import MT732 from './MT732'
import MT754 from './MT754' import MT754 from './MT754'
import MT700 from './MT700' import MT710 from './MT710'
import MT799 from './MT799' import MT799 from './MT799'
import MT756 from './MT756'
import MT759 from './MT759'
import MT360 from './MT360'
import MT320 from './MT320'
import MT760 from './MT760'
import MT101 from './MT101'
import MT420 from './MT420'
import MT300 from './MT300'
import MT740 from './MT740'
import MT103 from './MT103'
import MT202 from './MT202'
import MT400 from './MT400'
import MT422 from './MT422'
import MT620 from './MT620'
import MT720 from './MT720'
import MT742 from './MT742'
import MT940 from './MT940'
import MT600 from './MT600'
import MT700 from './MT700'
import MT202COV from './MT202COV'
import MT305 from './MT305'
import MT701 from './MT701' import MT701 from './MT701'
import MT767 from './MT767' import MT767 from './MT767'
import MT768 from './MT768' import MT768 from './MT768'
import MT747 from './MT747' import MT747 from './MT747'
import MT769 from './MT769' import MT769 from './MT769'
import MT605 from './MT605'
import MT707 from './MT707' import MT707 from './MT707'
import MT759 from './MT759'
import MT940 from './MT940'
import MT950 from './MT950'
import MT202COV from './MT202COV'
import MT1000 from './MT1000'
import MT300 from './MT300'
import MT320 from './MT320'
export default function MTFactory(mty) {
if (mty == "mt202cov") export default function MTFactory(mty)
return MT202COV {
if (mty == "mt760")
return MT760
if (mty == "mt759") if(mty=="mt210")
return MT759 return MT210
if (mty == "mt420") if(mty=="mt750")
return MT420
if (mty == "mt750")
return MT750 return MT750
if (mty == "mt410") if(mty=="mt410")
return MT410 return MT410
if (mty == "mt740") if(mty=="mt499")
return MT740
if (mty == "mt103")
return MT103
if (mty == "mt202")
return MT202
if (mty == "mt422")
return MT422
if (mty == "mt499")
return MT499 return MT499
if (mty == "mt752") if(mty=="mt752")
return MT752 return MT752
if (mty == "mt732") if(mty=="mt730")
return MT730
if(mty=="mt950")
return MT950
if(mty=="mt732")
return MT732 return MT732
if (mty == "mt754") if(mty=="mt754")
return MT754 return MT754
if (mty == "mt700") if(mty=="mt710")
return MT700 return MT710
if (mty == "mt799") if(mty=="mt799")
return MT799 return MT799
if (mty == "mt701") if(mty=="mt756")
return MT756
if(mty=="mt759")
return MT759
if(mty=="mt360")
return MT360
if(mty=="mt320")
return MT320
if(mty=="mt760")
return MT760
if(mty=="mt101")
return MT101
if(mty=="mt420")
return MT420
if(mty=="mt300")
return MT300
if(mty=="mt740")
return MT740
if(mty=="mt103")
return MT103
if(mty=="mt202")
return MT202
if(mty=="mt400")
return MT400
if(mty=="mt422")
return MT422
if(mty=="mt620")
return MT620
if(mty=="mt720")
return MT720
if(mty=="mt742")
return MT742
if(mty=="mt940")
return MT940
if(mty=="mt600")
return MT600
if(mty=="mt700")
return MT700
if(mty=="mt202COV")
return MT202COV
if(mty=="mt305")
return MT305
if(mty=="mt701")
return MT701 return MT701
if (mty == "mt767") if(mty=="mt767")
return MT767 return MT767
if (mty == "mt768") if(mty=="mt768")
return MT768 return MT768
if (mty == "mt747") if(mty=="mt747")
return MT747 return MT747
if (mty == "mt769") if(mty=="mt769")
return MT769 return MT769
if (mty == "mt707") if(mty=="mt605")
return MT605
if(mty=="mt707")
return MT707 return MT707
if (mty == 'mt940')
return MT940 if(/mt\d92/.test(mty))
if (mty == 'mt950') return MTn92
return MT950 if(/mt\d91/.test(mty))
if (/mt\d96/.test(mty)) return MTn91
if(/mt\d96/.test(mty))
return MTn96 return MTn96
if (/mt\d95/.test(mty)) if(/mt\d95/.test(mty))
return MTn95 return MTn95
if (/mt\d99/.test(mty)) if(/mt\d98/.test(mty))
return MTn98
if(/mt\d99/.test(mty))
return MTn99 return MTn99
if (mty == 'mt1000') }
return MT1000
if (mty == 'mt300')
return MT300
if (mty == 'mt320')
return MT320
}
\ 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