Commit 0ef851dd by 李少勇

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents 1e589693 0302ff7c
...@@ -701,6 +701,3 @@ i.el-select__caret.el-input__icon.el-icon-circle-close { ...@@ -701,6 +701,3 @@ i.el-select__caret.el-input__icon.el-icon-circle-close {
width: 780px; width: 780px;
} }
} }
.pl8 {
padding-left: 8px;
}
\ No newline at end of file
...@@ -9807,1349 +9807,5 @@ const CodeTable = { ...@@ -9807,1349 +9807,5 @@ const CodeTable = {
{label:"头寸调拨",value:"PT" }, {label:"头寸调拨",value:"PT" },
{label:"资金拆出",value:"LO" }, {label:"资金拆出",value:"LO" },
], ],
// 以下是资金相关的码表,暂时放在这里
accmod:[
{label:"退汇清算",value:"3" },
{label:"划转支行",value:"1" },
{label:"应解挂账",value:"2" },
{label:"分行退汇",value:"R" },
{label:"入客户账",value:"0" },
{label:"其他汇款",value:"4" },
{label:"已退汇",value:"X" },
{label:"入待核查",value:"V" },
{label:"Charge Settlement",value:"C" },
],
acctyp:[
{label:"内部分户账",value:"O" },
{label:"客户分户账",value:"C" },
],
actflg:[
{label:"Order System not activated",value:"" },
{label:"Order System activ",value:"X" },
],
actpriflg:[
{label:"Show all accounts",value:"A" },
{label:"Show favourite account(s) only",value:"" },
],
adrsta:[
{label:"临时的",value:"T" },
{label:"下载的",value:"" },
],
adrtlxaut:[
{label:"证明人",value:"Y" },
{label:"No Authenticator",value:"N" },
],
advtyp:[
{label:"Advice of Discrepancy (MT750)",value:"750" },
{label:"Advice of Payment (MT754)",value:"754" },
],
allcalflg:[
{label:"?",value:"T" },
],
alletyflg:[
{label:"No",value:"" },
{label:"Yes",value:"Y" },
],
allvaldatflg:[
{label:"Enabled",value:"" },
{label:"Disabled",value:"D" },
{label:"Use Default, even if empty",value:"N" },
],
amtflg:[
{label:"百分比",value:"P" },
{label:"未决",value:"" },
{label:"金额",value:"A" },
],
apfcla:[
{label:"all",value:"" },
{label:"Revers",value:"REV" },
{label:"Letter",value:"LET" },
{label:"TradeConnect",value:"TCO" },
{label:"复件",value:"CPY" },
{label:"Intern",value:"INT" },
{label:"保函",value:"GUA" },
],
apprulrmb:[
{label:"NOT SUBJECT TO URR",value:"NOTURR" },
{label:"URR LATEST VERSION",value:"URR LATEST VERSION" },
],
apprul:[
{label:"UCP LATEST VERSION",value:"UCP LATEST VERSION" },
{label:"UCPURR LATEST VERSION",value:"UCPURR LATEST VERSION" },
{label:"EUCPURR LATEST VERSION",value:"EUCPURR LATEST VERSION" },
{label:"EUCP LATEST VERSION",value:"EUCP LATEST VERSION" },
{label:"ANY OTHER RULE",value:"OTHR" },
{label:"ISP LATEST VERSION",value:"ISP LATEST VERSION" },
],
arcflg:[
{label:"Not archived",value:"N" },
{label:"Archived",value:"A" },
],
autflg:[
{label:"未接通",value:"" },
{label:"No",value:"N" },
{label:"已接通",value:"C" },
{label:"Yes",value:"Y" },
{label:"有密押关系",value:"A" },
],
balcla:[
{label:"正常",value:"Z" },
{label:"紧急",value:"U" },
],
balflg:[
{label:"紧急",value:"U" },
{label:"手动",value:"M" },
{label:"指定 QUETSK",value:"A" },
{label:"在创建分配",value:"C" },
{label:"自选装载平衡",value:"F" },
],
bckgrd:[
{label:"Undefined",value:"" },
{label:"后台的",value:"B" },
{label:"前台的",value:"F" },
{label:"Interrupt",value:"I" },
],
bussec:[
{label:"Document under Import L/C",value:"BRD" },
{label:"Clean Collection",value:"CCD" },
{label:"Import L/C",value:"LID" },
{label:"Export L/C",value:"LED" },
{label:"Export Collection",value:"BOD" },
{label:"Import Collection",value:"BCD" },
{label:"Loan",value:"TRD" },
{label:"Outgoing Payment",value:"CPO" },
{label:"Document under Transfer L/C",value:"BTD" },
{label:"Import Guarantee",value:"GID" },
{label:"Incoming Payment",value:"CPI" },
{label:"Export Guarantee",value:"GED" },
{label:"Document under Export L/C",value:"BED" },
],
buyrattyp:[
{label:"无优惠",value:"" },
{label:"固定点数优惠",value:"1" },
{label:"按比例优惠",value:"2" },
],
buytyp:[
{label:"无优惠",value:"" },
{label:"固定点数优惠",value:"1" },
{label:"按比例优惠",value:"2" },
],
calcbs:[
{label:"合同金额",value:"CONAMT" },
{label:"提高金额",value:"AMEAMT" },
{label:"负债金额",value:"LIAAMT" },
{label:"提高最大值",value:"AMEMAX" },
{label:"净金额",value:"NETAMT" },
{label:"单据金额",value:"DOCAMT" },
{label:"最高金额",value:"MAXAMT" },
{label:"余额",value:"OPNAMT" },
],
calflg:[
{label:"maximum",value:"U" },
{label:"not calculat",value:"" },
{label:"calculated",value:"C" },
{label:"minimum",value:"L" },
{label:"period maximum ",value:"M" },
],
calrul:[
{label:"基本费点",value:"B" },
{label:"BA 折扣",value:"6" },
{label:"千分率费用",value:"1" },
{label:"免费手工录入",value:"F" },
{label:"Rate per period",value:"R" },
{label:"LITAME(extend maturity)",value:"E" },
{label:"每月利息",value:"3" },
{label:"CBS基础计算",value:"C" },
{label:"交易计算",value:"T" },
{label:"Percent fee",value:"%" },
{label:"Per mille/Previous periods",value:"P" },
{label:"每层千分率",value:"4" },
{label:"利息每年",value:"2" },
{label:"修正值",value:"0" },
],
ccform:[
{label:"Outward collection",value:"O" },
{label:"Local",value:"L" },
],
ccstyp:[
{label:"按每个交易",value:"TRN" },
{label:"按每份报文",value:"SMH" },
{label:"无设置",value:"" },
],
cdesta:[
{label:"外汇套汇借记通知",value:"7" },
{label:"贷款归还借记通知",value:"3" },
{label:"借记通知",value:"2" },
{label:"外汇套汇收账通知",value:"8" },
{label:"结汇收账通知",value:"5" },
{label:"贷记通知",value:"1" },
{label:"结算收费凭证",value:"4" },
{label:"售汇借记通知",value:"6" },
],
chato:[
{label:"Applicant Side",value:"U" },
{label:"Beneficiary Side",value:"B" },
{label:"Other",value:"O" },
],
chktyp:[
{label:"本票",value:"P" },
{label:"汇票",value:"D" },
{label:"支票",value:"C" },
{label:"旅行支票",value:"T" },
],
cla:[
{label:"指令",value:"ORD" },
{label:"退回做更正的",value:"COR" },
{label:"手工的",value:"MAN" },
{label:"授权",value:"REL" },
{label:"已做过登记的",value:"RIM" },
{label:"等候的",value:"PEN" },
{label:"接收从外部发来的",value:"INC" },
{label:"日志",value:"DIA" },
],
clcdifflg:[
{label:"Recalculation / Refund",value:"R" },
{label:"Difference / No Refund",value:"O" },
{label:"Recalculation / No Refund",value:"A" },
{label:"Difference / Refund",value:"W" },
],
clityp:[
{label:"外贸企业",value:"3" },
{label:"其他企业",value:"6" },
{label:"三资企业",value:"2" },
{label:"工业企业",value:"0" },
{label:"私人",value:"7" },
{label:"保险企业",value:"4" },
{label:"私营企业",value:"1" },
{label:"商业企业",value:"5" },
],
clrtyp:[
{label:"Clearing In",value:"I" },
{label:"Clearing Out",value:"O" },
],
clsflg:[
{label:"all",value:"A" },
{label:"only open",value:"" },
{label:"only closed",value:"C" },
],
cltprg:[
{label:"Java",value:"J" },
{label:"Fat",value:"F" },
{label:"HTML",value:"H" },
{label:"Windows",value:"W" },
{label:"AJAX",value:"A" },
{label:"无设置",value:"" },
],
cltprtflg:[
{label:"Generate Postscript Files",value:"S" },
{label:"Client Print System",value:"W" },
{label:"Windows Server Printing",value:"X" },
],
cndfld1typ:[
{label:"Field",value:"FLD" },
{label:"Constant Value",value:"CONST" },
],
cndfld2typ:[
{label:"Field",value:"FLD" },
{label:"Constant Value",value:"CONST" },
],
cnd:[
{label:"Lower",value:"<" },
{label:"Not is Empty",value:"9" },
{label:"Equal",value:"=" },
{label:"Is Empty",value:"0" },
{label:"Greater",value:">" },
{label:"not Equal",value:"<>" },
],
cnfflg:[
{label:"金额",value:"A" },
{label:"百分比",value:"P" },
],
cnfsta:[
{label:"No",value:"" },
{label:"Yes",value:"Y" },
],
codtyp:[
{label:"Constant",value:"CONST" },
],
colflg:[
{label:"粤港票据交换",value:"G" },
{label:"其他",value:"Y" },
{label:"Final Credit",value:"Z" },
{label:"Cash Letter",value:"X" },
],
colltr:[
{label:"用交易方式",value:"" },
{label:"总是放到池中",value:"P" },
{label:"总是支付",value:"S" },
],
comflg:[
{label:"不提交",value:"" },
{label:"提交",value:"C" },
{label:"删除",value:"D" },
],
concreflg:[
{label:"不产生合同",value:"" },
{label:"分配合同",value:"X" },
],
covtyp:[
{label:"covered external",value:"E" },
{label:"covered by cash",value:"C" },
{label:"no cover",value:"" },
],
creact:[
{label:"OUR H.O. A/C",value:"H" },
{label:"OUR A/C",value:"O" },
],
cresettyp:[
{label:"垫款还款",value:"2" },
{label:"正常还款",value:"1" },
],
cshflg:[
{label:"现钞",value:"2" },
{label:"现汇",value:"1" },
],
cunqii:[
{label:"一至三年(含三年)",value:"003" },
{label:"五年以上",value:"006" },
{label:"六个月以下(含六个月)",value:"106" },
{label:"六个月至一年(含一年)",value:"001" },
{label:"三至五年(含五年)",value:"005" },
],
custyp:[
{label:"对公",value:"0" },
{label:"对私",value:"1" },
],
datfrotyp:[
{label:"Function",value:"FUNC" },
{label:"Field",value:"FLD" },
],
dattiltyp:[
{label:"Function",value:"FUNC" },
{label:"Field",value:"FLD" },
],
dattyp:[
{label:"Function",value:"FUNC" },
{label:"Field",value:"FLD" },
],
dbstyp:[
{label:"DB2",value:"D" },
{label:"Access",value:"A" },
{label:"Firebird",value:"F" },
{label:"Informix",value:"I" },
{label:"Oracle",value:"O" },
{label:"SQL-Server",value:"S" },
],
debcdtflg:[
{label:"Debit",value:"D" },
{label:"Credit",value:"C" },
],
delflg:[
{label:"Document active",value:"" },
{label:"Document logically deleted",value:"D" },
],
delivrcod:[
{label:"No Monitoring",value:"" },
{label:"Non Delivery Warning and Delivery Notification",value:"3" },
{label:"Delivery Notification",value:"2" },
{label:"Non-Delivery Warning",value:"1" },
],
delnot:[
{label:"No",value:"N" },
{label:"Yes",value:"Y" },
],
detchgcod:[
{label:"Beneficiary Customer",value:"BEN" },
{label:"Ordering Customer",value:"OUR" },
{label:"Share",value:"SHA" },
],
diamodflg:[
{label:"Set to Done DB Diary (manually)",value:"SMD" },
{label:"Read from DB",value:"SFN" },
{label:"Set to Done New Diary (TRN)",value:"NFD" },
{label:"Set to Done DB Diary (TRN)",value:"SFD" },
{label:"New Diary (manually)",value:"NMN" },
{label:"New Diary (TRN)",value:"NFN" },
{label:"Set to Done DB Diary",value:"SND" },
{label:"Modified DB Diary",value:"SMN" },
{label:"Set to Done New Diary (manually)",value:"NMD" },
],
diasta:[
{label:"打开",value:"O" },
{label:"完成",value:"D" },
],
diptyp:[
{label:"挂账",value:"3" },
{label:"转汇",value:"2" },
{label:"解付",value:"1" },
],
dirflg:[
{label:"Debit only",value:"D" },
{label:"Debit & credit",value:"" },
{label:"Credit only",value:"C" },
],
dirindflg:[
{label:"indirect payment (2 messages)",value:"" },
{label:"direct payment (1 message)",value:"X" },
],
dir:[
{label:"经济类型",value:"F" },
{label:"行政区码",value:"Z" },
{label:"行业属性",value:"W" },
{label:"收入",value:"I" },
{label:"支出",value:"O" },
],
docamttyp:[
{label:"结算金额",value:"" },
{label:"Amount Claimed",value:"CLM" },
],
docexe:[
{label:"Static Function",value:"S" },
{label:"Panel",value:"P" },
{label:"Rule (Method)",value:"R" },
],
docsta:[
{label:"Goods released, wait for documents",value:"J" },
{label:"Goods rel., Advice of Payment received",value:"A" },
{label:"Clean documents received",value:"H" },
{label:"Documents sent on approval basis",value:"L" },
{label:"Documents taken up",value:"M" },
{label:"Documents received",value:"G" },
{label:"Discrepant documents received",value:"I" },
{label:"Advice of Payment rec., documents rec.",value:"D" },
{label:"Goods rel., Advice of Payment + docs rec",value:"B" },
{label:"Adv of Discrepancy rec., document rec.",value:"F" },
{label:"Advice of Payment rec., wait for docs",value:"C" },
{label:"Goods released, documents received",value:"K" },
{label:"Adv. of Discrep. received, wait for docs",value:"E" },
{label:"Documents settled free of payment",value:"N" },
],
docstr:[
{label:"Panel",value:"L" },
{label:"SWIFT",value:"S" },
{label:"ASCII (Telex/Fax)",value:"T" },
],
dspflg:[
{label:"final",value:"CG" },
{label:"temporary",value:"C" },
],
dspfmt:[
{label:"Suppress Non-SWIFT Tags",value:"NOH" },
{label:"Standard",value:"" },
],
dsp:[
{label:"Payment via third bank",value:"PAC" },
{label:"Finance via trust receipt",value:"TRF" },
{label:"Advance export",value:"BEF" },
{label:"Processing center debit",value:"IBD" },
{label:"Processing center credit",value:"IBC" },
{label:"Direct account relationship",value:"DAC" },
{label:"Cash cover hold account",value:"HLD" },
{label:"Financing Repayment",value:"FNC" },
{label:"Interim settlement bookings",value:"INC" },
{label:"BR pending instructions",value:"BRF" },
{label:"Target Payment",value:"TGC" },
{label:"RTGSplus Payment",value:"RTC" },
{label:"Request for cover / debit",value:"PAD" },
{label:"Financing Debit",value:"FND" },
],
dtacod:[
{label:"Advising Commission",value:"ADVCOM" },
{label:"Pre-Advice Commission",value:"PREADCOM" },
{label:"Miscellaneous Fee",value:"MISC" },
{label:"Delivery Free of Charges",value:"FREE" },
{label:"Acceptance Commission",value:"ACCPTCOM" },
{label:"Commission",value:"COMM" },
{label:"Confirmation Commission",value:"CONFCOM" },
{label:"Discrepancy Fee",value:"DSCRPCOM" },
{label:"Release Commission",value:"RELCOM" },
{label:"Interest",value:"INTEREST" },
{label:"Reimbursement Commission",value:"REMB" },
{label:"Courier Service Fee",value:"COUR" },
{label:"Postage",value:"POST" },
{label:"Notification Commission",value:"NOTFCOM" },
{label:"Deferred Payment Commission",value:"DEFCOM" },
{label:"Commitment Commission",value:"CMTCOM" },
{label:"Amendment Commission",value:"AMNDCOM" },
{label:"Conversion Charge",value:"CTAGE" },
{label:"Forfaiting Costs",value:"FORFAIT" },
{label:"Payment Commission",value:"PAYCOM" },
{label:"Opening Commission",value:"OPCOM" },
{label:"Cancelation Commission",value:"CANCCOM" },
{label:"Purchase Agreement Fee",value:"PURCH" },
{label:"Irrevocability Commission",value:"COMFEE" },
{label:"Maturity Control Fee",value:"OBSER" },
{label:"Document Acceptance Fee",value:"HANDLCOM" },
{label:"Telecommunication Charge",value:"TELECHAR" },
{label:"SWIFT Charge",value:"SWIFT" },
{label:"Transfer Commission",value:"TRANSCOM" },
{label:"Negotioation Commission",value:"NEGCOM" },
],
dtaflg:[
{label:"所有",value:"" },
{label:"only not executable",value:"N" },
{label:"only executable",value:"S" },
],
dtetagm53typ:[
{label:"Luftpost",value:"0" },
{label:"Kurierdienst",value:"1" },
],
ecifsta:[
{label:"成功",value:"E" },
{label:"失败",value:"F" },
],
expflg:[
{label:"接受的",value:"A" },
{label:"Stored",value:"S" },
{label:"Exported",value:"E" },
{label:"授权",value:"R" },
],
fcpdsp:[
{label:"Stored in pool",value:"P" },
{label:"Advised",value:"A" },
{label:"Settled",value:"S" },
],
fct:[
{label:"已插入的",value:"I" },
{label:"已删除的",value:"D" },
{label:"已更新的",value:"U" },
],
feedirflg:[
{label:"Either charge or refund, no mixes",value:"E" },
{label:"only positve amounts (debits)",value:"+" },
{label:"only negative amounts (refunds)",value:"-" },
{label:"any amount allowed",value:"" },
],
feepri:[
{label:"Entity",value:"*" },
{label:"Party",value:"4" },
{label:"Bus.sector",value:"$" },
{label:"Olddefault",value:"0" },
{label:"柜员组",value:"3" },
{label:"Region",value:"1" },
{label:"Country",value:"2" },
{label:"Default",value:"!" },
{label:"合同",value:"6" },
],
fepdsp:[
{label:"Stored in pool",value:"P" },
{label:"Advised",value:"A" },
{label:"Settled",value:"S" },
],
fil:[
{label:"SWIFT Alliance",value:"A" },
{label:"Customer specific",value:"CUS" },
{label:"Merva PC",value:"MP" },
],
flgtyp:[
{label:"Constant",value:"CONST" },
],
flg:[
{label:"等待补扫",value:"1" },
{label:"复核完毕",value:"3" },
{label:"等待复核",value:"2" },
],
fmtdomadrtyp:[
{label:"Address Type A",value:"A" },
{label:"Address Type C",value:"C" },
{label:"Address Type B",value:"B" },
{label:"Address Type D",value:"D" },
],
fmtintadrtyp:[
{label:"Address Type A",value:"A" },
{label:"Address Type C",value:"C" },
{label:"Address Type B",value:"B" },
{label:"Address Type D",value:"D" },
],
fulmt:[
{label:"199",value:"199" },
{label:"299",value:"299" },
{label:"399",value:"399" },
{label:"499",value:"499" },
{label:"202",value:"202" },
{label:"799",value:"799" },
{label:"999",value:"999" },
{label:"759",value:"759" },
],
fulperflg:[
{label:"sum up the amounts of all IRD of a period (default)",value:"" },
{label:"take maximum of amount calculated in a period",value:"M" },
],
fxtyp:[
{label:"代客套汇",value:"4" },
{label:"售汇",value:"3" },
{label:"普通套汇",value:"5" },
{label:"外币兑换",value:"1" },
{label:"结汇",value:"2" },
{label:"平盘买入",value:"6" },
{label:"平盘卖出",value:"7" },
{label:"外币找零",value:"0" },
],
getprt:[
{label:"用户",value:"USR" },
{label:"Entity",value:"ETY" },
{label:"Here",value:"DEF" },
{label:"<not specified>",value:"" },
{label:"User Group",value:"USG" },
],
glggrpflg:[
{label:"个别的费用",value:"F" },
],
gors:[
{label:"对公",value:"0" },
{label:"对私",value:"1" },
],
guaflg:[
{label:"非货押业务",value:"0" },
{label:"货押业务",value:"1" },
],
hldflg:[
{label:"可加工的",value:"" },
{label:"已锁住的",value:"L" },
{label:"已删除的",value:"D" },
],
hndtyp:[
{label:"Transfer",value:"OT" },
{label:"Receive to Advise",value:"FR" },
{label:"Direct (we issue)",value:"OL" },
{label:"Advise with confirmation",value:"FI" },
{label:"Advise",value:"FA" },
{label:"Indirect (please issue)",value:"OC" },
],
idtype:[
{label:"对私中国居民",value:"D" },
{label:"对公用户",value:"C" },
{label:"对私中国非居民",value:"F" },
],
imppay:[
{label:"NO",value:"1" },
{label:"YES",value:"2" },
],
inflev:[
{label:"禁止做交易",value:"3" },
{label:"禁止任何处理",value:"9" },
{label:"不用显示",value:"!" },
{label:"需要显示",value:"$" },
{label:"提示报警",value:"0" },
{label:"停止对外支付",value:"2" },
{label:"停止新的风险业务",value:"1" },
],
initpty:[
{label:"",value:"NIL" },
{label:"Applicant Bank",value:"APB" },
{label:"Not ment. Ordering Party",value:"NMO" },
],
isstyp:[
{label:"we issue",value:"D" },
{label:"please issue",value:"I" },
],
jobexe:[
{label:"<No job execution>",value:"" },
{label:"Synchr. call to script or executable",value:"S" },
],
key2:[
{label:"Transaction",value:"TRN" },
{label:"Database",value:"DBF" },
],
lev:[
{label:"Cover Letter",value:"2" },
{label:"Attachment",value:"5" },
{label:"Additional Document",value:"4" },
{label:"Copy in different format",value:"3" },
{label:"原件",value:"1" },
],
lgiflg:[
{label:"登录的配置文件可用",value:"" },
{label:"无登录配置文件",value:"Y" },
],
lneflg:[
{label:"打开",value:"" },
{label:"接受的",value:"A" },
{label:"Warning",value:"W" },
{label:"拒绝的",value:"R" },
{label:"等候的",value:"N" },
],
lsmflg:[
{label:"检查",value:"C" },
{label:"接受的",value:"A" },
{label:"拒绝的",value:"R" },
{label:"未决的",value:"N" },
{label:"Outbooking",value:"O" },
],
lsn:[
{label:"额度品种",value:"PTYBUS" },
{label:"总额度",value:"PTYOVR" },
{label:"国家额度",value:"CTYOVR" },
{label:"大洲额度",value:"REGOVR" },
{label:"额度组合",value:"PTYBUG" },
],
lsrflg:[
{label:"打开",value:"" },
{label:"接受的",value:"A" },
{label:"拒绝的",value:"R" },
{label:"等候的",value:"N" },
],
lssflg:[
{label:"接受的",value:"A" },
{label:"拒绝的",value:"R" },
{label:"等候的",value:"N" },
{label:"未使用的",value:"" },
],
lss:[
{label:"无额度",value:"" },
{label:"正常",value:"N" },
{label:"无限额",value:"U" },
{label:"已闭锁",value:"B" },
{label:"实效的",value:"E" },
],
lstflg:[
{label:"Transaction TRNINR was rejected",value:"R" },
{label:"Normal entry",value:"" },
{label:"Transaction TRNINR has been committed and cannot be rolled back",value:"D" },
{label:"Transaction TRNINR is last open TRN for OBJTYP/OBJINR",value:"X" },
],
manmod:[
{label:"未做修改的",value:"" },
{label:"已做修改的",value:"Y" },
],
matpertyp:[
{label:"Days",value:"D" },
],
maxfcc:[
{label:"+/- to the old maximum",value:"A" },
{label:"Keep the old maximum",value:"N" },
{label:"% to the old maximum",value:"P" },
{label:"Set a new maximum",value:"S" },
],
minfcc:[
{label:"Keep the old minimum",value:"N" },
{label:"+/- to the old minimum",value:"A" },
{label:"Set a new minimum",value:"S" },
{label:"% to the old minimum",value:"P" },
],
modflg:[
{label:"paid set",value:"b" },
{label:"original set",value:"a" },
{label:"autom.",value:"-" },
],
modset:[
{label:"Batch Collection",value:"2" },
{label:"进口代收编号",value:"1" },
],
msgpri:[
{label:"Normal",value:"N" },
{label:"Urgent",value:"U" },
],
msgtyp:[
{label:"MT202",value:"202" },
{label:"MT910",value:"910" },
{label:"MT103",value:"103" },
{label:"Other",value:"OTH" },
],
namtyp:[
{label:"Constant",value:"CONST" },
],
negflg:[
{label:"",value:"Z" },
],
nomspc:[
{label:"根据UCP规则",value:"X" },
{label:"NOT EXCEEDING",value:"N" },
],
nonrevflg1:[
{label:"代理行额度",value:"1" },
{label:"单笔单批",value:"2" },
],
nonrevflg:[
{label:"公开授信",value:"1" },
{label:"单笔单批",value:"2" },
],
objtyp:[
{label:"Incoming Messages",value:"FIL" },
{label:"Messages(table)",value:"SMH" },
{label:"Service",value:"SRV" },
{label:"Transaction(table)",value:"TRN" },
{label:"Pending Item(table)",value:"SPT" },
{label:"Download",value:"DWN" },
{label:"Bolero",value:"BOL" },
{label:"System",value:"SYS" },
],
obsper:[
{label:"15 Minutes",value:"003" },
{label:"None",value:"" },
{label:"100 Minutes",value:"020" },
],
occtyp:[
{label:"撤销",value:"3" },
{label:"展期",value:"4" },
{label:"请求",value:"1" },
{label:"终结",value:"2" },
{label:"增额",value:"5" },
],
okflg:[
{label:"No Messages ",value:"" },
{label:"Messages not yet confirmed",value:"N" },
{label:"Messages confirmed",value:"Y" },
],
oldflg:[
{label:"不从数据库读取",value:"" },
{label:"从数据库读取",value:"X" },
],
oriflg:[
{label:"Send Copy to",value:"C" },
{label:"Send Original to",value:"S" },
{label:"Suppress Original",value:"N" },
{label:"原件",value:"O" },
],
outfmt:[
{label:"to OUTSTM",value:"STM" },
{label:"to output (unformatted print)",value:"PRT" },
{label:"to current document panel",value:"" },
],
paytype:[
{label:"票汇",value:"1" },
{label:"RTGS(深港)",value:"4" },
{label:"其他",value:"3" },
{label:"电汇",value:"0" },
],
paytyp:[
{label:"汇入汇款",value:"I" },
{label:"汇出汇款",value:"O" },
{label:"Transit Payment",value:"T" },
],
perclsflg:[
{label:"Closed Interval",value:"C" },
{label:"Open Interval",value:"" },
],
permet:[
{label:"quarter(s) 5 grace days ",value:"DURQ05" },
{label:"Month",value:"DURMON" },
{label:"half year",value:"DURHLF" },
{label:"p.a.",value:"DURYHR" },
{label:"Month (calendar)",value:"CALMON" },
{label:"quarter(s)",value:"DURQTR" },
{label:"Quarter (calendar)",value:"CALQTR" },
],
pertypprv:[
{label:"天",value:"d" },
{label:"Years",value:"y" },
{label:"Quarters",value:"q" },
{label:"Months",value:"m" },
],
pertyp:[
{label:"Quarter",value:"DURQTR" },
{label:"Years",value:"y" },
{label:"Months",value:"m" },
{label:"Quarter 5 grace days",value:"DURQ05" },
{label:"天",value:"d" },
{label:"Month",value:"DURMON" },
{label:"Half year",value:"DURHLF" },
{label:"Calendar Month",value:"CALMON" },
{label:"Year",value:"DURYHR" },
{label:"Calendar Quarter",value:"CALQTR" },
{label:"Flat",value:"f" },
{label:"no periods",value:"n" },
{label:"Quarters",value:"q" },
{label:"Quarter 10 grace d.",value:"DURQ10" },
],
pretyp:[
{label:"Enterprise",value:"E" },
{label:"Individual",value:"I" },
],
pri:[
{label:"Low Prio",value:"1" },
{label:"Top Prio",value:"9" },
{label:"No Prio",value:"0" },
{label:"Medium Prio",value:"5" },
],
prtadrtypcod:[
{label:"through",value:"THR" },
{label:"with",value:"WTH" },
{label:"Contractor",value:"CTR" },
{label:"of",value:"OF" },
{label:"Applicant",value:"APL" },
{label:"Beneficiary",value:"BEN" },
{label:"via",value:"VIA" },
],
prtflg:[
{label:"已打印",value:"Y" },
],
prttyp:[
{label:"Formatted",value:"P" },
{label:"Raw",value:"R" },
{label:"Dont Print",value:"N" },
{label:"Both, Raw + Formatted",value:"B" },
{label:"Display",value:"D" },
],
ptptyp:[
{label:"UnFunded Risk Part.",value:"URP" },
{label:"Funded Risk Part.",value:"FRP" },
],
pupsta:[
{label:"取消更新",value:"E" },
{label:"等待",value:"" },
{label:"没有授权",value:"N" },
{label:"最终过程",value:"P" },
],
purcan:[
{label:"Return of original guarantee",value:"RO" },
{label:"Unallocated contract",value:"UC" },
{label:"Payment executed",value:"PE" },
{label:"Replacement by a new guarantee",value:"RN" },
{label:"有效到期日",value:"VE" },
{label:"Fulfillment of terms and conditions",value:"FT" },
{label:"Advice of Reduction/ Release received",value:"RR" },
],
purflg:[
{label:"Others",value:"Y" },
{label:"粤港票据交换",value:"G" },
{label:"Final Credit",value:"Z" },
{label:"Cash Letter",value:"X" },
],
purpos:[
{label:"Advice of the credit amendment",value:"ADVI" },
{label:"Advice and confirmation of the credit amendment",value:"ACNF" },
{label:"Issuance of the credit amendment",value:"ISSU" },
],
ratfcc:[
{label:"+/- to the value",value:"A" },
{label:"Keep the old value",value:"N" },
{label:"% to the old value",value:"P" },
{label:"Set new value",value:"S" },
],
rattyp:[
{label:"电汇汇率",value:"T" },
{label:"买入汇率",value:"B" },
{label:"票汇汇率",value:"O" },
{label:"中间汇率",value:"M" },
{label:"卖出汇率",value:"S" },
],
ravtyp:[
{label:"我行代他行",value:"1" },
{label:"他行代我行",value:"2" },
],
rcvobjtyp:[
{label:"Import L/C Document Set",value:"BRD" },
{label:"Import Collection",value:"BCD" },
{label:"Clean Collection",value:"CCD" },
{label:"Clean Payment",value:"CPD" },
{label:"进口代付",value:"TRD" },
{label:"Transfer Bills",value:"BTD" },
{label:"Batch Collection",value:"CLD" },
{label:"Export L/C Document Set",value:"BED" },
{label:"Guarantee",value:"GID" },
{label:"Export Collection",value:"BOD" },
],
relamt:[
{label:"最大金额",value:"M" },
{label:"保兑金额",value:"C" },
{label:"指定金额",value:"N" },
{label:"已结算金额",value:"S" },
{label:"当前余额连带附加金额",value:"P" },
{label:"无金额",value:"T" },
{label:"最大金额连带附加金额",value:"A" },
{label:"余额",value:"O" },
],
reldir:[
{label:"RECEIVED",value:"R" },
{label:"SENT",value:"S" },
],
relflg:[
{label:"Preliminary",value:"P" },
{label:"Entered",value:"E" },
{label:"授权",value:"R" },
],
relgrp:[
{label:"已被授权的",value:"A" },
{label:"未被授权的",value:"N" },
],
relmt:[
{label:"495-Query",value:"495" },
{label:"754-Adv Pay/Accept/Negotiate",value:"754" },
{label:"740-Authorization to Reimburse",value:"740" },
{label:"422-Adv. of Fate-Request ",value:"422" },
{label:"710-Advice-3rd Bank Doc Credit",value:"710" },
{label:"792-Request for Cancellation",value:"792" },
{label:"720-Transfer of Doc. Credit",value:"720" },
{label:"701-Issue of Doc. Credit",value:"701" },
{label:"790-Advice of Charges",value:"790" },
{label:"499-Free Format Message",value:"499" },
{label:"999-Free Format Message",value:"999" },
{label:"760-Guarantee",value:"760" },
{label:"405-Clean Collection",value:"405" },
{label:"490-Advice of Charges",value:"490" },
{label:"711-Advice-3rd Bank Doc.Credit",value:"711" },
{label:"769-Adv. of Reduction or Rel",value:"769" },
{label:"721-Transfer of Doc. Credit",value:"721" },
{label:"795-Query",value:"795" },
{label:"730-Acknowledgment",value:"730" },
{label:"742-Reimbursement Claim",value:"742" },
{label:"747-Amend Auth. to Reimburse ",value:"747" },
{label:"202-Third Party Bank Transf.",value:"202" },
{label:"791-Request Payment of Charges",value:"791" },
{label:"734-Advice of Refusal",value:"734" },
{label:"700-Issue of Doc. Credit",value:"700" },
{label:"416-Adv. of Non-Paym./Non Ac.",value:"416" },
{label:"767-Guarantee Amendment ",value:"767" },
{label:"492-Request for Cancellation",value:"492" },
{label:"768-Ackn. of a Guar. Message",value:"768" },
{label:"498-Proprietary Message",value:"498" },
{label:"412-Advice of Acceptance",value:"412" },
{label:"707-Amendment to Doc. Credit ",value:"707" },
{label:"756-Advice of Reimb./Payment",value:"756" },
{label:"705-Pre-Advice of Doc. Credit ",value:"705" },
{label:"752-Auth. to Pay/Accept/Neg",value:"752" },
{label:"400-Advice of Payment",value:"400" },
{label:"420-Tracer",value:"420" },
{label:"430-Amendment of Instructions",value:"430" },
{label:"796-Query Reply",value:"796" },
{label:"732-Advice of Discharge",value:"732" },
{label:"798-Proprietary Message",value:"798" },
{label:"410-Acknowledgment",value:"410" },
{label:"496-Query Reply",value:"496" },
{label:"799-Free Format Message",value:"799" },
{label:"491-Request Payment of Charges",value:"491" },
{label:"103-Single Cust.Credit Transf.",value:"103" },
{label:"750-Advice of Discrepency",value:"750" },
],
relsta:[
{label:"等待",value:"" },
{label:"发送删除",value:"D" },
{label:"发送更正",value:"C" },
{label:"授权",value:"R" },
],
reltyp:[
{label:"提单背书项下放货",value:"AW" },
{label:"提货担保项下放货",value:"SG" },
],
repflg:[
{label:"No automatic recalulation ",value:"" },
{label:"Repay in all transactions",value:"A" },
{label:"Repay on final settlement",value:"F" },
],
resflg:[
{label:"保留合同",value:"X" },
{label:"正常合同",value:"" },
],
revtyp:[
{label:"周期性循环",value:"REVPER" },
{label:"在使用上循环",value:"REVUTI" },
],
rolchgflg:[
{label:"许可更改但不能删除",value:"C" },
{label:"只保护新的",value:"PO" },
{label:"如果是新的,允许更改和删除",value:"" },
{label:"避免更改和删除的保护",value:"P" },
],
rolsetflg:[
{label:"角色未设",value:"" },
{label:"角色已设",value:"Y" },
],
rouflg:[
{label:"all",value:"" },
{label:"only allowed for routing ",value:"X" },
],
rtgflg:[
{label:"No",value:"" },
{label:"Yes",value:"X" },
],
rtgmod:[
{label:"挂帐解付",value:"GJ" },
{label:"总行退回",value:"ZT" },
{label:"退回(无此操作)",value:"TH" },
{label:"划转支行",value:"TZ" },
{label:"划转分行",value:"TF" },
{label:"解付",value:"JF" },
{label:"挂账退回",value:"GT" },
{label:"挂账",value:"GZ" },
{label:"转汇",value:"ZH" },
{label:"分行退回",value:"FT" },
],
seapaytyp:[
{label:"Outgoing Payment",value:"O" },
{label:"Incoming Payment",value:"I" },
],
seasta:[
{label:"打开",value:"O" },
{label:"Closed",value:"C" },
],
selrattyp:[
{label:"无优惠",value:"" },
{label:"固定点数优惠",value:"1" },
{label:"按比例优惠",value:"2" },
],
seltyp:[
{label:"无优惠",value:"" },
{label:"固定点数优惠",value:"1" },
{label:"按比例优惠",value:"2" },
],
sepflg:[
{label:"所有",value:"" },
{label:"Load of temporary settlement allowed",value:"X" },
],
setbeg:[
{label:"Settle from opening date of contract",value:"O" },
{label:"no defaulting",value:"" },
{label:"Settle from last date settled",value:"P" },
{label:"Settle from today",value:"T" },
],
setchgflg:[
{label:"Minimum mandatory no rate",value:"MO" },
{label:"Cond. & amount protected",value:"CP" },
{label:"Rate mandatory",value:"RM" },
{label:"Amount protected",value:"AP" },
{label:"Rate & Amount mandatory",value:"BM" },
{label:"Changes allowed",value:"" },
{label:"Amount mandatory",value:"AM" },
{label:"Minimum mandatory",value:"MM" },
],
setend:[
{label:"Settle until Today",value:"T" },
{label:"No Defaulting",value:"" },
{label:"Settle until Expiry Date of Contract",value:"E" },
],
setflg:[
{label:"manually",value:"M" },
{label:"automatically",value:"A" },
],
setmod:[
{label:"monthly",value:"M" },
{label:"on earning",value:"0" },
{label:"manually",value:"2" },
{label:"on document presentation",value:"1" },
],
setperflg:[
{label:"until end",value:"E" },
{label:"Settlement period",value:"S" },
{label:"up to amount",value:"A" },
{label:"halfyearly",value:"2" },
{label:"quarterly",value:"1" },
{label:"yearly",value:"4" },
],
settyp:[
{label:"最终",value:"E" },
{label:"预先",value:"A" },
],
sftmt:[
{label:"MT756 Advice of Reimb./Payment",value:"756" },
{label:"MT400 Advice of Payment",value:"400" },
{label:"MT103 Customer Credit Transfer",value:"103" },
{label:"DTAUS / IZV Message",value:"IZV" },
{label:"MT202 Financial Institution Transfer",value:"202" },
],
shppars18:[
{label:"not allowed",value:"NOT ALLOWED" },
{label:"conditional",value:"CONDITIONAL" },
{label:"allowed",value:"ALLOWED" },
],
shptrss18:[
{label:"not allowed",value:"NOT ALLOWED" },
{label:"conditional",value:"CONDITIONAL" },
{label:"allowed",value:"ALLOWED" },
],
shwflg:[
{label:"有待",value:"" },
{label:"过期",value:"X" },
{label:"通知",value:"N" },
{label:"加工",value:"P" },
],
sndmt:[
{label:"Declaration of Indemnity",value:"REV" },
{label:"Request for Cancelation",value:"92" },
{label:"Free Correspondence",value:"99" },
{label:"Answer",value:"96" },
{label:"Query",value:"95" },
{label:"Advice of Maturity",value:"AVM" },
{label:"Acknowledgment",value:"30" },
],
src:[
{label:"压缩",value:"C" },
{label:"参与条件",value:"E" },
{label:"由用户输入",value:"U" },
{label:"从池中检索",value:"P" },
{label:"临时安置通知",value:"A" },
{label:"前通知对方",value:"O" },
{label:"前通知",value:"D" },
{label:"设置的交易",value:"T" },
],
sta:[
{label:"Rejected (NAC)",value:"R" },
{label:"打开",value:"O" },
{label:"Acknowledged",value:"A" },
],
subtyp:[
{label:"常言",value:"INF" },
{label:"结算",value:"SET" },
{label:"停止",value:"STP" },
{label:"交易部分",value:"BUS" },
],
swftyp:[
{label:"103+202",value:"COV" },
{label:"MT910",value:"910" },
{label:"RTGS",value:"RTG" },
{label:"103+910",value:"WCV" },
{label:"MT103",value:"103" },
{label:"Other",value:"OTH" },
],
swtdspflg:[
{label:"split via SplitMsg",value:"S" },
{label:"specified portion of stream",value:"P" },
{label:"all messages in stream",value:"A" },
],
sztyp:[
{label:"境内交易",value:"2" },
{label:"不申报",value:"3" },
{label:"跨境收支",value:"1" },
],
tag12e:[
{label:"Cancelled at the discretion of the bank",value:"CNBK" },
{label:"Cancelled followed customer instruction",value:"CNCU" },
{label:"Refused by bank",value:"REFU" },
],
tag22d:[
{label:"Documentary credit",value:"DOCR" },
{label:"Undertaking (for example guarantee, surety)",value:"UNDK" },
{label:"Demand guarantee",value:"DGAR" },
{label:"Standby letter of credit",value:"STBY" },
],
tag23h:[
{label:"Other request",value:"OTHERFNC" },
{label:"Closing of client cervice call by Trade Operations",value:"CLSVCLOS" },
{label:"Advice of fraud attempt",value:"FRAUDMSG" },
{label:"Status information",value:"STA" },
{label:"Issue of a free-form undertaking such as a dependent guarantee",value:"ISSUANCE" },
{label:"Transfer of a undertaking",value:"TRANSFER" },
{label:"Request to issue an undertaking",value:"REQISSUE" },
{label:"Request related to a reimbursement",value:"REIMBURS" },
{label:"Request to amend an undertaking",value:"REQAMEND" },
{label:"General information advice",value:"GENINFAD" },
{label:"Amendment of a free-form undertaking such as a dependent guarantee",value:"ISSAMEND" },
{label:"Financing request",value:"REQFINAN" },
{label:"Correction of Order",value:"DTAKORRE" },
{label:"Status request",value:"DTAFINAN" },
{label:"Request Confirmation",value:"DTABESTA" },
{label:"Advice",value:"ADV" },
{label:"Confirmation",value:"CNF" },
{label:"Opening of client service call by Trade Operations",value:"CLSVOPEN" },
],
tarflg:[
{label:"No",value:"" },
{label:"Yes",value:"X" },
],
tirtyp:[
{label:"Quarter",value:"DURQTR" },
{label:"Month",value:"DURMON" },
{label:"Calender Month",value:"CALMON" },
{label:"Amount tiers",value:"" },
{label:"Calender Quarter",value:"CALQTR" },
],
tlxaut:[
{label:"No",value:"N" },
{label:"Yes",value:"Y" },
],
tmpflg:[
{label:"all",value:"" },
{label:"no temp. and local addresses",value:"C" },
],
tmpptytyp:[
{label:"Foreign",value:"F" },
{label:"Shipper",value:"S" },
{label:"Bank",value:"B" },
{label:"Client",value:"C" },
{label:"Other",value:"O" },
],
tocsel:[
{label:"检查",value:"C" },
{label:"Promissory Note",value:"P" },
{label:"Draft",value:"D" },
{label:"Travel Check",value:"T" },
],
trnchato:[
{label:"Applicant",value:"APPL" },
{label:"Beneficiary",value:"BENE" },
{label:"Other",value:"OTHR" },
],
trntyp:[
{label:"非贸易",value:"1" },
{label:"资本",value:"2" },
{label:"贸易",value:"0" },
{label:"其他",value:"3" },
],
troflg:[
{label:"TRO entries exist",value:"Y" },
{label:"No TRO entries exist",value:"" },
],
trxflg:[
{label:"1st tier / no tier",value:"" },
{label:"4th tier",value:"4" },
{label:"2nd tier",value:"2" },
{label:"3rd tier",value:"3" },
],
txtstd:[
{label:"Commission",value:"COM" },
{label:"Foreign Commission",value:"FCH" },
{label:"Your charges",value:"YCH" },
{label:"Agent's commission",value:"ACM" },
],
typsta:[
{label:"境内",value:"2" },
{label:"结售汇",value:"3" },
{label:"国际",value:"1" },
],
typ:[
{label:"严重",value:"3" },
{label:"调试",value:"9" },
{label:"错误",value:"4" },
{label:"信息",value:"7" },
{label:"关闭交易",value:"C" },
{label:"注意",value:"6" },
{label:"警报",value:"2" },
{label:"警告",value:"5" },
{label:"示意",value:"8" },
{label:"更新会话状态",value:"U" },
{label:"紧急事件",value:"1" },
{label:"推出会话",value:"X" },
],
unttyp:[
{label:"Constant",value:"CONST" },
],
urgflg:[
{label:"No",value:"N" },
{label:"Yes",value:"Y" },
],
usg:[
{label:"主要地址",value:"MAA" },
{label:"附加地址",value:"MAB" },
],
wfetrssta:[
{label:"打开",value:"O" },
{label:"错误",value:"E" },
{label:"拒绝",value:"2" },
{label:"放弃",value:"C" },
{label:"掠过",value:"S" },
{label:"完成",value:"D" },
{label:"等待",value:"W" },
{label:"外部批准",value:"5" },
{label:"创建",value:"6" },
{label:"激活",value:"A" },
{label:"授权",value:"1" },
{label:"重试",value:"R" },
{label:"Correction required",value:"3" },
{label:"Signed at creation",value:"4" },
],
xidtyp:[
{label:"结售汇",value:"JSH" },
{label:"ABOQ",value:"ABQ" },
{label:"反洗钱",value:"FXQ" },
],
xreflg:[
{label:"重新计算完成",value:"3" },
{label:"不需要的",value:"" },
{label:"错误",value:"e" },
{label:"等候重新计算",value:"2" },
{label:"waiting for new rates",value:"1" },
{label:"等待重新计算 ",value:"T" },
],
}; };
export default CodeTable; export default CodeTable;
...@@ -89,17 +89,6 @@ export default { ...@@ -89,17 +89,6 @@ export default {
}, },
handleSelectionChange(val){ handleSelectionChange(val){
this.multipleSelection = val; this.multipleSelection = val;
},
addClick(){
this.addDialogVisiable = true;
},
handleClose(){
this.addDialogVisiable = false;
},
handleOn(){
this.addDialogVisiable = false;
} }
}, },
}; };
...@@ -6,67 +6,35 @@ ...@@ -6,67 +6,35 @@
<el-row> <el-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="起始日期" prop="rcvdatsta" style="width: 100%"> <el-form-item label="日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker <c-col :span="11">
type="date" <c-date-picker type="date" v-model="model.sxfp.stadat" style="width: 100%"></c-date-picker>
v-model="model.sxfp.stadat" </c-col>
style="width: 100%" <c-col :span="2" style="text-align: center">
></c-date-picker> <label style="display: inline-block; width: 100%">-</label>
</el-form-item> </c-col>
</c-col> <c-col :span="11">
<c-col :span="8"> <c-date-picker type="date" v-model="model.sxfp.enddat" style="width: 100%"></c-date-picker>
<el-form-item label="截止日期" prop="rcvdatsta" style="width: 100%"> </c-col>
<c-date-picker
type="date"
v-model="model.sxfp.enddat"
style="width: 100%"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> </el-row> <el-row v-show="searchSlot.searchToggle">
</el-row>
</template> </template>
</c-list-search> </c-list-search>
<el-col :span="24" style="margin-top: 2px; margin-bottom: 1px"> <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button <c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
class="medium_bcs" type="primary" >{{ $t('public.归档') }}
size="medium"
style="margin-left: 0"
type="primary"
@click="addClick()"
>{{ $t("public.新增") }}
</c-button> </c-button>
<c-button <c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
class="medium_bcs" style="margin-left: 20" type="primary">ReRouting
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.分摊明细") }}
</c-button> </c-button>
<c-button <c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
class="medium_bcs" {{ $t('public.导出Excel') }}
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.文件详情") }}
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>
{{ $t("public.导出") }}
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.单笔分摊明细") }}
</c-button> </c-button>
</el-col> </el-col>
...@@ -75,96 +43,25 @@ ...@@ -75,96 +43,25 @@
<c-col :span="24"> <c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs"> <el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="手续费管理" name="fb"> <el-tab-pane label="手续费管理" name="fb">
<el-table <el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
:data="stmData.data" @selection-change="handleSelectionChange"
:columns="stmData.columns" size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
v-loading="load" <el-table-column type="selection" width="55">
style="width: 100%" </el-table-column>
@selection-change="handleSelectionChange" <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
size="small" :min-width="item.width">
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<!-- <el-table-column type="selection" width="55"> </el-table-column> -->
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
layout="total, sizes, prev, pager, next, jumper" :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
:total="pagination.total" @current-change="handleCurrentChange">
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination> </el-pagination>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</c-col> </c-col>
</div> </div>
</el-col> </el-col>
<el-dialog v-dialogDrag width="20%" height=“30%” title="手续费添加页面" v-if="addDialogVisiable" :visible.sync="addDialogVisiable" :before-close="handleClose">
<div>
<span>
<el-form ref="modelForm" :model="model" :rules="polrules" >
<el-row>
<c-col :span="24">
<el-form-item label="手续费起始日期" prop="rcvdatsta" style="width: 100%">
<!-- <c-date-picker
type="date"
v-model="model.rcvdatsta"
style="width: 50%"
></c-date-picker> -->
<c-input v-model="model.remark"></c-input>
</el-form-item>
</c-col>
</el-row>
<div style="display:inline;margin-top:20px">
<el-form-item label="手续费截止日期" prop="rcvdatsta" >
<!-- <c-date-picker
type="date"
size=“small”
v-model="model.rcvdatsta"
></c-date-picker> -->
<c-input v-model="model.remark"></c-input>
</el-form-item>
</div>
<el-form-item label="金额" prop="remark" style="margin-top:20px">
<c-input v-model="model.remark" placeholder="请输入金额"></c-input>
</el-form-item>
</el-form>
</span>
</div>
<span slot="footer">
<el-button @click="handleClose">取 消</el-button>
<el-button type="primary" @click="handleOn">确 定</el-button>
</span>
</el-dialog>
<!-- -->
<!-- 分摊明细弹出框 -->
<el-dialog :visible.sync="dialogVisible" title="导入日志信息">
<el-table :data="tableData">
<el-table-column label="交易类型" prop="objtyp"></el-table-column>
<el-table-column label="错误行数" prop="linnum"></el-table-column>
<el-table-column label="错误详情" prop="errdet"></el-table-column>
<el-table-column label="导入时间" prop="impdat"></el-table-column>
<el-table-column label="文件名称" prop="filnam"></el-table-column>
</el-table>
<div slot="footer">
<el-button type="primary" @click="modify">确定</el-button>
<el-button @click="closeDialogOpen">返回</el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -176,39 +73,32 @@ export default { ...@@ -176,39 +73,32 @@ export default {
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeTab: "fb", activeTab: 'fb',
load: false, load: false,
subtypCodes: [], subtypCodes: [],
addDialogVisiable:false, multipleSelection:[],
multipleSelection: [],
stmData: { stmData: {
columns: [ columns: [
{ {
label: "创建时间", label: "状态",
prop: "sta", prop: "sta",
width: "120px", width: "120px"
}, },
{ {
label: "金额", label: "金额",
prop: "amt", prop: "amt",
width: "120px", width: "120px"
}, },
{ {
label: "计费开始日期", label: "手续费创建起始日期",
prop: "stadat", prop: "stadat",
width: "120px", width: "120px"
}, },
{ {
label: "计费截止日期", label: "手续费创建截止日期",
prop: "enddat", prop: "enddat",
width: "120px", width: "120px"
}, }],
{
label: "处理状态",
prop: "enddat",
width: "120px",
},
],
data: [], data: [],
}, },
pagination: { pagination: {
...@@ -218,18 +108,18 @@ export default { ...@@ -218,18 +108,18 @@ export default {
}, },
}; };
}, },
computed: { computed:{
isFoldDisable: function () { isFoldDisable: function(){
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
}, } ,
isRoutingDisable: function () { isRoutingDisable:function(){
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
}, }
}, },
methods: { methods: {
}, },
mounted: function () {}, mounted: function () {
},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onA53pDet(){
let rtnmsg = await this.executeRule("a53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB53pDet(){
let rtnmsg = await this.executeRule("b53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInipDet(){
let rtnmsg = await this.executeRule("inip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB56pDet(){
let rtnmsg = await this.executeRule("b56p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRbcpDet(){
let rtnmsg = await this.executeRule("rbcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOwcpDet(){
let rtnmsg = await this.executeRule("owcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA58pDet(){
let rtnmsg = await this.executeRule("a58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB58pDet(){
let rtnmsg = await this.executeRule("b58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api";
export default {
methods: {
},
};
export default { import Utils from "~/utils"
"ftt320l1blk":[
{type: "string", required: true, message: "必输项"}, /**
{max: 200,message:"长度不能超过200"} * Fttfcm Check规则
], */
let checkObj = {
"fttp.mt32m.s30x" :null,
"fttp.mt32m.ini.pts.extkey" :null,
"fttp.mt32m.b58.pts.extkey" :null,
"fttp.mt32m.a58.pts.extkey" :null,
"fttp.mt32m.owc.pts.adrblk" :null,
"fttp.mt32m.conref" :null,
"fttp.mt32m.b53.pts.extkey" :null,
"fttp.mt32m.b58.pts.adrblk" :null,
"fttp.mt32m.b56.pts.extkey" :null,
"fttp.mt32m.rbc.pts.adrblk" :null,
"fttp.mt32m.owc.pts.extkey" :null,
"fttp.mt32m.rbc.pts.extkey" :null,
"fttp.mt32m.a53.pts.extkey" :null,
"fttp.mt32m.a58.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
/**
* Fttfcm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fttp.mt32m.owc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.ini.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b56.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.a58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.s22b" :Utils.defaultFunction,
"fttp.mt32m.b58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.extkey" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.extkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
export default {
"ftt320l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcm{ export default class Fttfcm{
constructor () { constructor () {
this.data = { this.data = {
ftt320l1blk:"", // XMLPanel ftt320l1的内置block .ftt320l1blk ftdgrp:{
fttp:{ rec:{
mt32m:{ ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
s22a:"", // MT320 :22A .fttp.mt32m.s22a nam:"", // 名称 .ftdgrp.rec.nam
s94a:"", // MT320 :94A .fttp.mt32m.s94a fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
s22b:"", // MT320 :22B .fttp.mt32m.s22b opndat:"", // 开立日期 .ftdgrp.rec.opndat
conref:"", // new datafield .fttp.mt32m.conref valdat:"", // 起息日 .ftdgrp.rec.valdat
conno:"", // new datafield .fttp.mt32m.conno matdat:"", // 到期日 .ftdgrp.rec.matdat
s17r:"", // MT320 :17R .fttp.mt32m.s17r rat:"", // 年利率 .ftdgrp.rec.rat
s30x:"", // Next Interest Due Date .fttp.mt32m.s30x cntfra:"", // 计息方式 .ftdgrp.rec.cntfra
a53:{ ownusr:"", // 资金部负责人 .ftdgrp.rec.ownusr
pts:new Pts().data, usr:"", // 清算中心负责人 .ftdgrp.rec.usr
}, bnktyp:"", // Bank Type .ftdgrp.rec.bnktyp
a53p:{ },
ptsget:{ tro:{
sdamod:{ pts:new Pts().data,
dadsnd:"", // Drag Drop Sender .fttp.mt32m.a53p.ptsget.sdamod.dadsnd dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
seainf:"", // .fttp.mt32m.a53p.ptsget.sdamod.seainf },
}, tri:{
}, pts:new Pts().data,
}, dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
ini:{ },
pts:new Pts().data, cbs:{
}, max:{
inip:{ cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
ptsget:{ amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.inip.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.inip.ptsget.sdamod.seainf
},
},
},
rbc:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.rbc.dbfadrblkcn
},
rbcp:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.rbcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.rbcp.ptsget.sdamod.dadsnd
},
},
},
a58:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.a58.dbfadrblkcn
},
a58p:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.a58p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.a58p.ptsget.sdamod.dadsnd
},
},
},
b53:{
pts:new Pts().data,
},
b53p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b53p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.b53p.ptsget.sdamod.seainf
},
},
}, },
b56:{ ins:{
pts:new Pts().data, cur:"", // 利息金额 .ftdgrp.cbs.ins.cur
amt:"", // Balance .ftdgrp.cbs.ins.amt
}, },
b56p:{ },
ptsget:{ blk:{
sdamod:{ remark:"", // 备注 .ftdgrp.blk.remark
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b56p.ptsget.sdamod.dadsnd },
seainf:"", // .fttp.mt32m.b56p.ptsget.sdamod.seainf act:{
}, pts:new Pts().data,
},
},
fttp:{
trop:{
ptsget:{
sdamod:{
seainf:"", // .fttp.trop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.trop.ptsget.sdamod.dadsnd
}, },
}, },
owc:{ },
pts:new Pts().data, trip:{
dbfadrblkcn:"", // Chinese address .fttp.mt32m.owc.dbfadrblkcn ptsget:{
}, sdamod:{
owcp:{ seainf:"", // .fttp.trip.ptsget.sdamod.seainf
ptsget:{ dadsnd:"", // Drag Drop Sender .fttp.trip.ptsget.sdamod.dadsnd
sdamod:{
seainf:"", // .fttp.mt32m.owcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.owcp.ptsget.sdamod.dadsnd
},
}, },
}, },
b58:{ },
pts:new Pts().data, troact:"", // Trade-out Account .fttp.troact
dbfadrblkcn:"", // Chinese address .fttp.mt32m.b58.dbfadrblkcn triact:"", // 备注 .fttp.triact
usr:{
extkey:"", // User ID .fttp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .fttp.usrget.sdamod.seainf
}, },
b58p:{ },
ptsget:{ msgtyp:"", // 报文类型 .fttp.msgtyp
sdamod:{ actp:{
seainf:"", // .fttp.mt32m.b58p.ptsget.sdamod.seainf ptsget:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b58p.ptsget.sdamod.dadsnd sdamod:{
}, dadsnd:"", // Drag Drop Sender .fttp.actp.ptsget.sdamod.dadsnd
seainf:"", // .fttp.actp.ptsget.sdamod.seainf
}, },
}, },
a53act:"", // new datafield .fttp.mt32m.a53act
iniact:"", // new datafield .fttp.mt32m.iniact
rbcact:"", // Contract Number(:21N) .fttp.mt32m.rbcact
a58act:"", // new datafield .fttp.mt32m.a58act
b53act:"", // new datafield .fttp.mt32m.b53act
b56act:"", // new datafield .fttp.mt32m.b56act
b58act:"", // new datafield .fttp.mt32m.b58act
owcact:"", // new datafield .fttp.mt32m.owcact
str300:"", // new datafield .fttp.mt32m.str300
},
},
narblk:"", // Narrative .narblk
ftdgrp:{
rec:{
ownref:"", // Reference .ftdgrp.rec.ownref
}, },
}, },
relref:"", // Related Reference .relref
ftt199l1blk:"", // XMLPanel ftt199l1的内置block .ftt199l1blk
ftt299l1blk:"", // XMLPanel ftt299l1的内置block .ftt299l1blk
pageId: "", // ctx的key pageId: "", // ctx的key
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia trndia: new Pub().data.Trndia
}
} }
}
} }
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt199l1blk的内容" prop="ftt199l1blk">
<c-input type="textarea" v-model="model.ftt199l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt299l1blk的内容" prop="ftt299l1blk">
<c-input type="textarea" v-model="model.ftt299l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt320l1blk的内容" prop="ftt320l1blk">
<c-input type="textarea" v-model="model.ftt320l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="Reference" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="please_enter + Reference"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000010 : Reference -->
<!-- S0000011 : Related Reference -->
<!-- S0000012 : Narrative -->
<el-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="参考号" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="请输入参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ======================左边====================== -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttp.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
:placeholder="$t('other.请输入') + $t('fttp.资金调拨业务参考号')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.资金部负责人')" prop="ftdgrp.rec.ownusr">
<c-input v-model="model.ftdgrp.rec.ownusr" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttp.资金部负责人')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.清算中心负责人')" prop="ftdgrp.rec.usr">
<c-input v-model="model.ftdgrp.rec.usr" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttp.清算中心负责人')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.定存拆借类型')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000009 : 定存拆借金额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fttp.定存拆借金额')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.定存拆借金额币种')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt" :placeholder="$t('other.请输入') + $t('fttp.定存拆借金额')"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000016 : 开立日期 -->
<c-col :span="24">
<el-form-item :label="$t('fttp.开立日期')" prop="ftdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.opndat" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.开立日期')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.起息日')" prop="ftdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.valdat" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.起息日')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.到期日')" prop="ftdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.matdat" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.到期日')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.年利率')" prop="ftdgrp.rec.rat">
<c-input v-model="model.ftdgrp.rec.rat" :placeholder="$t('other.请输入') + $t('fttp.年利率')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.计息方式')" prop="ftdgrp.rec.cntfra">
<c-select v-model="model.ftdgrp.rec.cntfra" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.计息方式')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item :label="$t('fttp.利息金额')" prop="ftdgrp.cbs.ins.cur">
<c-select v-model="model.ftdgrp.cbs.ins.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.利息金额')">
</c-select>
</c-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.ins.amt">
<c-input v-model="model.ftdgrp.cbs.ins.amt" :placeholder="$t('other.请输入') + '利息金额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.报文类型')" prop="fttp.msgtyp">
<c-select v-model="model.fttp.msgtyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.报文类型')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttp.银行行类别')" prop="ftdgrp.rec.bnktyp">
<c-select v-model="model.ftdgrp.rec.bnktyp" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttp.银行行类别')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fttp.备注')" prop="ftdgrp.blk.remark">
<c-input type="textarea" v-model="model.ftdgrp.blk.remark" maxlength="35" show-word-limit
:placeholder="$t('other.请输入') + $t('fttp.备注')"></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttp.名称')" prop="ftdgrp.rec.nam">
<c-input v-model="model.ftdgrp.rec.nam" maxlength="40"
:placeholder="$t('other.请输入') + $t('fttp.名称')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-form-item label-width="0" prop="fttp.troact">
<c-select v-model="model.fttp.troact" style="width:100%" :placeholder="$t('other.请输入') + '交易账户'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆出我方账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-form-item label-width="0" prop="fttp.triact">
<c-select v-model="model.fttp.triact" style="width:100%" :placeholder="$t('other.请输入') + $t('fttp.S0000103')">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<!-- S0000060 : Sequence C:Amounts Payable by Party A -->
<!-- S0000049 : Typeof Operation(:22A) -->
<!-- S0000064 : Sequence D:Amounts Payable by Party B -->
<!-- S0000059 : Delivery Agent(:53) -->
<!-- S0000065 : Delivery Agent(:53) -->
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="MT320 :22A" prop="fttp.mt32m.s22a">
<c-select
v-model="model.fttp.mt32m.s22a"
style="width: 100%"
:placeholder="$t('other.please_enter') + 'MT320 :22A'"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="new datafield" prop="fttp.mt32m.a53act">
<c-input
v-model="model.fttp.mt32m.a53act"
maxlength="34"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="new datafield" prop="fttp.mt32m.b53act">
<c-input
v-model="model.fttp.mt32m.b53act"
maxlength="34"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- S0000050 : Scope of Operation( :94A) -->
<c-col :span="8">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.a53p.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.a53p.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.a53.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.a53.pts.extkey"
maxlength="16"
:placeholder="
$t('other.please_enter') + 'External Key of Address'
"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="" prop="fttp.mt32m.a53p.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.a53p.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24"> </c-col>
</el-row>
<c-col :span="12">
<c-button size="small" type="primary" @click="onA53pDet">
{{ $t("ptsp.CF000082") }}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.b53p.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.b53p.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.b53.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.b53.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fttp.mt32m.b53p.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.b53p.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onB53pDet">
{{ $t("ptsp.CF000082") }}
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="MT320 :94A" prop="fttp.mt32m.s94a">
<c-select
v-model="model.fttp.mt32m.s94a"
style="width: 100%"
:placeholder="$t('other.please_enter') + 'MT320 :94A'"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="fttp.mt32m.a53.pts.nam">
<c-input
v-model="model.fttp.mt32m.a53.pts.nam"
maxlength="40"
:placeholder="$t('other.please_enter') + 'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="fttp.mt32m.b53.pts.nam">
<c-input
v-model="model.fttp.mt32m.b53.pts.nam"
maxlength="40"
:placeholder="$t('other.please_enter') + 'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000051 : Type of Event:22B -->
<!-- S0000061 : Intermediary(:56) -->
<!-- S0000066 : Intermediary(:56) -->
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.iniact">
<c-input
v-model="model.fttp.mt32m.iniact"
maxlength="34"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="MT320 :22B" prop="fttp.mt32m.s22b">
<c-select
v-model="model.fttp.mt32m.s22b"
style="width: 100%"
:placeholder="$t('other.please_enter') + 'MT320 :22B'"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.b56act">
<c-input
v-model="model.fttp.mt32m.b56act"
maxlength="34"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.inip.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.inip.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.b56p.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.b56p.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.ini.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.ini.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fttp.mt32m.inip.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.inip.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInipDet">
{{ $t("ptsp.CF000082") }}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.b56.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.b56.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fttp.mt32m.b56p.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.b56p.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onB56pDet">
{{ $t("ptsp.CF000082") }}
</c-button>
</c-col>
<!-- S0000052 : Common Reference(:22C) -->
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.conref">
<c-input
v-model="model.fttp.mt32m.conref"
maxlength="16"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="fttp.mt32m.ini.pts.nam">
<c-input
v-model="model.fttp.mt32m.ini.pts.nam"
maxlength="40"
:placeholder="$t('other.please_enter') + 'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="fttp.mt32m.b56.pts.nam">
<c-input
v-model="model.fttp.mt32m.b56.pts.nam"
maxlength="40"
:placeholder="$t('other.please_enter') + 'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000062 : Receiving Agent(:57) -->
<!-- S0000058 : Contract Number(:21N) -->
<!-- S0000067 : Receiving Agent(:57) -->
<c-col :span="12">
<c-form-item :label="$t('fttp.S0000058')" prop="fttp.mt32m.rbcact">
<c-input
v-model="model.fttp.mt32m.rbcact"
maxlength="34"
:placeholder="$t('other.please_enter') + $t('fttp.S0000058')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.owcact">
<c-input
v-model="model.fttp.mt32m.owcact"
maxlength="34"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.conno">
<c-input
v-model="model.fttp.mt32m.conno"
maxlength="16"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.rbcp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.rbcp.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.rbc.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.rbc.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fttp.mt32m.rbcp.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.rbcp.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRbcpDet">
{{ $t("ptsp.CF000081") }}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.owcp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.owcp.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.owc.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.owc.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fttp.mt32m.owcp.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.owcp.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOwcpDet">
{{ $t("ptsp.CF000081") }}
</c-button>
</c-col>
<!-- S0000056 : Party A's Role(:17R) -->
<c-col :span="12">
<c-form-item label="Address Block" prop="fttp.mt32m.rbc.pts.adrblk">
<c-input
type="textarea"
v-model="model.fttp.mt32m.rbc.pts.adrblk"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Address Block'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fttp.mt32m.rbc.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.fttp.mt32m.rbc.dbfadrblkcn"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Chinese address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fttp.mt32m.owc.pts.adrblk">
<c-input
type="textarea"
v-model="model.fttp.mt32m.owc.pts.adrblk"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Address Block'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fttp.mt32m.owc.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.fttp.mt32m.owc.dbfadrblkcn"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Chinese address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="MT320 :17R" prop="fttp.mt32m.s17r">
<c-select
v-model="model.fttp.mt32m.s17r"
style="width: 100%"
:placeholder="$t('other.please_enter') + 'MT320 :17R'"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000057 : NextInterest DueDate(:30X) -->
<c-col :span="12">
<el-form-item label="Next Interest Due Date" prop="fttp.mt32m.s30x">
<c-date-picker
type="date"
v-model="model.fttp.mt32m.s30x"
style="width: 100%"
:placeholder="$t('other.please_enter') + 'Next Interest Due Date'"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000063 : Beneficiary Institution(:58) -->
<!-- S0000068 : Beneficiary Institution(:58) -->
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.a58act">
<c-input
v-model="model.fttp.mt32m.a58act"
maxlength="34"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.b58act">
<c-input
v-model="model.fttp.mt32m.b58act"
maxlength="34"
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000075 : Send to receive information -->
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.a58p.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.a58p.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.a58.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.a58.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fttp.mt32m.a58p.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.a58p.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onA58pDet">
{{ $t("ptsp.CF000081") }}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="fttp.mt32m.b58p.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.fttp.mt32m.b58p.ptsget.sdamod.dadsnd"
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="new datafield" prop="fttp.mt32m.str300">
<c-input
type="textarea"
v-model="model.fttp.mt32m.str300"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'new datafield'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="External Key of Address"
prop="fttp.mt32m.b58.pts.extkey"
>
<c-input
v-model="model.fttp.mt32m.b58.pts.extkey"
maxlength="16"
:placeholder="$t('other.please_enter') + 'External Key of Address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fttp.mt32m.b58p.ptsget.sdamod.seainf">
<c-input
v-model="model.fttp.mt32m.b58p.ptsget.sdamod.seainf"
:placeholder="$t('other.please_enter') + ''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onB58pDet">
{{ $t("ptsp.CF000081") }}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fttp.mt32m.a58.pts.adrblk">
<c-input
type="textarea"
v-model="model.fttp.mt32m.a58.pts.adrblk"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Address Block'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fttp.mt32m.a58.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.fttp.mt32m.a58.dbfadrblkcn"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Chinese address'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fttp.mt32m.b58.pts.adrblk">
<c-input
type="textarea"
v-model="model.fttp.mt32m.b58.pts.adrblk"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Address Block'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fttp.mt32m.b58.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.fttp.mt32m.b58.dbfadrblkcn"
maxlength="35"
show-word-limit
:placeholder="$t('other.please_enter') + 'Chinese address'"
></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="资金拆借/存放"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
size="small" :validate-on-rule-change="false"> <!--fttfcm PD000001 MT320 -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-tab-pane :label="$t('fttfcm.PD000001')" name="ftt320l1">
<el-tab-pane label="概要" name="ovwp"> <m-ftt320l1 :model="model" :codes="codes"/>
<c-content> </el-tab-pane>
<m-ovwp :model="model" :codes="codes" /> <!--fttfcm PD000002 MT320 -->
</c-content> <el-tab-pane :label="$t('fttfcm.PD000002')" name="mt320">
</el-tab-pane> <m-mt320 :model="model" :codes="codes"/>
<el-tab-pane label="费用/账务" name="setpan"> </el-tab-pane>
<c-content> <!--fttfcm PD000003 MT199 -->
<m-setpan :codes="codes" :model="model" /> <el-tab-pane :label="$t('fttfcm.PD000003')" name="mt199">
</c-content> <m-mt199 :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan"> <!--fttfcm PD000004 MT299 -->
<c-content> <el-tab-pane :label="$t('fttfcm.PD000004')" name="mt299">
<m-docpan :codes="codes" :model="model" /> <m-mt299 :model="model" :codes="codes"/>
</c-content> </el-tab-pane>
</el-tab-pane> <!--fttfcm PD000014 MT199 -->
</c-tabs> <el-tab-pane :label="$t('fttfcm.PD000014')" name="ftt199l1">
</el-form> <m-ftt199l1 :model="model" :codes="codes"/>
<c-function-btn </el-tab-pane>
:handleCheck="handleCheck" <!--fttfcm PD000015 MT299 -->
:handleStash="handleStash" <el-tab-pane :label="$t('fttfcm.PD000015')" name="ftt299l1">
:handleSubmit="handleSubmit" <m-ftt299l1 :model="model" :codes="codes"/>
@handleSureWarning="handleSureWarning" </el-tab-pane>
ref="commonBtn" </c-tabs>
></c-function-btn> </el-form>
</c-page> </div>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fttfcm from "../model" import Fttfcm from "../model"
import Ovwp from "./Ovwp" import commonProcess from "~/mixin/commonProcess"
import Setpan from "~/components/business/setmod/views"; import Check from "../model/Check"
import Docpan from "~/components/business/docpan/views"; import Default from "../model/Default"
import Pattern from "../model/Pattern"
import operationFunc from "~/mixin/operationFunc"; import Ftt320l1 from "./Ftt320l1"
import commonDepend from "~/mixin/commonDepend"; import Mt320 from "./Mt320"
import event from "../event"; import Mt199 from "./Mt199"
import buildFn from "../event/buildCommons.js"; import Mt299 from "./Mt299"
import Check from "../model/Check.js"; import Ftt199l1 from "./Ftt199l1"
import Ftt299l1 from "./Ftt299l1"
export default { export default {
name: "Fttfcm", name: "Fttfcm",
components: { components:{
"m-ovwp": Ovwp, "m-ftt320l1" : Ftt320l1,
"m-setpan": Setpan, "m-mt320" : Mt320,
"m-docpan": Docpan, "m-mt199" : Mt199,
"m-mt299" : Mt299,
"m-ftt199l1" : Ftt199l1,
"m-ftt299l1" : Ftt299l1,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [operationFunc, commonDepend, event, buildFn], mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() { data(){
return { return {
tabVal: "ovwp", tabVal: "ftt320l1",
trnName: "fttfcm", trnName: "fttfcm",
trnType: "", trnType: "",
model: new Fttfcm().data, model: new Fttfcm().data,
rules: Check, checkRules: Check,
codes: { ...CodeTable }, defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
} }
}, },
methods: { methods:{
myTabClick(tab) { myTabClick(tab){
this.tabClick(tab) this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
} }
}, },
created: async function () { created:async function(){
console.log("进入fttfcm交易"); console.log("进入fttfcm交易");
let rtnmsg = {}; // await this.init({}) let rtnmsg = {}; // await this.init({})
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
this.updateModel(rtnmsg.data) {
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
<style></style> <style>
</style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
export default { import Utils from "~/utils"
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
/**
* Fttfcn Check规则
*/
let checkObj = {
"canamt" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"ftdgrp.act.pts.adrblk" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"ftdgrp.rec.fttyp" :null,
"mtabut.clsflg" :null,
}
"ftdgrp.tro.pts.adrblk":[ for (const key in checkObj) {
{type: "string", required: true, message: "必输项"}, if (Object.hasOwnProperty.call(checkObj, key)) {
{max: 35,message:"长度不能超过35"} checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
], }
"ftdgrp.tro.dbfadrblkcn":[ }
{type: "string", required: true, message: "必输项"}, export default checkObj
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"canamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
/**
* Fttfcn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"fttp.usr.extkey" :Utils.defaultFunction,
"ftdgrp.act.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
"canamt" :Utils.defaultFunction,
"ftdgrp.cbs.opn2.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
...@@ -2,8 +2,20 @@ import Api from "~/service/Api" ...@@ -2,8 +2,20 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onAplpDet(){ async onTropDet(){
let rtnmsg = await this.executeRule("aplp.det") let rtnmsg = await this.executeRule("trop.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTripDet(){
let rtnmsg = await this.executeRule("trip.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
export default { export default {
"fxdgrp.rec.ownref":[ "ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"fxdgrp.rec.nam":[ "ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"fxdgrp.apl.pts.ref":[ "ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"fxtp.usr.extkey":[ "fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8"}
], ],
"fxtp.usrget.sdamod.seainf":[ "fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxtp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"fxdgrp.apl.pts.extkey":[ "ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"fxtp.aplp.ptsget.sdamod.seainf":[ "fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"fxdgrp.apl.pts.adrblk":[ "ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"fxdgrp.apl.dbfadrblkcn":[ "ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"fxdgrp.cbs.opn2.cur":[
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"fxdgrp.cbs.opn2.amt":[ "ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cancur":[ "setmod.doccur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
...@@ -59,36 +61,55 @@ export default { ...@@ -59,36 +61,55 @@ export default {
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"fxdgrp.rec.opndat":[ "ftdgrp.tri.pts.ref":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
], ],
"fxtp.actp.ptsget.sdamod.dadsnd":[ "fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"fxdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"} "ftdgrp.tri.pts.extkey":[
],
"fxdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"fxtp.actp.ptsget.sdamod.seainf":[ "fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"fxdgrp.act.pts.adrblk":[ "ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"fxdgrp.act.dbfadrblkcn":[ "ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"fxdgrp.blk.remark":[ "ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcn{ export default class Fttfcn{
constructor () { constructor () {
this.data = { this.data = {
ftdgrp:{ ftdgrp:{
rec:{ rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
}, },
cbs:{ cbs:{
max:{ max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
opn2:{
cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
amt:"", // Balance .ftdgrp.cbs.opn2.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
}, },
act:{ opn2:{
pts:new Pts().data, cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn amt:"", // Balance .ftdgrp.cbs.opn2.amt
}, },
}, },
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
fttp:{ fttp:{
usr:{ usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey extkey:"", // 资金部负责人 .fttp.usr.extkey
...@@ -70,10 +69,7 @@ export default class Fttfcn{ ...@@ -70,10 +69,7 @@ export default class Fttfcn{
mtabut:{ mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg clsflg:"", // Close Flag .mtabut.clsflg
}, },
pageId: "", // ctx的key pageId: "" // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <c-col :span="24">
<!-- ======================左边====================== --> <!-- ======================左边====================== -->
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fttfcn.资金调拨业务参考号')" prop="ftdgrp.rec.ownref"> <c-form-item :label="$t('fttfcn.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('fttfcn.S0000002')"></c-input> <c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
</c-form-item> :placeholder="$t('other.请输入') + $t('fttfcn.S0000002')"></c-input>
</c-col> </c-form-item>
<c-col :span="24">
<c-form-item :label="$t('fttfcn.资金部负责人')" prop="fttp.usr.extkey">
<c-input v-model="model.fttp.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('fttfcn.资金部负责人')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fttfcn.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.定存拆借类型')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fttfcn.定存拆借金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.定存拆借金额币种')">
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt"> <c-col :span="24">
<c-input v-model="model.ftdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('fttfcn.定存拆借金额')"></c-input> <c-form-item :label="$t('fttfcn.资金部负责人')" prop="fttp.usr.extkey">
<c-input v-model="model.fttp.usr.extkey" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttfcn.资金部负责人')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <el-form-item :label="$t('fttfcn.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<el-form-item :label="$t('fttfcn.待销账金额币种')" prop="ftdgrp.cbs.opn2.cur"> <c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%"
<c-select v-model="model.ftdgrp.cbs.opn2.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.待销账金额币种')"> :placeholder="$t('other.请输入') + $t('fttfcn.定存拆借类型')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.opn2.amt"> <c-col :span="24">
<c-input v-model="model.ftdgrp.cbs.opn2.amt" :placeholder="$t('other.please_enter')+'待销账金额币种'"></c-input> <c-col :span="12">
</c-form-item> <el-form-item :label="$t('fttfcn.定存拆借金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfcn.定存拆借金额币种')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt"
:placeholder="$t('other.请输入') + $t('fttfcn.定存拆借金额')"></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fttfcn.实际消费金币种')" prop="setmod.doccur"> <el-form-item :label="$t('fttfcn.待销账金额币种')" prop="ftdgrp.cbs.opn2.cur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.实际消费金币种')"> <c-select v-model="model.ftdgrp.cbs.opn2.cur" :code="codes.curtxt1" style="width:100%"
</c-select> :placeholder="$t('other.请输入') + $t('fttfcn.待销账金额币种')">
</el-form-item> </c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.opn2.amt">
<c-input v-model="model.ftdgrp.cbs.opn2.amt"
:placeholder="$t('other.请输入') + '待销账金额币种'"></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12" class="pl8"> <c-col :span="12">
<c-form-item label-width="0" prop="canamt"> <el-form-item :label="$t('fttfcn.实际消费金币种')" prop="setmod.doccur">
<c-input v-model="model.canamt" :placeholder="$t('other.please_enter')+'实际消费金额'"></c-input> <c-select v-model="model.setmod.doccur" :code="codes.curtxt1" style="width:100%"
</c-form-item> :placeholder="$t('other.请输入') + $t('fttfcn.实际消费金币种')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="canamt">
<c-input v-model="model.canamt" :placeholder="$t('other.请输入') + '实际消费金额'"></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttfcn.名称')" prop="ftdgrp.rec.nam">
<c-input v-model="model.ftdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('fttfcn.S0000003')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model"
:requiredExtkey="true"
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }"
ptytyp="B"
>
</c-ptap>
</el-card>
</c-col> </c-col>
<c-col :span="24"> <!-- ======================右边====================== -->
<el-card class="box-card"> <c-col :span="12" style="padding-left: 20px">
<c-ptap <c-col :span="24">
:model="model" <c-form-item :label="$t('fttfcn.名称')" prop="ftdgrp.rec.nam">
:requiredExtkey="true" <c-input v-model="model.ftdgrp.rec.nam" maxlength="40"
:disabled="false" :placeholder="$t('other.请输入') + $t('fttfcn.S0000003')"></c-input>
:isAdrblk="true" </c-form-item>
:haveAdrLabel="true" </c-col>
:isShowCard="false" <c-col :span="24">
:argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" <el-card class="box-card">
ptytyp="B" <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
> :haveAdrLabel="true" :isShowCard="false"
</c-ptap> :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</el-card> </c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
:haveAdrLabel="true" :isShowCard="false"
:argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
:haveAdrLabel="true" :isShowCard="false"
:argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-ptap>
</el-card>
</c-col>
</c-col> </c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model"
:requiredExtkey="true"
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }"
ptytyp="B"
>
</c-ptap>
</el-card>
</c-col>
</c-col> </c-col>
</c-col> </div>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Event from "../event" import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props: ["model", "codes"],
mixins: [], mixins: [],
data(){ data() {
return { return {
} }
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {
} }
} }
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="资金拆借/存放销账"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
size="small" :validate-on-rule-change="false"> <!--fttfcn PD000001 Cancellation -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-tab-pane :label="$t('fttfcn.PD000001')" name="canp">
<!--fttfcn PD000001 Cancellation --> <m-canp :model="model" :codes="codes"/>
<el-tab-pane label="销账" name="canp"> </el-tab-pane>
<c-content> </c-tabs>
<m-canp :model="model" :codes="codes" /> </el-form>
</c-content> </div>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fttfcn from "../model" import Fttfcn from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Canp from "./Canp" import Canp from "./Canp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default { export default {
name: "Fttfcn", name: "Fttfcn",
components: { components:{
"m-canp": Canp, "m-canp" : Canp,
"m-setpan": Setpan,
"m-docpan": Docpan,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() { data(){
return { return {
tabVal: "canp", tabVal: "canp",
trnName: "fttfcn", trnName: "fttfcn",
trnType: "", trnType: "",
model: new Fttfcn().data, model: new Fttfcn().data,
rules: Check, checkRules: Check,
codes: { ...CodeTable }, defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
} }
}, },
methods: { methods:{
myTabClick(tab) { myTabClick(tab){
this.tabClick(tab) this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
} }
}, },
created: async function () { created:async function(){
console.log("进入fttfcn交易"); console.log("进入fttfcn交易");
let rtnmsg = {}; // await this.init({}) let rtnmsg = {}; // await this.init({})
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
this.updateModel(rtnmsg.data) {
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
<style></style> <style>
</style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
export default { import Utils from "~/utils"
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
/**
* Fttfmt Check规则
*/
let checkObj = {
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.rec.fttyp" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.act.pts.adrblk" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"mtabut.clsflg" :null,
}
"ftdgrp.tro.pts.adrblk":[ for (const key in checkObj) {
{type: "string", required: true, message: "必输项"}, if (Object.hasOwnProperty.call(checkObj, key)) {
{max: 35,message:"长度不能超过35"} checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
], }
"ftdgrp.tro.dbfadrblkcn":[ }
{type: "string", required: true, message: "必输项"}, export default checkObj
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"intamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.gzno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
/**
* Fttfmt Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"fttp.usr.extkey" :Utils.defaultFunction,
"ftdgrp.act.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onTropDet(){
let rtnmsg = await this.executeRule("trop.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTripDet(){
let rtnmsg = await this.executeRule("trip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onActpDet(){
let rtnmsg = await this.executeRule("actp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"intamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.gzno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfmt{ export default class Fttfmt{
constructor () { constructor () {
this.data = { this.data = {
ftdgrp:{ ftdgrp:{
rec:{ rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
matdat:"", // 到期日 .ftdgrp.rec.matdat matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat rat:"", // 年利率 .ftdgrp.rec.rat
gzno:"", // 挂账编号 .ftdgrp.rec.gzno gzno:"", // 挂账编号 .ftdgrp.rec.gzno
}, },
cbs:{ cbs:{
max:{ max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
}, },
}, },
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
fttp:{ fttp:{
usr:{ usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey extkey:"", // 资金部负责人 .fttp.usr.extkey
...@@ -70,10 +69,7 @@ export default class Fttfmt{ ...@@ -70,10 +69,7 @@ export default class Fttfmt{
mtabut:{ mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg clsflg:"", // Close Flag .mtabut.clsflg
}, },
pageId: "", // ctx的key pageId: "" // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <c-col :span="24">
<!-- ======================左边====================== --> <!-- ======================左边====================== -->
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fttfmt.资金调拨业务参考号')" prop="ftdgrp.rec.ownref"> <c-form-item :label="$t('fttfmt.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('fttfmt.资金调拨业务参考号')"></c-input> <c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
</c-form-item> :placeholder="$t('other.请输入') + $t('fttfmt.资金调拨业务参考号')"></c-input>
</c-col>
<!-- S0000004 : 资金部负责人 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.资金部负责人')" prop="fttp.usr.extkey">
<c-input v-model="model.fttp.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('fttfmt.资金部负责人')"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 定存拆借类型 -->
<c-col :span="24">
<el-form-item :label="$t('fttfmt.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfmt.定存拆借类型')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000006 : 定存拆借金额 -->
<c-col :span="24">
<c-col :span="12">
<c-form-item :label="$t('fttfmt.定存拆借金额币种')" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" :placeholder="$t('other.please_enter')+$t('fttfmt.定存拆借金额币种')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12" class="pl8"> <!-- S0000004 : 资金部负责人 -->
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('fttfmt.定存拆借金额')"></c-input> <c-col :span="24">
<c-form-item :label="$t('fttfmt.资金部负责人')" prop="fttp.usr.extkey">
<c-input v-model="model.fttp.usr.extkey" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttfmt.资金部负责人')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> <!-- S0000005 : 定存拆借类型 -->
<!-- S0000011 : 到期日 -->
<c-col :span="24">
<c-col :span="24"> <el-form-item :label="$t('fttfmt.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<el-form-item :label="$t('fttfmt.到期日')" prop="ftdgrp.rec.matdat"> <c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.curtxt1" style="width:100%"
<c-date-picker type="date" v-model="model.ftdgrp.rec.matdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfmt.到期日')"></c-date-picker> :placeholder="$t('other.请输入') + $t('fttfmt.定存拆借类型')">
</el-form-item>
</c-col>
<!-- S0000012 : 年利率 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.年利率')" prop="ftdgrp.rec.rat">
<c-input v-model="model.ftdgrp.rec.rat" :placeholder="$t('other.please_enter')+$t('fttfmt.年利率')"></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 利息金额 -->
<c-col :spam="24">
<c-col :span="12">
<el-form-item :label="$t('fttfmt.利息金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfmt.利息金额币种')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000006 : 定存拆借金额 -->
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="intamt"> <c-col :span="24">
<c-input v-model="model.intamt" :placeholder="$t('other.please_enter')+$t('fttfmt.利息金额')"></c-input> <c-col :span="12">
</c-form-item> <c-form-item :label="$t('fttfmt.定存拆借金额')" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额币种')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额')"></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
</c-col> <!-- S0000011 : 到期日 -->
<!-- S0000018 : 结算总金额 --> <c-col :span="24">
<c-col :spam="24"> <el-form-item :label="$t('fttfmt.到期日')" prop="ftdgrp.rec.matdat">
<c-col :span="12"> <c-date-picker type="date" v-model="model.ftdgrp.rec.matdat" style="width:100%"
<c-form-item :label="$t('fttfmt.结算总金额币种')" prop="ftdgrp.cbs.max.cur"> :placeholder="$t('other.请输入') + $t('fttfmt.到期日')"></c-date-picker>
<c-input v-model="model.ftdgrp.cbs.max.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('fttfmt.结算总金额币种')"></c-input> </el-form-item>
</c-col>
<!-- S0000012 : 年利率 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.年利率')" prop="ftdgrp.rec.rat">
<c-input v-model="model.ftdgrp.rec.rat"
:placeholder="$t('other.请输入') + $t('fttfmt.年利率')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12" class="pl8"> <!-- S0000017 : 利息金额 -->
<c-form-item label-width="0" prop="setmod.setamt"> <c-col :spam="24">
<c-input v-model="model.setmod.setamt" :placeholder="$t('other.please_enter')+'结算总金额'"></c-input> <c-col :span="12">
<el-form-item :label="$t('fttfmt.利息金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.利息金额币种')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="intamt">
<c-input v-model="model.intamt" :placeholder="$t('other.请输入') + $t('fttfmt.利息金额')"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000018 : 结算总金额 -->
<c-col :spam="24">
<c-col :span="12">
<c-form-item :label="$t('fttfmt.结算总金额币种')" prop="ftdgrp.cbs.max.cur">
<c-input v-model="model.ftdgrp.cbs.max.cur" maxlength="3"
:placeholder="$t('other.请输入') + $t('fttfmt.结算总金额币种')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" :placeholder="$t('other.请输入') + '结算总金额'"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000023 : 挂账编号 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.挂账编号')" prop="ftdgrp.rec.gzno">
<c-input v-model="model.ftdgrp.rec.gzno" maxlength="16"
:placeholder="$t('other.请输入') + $t('fttfmt.挂账编号')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- S0000023 : 挂账编号 --> <!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fttfmt.挂账编号')" prop="ftdgrp.rec.gzno"> <c-form-item :label="$t('fttfmt.名称')" prop="ftdgrp.rec.nam">
<c-input v-model="model.ftdgrp.rec.gzno" maxlength="16" :placeholder="$t('other.please_enter')+$t('fttfmt.挂账编号')"></c-input> <c-input v-model="model.ftdgrp.rec.nam" maxlength="40"
</c-form-item> :placeholder="$t('other.请输入') + $t('fttfmt.名称')"></c-input>
</c-col> </c-form-item>
</c-col> </c-col>
<!-- ======================右边====================== --> <c-col :span="24">
<c-col :span="12" style="padding-left: 20px"> <el-card class="box-card">
<c-col :span="24"> <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
<c-form-item :label="$t('fttfmt.名称')" prop="ftdgrp.rec.nam"> :haveAdrLabel="true" :isShowCard="false"
<c-input v-model="model.ftdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('fttfmt.名称')"></c-input> :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-form-item> </c-ptap>
</c-col> </el-card>
<c-col :span="24"> </c-col>
<el-card class="box-card"> <c-col :span="24">
<c-ptap <el-card class="box-card">
:model="model" <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
:requiredExtkey="true" :haveAdrLabel="true" :isShowCard="false"
:disabled="false" :argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
:isAdrblk="true" </c-ptap>
:haveAdrLabel="true" </el-card>
:isShowCard="false" </c-col>
:argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" <c-col :span="24">
ptytyp="B" <el-card class="box-card">
> <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
</c-ptap> :haveAdrLabel="true" :isShowCard="false"
</el-card> :argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-col> </c-ptap>
<c-col :span="24"> </el-card>
<el-card class="box-card"> </c-col>
<c-ptap
:model="model"
:requiredExtkey="true"
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }"
ptytyp="B"
>
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model"
:requiredExtkey="true"
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }"
ptytyp="B"
>
</c-ptap>
</el-card>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </div>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Event from "../event" import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props: ["model", "codes"],
data(){ data() {
return { return {
} }
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {
} }
} }
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="资金拆借/存放到期处理"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
size="small" :validate-on-rule-change="false"> <!--fttfmt PD000001 Maturity -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-tab-pane :label="$t('fttfmt.PD000001')" name="matp">
<!--fttfmt PD000001 Maturity --> <m-matp :model="model" :codes="codes"/>
<el-tab-pane label="到期处理" name="matp"> </el-tab-pane>
<c-content> </c-tabs>
<m-matp :model="model" :codes="codes" /> </el-form>
</c-content> </div>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fttfmt from "../model" import Fttfmt from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Matp from "./Matp" import Matp from "./Matp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default { export default {
name: "Fttfmt", name: "Fttfmt",
components: { components:{
"m-matp": Matp, "m-matp" : Matp,
"m-setpan": Setpan,
"m-docpan": Docpan,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() { data(){
return { return {
tabVal: "matp", tabVal: "matp",
trnName: "fttfmt", trnName: "fttfmt",
trnType: "", trnType: "",
model: new Fttfmt().data, model: new Fttfmt().data,
rules: Check, checkRules: Check,
codes: { ...CodeTable }, defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
} }
}, },
methods: { methods:{
myTabClick(tab) { myTabClick(tab){
this.tabClick(tab) this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
} }
}, },
created: async function () { created:async function(){
console.log("进入fttfmt交易"); console.log("进入fttfmt交易");
let rtnmsg = {}; // await this.init({}) let rtnmsg = {}; // await this.init({})
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
this.updateModel(rtnmsg.data) {
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
<style></style> <style>
</style>
...@@ -33,8 +33,6 @@ const BusRouter = [ ...@@ -33,8 +33,6 @@ const BusRouter = [
}, },
{ path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: '即期结汇交易' }, module: 'Funds' }, { path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: '即期结汇交易' }, module: 'Funds' },
{ path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: '即期售汇交易' }, module: 'Funds' }, { path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: '即期售汇交易' }, module: 'Funds' },
{ path: 'crtcri', component: () => import("./Crtcri/views"), name: 'Crtcri', meta: { title: '汇入清算' }, module: 'Funds' },
{ path: 'crtcro', component: () => import("./Crtcro/views"), name: 'Crtcro', meta: { title: '汇出清算' }, module: 'Funds' },
{ path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' }, { path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' },
]; ];
export default BusRouter export default BusRouter
...@@ -21,21 +21,16 @@ export default { ...@@ -21,21 +21,16 @@ export default {
}; };
}, },
buildCommonData(model, trnName) { buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta); let ptsptaList = [];
return { return {
rec: { rec: {
objtyp: "FXT", objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
}, },
cbsMap: {},
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL", userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
} };
} },
} },
}; };
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Fxtlcn Check规则
*/
let checkObj = {
"canamt" :null,
"fxdgrp.apl.pts.adrblk" :null,
"fxtp.usr.extkey" :null,
"fxdgrp.cbs.opn2.amt" :null,
"fxdgrp.act.pts.adrblk" :null,
"fxdgrp.act.pts.extkey" :null,
"fxdgrp.rec.ownref" :null,
"fxdgrp.apl.pts.extkey" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Fxtlcn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fxdgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"fxtp.usr.extkey" :Utils.defaultFunction,
"fxdgrp.apl.pts.adrblk" :Utils.defaultFunction,
"fxdgrp.act.pts.extkey" :Utils.defaultFunction,
"fxdgrp.rec.fxtyp" :Utils.defaultFunction,
"fxdgrp.apl.pts.extkey" :Utils.defaultFunction,
"fxdgrp.cbs.opn2.amt" :Utils.defaultFunction,
"fxdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"fxdgrp.rec.ownref" :Utils.defaultFunction,
"fxdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"fxdgrp.act.pts.adrblk" :Utils.defaultFunction,
"fxdgrp.rec.opndat" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Fxtlcn Check规则
*/
export default {
"fxdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"fxdgrp.apl.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"fxtp.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"fxtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxtp.aplp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxdgrp.apl.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxtp.aplp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxdgrp.apl.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.apl.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.cbs.opn2.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxdgrp.cbs.opn2.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cancur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"canamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.rec.opndat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"fxtp.actp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxdgrp.rec.valdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"fxdgrp.act.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"fxtp.actp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"fxdgrp.act.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.act.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"fxdgrp.blk.remark": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
]
}
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fxtlcn{ export default class Fxtlcn{
constructor () { constructor () {
...@@ -61,7 +62,10 @@ export default class Fxtlcn{ ...@@ -61,7 +62,10 @@ export default class Fxtlcn{
}, },
canamt:"", // Cancel Amount .canamt canamt:"", // Cancel Amount .canamt
cancur:"", // 实际销账金额 .cancur cancur:"", // 实际销账金额 .cancur
pageId: "" // ctx的key pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000002 : 平盘业务参考号 --> <!-- S0000002 : 平盘业务参考号 -->
<c-col :span="12">
<c-col :span="12"> <c-form-item :label="$t('fxtlcn.业务编号')" prop="fxdgrp.rec.ownref">
<c-form-item :label="$t('fxtlcn.S0000002')" prop="fxdgrp.rec.ownref"> <c-input v-model="model.fxdgrp.rec.ownref" maxlength="16"></c-input>
<c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000002')"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col> <!-- S0000003 : 名称 -->
<!-- S0000003 : 名称 --> <c-col :span="12">
<c-form-item :label="$t('fxtlcn.业务名称')" prop="fxdgrp.rec.nam">
<c-col :span="12"> <c-input v-model="model.fxdgrp.rec.nam" maxlength="40"></c-input>
<c-form-item :label="$t('fxtlcn.S0000003')" prop="fxdgrp.rec.nam"> </c-form-item>
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000003')"></c-input> </c-col>
</c-form-item> <c-col :span="12">
</c-col> <!-- S0000004 : 资金部负责人 -->
<!-- S0000006 : 平盘对手 --> <c-col :span="24">
<c-form-item :label="$t('fxtlcn.业务负责人')" prop="fxtp.usr.extkey">
<c-col :span="12"> <c-fullbox>
<c-form-item :label="$t('fxtlcn.S0000006')" prop="fxdgrp.apl.pts.ref"> <c-input v-model="model.fxtp.usr.extkey" maxlength="8"></c-input>
<c-input v-model="model.fxdgrp.apl.pts.ref" maxlength="20" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000006')"></c-input> <template slot="footer">
</c-form-item> <c-button size="small" style="margin-left: 5px" type="primary">
</c-col> i
<!-- S0000004 : 资金部负责人 --> </c-button>
</template>
<c-col :span="12"> </c-fullbox>
<c-form-item :label="$t('fxtlcn.S0000004')" prop="fxtp.usr.extkey"> </c-form-item>
<c-input v-model="model.fxtp.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000004')"></c-input> </c-col>
</c-form-item> <!-- S0000005 : 平盘类型 -->
</c-col> <c-col :span="24">
<el-form-item :label="$t('fxtlcn.平盘类型')" prop="fxdgrp.rec.fxtyp">
<c-col :span="12"> <c-select v-model="model.fxdgrp.rec.fxtyp" style="width: 100%">
<c-form-item label="" prop="fxtp.usrget.sdamod.seainf"> </c-select>
<c-input v-model="model.fxtp.usrget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fxtp.aplp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fxdgrp.apl.pts.extkey">
<c-input v-model="model.fxdgrp.apl.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fxtp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<!-- S0000005 : 平盘类型 -->
<c-col :span="12">
<el-form-item :label="$t('fxtlcn.S0000005')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000005')">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000015 : 待销账金额 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item label="Address Block" prop="fxdgrp.apl.pts.adrblk"> <c-col :span="10">
<c-input type="textarea" v-model="model.fxdgrp.apl.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> <c-form-item
</c-form-item> :label="$t('fxtlcn.Foreign Cur Amount')"
prop="fxdgrp.cbs.opn2.cur"
>
<c-select
v-model="model.fxdgrp.cbs.opn2.cur"
maxlength="3"
></c-select>
</c-form-item>
</c-col> </c-col>
<c-col :span="14">
<c-col :span="12"> <c-form-item label-width="10px" prop="fxdgrp.cbs.opn2.amt">
<c-form-item label="Chinese address" prop="fxdgrp.apl.dbfadrblkcn"> <c-input v-model="model.fxdgrp.cbs.opn2.amt"></c-input>
<c-input type="textarea" v-model="model.fxdgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> </c-form-item>
</c-form-item>
</c-col> </c-col>
<!-- S0000015 : 待销账金额 --> </c-col>
<!-- S0000017 : 实际销账金额 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('fxtlcn.S0000015')" prop="fxdgrp.cbs.opn2.cur"> <c-col :span="10">
<c-input v-model="model.fxdgrp.cbs.opn2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000015')"></c-input> <c-form-item
</c-form-item> :label="$t('fxtlcn.fxtlcn.Domestic Cur Amount')"
</c-col> prop="cancur"
>
<c-col :span="12"> <c-select v-model="model.cancur" maxlength="3"></c-select>
<c-form-item label="Balance" prop="fxdgrp.cbs.opn2.amt"> </c-form-item>
<c-input v-model="model.fxdgrp.cbs.opn2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 实际销账金额 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcn.S0000017')" prop="cancur">
<c-input v-model="model.cancur" maxlength="3" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000017')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Cancel Amount" prop="canamt">
<c-input v-model="model.canamt" :placeholder="$t('other.please_enter')+'Cancel Amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000007 : 平盘日期 -->
<c-col :span="12">
<el-form-item :label="$t('fxtlcn.S0000007')" prop="fxdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000007')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000018 : Account Bank -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fxtp.actp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fxtp.actp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!-- S0000008 : 起息日 -->
<c-col :span="12">
<el-form-item :label="$t('fxtlcn.S0000008')" prop="fxdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000008')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fxdgrp.act.pts.extkey">
<c-input v-model="model.fxdgrp.act.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fxtp.actp.ptsget.sdamod.seainf">
<c-input v-model="model.fxtp.actp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onActpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fxdgrp.act.pts.adrblk">
<c-input type="textarea" v-model="model.fxdgrp.act.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fxdgrp.act.dbfadrblkcn">
<c-input type="textarea" v-model="model.fxdgrp.act.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col> </c-col>
<!-- S0000009 : 备注 --> <c-col :span="14">
<c-form-item label-width="10px" prop="canamt">
<c-col :span="12"> <c-input v-model="model.canamt"></c-input>
<c-form-item :label="$t('fxtlcn.S0000009')" prop="fxdgrp.blk.remark"> </c-form-item>
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fxtlcn.S0000009')" ></c-input>
</c-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="24">
<c-checkbox v-model="model.mtabut.clsflg">{{$t('mtabut.CF000215')}}</c-checkbox> <c-form-item :label="$t('fxtlcn.平盘牌价')" prop="cancur">
</c-col> <c-select v-model="model.canamt" maxlength="3"></c-select>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item :label="$t('fxtlcn.中间价')" prop="cancur">
<c-select v-model="model.canamt" maxlength="3"></c-select>
</c-form-item>
</c-col>
<!-- S0000007 : 平盘日期 -->
<c-col :span="24">
<el-form-item :label="$t('fxtlcn.成交日')" prop="fxdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.fxdgrp.rec.opndat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000009 : 备注 -->
<c-col :span="24">
<c-form-item :label="$t('fxtlcn.备注')" prop="fxdgrp.blk.remark">
<c-input
type="textarea"
v-model="model.fxdgrp.blk.remark"
:rows="3"
maxlength="35"
show-word-limit
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="12">
<!-- S0000006 : 平盘对手 -->
<c-col :span="24">
<c-form-item
:label="$t('fxtlcn.平盘对手编号')"
prop="fxdgrp.apl.pts.ref"
>
<c-input v-model="model.fxdgrp.apl.pts.ref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item prop="fxdgrp.apl.pts.extkey">
<c-fullbox>
<c-input
v-model="model.fxdgrp.apl.pts.extkey"
maxlength="16"
></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 5px" type="primary">
i
</c-button>
<c-button size="small" style="margin-left: 5px" type="primary">
Details
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item prop="fxdgrp.apl.pts.adrblk">
<c-input
type="textarea"
v-model="model.fxdgrp.apl.pts.adrblk"
:rows="3"
maxlength="35"
show-word-limit
></c-input>
</c-form-item>
</c-col>
<!-- S0000008 : 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('fxtlcn.起息日')" prop="fxdgrp.rec.valdat">
<c-date-picker
type="date"
v-model="model.fxdgrp.rec.valdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import event from "../event";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data(){ data() {
return { return {};
},
} methods: {},
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="结售汇平盘销账">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fxtlcn PD000001 Cancellation --> <el-tab-pane label="概要" name="canp">
<el-tab-pane :label="$t('fxtlcn.PD000001')" name="canp">
<m-canp :model="model" :codes="codes"/> <m-canp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fxtlcn from "../model" import Fxtlcn from "../model"
import commonProcess from "~/mixin/commonProcess" import event from "../event";
import Check from "../model/Check" import operationFunc from "~/mixin/operationFunc";
import Default from "../model/Default" import commonDepend from "~/mixin/commonDepend";
import Pattern from "../model/Pattern" import buildFn from "../event/buildCommons.js";
import Canp from "./Canp" import Check from "../model/check";
import Canp from "./Canp"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
export default { export default {
name: "Fxtlcn", name: "Fxtlcn",
components:{ components:{
"m-canp" : Canp, "m-canp" : Canp,
"m-setpan": Setpan,
"m-docpan": Docpan
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc, commonDepend, event, buildFn],
data(){ data(){
return { return {
tabVal: "canp", tabVal: "canp",
trnName: "fxtlcn", trnName: "fxtlcn",
trnType: "", trnType: "",
model: new Fxtlcn().data, model: new Fxtlcn().data,
checkRules: Check, rules: Check,
defaultRules: Default, codes: { ...CodeTable },
pattern: Pattern,
rules: null,
codes: {
},
} }
}, },
methods:{ methods:{
......
...@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc"; ...@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import event from "../event"; import event from "../event";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js"; import Check from "../model/Check.js";
export default { export default {
name: "Fxtssb", name: "Fxtssb",
components: { components: {
......
...@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views"; ...@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import event from "../event"; import event from "../event";
import Check from "../model/check.js"; import Check from "../model/Check.js";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
export default { export default {
name: "Fxtsss", name: "Fxtsss",
......
...@@ -146,7 +146,7 @@ module.exports = { ...@@ -146,7 +146,7 @@ module.exports = {
configureWebpack: config => { configureWebpack: config => {
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
// 开发环境下的source map配置 // 开发环境下的source map配置
// config.devtool = 'source-map'; config.devtool = 'source-map';
} }
if (process.env.NODE_ENV === 'production') { if (process.env.NODE_ENV === 'production') {
// 将每个依赖包打包成单独的js文件 // 将每个依赖包打包成单独的js文件
......
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