Commit 22f30daa by liuxin

调试补充修改

parent 996f1a16
......@@ -31,7 +31,7 @@ export default {
submitUrl: '', // 提交 通过 打回
saveUrl: '', // 暂存
loadUrl: '' // loaddata
}
},
}
},
created: function () {
......
//
// /**
// * Ditopn Check规则
// */
// export default {
//
// "liaall.misamt" :[checkLiaallMisamtN100,],
// "liaall.limmod.limpts.oth.pts.extkey" :[checkLiaallLimmodLimptsOthPtsExtkeyN100,checkLiaallLimmodLimptsOthPtsExtkeyN950,checkLiaallLimmodLimptsOthPtsExtkeyN960,],
// "didgrp.apl.pts.ref" :[checkDidgrpAplPtsRefN100,],
// "didgrp.apl.pts.youzbm" :[checkDidgrpAplPtsYouzbmN100,],
// "ameadvrmk" :[checkAmeadvrmkN100,],
// "liaall.limmod.ownref" :[checkLiaallLimmodOwnrefN100,],
// "didgrp.rec.expplc" :[checkDidgrpRecExpplcN900,],
// "didgrp.rec.fqtime" :[checkDidgrpRecFqtimeN100,],
// "didgrp.adv.pts.bankno" :[checkDidgrpAdvPtsBanknoN100,],
// "didgrp.rec.tratyp" :[checkDidgrpRecTratypN100,],
// "liaall.limmod.ecifno" :[checkLiaallLimmodEcifnoN100,],
// "ditp.benp.ptsget.sdamod.dadsnd" :[checkDitpBenpPtsgetSdamodDadsndN100,],
// "didgrp.rec.revdat" :[checkDidgrpRecRevdatN100,],
// "didgrp.iss.pts.extkey" :[checkDidgrpIssPtsExtkeyN950,checkDidgrpIssPtsExtkeyN960,],
// "didgrp.rec.sdsrfs" :[checkDidgrpRecSdsrfsN100,],
// "didgrp.iss.pts.youzbm" :[checkDidgrpIssPtsYouzbmN1001,],
// "didgrp.rec.fqzytgfw" :[checkDidgrpRecFqzytgfwN100,],
// "didgrp.rec.conamt" :[checkDidgrpRecConamtN100,],
// "didgrp.apc.pts.bankno" :[checkDidgrpApcPtsBanknoN100,],
// "didgrp.rec.shppro" :[checkDidgrpRecShpproN100,],
// "didgrp.rec.shpto" :[checkDidgrpRecShptoN100,],
// "didgrp.ben.namelc" :[checkDidgrpBenNamelcN100,],
// "didgrp.cmb.pts.bankno" :[checkDidgrpCmbPtsBanknoN100,],
// "didgrp.rec.shppar" :[checkDidgrpRecShpparN100,],
// "liaall.limmod.othp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodOthpPtsgetSdamodDadsndN100,],
// "didgrp.rmb.adrelc" :[checkDidgrpRmbAdrelcN100,],
// "didgrp.apl.pts.extkey" :[checkDidgrpAplPtsExtkeyN950,checkDidgrpAplPtsExtkeyN960,],
// "didgrp.apb.pts.bankno" :[checkDidgrpApbPtsBanknoN100,],
// "didgrp.rec.rmbcha" :[checkDidgrpRecRmbchaN100,],
// "ditp.aplp.ptsget.sdamod.dadsnd" :[checkDitpAplpPtsgetSdamodDadsndN100,],
// "didgrp.avb.pts.bankno" :[checkDidgrpAvbPtsBanknoN100,],
// "didgrp.rmb.pts.extkey" :[checkDidgrpRmbPtsExtkeyN950,checkDidgrpRmbPtsExtkeyN960,],
// "setmod.dspflg" :[checkSetmodDspflgN100,checkSetmodDspflgN1100,checkSetmodDspflgN1200,],
// "didgrp.blk.revcls" :[checkDidgrpBlkRevclsN100,],
// "didgrp.rmb.pts.bankno" :[checkDidgrpRmbPtsBanknoN100,],
// "didgrp.ben.adrelc" :[checkDidgrpBenAdrelcN100,],
// "didgrp.rec.apprulrmb" :[checkDidgrpRecApprulrmbN100,],
// "didgrp.apl.pts.dihdig" :[checkDidgrpAplPtsDihdigN100,],
// "didgrp.rec.conno" :[checkDidgrpRecConnoN100,checkDidgrpRecConnoN1001,],
// "didgrp.blk.defdet" :[checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN1001,],
// "didgrp.rec.elcflg" :[checkDidgrpRecElcflgN100,],
// "didgrp.blk.insbnk" :[checkDidgrpBlkInsbnkN100,],
// "liaall.liaccv.totcovamt" :[checkLiaallLiaccvTotcovamtN100,],
// "didgrp.beb.pts.bankno" :[checkDidgrpBebPtsBanknoN100,],
// "didgrp.apl.pts.adrblk" :[checkDidgrpAplPtsAdrblkN950,],
// "didgrp.rec.lcrtyp" :[checkDidgrpRecLcrtypN900,],
// "didgrp.rec.shpfro" :[checkDidgrpRecShpfroN100,],
// "didgrp.rec.guaflg" :[checkDidgrpRecGuaflgN100,],
// "didgrp.iss.pts.bankno" :[checkDidgrpIssPtsBanknoN100,],
// "didgrp.blk.lcrgod" :[checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN1001,],
// "didgrp.rec.idcode" :[checkDidgrpRecIdcodeN100,],
// "didgrp.rec.fenctg" :[checkDidgrpRecFenctgN100,],
// "liaall.limmod.limpts.wrk.pts.extkey" :[checkLiaallLimmodLimptsWrkPtsExtkeyN100,checkLiaallLimmodLimptsWrkPtsExtkeyN950,checkLiaallLimmodLimptsWrkPtsExtkeyN960,],
// "didgrp.ben.pts.dihdig" :[checkDidgrpBenPtsDihdigN1004,],
// "didgrp.rec.shpdat" :[checkDidgrpRecShpdatN100,checkDidgrpRecShpdatN999,],
// "didgrp.cbs.nom1.cur" :[checkDidgrpCbsNom1CurN100,],
// "didgrp.iss.pts.dihdig" :[checkDidgrpIssPtsDihdigN1001,],
// "didgrp.apl.namelc" :[checkDidgrpAplNamelcN100,],
// "didgrp.rec.revtyp" :[checkDidgrpRecRevtypN100,],
// "didgrp.rmb.pts.adrblk" :[checkDidgrpRmbPtsAdrblkN950,],
// "mtabut.coninf.conexedat" :[checkMtabutConinfConexedatN100,],
// "didgrp.adv.pts.youzbm" :[checkDidgrpAdvPtsYouzbmN1003,],
// "didgrp.apl.pts.extact" :[checkDidgrpAplPtsExtactN100,],
// "didgrp.ben.pts.adrblk" :[checkDidgrpBenPtsAdrblkN950,],
// "liaall.limmod.limpts.nonrevflg1" :[checkLiaallLimmodLimptsNonrevflg1N100,],
// "didgrp.apc.pts.youzbm" :[checkDidgrpApcPtsYouzbmN1002,],
// "didgrp.ben.pts.youzbm" :[checkDidgrpBenPtsYouzbmN1004,],
// "didgrp.rec.opndat" :[checkDidgrpRecOpndatN100,checkDidgrpRecOpndatN950,],
// "didgrp.rec.avbby" :[checkDidgrpRecAvbbyN100,],
// "didgrp.rec.mytype" :[checkDidgrpRecMytypeN100,],
// "ditp.usr.extkey" :[checkDitpUsrExtkeyN100,],
// "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodWrkpPtsgetSdamodDadsndN100,],
// "ditp.recget.sdamod.dadsnd" :[checkDitpRecgetSdamodDadsndN100,],
// "didgrp.apc.pts.dihdig" :[checkDidgrpApcPtsDihdigN1002,],
// "didgrp.adv.pts.extkey" :[checkDidgrpAdvPtsExtkeyN100,checkDidgrpAdvPtsExtkeyN950,checkDidgrpAdvPtsExtkeyN960,],
// "didgrp.rmb.namelc" :[checkDidgrpRmbNamelcN100,],
// "setmod.docamt" :[checkSetmodDocamtN100,checkSetmodDocamtN15000,],
// "didgrp.adv.pts.dihdig" :[checkDidgrpAdvPtsDihdigN1003,],
// "didgrp.rec.expdat" :[checkDidgrpRecExpdatN100,],
// "didgrp.ben.pts.extkey" :[checkDidgrpBenPtsExtkeyN950,checkDidgrpBenPtsExtkeyN960,],
// "liaall.liaccv.cshpct" :[checkLiaallLiaccvCshpctN100,],
// "didgrp.rec.avbwth" :[checkDidgrpRecAvbwthN100,checkDidgrpRecAvbwthN900,],
// "didgrp.blk.lcrdoc" :[checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN1001,],
// "didgrp.rec.tenmaxday" :[checkDidgrpRecTenmaxdayN1000,checkDidgrpRecTenmaxdayN1050,],
// "didgrp.cbs.nom1.amt" :[checkDidgrpCbsNom1AmtN100,],
// "didgrp.blk.preper" :[checkDidgrpBlkPreperN100,checkDidgrpBlkPreperN100,],
// "didgrp.apl.adrelc" :[checkDidgrpAplAdrelcN100,],
// "ditp.rmbp.ptsget.sdamod.dadsnd" :[checkDitpRmbpPtsgetSdamodDadsndN100,],
// "didgrp.ben.pts.extact" :[checkDidgrpBenPtsExtactN1001,],
// "didgrp.blk.adlcnd" :[checkDidgrpBlkAdlcndN100,checkDidgrpBlkAdlcndN100,],
// "litameadv" :[checkLitameadvN100,],
// "liaall.liaccv.relcshpct" :[checkLiaallLiaccvRelcshpctN100,],
// }
// /**
// * source:liaall.@0019.script
// * liaall
// */
// function checkLiaallMisamtN100()
// {
//
// if( model.misamt != 0 )
// {
// Utils.errorMessage( "#CT000030", model.concur, Utils.fmtAmount( model.misamt, model.concur ) );
// }
//
//
// }
// /**
// * source:limmod.@0005.script
// * liaall.limmod
// */
// function checkLiaallLimmodLimptsOthPtsExtkeyN100()
// {
//
// if( Utils.isVisible( model.limpts.oth.pts.extkey ) && Utils.IsEnabled( model.limpts.oth.pts.extkey ) )
// {
// if( Utils.isEmpty(model.limpts.oth.pts.extkey) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * liaall.limmod.othp.ptsget
// */
// function checkLiaallLimmodLimptsOthPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * liaall.limmod.othp
// */
// function checkLiaallLimmodLimptsOthPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0104.script
// *
// */
// function checkDidgrpAplPtsRefN100()
// {
//
// if( Utils.isEmpty(model.didgrp.apl.pts.ref) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ditopn.@0121.script
// *
// */
// function checkDidgrpAplPtsYouzbmN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apl.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0092.script
// *
// */
// function checkAmeadvrmkN100()
// {
//
// if( model.litameadv == "有特殊规定,条件为: " && Utils.isEmpty( model.ameadvrmk ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:limmod.@0097.script
// * liaall.limmod
// */
// function checkLiaallLimmodOwnrefN100()
// {
//
// if( needRecalcLimits() && model.inifrm == "LITROG" )
// {
// if( Utils.isEmpty(model.ownref) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0027.script
// * ditp
// */
// function checkDidgrpRecExpplcN900()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.expplc ) )
// {
// Utils.errorMandatory();
// }
// }
// }
// let frame = model.sysmod.atp.cod;
// let len = 0;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.expplc );
// if( ! Utils.isEmpty( model.didgrp.rec.expplc ) )
// {
// if( len > 100 )
// {
// Utils.errorMessage( #CT000077 );
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0088.script
// * ditp
// */
// function checkDidgrpRecFqtimeN100()
// {
//
// let frame = model.sysmod.atp.cod;
// let len = 0;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.fqtime ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.fqtime );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000078 );
// }
// }
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.advp
// */
// function checkDidgrpAdvPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0106.script
// *
// */
// function checkDidgrpRecTratypN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( model.didgrp.rec.mytype == "H" || model.didgrp.rec.mytype == "3" )
// {
// if( Utils.isEmpty( model.didgrp.rec.tratyp ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:limmod.@0085.script
// * liaall.limmod
// */
// function checkLiaallLimmodEcifnoN100()
// {
//
// if( model.wrkp.ptspta.ptytyp == "B" )
// {
// if( Utils.isEmpty(model.ecifno) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0001.script
// * ditp.benp.ptsget
// */
// function checkDitpBenpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ditp.@0040.script
// * ditp
// */
// function checkDidgrpRecRevdatN100()
// {
//
// if( Utils.IsEnabled( model.didgrp.rec.revdat ) )
// {
// if( model.didgrp.rec.revtyp == "REVPER" && Utils.isEmpty( model.didgrp.rec.revdat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.revawapl ) )
// {
// Utils.errorMessage( #CT000005 );
// }
// }
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * ditp.issp.ptsget
// */
// function checkDidgrpIssPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.issp
// */
// function checkDidgrpIssPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0092.script
// * ditp
// */
// function checkDidgrpRecSdsrfsN100()
// {
//
// /**
// model.frame = \SYSMOD\ATP\COD
// **/
// let len = 0;
// if( ! Utils.isEmpty( model.didgrp.rec.sdsrfs ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.sdsrfs );
// if( len > 20 )
// {
// Utils.errorMessage( #CT000082 );
// }
// }
// else
// {
// /**
// if DIDGRP\REC\TRATYP == "08" then
// **/
// if( model.didgrp.rec.tratyp == "08" || model.didgrp.rec.mytype == "F" )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0124.script
// *
// */
// function checkDidgrpIssPtsYouzbmN1001()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.iss.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditp.@0082.script
// * ditp
// */
// function checkDidgrpRecFqzytgfwN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( model.didgrp.rec.shppar == "Y" || model.didgrp.rec.shppar == "允许" )
// {
// if( Utils.isEmpty( model.didgrp.rec.fqzytgfw ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0029.script
// * ditp
// */
// function checkDidgrpRecConamtN100()
// {
//
// /**
// if DIDGRP\REC\ELCFLG == "Y" then
// model.frame = \SYSMOD\ATP\COD
// if model.frame == "DITOPN" or model.frame == "DITAME" then
// model.str = Str( DIDGRP\REC\CONAMT )
// model.pos = Pos( model.str, "." )
// model.left = Mid( model.str, 1, model.pos - 1 )
// model.right = Mid( model.str, model.pos + 3 )
// if Len( model.left ) > 14 then
// Error( 'L0000083' )
// endif
// if Val( model.right ) <> 0 then
// Error( 'L0000084' )
// endif
// endif
// endi**/
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.apcp
// */
// function checkDidgrpApcPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0091.script
// * ditp
// */
// function checkDidgrpRecShpproN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.shppro ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shppro );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000081 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0090.script
// * ditp
// */
// function checkDidgrpRecShptoN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.shpto ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shpto );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000080 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ptsp.@0038.script
// * ditp.benp
// */
// function checkDidgrpBenNamelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0031.script
// * ditp.cmbp
// */
// function checkDidgrpCmbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0108.script
// *
// */
// function checkDidgrpRecShpparN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.shppar ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0001.script
// * liaall.limmod.othp.ptsget
// */
// function checkLiaallLimmodOthpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ptsp.@0039.script
// * ditp.rmbp
// */
// function checkDidgrpRmbAdrelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsget.@0009.script
// * ditp.aplp.ptsget
// */
// function checkDidgrpAplPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.aplp
// */
// function checkDidgrpAplPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0031.script
// * ditp.apbp
// */
// function checkDidgrpApbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0035.script
// * ditp
// */
// function checkDidgrpRecRmbchaN100()
// {
//
// //------------------------
// /**
// // as Tag 71A is not mandatory in MT740 this rule may be removed or amended by supporter
// if DIDGRP\REC\RMBFLG == "Y" and PANSTA == PanStaEdit then
// if IsEmpty( DIDGRP\REC\RMBCHA ) then
// ErrorMandatory
// endif
// endi**/
//
//
// }
// /**
// * source:ptsget.@0001.script
// * ditp.aplp.ptsget
// */
// function checkDitpAplpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.avbp
// */
// function checkDidgrpAvbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsget.@0009.script
// * ditp.rmbp.ptsget
// */
// function checkDidgrpRmbPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.rmbp
// */
// function checkDidgrpRmbPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:setmod.@0076.script
// * setmod
// */
// function checkSetmodDspflgN100()
// {
//
// //! DSPFLG is mandatory if enabled
// if( Utils.IsEnabled( model.dspflg ) && Utils.isEmpty( model.dspflg ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:setmod.@0090.script
// * setmod
// */
// function checkSetmodDspflgN1100()
// {
//
// if( Utils.isVisible( model.setpan ) && Utils.IsEnabled( model.dspflg ) )
// {
// if( model.dspflg.equals ( "C" ) )
// {
// if( model.setglg.totamt <= 0 )
// {
// Utils.errorMessage( #CT000423 );
// }
// }
// }
//
//
// }
// /**
// * source:setmod.@0146.script
// * setmod
// */
// function checkSetmodDspflgN1200()
// {
//
// boolean wrnSet = false;
// let rolTxt = "";
// IStream rolStm = new StreamImpl();
// Utils.streamClear( rolStm );
// let gridcnt = Utils.gridCount( model.trnmod.trndoc.doceot );
// for(let i = 1;i <= gridcnt;i++)
// {
// if( model.trnmod.trndoc.doceot[i].cortyp == "SWT" && Utils.streamSearch( rolStm, model.trnmod.trndoc.doceot[i].role ) == 0 )
// {
// Utils.streamInsert( rolStm, 0, model.trnmod.trndoc.doceot[i]\role );
// }
// }
// if( ! Utils.isEmpty( rolStm ) )
// {
// gridcnt = Utils.gridCount( model.setfeg.setfel );
// //DSP为"V"的状态光大封掉了
// /**
// for model.idx = 1 to $Gridcnt
// if SETFEG\SETFEL( model.idx )\DSP.is ( "V" ) and StreamSearch( $RolStm, SETFEG\SETFEL( model.idx )\rol ) > 0 then
// $WrnSet = TRUE
// model.rolTxt = GetAnyRolNam( \, RecGetObj( \MTABUT\REC ), SETFEG\SETFEL( model.idx )\rol, GetUIL )
// endif
// next
// **/
// if( ! wrnSet )
// {
// gridcnt = Utils.gridCount( model.setfog.setfol );
// for(let idx = 1;idx <= gridcnt;idx++)
// {
// if( model.setfog.setfol[idx]\dsp.equals ( "V" ) && Utils.streamSearch( rolStm, model.setfog.setfol[idx]\ptydbt ) > 0 )
// {
// wrnSet = true;
// rolTxt = model.trnmod.ptsmod.ptssub.getAnyRolNam( $\, Utils.recGetObj( model.mtabut.rec ), model.setfog.setfol[idx]\ptydbt, Utils.getLang() );
// }
// }
// }
// }
// if( ! wrnSet )
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, "", "" );
// }
// else
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, Utils.getText( #CT000429, rolTxt ), "" );
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.revclause
// */
// function checkDidgrpBlkRevclsN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.rmbp
// */
// function checkDidgrpRmbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0039.script
// * ditp.benp
// */
// function checkDidgrpBenAdrelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0043.script
// * ditp
// */
// function checkDidgrpRecApprulrmbN100()
// {
//
// /**
// if PANSTA == PanStaEdit and \TRNMOD.IsSftRelNov06Active then
// if not IsEmpty( DIDGRP\REC\RMBFLG ) then
// if IsEmpty( DIDGRP\REC\APPRULRMB ) then
// ErrorMandatory
// endif
// endif
// endi**/
//
//
// }
// /**
// * source:ditopn.@0122.script
// *
// */
// function checkDidgrpAplPtsDihdigN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apl.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0112.script
// *
// */
// function checkDidgrpRecConnoN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.conno ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0103.script
// * ditp
// */
// function checkDidgrpRecConnoN1001()
// {
//
// let frame = null;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.conno ) )
// {
// if( Utils.len( model.didgrp.rec.conno ) > 70 )
// {
// Utils.errorMessage( #CT000090 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.defdet
// */
// function checkDidgrpBlkDefdetN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditp.@0047.script
// * ditp
// */
// function checkDidgrpBlkDefdetN100()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( ( model.didgrp.rec.avbby == "D" ) && Utils.isEmpty( model.didgrp.blk.defdet ) )
// {
// Utils.errorMessage( #CT000020 );
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0104.script
// * ditp
// */
// function checkDidgrpBlkDefdetN1001()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.defdet ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.defdet );
// if( len > 60 )
// {
// Utils.errorMessage( #CT000091 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0118.script
// *
// */
// function checkDidgrpRecElcflgN100()
// {
//
// if( Utils.isEmpty(model.didgrp.rec.elcflg) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.insbnk
// */
// function checkDidgrpBlkInsbnkN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:liaccv.@0016.script
// * liaall.liaccv
// */
// function checkLiaallLiaccvTotcovamtN100()
// {
//
// //! The cover amount is not restricted to open amount of contract
// // Remove the following and the last line if you want to activate that restriction
// /**
// if NEWAMT == 0 then
// if TOTCOVAMT > NEWAMT then
// Error( 'LF000010' )
// endif
// endi**/
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.bebp
// */
// function checkDidgrpBebPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0014.script
// * ditp.aplp
// */
// function checkDidgrpAplPtsAdrblkN950()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0026.script
// * ditp
// */
// function checkDidgrpRecLcrtypN900()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.lcrtyp ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0089.script
// * ditp
// */
// function checkDidgrpRecShpfroN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.shpfro ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shpfro );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000079 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0079.script
// *
// */
// function checkDidgrpRecGuaflgN100()
// {
//
// if( Utils.isEmpty( model.didgrp.rec.guaflg ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.issp
// */
// function checkDidgrpIssPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:txmmod.@0009.script
// * ditp.lcrgod
// */
// function checkDidgrpBlkLcrgodN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditopn.@0109.script
// *
// */
// function checkDidgrpBlkLcrgodN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.blk.lcrgod ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0100.script
// * ditp
// */
// function checkDidgrpBlkLcrgodN1001()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.lcrgod ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.lcrgod );
// if( len > 2000 )
// {
// Utils.errorMessage( #CT000087 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0115.script
// *
// */
// function checkDidgrpRecIdcodeN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty(model.didgrp.rec.idcode) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0111.script
// *
// */
// function checkDidgrpRecFenctgN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.fenctg ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:limmod.@0099.script
// * liaall.limmod
// */
// function checkLiaallLimmodLimptsWrkPtsExtkeyN100()
// {
//
// if( Utils.isVisible( model.limpts.wrk.pts.extkey ) && Utils.IsEnabled( model.limpts.wrk.pts.extkey ) )
// {
// if( ! Utils.isEmpty(model.limpts.wrk.pts.extkey) )
// {
// if( model.limpts.wrk.pta.ptytyp == "C" )
// {
// if( Utils.mid( model.extid, 1, 1 ) == "B" )
// {
// Utils.error( model.ptyextkey, #CT000034 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * liaall.limmod.wrkp.ptsget
// */
// function checkLiaallLimmodLimptsWrkPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * liaall.limmod.wrkp
// */
// function checkLiaallLimmodLimptsWrkPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0131.script
// *
// */
// function checkDidgrpBenPtsDihdigN1004()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.ben.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0107.script
// *
// */
// function checkDidgrpRecShpdatN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0002.script
// *
// */
// function checkDidgrpRecShpdatN999()
// {
//
// if( ! Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// // If not DATEDIFF( DIDGRP\REC\SHPDAT, DIDGRP\REC\OPNDAT) > 0 then
// // error( `This date must not be before the issuance date`)
// // EndIf
// if( ! Utils.isEmpty( model.didgrp.rec.expdat ) )
// {
// if( !( Utils.diff( model.didgrp.rec.shpdat, model.didgrp.rec.expdat ) <= 0) )
// {
// /**
// Error( 'L0000058' )
// **/
// Utils.errorMessage( #CT000626 );
// }
// }
// }
// if( ! Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// Utils.disable( model.didgrp.blk.shpper );
// }
// else
// {
// Utils.enable( model.didgrp.blk.shpper );
// }
//
//
// }
// /**
// * source:ditopn.@0005.script
// *
// */
// function checkDidgrpCbsNom1CurN100()
// {
//
// if( Utils.isEmpty( model.didgrp.cbs.nom1.cur ) )
// {
// Utils.errorMandatory();
// }
// else
// {
// Argument<Double> rat = new Argument<Double>();
// Argument<Double> sqrrat = new Argument<Double>();
// model.cbsmod.xrtmod.getrat ( model.cbsmod.xrtmod.sysiso(), model.didgrp.cbs.nom1.cur, "M", Utils.today(), rat, sqrrat );
// if( Utils.isEmpty( rat ) )
// {
// Utils.errorMessage( #CT000353, model.didgrp.cbs.nom1.cur );
// }
// }
// if( model.ditp.dflg == #CT000554 )
// {
// model.ditp.aamp.aammod.curchange ( model.sysmod.atp.bus );
// }
//
//
// }
// /**
// * source:ditopn.@0125.script
// *
// */
// function checkDidgrpIssPtsDihdigN1001()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.iss.pts.dihdig );
// }
//
//
// }
// /**
// * source:ptsp.@0038.script
// * ditp.aplp
// */
// function checkDidgrpAplNamelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0039.script
// * ditp
// */
// function checkDidgrpRecRevtypN100()
// {
//
// if( Utils.IsEnabled( model.didgrp.rec.revtyp ) && Utils.isEmpty( model.didgrp.rec.revtyp ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ptsp.@0014.script
// * ditp.rmbp
// */
// function checkDidgrpRmbPtsAdrblkN950()
// {
// BGSERVICE
// }
// /**
// * source:coninf.@0014.script
// * mtabut.coninf
// */
// function checkMtabutConinfConexedatN100()
// {
//
// if( ! Utils.isEmpty( model.conexedat ) )
// {
// if( Utils.diff(model.conexedat , Utils.today())<0 )
// {
// Utils.errorMessage( #CT000013 );
// }
// }
//
//
// }
// /**
// * source:ditopn.@0128.script
// *
// */
// function checkDidgrpAdvPtsYouzbmN1003()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.adv.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0123.script
// *
// */
// function checkDidgrpAplPtsExtactN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apl.pts.extact );
// }
//
//
// }
// /**
// * source:ptsp.@0014.script
// * ditp.benp
// */
// function checkDidgrpBenPtsAdrblkN950()
// {
// BGSERVICE
// }
// /**
// * source:limpts.@0000.script
// * liaall.limmod.limpts
// */
// function checkLiaallLimmodLimptsNonrevflg1N100()
// {
//
// if( model.liaall.limmod.needRecalcLimits() )
// {
// if( Utils.IsEnabled( model.nonrevflg1 ) && Utils.isEmpty( model.nonrevflg1 ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0126.script
// *
// */
// function checkDidgrpApcPtsYouzbmN1002()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apc.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0130.script
// *
// */
// function checkDidgrpBenPtsYouzbmN1004()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.ben.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0027.script
// *
// */
// function checkDidgrpRecOpndatN100()
// {
//
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.mtabut.coninf.conexedat ) )
// {
// if( Utils.diff(model.didgrp.rec.opndat , Utils.today())>0 )
// {
// Utils.errorMessage( #CT000385 );
// }
// }
// else
// {
// if( Utils.diff(model.didgrp.rec.opndat , model.mtabut.coninf.conexedat)>0 )
// {
// Utils.errorMessage( #CT000392 );
// }
// }
// }
// if( Utils.diff(model.didgrp.rec.opndat , model.mtabut.coninf.conexedat)<0 )
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, #CT000393, "OPNEXEDAT" );
// }
// else
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, "", "OPNEXEDAT" );
// }
//
//
// }
// /**
// * source:ditp.@0028.script
// * ditp
// */
// function checkDidgrpRecOpndatN950()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( !model.sysmod.atp.cod == "DITPOP" && !model.sysmod.atp.cod == "DITADD" )
// {
// if( Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0030.script
// *
// */
// function checkDidgrpRecAvbbyN100()
// {
//
// if( Utils.isEmpty( model.didgrp.rec.avbby ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ditp.@0077.script
// * ditp
// */
// function checkDidgrpRecMytypeN100()
// {
//
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.mytype ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0012.script
// * ditp
// */
// function checkDitpUsrExtkeyN100()
// {
//
// // The Responsible User has to be set
// if( model.pansta == PanStaAdd || model.pansta == PanStaEdit )
// {
// if( Utils.isEmpty( model.usr.extkey ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0001.script
// * liaall.limmod.wrkp.ptsget
// */
// function checkLiaallLimmodWrkpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:didget.@0001.script
// * ditp.recget
// */
// function checkDitpRecgetSdamodDadsndN100()
// {
//
// //! check whether take is allowed on Drag&Drop sender
// if( Utils.isEmpty( model.did.inr ) )
// {
// Utils.errorMessage( #CT000001 );
// }
//
//
// }
// /**
// * source:ditopn.@0127.script
// *
// */
// function checkDidgrpApcPtsDihdigN1002()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apc.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0022.script
// *
// */
// function checkDidgrpAdvPtsExtkeyN100()
// {
//
// //-----国内证银行角色的栏位移到业务表中-----
// if( ! model.didgrp.adv.isRolSet() )
// {
// Utils.error( model.ditp.didgrp.adv.pts.extkey, #CT000394 );
// }
// if( Utils.isEmpty( model.ditp.didgrp.adv.pts.extkey ) )
// {
// Utils.errorMandatory();
// }
// /**
// if not DIDGRP\ADV.IsRolSet then
// if not DIDGRP\ADV.IsRolSet and not DIDGRP\BEN.IsRolSet then
// ErrorOnField( DITP\DIDGRP\ADV\PTS\EXTKEY, 'LF000633' )
// endif
// endi**/
//
//
// }
// /**
// * source:ptsget.@0009.script
// * ditp.advp.ptsget
// */
// function checkDidgrpAdvPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.advp
// */
// function checkDidgrpAdvPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0038.script
// * ditp.rmbp
// */
// function checkDidgrpRmbNamelcN100()
// {
// BGSERVICE
// }
// /**
// * source:setmod.@0016.script
// * setmod
// */
// function checkSetmodDocamtN100()
// {
//
// let difAmt = 0;
// if( model.docamt > model.opnamt )
// {
// difAmt = model.docamt - model.opnamt;
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, Utils.getText( #CT000308, model.doccur + " " + Utils.fmtAmount( difAmt, model.doccur ) ), "WrnDOCAMT" );
// }
// else
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, "", "WrnDOCAMT" );
// }
// if( model.docamt < 0 )
// {
// Utils.errorMessage( #CT000309 );
// }
//
//
// }
// /**
// * source:liaall.@0036.script
// * liaall
// */
// function checkSetmodDocamtN15000()
// {
//
// if( liaallParFound( "TENCBT", "CBTPFX" ) )
// {
// if( model.setmod.docamt > model.liaall.tensetamt )
// {
// Utils.errorMessage( #CT000032, model.liaall.concur, Utils.fmtAmount( model.liaall.tensetamt, model.liaall.concur ) );
// }
// }
//
//
// }
// /**
// * source:ditopn.@0129.script
// *
// */
// function checkDidgrpAdvPtsDihdigN1003()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.adv.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0003.script
// *
// */
// function checkDidgrpRecExpdatN100()
// {
//
// if( Utils.isEmpty( model.didgrp.rec.expdat ) )
// {
// Utils.errorMandatory();
// Utils.exitEvent();
// }
// if( ! Utils.isEmpty( model.didgrp.rec.expdat ) )
// {
// if( !( Utils.diff( model.didgrp.rec.expdat, model.didgrp.rec.opndat ) > 0) )
// {
// Utils.errorMessage( #CT000059 );
// Utils.exitEvent();
// }
// }
// if( ! Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// if( !( Utils.diff( model.didgrp.rec.expdat, model.didgrp.rec.shpdat ) >= 0) )
// {
// Utils.errorMessage( #CT000060 );
// Utils.exitEvent();
// }
// }
// /**
// if GetUIL == "CN" then
// model.allow = 180
// // if DIDGRP\REC\AVBBY = "P" then
// model.dur = DateDiff( DIDGRP\REC\EXPDAT, DIDGRP\REC\OPNDAT )
// if model.dur > model.allow then
// PromptOK( 'L0000555' )
// endif
// **/
// let allow = 0;
// let dur = 0;
// if( Utils.getLang() == "CN" )
// {
// allow = 366;
// dur = Utils.diff( model.didgrp.rec.expdat, model.didgrp.rec.opndat );
// if( dur > allow )
// {
// if( model.didgrp.rec.elcflg == "Y" )
// {
// Utils.errorMessage( #CT000634 );
// }
// else
// {
// Utils.message( #CT000625 );
// }
// }
// /**
// else
// model.dur = DateDiff( DIDGRP\REC\EXPDAT, DIDGRP\REC\SHPDAT )
// if model.dur > model.allow then
// PromptOK( 'L0000595' )
// endif
// endif
// **/
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * ditp.benp.ptsget
// */
// function checkDidgrpBenPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.benp
// */
// function checkDidgrpBenPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:liaccv.@0025.script
// * liaall.liaccv
// */
// function checkLiaallLiaccvCshpctN100()
// {
//
// //收取保证金后 保证金应收比例必输
// /**
// if IsEmpty( CSHPCT ) and not IsEmpty( RELCSHPCT ) then
// ErrorMandatory
// endif
// **/
//
//
// }
// /**
// * source:ditp.@0024.script
// * ditp
// */
// function checkDidgrpRecAvbwthN100()
// {
//
// /**
// if PANSTA == PanStaEdit then
// if not IsEmpty( DIDGRP\REC\OPNDAT ) then
// if IsEmpty( DIDGRP\ADV\PTS\EXTKEY ) and DIDGRP\REC\AVBWTH == "A" then
// Error( 'L0000018' )
// endif
// endif
// endi**/
//
//
// }
// /**
// * source:ditp.@0046.script
// * ditp
// */
// function checkDidgrpRecAvbwthN900()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// /**
// if IsEmpty( DIDGRP\REC\AVBWTH ) and IsEmpty( DIDGRP\AVB\PTS\EXTKEY ) then
// ErrorMandatory
// endif
// **/
// if( model.didgrp.rec.fenctg == "Y" )
// {
// /**
// if IsEmpty( DIDGRP\REC\AVBWTH ) and IsEmpty( DIDGRP\AVB\PTS\EXTKEY ) then
// **/
// if( Utils.isEmpty( model.didgrp.rec.avbwth ) )
// {
// Utils.errorMandatory();
// }
// }
// }
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.lcrdoc
// */
// function checkDidgrpBlkLcrdocN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditopn.@0110.script
// *
// */
// function checkDidgrpBlkLcrdocN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.blk.lcrdoc ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0101.script
// * ditp
// */
// function checkDidgrpBlkLcrdocN1001()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.lcrdoc ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.lcrdoc );
// if( len > 2000 )
// {
// Utils.errorMessage( #CT000088 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0044.script
// *
// */
// function checkDidgrpRecTenmaxdayN1000()
// {
//
// //>>> FRA.000004 ZL: 从501移植过来----------
// if( !model.didgrp.rec.avbby == "P" )
// {
// if( model.didgrp.rec.tenmaxday == 0 )
// {
// Utils.errorMandatory();
// }
// }
// //<<< FRA.000004 ZL
//
//
// }
// /**
// * source:ditp.@0049.script
// * ditp
// */
// function checkDidgrpRecTenmaxdayN1050()
// {
//
// //>>> FRA.000004 ZL: 从501移植过来----------
// if( model.didgrp.rec.tenmaxday < 0 )
// {
// Utils.errorMessage( #CT000047 );
// }
// //<<< FRA.000004 ZL
// if( Utils.getLang() == "CN" )
// {
// /**
// if DIDGRP\REC\TENMAXDAY > 180 then
// PromptOK( 'LG000049' )
// endif
// **/
// if( model.didgrp.rec.tenmaxday > 366 )
// {
// if( model.didgrp.rec.elcflg == "Y" )
// {
// Utils.errorMessage( #CT000086 );
// }
// else
// {
// Utils.message( #CT000069, #CT000073 );
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0006.script
// *
// */
// function checkDidgrpCbsNom1AmtN100()
// {
//
// Utils.errorPositiveAmtOnly( model.didgrp.cbs.nom1.amt );
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.preper
// */
// function checkDidgrpBlkPreperN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditp.@0083.script
// * ditp
// */
// function checkDidgrpBlkPreperN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.blk.preperflg == "X" )
// {
// if( Utils.isEmpty( model.didgrp.blk.preper ) )
// {
// Utils.errorMandatory();
// }
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.preper ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.preper );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000074 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ptsp.@0039.script
// * ditp.aplp
// */
// function checkDidgrpAplAdrelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsget.@0001.script
// * ditp.rmbp.ptsget
// */
// function checkDitpRmbpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ditopn.@0132.script
// *
// */
// function checkDidgrpBenPtsExtactN1001()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.ben.pts.extact );
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.adlcnd
// */
// function checkDidgrpBlkAdlcndN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditp.@0102.script
// * ditp
// */
// function checkDidgrpBlkAdlcndN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.adlcnd ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.adlcnd );
// if( len > 2000 )
// {
// Utils.errorMessage( #CT000089 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0090.script
// *
// */
// function checkLitameadvN100()
// {
//
// //2009新需求,收单行的check自行设置
// if( ! Utils.conCheck() )
// {
// Utils.exitEvent();
// }
// if( Utils.isEmpty( model.litameadv ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:liaccv.@0024.script
// * liaall.liaccv
// */
// function checkLiaallLiaccvRelcshpctN100()
// {
//
// let frm = Utils.getTransName();
// let maxamt = 0;
// switch( frm )
// {
// case "LITOPN":
// case "LITAME":
// case "LITENG":
// case "LITROP":
// case "BRTSET":
// case "GITOPN":
// case "GITAME":
// case "GITROP":
// case "GITENG":
// case "GITSET":
// case "LITDLA":
// case "BRTLAT":
// case "LITROG":
// case "BRTUDP":
// case "DITOPN":
// case "DITAME":
// case "DITENG":
// case "BDTSET":
// case "BDTUDP":
// case "DITDLA":
// case "DITODZ":
// /**
// //---ysp---
// case "LITOPN", "LITAME", "LITENG", "LITROP", "BRTSET", "GITOPN", "GITAME", "GITROP", "GITENG", "GITSET", "LITDLA", "BRTLAT", "LITROG", "BRTUDP", "DITOPN", "DITAME", "DITENG", "BDTSET", "BDTUDP", "DITDLA"
// **/
// if( ! Utils.isEmpty( model.relcshpct ) )
// {
// if( model.relcshpct < model.cshpct )
// {
// Utils.errorMessage( #CT000019 );
// }
// }
// else
// {
// maxamt = model.oldamt + model.chgamt;
// if( maxamt > 0 )
// {
// if( model.relcshpct < model.cshpct )
// {
// Utils.errorMessage( #CT000021 );
// }
// }
// }
// break;
// }
//
//
// }
/**
* Ditopn Default规则
*/
export default {
"didgrp.rec.resflg" :defaultDidgrpRecResflg,
"mtabut.coninf.usr.extkey" :defaultMtabutConinfUsrExtkey,
"didgrp.apc.pts.bankno" :defaultDidgrpApcPtsBankno,
"trnmod.trndoc.advnam" :defaultTrnmodTrndocAdvnam,
"ditp.rmbp.det" :defaultDitpRmbpDet,
"liaall.limmod.limpts.oth.pts.nam" :defaultLiaallLimmodLimptsOthPtsNam,
"didgrp.rmb.pts.extkey" :defaultDidgrpRmbPtsExtkey,
"setmod.dspflg" :defaultSetmodDspflg,
"liaall.limmod.othp.det" :defaultLiaallLimmodOthpDet,
"mtabut.coninf.oitinf.labinftxt" :defaultMtabutConinfOitinfLabinftxt,
"mtabut.coninf.oitset.labinftxt" :defaultMtabutConinfOitsetLabinftxt,
"ditp.benp.det" :defaultDitpBenpDet,
"liaall.limmod.limpts.lsh" :defaultLiaallLimmodLimptsLsh,
"didgrp.rec.bdflg" :defaultDidgrpRecBdflg,
"ditp.lcrgod.buttxmsel" :defaultDitpLcrgodButtxmsel,
"didgrp.rec.opndat" :defaultDidgrpRecOpndat,
"liaall.limmod.wrkp.det" :defaultLiaallLimmodWrkpDet,
"ditp.usr.extkey" :defaultDitpUsrExtkey,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :defaultLiaallLimmodWrkpPtsgetSdamodDadsnd,
"ditp.butgetref" :defaultDitpButgetref,
"didgrp.ben.pts.extkey" :defaultDidgrpBenPtsExtkey,
"didgrp.blk.lcrdoc" :defaultDidgrpBlkLcrdoc,
"ditp.rmbp.ptsget.sdamod.dadsnd" :defaultDitpRmbpPtsgetSdamodDadsnd,
"litameadv" :defaultLitameadv,
"didgrp.blk.adlcnd" :defaultDidgrpBlkAdlcnd,
"didgrp.apl.pts.ref" :defaultDidgrpAplPtsRef,
"didgrp.rec.fqtime" :defaultDidgrpRecFqtime,
"didgrp.cmb.pts.bankno" :defaultDidgrpCmbPtsBankno,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :defaultLiaallLimmodOthpPtsgetSdamodDadsnd,
"didgrp.apb.pts.bankno" :defaultDidgrpApbPtsBankno,
"didgrp.rec.redclsflg" :defaultDidgrpRecRedclsflg,
"didgrp.rec.concur" :defaultDidgrpRecConcur,
"liaall.limmod.trycal" :defaultLiaallLimmodTrycal,
"trnmod.trndoc.advlabel" :defaultTrnmodTrndocAdvlabel,
"liaall.liaccv.del" :defaultLiaallLiaccvDel,
"didgrp.iss.pts.bankno" :defaultDidgrpIssPtsBankno,
"liaall.butmissig" :defaultLiaallButmissig,
"ditp.revclause.buttxmsel" :defaultDitpRevclauseButtxmsel,
"didgrp.cbs.nom1.cur" :defaultDidgrpCbsNom1Cur,
"setmod.zmqacc" :defaultSetmodZmqacc,
"ditp.amt" :defaultDitpAmt,
"didgrp.rec.mytype" :defaultDidgrpRecMytype,
"setmod.xreflg" :defaultSetmodXreflg,
"didgrp.rec.avbwth" :defaultDidgrpRecAvbwth,
"didgrp.rmb.pts.ref" :defaultDidgrpRmbPtsRef,
"mtabut.coninf.oitinf.oit.inflev" :defaultMtabutConinfOitinfOitInflev,
"liaall.liaccv.relcshpct" :defaultLiaallLiaccvRelcshpct,
"didgrp.rec.expplc" :defaultDidgrpRecExpplc,
"didgrp.adv.pts.bankno" :defaultDidgrpAdvPtsBankno,
"didgrp.ben.pts.ref" :defaultDidgrpBenPtsRef,
"didgrp.rec.sdsrfs" :defaultDidgrpRecSdsrfs,
"trnmod.trndoc.advdoc" :defaultTrnmodTrndocAdvdoc,
"liaall.liaccv.newamt" :defaultLiaallLiaccvNewamt,
"didgrp.rec.shppar" :defaultDidgrpRecShppar,
"liaall.limmod.limpts.pfcod2" :defaultLiaallLimmodLimptsPfcod2,
"liaall.limmod.limpts.pfcod1" :defaultLiaallLimmodLimptsPfcod1,
"didgrp.apl.pts.extkey" :defaultDidgrpAplPtsExtkey,
"didgrp.blk.defdet" :defaultDidgrpBlkDefdet,
"didgrp.blk.insbnk" :defaultDidgrpBlkInsbnk,
"liaall.liaccv.totcovamt" :defaultLiaallLiaccvTotcovamt,
"ditp.aplname" :defaultDitpAplname,
"didgrp.rec.guaflg" :defaultDidgrpRecGuaflg,
"liaall.limmod.limpts.wrk.pts.nam" :defaultLiaallLimmodLimptsWrkPtsNam,
"liaall.liaccv.gleflg" :defaultLiaallLiaccvGleflg,
"ditp.preper.buttxmsel" :defaultDitpPreperButtxmsel,
"liaall.liaccv.newresamt" :defaultLiaallLiaccvNewresamt,
"didgrp.blk.lcrgod" :defaultDidgrpBlkLcrgod,
"didgrp.rec.autdat" :defaultDidgrpRecAutdat,
"didgrp.rec.idcode" :defaultDidgrpRecIdcode,
"didgrp.rec.dkflg" :defaultDidgrpRecDkflg,
"didgrp.rmb.pts.adrblk" :defaultDidgrpRmbPtsAdrblk,
"setmod.zmqacclab" :defaultSetmodZmqacclab,
"didgrp.rec.shptrs" :defaultDidgrpRecShptrs,
"ditp.aplp.det" :defaultDitpAplpDet,
"didgrp.adv.pts.extkey" :defaultDidgrpAdvPtsExtkey,
"liaall.limmod.limpts.get2" :defaultLiaallLimmodLimptsGet2,
"ditp.adlcnd.buttxmsel" :defaultDitpAdlcndButtxmsel,
"liaall.limmod.limpts.get1" :defaultLiaallLimmodLimptsGet1,
"bchname" :defaultBchname,
"didgrp.rec.tenmaxday" :defaultDidgrpRecTenmaxday,
"ditp.remark" :defaultDitpRemark,
"liaall.limmod.limpts.oth.pts.extkey" :defaultLiaallLimmodLimptsOthPtsExtkey,
"didgrp.rec.nam" :defaultDidgrpRecNam,
"liaall.butmisamt" :defaultLiaallButmisamt,
"liaall.limmod.ecifno" :defaultLiaallLimmodEcifno,
"liaall.liaccv.chgcurflg" :defaultLiaallLiaccvChgcurflg,
"ditp.insbnk.buttxmsel" :defaultDitpInsbnkButtxmsel,
"ditp.benp.ptsget.sdamod.dadsnd" :defaultDitpBenpPtsgetSdamodDadsnd,
"didgrp.iss.pts.extkey" :defaultDidgrpIssPtsExtkey,
"didgrp.rec.fqzytgfw" :defaultDidgrpRecFqzytgfw,
"ditp.aplp.ptsget.sdamod.dadsnd" :defaultDitpAplpPtsgetSdamodDadsnd,
"didgrp.avb.pts.bankno" :defaultDidgrpAvbPtsBankno,
"didgrp.rmb.pts.bankno" :defaultDidgrpRmbPtsBankno,
"trnmod.trndoc.amdapl" :defaultTrnmodTrndocAmdapl,
"liaall.liaccv.pctresamt" :defaultLiaallLiaccvPctresamt,
"ditp.lcrdoc.buttxmsel" :defaultDitpLcrdocButtxmsel,
"mtabut.coninf.oitset.oit.inflev" :defaultMtabutConinfOitsetOitInflev,
"ditp.defdet.buttxmsel" :defaultDitpDefdetButtxmsel,
"didgrp.beb.pts.bankno" :defaultDidgrpBebPtsBankno,
"didgrp.apl.pts.adrblk" :defaultDidgrpAplPtsAdrblk,
"didgrp.rec.lcrtyp" :defaultDidgrpRecLcrtyp,
"liaall.limmod.limpts.wrk.pts.extkey" :defaultLiaallLimmodLimptsWrkPtsExtkey,
"mtabut.coninf.conexedat" :defaultMtabutConinfConexedat,
"didgrp.ben.pts.adrblk" :defaultDidgrpBenPtsAdrblk,
"liaall.limmod.limpts.nonrevflg2" :defaultLiaallLimmodLimptsNonrevflg2,
"liaall.limmod.limpts.nonrevflg1" :defaultLiaallLimmodLimptsNonrevflg1,
"liaall.liaccv.addinf" :defaultLiaallLiaccvAddinf,
"trnmod.trndoc.amdnam" :defaultTrnmodTrndocAmdnam,
"liaall.liaccv.cshpct" :defaultLiaallLiaccvCshpct,
"didgrp.blk.preper" :defaultDidgrpBlkPreper,
"didgrp.cbs.max.amt" :defaultDidgrpCbsMaxAmt,
}
function defaultDidgrpRecResflg()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecResflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfUsrExtkey()
{
<#!--
if(!ditopn.getTrnmod().defaultMtabutConinfUsrExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getMtabut().getConinf().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpApcPtsBankno()
{
<#!--
if(!ditopn.getDitp().getApcp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpApcPtsBanknoN1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAdvnam()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvnamN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpRmbpDet()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsOthPtsNam()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsptaPtsNamN1500(ctx,1500) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultSetmodDspflg()
{
<#!--
if(!ditopn.getSetmod().defaultDspflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodOthpDet()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitinfLabinftxt()
{
<#!--
if(!ditopn.getMtabut().getConinf().getOitinf().defaultLabinftxtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitsetLabinftxt()
{
<#!--
if(!ditopn.getMtabut().getConinf().getOitset().defaultLabinftxtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpBenpDet()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsLsh()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsLshN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecBdflg()
{
<#!--
if(!ditopn.defaultDidgrpRecBdflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpLcrgodButtxmsel()
{
<#!--
if(!ditopn.getDitp().getLcrgod().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecOpndat()
{
<#!--
if(!ditopn.defaultDidgrpRecOpndatN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodWrkpDet()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpUsrExtkey()
{
<#!--
if(!ditopn.getDitp().defaultUsrgetUsrExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodWrkpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpButgetref()
{
<#!--
if(!ditopn.getDitp().defaultButgetrefN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBenPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkLcrdoc()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkLcrdocN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkLcrdocN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkLcrdocN200(ctx,200) )
{
return false;
}
return true;
--#>
}
function defaultDitpRmbpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLitameadv()
{
<#!--
if(!ditopn.defaultLitameadvN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkAdlcnd()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkAdlcndN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkAdlcndN9000(ctx,9000) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAplPtsRef()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecFqtime()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecFqtimeN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpCmbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getCmbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodOthpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpApbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getApbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpApbPtsBanknoN1001(ctx,1001) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecRedclsflg()
{
<#!--
if(!ditopn.getDitp().getDitp0().defaultDidgrpRecRedclsflgN1100(ctx,1100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecConcur()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecConcurN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodTrycal()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultTrycalN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAdvlabel()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvlabelN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvDel()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultDelN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpIssPtsBankno()
{
<#!--
if(!ditopn.getDitp().getIssp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultLiaallButmissig()
{
<#!--
if(!ditopn.getLiaall().defaultButmissigN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpRevclauseButtxmsel()
{
<#!--
if(!ditopn.getDitp().getRevclause().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpCbsNom1Cur()
{
<#!--
if(!ditopn.defaultDidgrpCbsNom1CurN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpCbsNom1CurN1100(ctx,1100) )
{
return false;
}
return true;
--#>
}
function defaultSetmodZmqacc()
{
<#!--
if(!ditopn.getSetmod().defaultZmqaccN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAmt()
{
<#!--
if(!ditopn.getDitp().defaultAmtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecMytype()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecMytypeN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultSetmodXreflg()
{
<#!--
if(!ditopn.getSetmod().defaultXreflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecAvbwth()
{
<#!--
if(!ditopn.defaultDidgrpRecAvbwthN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsRef()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpRmbPtsRefN2000(ctx,2000) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitinfOitInflev()
{
<#!--
if(!ditopn.getMtabut().getConinf().defaultOitinfOitInflevN100(ctx,100) )
{
return false;
}
if(!ditopn.getMtabut().getConinf().getOitinf().defaultOitInflevN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvRelcshpct()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultRelcshpctN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecExpplc()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecExpplcN100(ctx,100) )
{
return false;
}
if(!ditopn.getDidgrp().defaultRecExpplcN1100(ctx,1100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAdvPtsBankno()
{
<#!--
if(!ditopn.getDitp().getAdvp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBenPtsRef()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecSdsrfs()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecSdsrfsN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAdvdoc()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvdocN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvNewamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultNewamtN100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLiaccv().defaultNewamtN2000(ctx,2000) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecShppar()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecShpparN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsPfcod2()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getLimpts().defaultPfcod2N100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLimmod().defaultLimptsPfcod2N1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsPfcod1()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getLimpts().defaultPfcod1N100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLimmod().defaultLimptsPfcod1N1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAplPtsExtkey()
{
<#!--
if(!ditopn.defaultDidgrpAplPtsExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkDefdet()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpBlkDefdetN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkDefdetN500(ctx,500) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkDefdetN1050(ctx,1050) )
{
return false;
}
if(!ditopn.getDidgrp().defaultBlkDefdetN1100(ctx,1100) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpBlkDefdetN2000(ctx,2000) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkInsbnk()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkInsbnkN1100(ctx,1100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkInsbnkN1110(ctx,1110) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvTotcovamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultTotcovamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAplname()
{
<#!--
if(!ditopn.getDitp().defaultAplnameN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecGuaflg()
{
<#!--
if(!ditopn.defaultDidgrpRecGuaflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsWrkPtsNam()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsptaPtsNamN1500(ctx,1500) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvGleflg()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultGleflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpPreperButtxmsel()
{
<#!--
if(!ditopn.getDitp().getPreper().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvNewresamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultNewresamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkLcrgod()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkLcrgodN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecAutdat()
{
<#!--
if(!ditopn.defaultDidgrpRecAutdatN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecIdcode()
{
<#!--
if(!ditopn.defaultDidgrpRecIdcodeN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecDkflg()
{
<#!--
if(!ditopn.defaultDidgrpRecDkflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsAdrblk()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultSetmodZmqacclab()
{
<#!--
if(!ditopn.getSetmod().defaultZmqacclabN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecShptrs()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecShptrsN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAplpDet()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAdvPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getAdvp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsGet2()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsGet2N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAdlcndButtxmsel()
{
<#!--
if(!ditopn.getDitp().getAdlcnd().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsGet1()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsGet1N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultBchname()
{
<#!--
if(!ditopn.defaultBchnameN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecTenmaxday()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecTenmaxdayN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpRemark()
{
<#!--
if(!ditopn.defaultDitpRemarkN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsOthPtsExtkey()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecNam()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecNamN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultLiaallButmisamt()
{
<#!--
if(!ditopn.getLiaall().defaultButmisamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodEcifno()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultEcifnoN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvChgcurflg()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultChgcurflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpInsbnkButtxmsel()
{
<#!--
if(!ditopn.getDitp().getInsbnk().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDitpBenpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpIssPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getIssp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecFqzytgfw()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecFqzytgfwN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAplpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAvbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getAvbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAmdapl()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAmdaplN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvPctresamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultPctresamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpLcrdocButtxmsel()
{
<#!--
if(!ditopn.getDitp().getLcrdoc().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitsetOitInflev()
{
<#!--
if(!ditopn.getMtabut().getConinf().defaultOitsetOitInflevN100(ctx,100) )
{
return false;
}
if(!ditopn.getMtabut().getConinf().getOitset().defaultOitInflevN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDitpDefdetButtxmsel()
{
<#!--
if(!ditopn.getDitp().getDefdet().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBebPtsBankno()
{
<#!--
if(!ditopn.getDitp().getBebp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAplPtsAdrblk()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getDitp0().defaultDidgrpAplPtsAdrblkN1003(ctx,1003) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecLcrtyp()
{
<#!--
if(!ditopn.defaultDidgrpRecLcrtypN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsWrkPtsExtkey()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfConexedat()
{
<#!--
if(!ditopn.getMtabut().getConinf().defaultConexedatN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBenPtsAdrblk()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getDitp0().defaultDidgrpBenPtsAdrblkN1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsNonrevflg2()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsNonrevflg2N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsNonrevflg1()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsNonrevflg1N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvAddinf()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultAddinfN100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLiaccv().defaultAddinfN1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAmdnam()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAmdnamN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvCshpct()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultCshpctN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkPreper()
{
<#!--
if(!ditopn.defaultDidgrpBlkPreperN10(ctx,10) )
{
return false;
}
if(!ditopn.getDidgrp().defaultBlkPreperN1100(ctx,1100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkPreperN1200(ctx,1200) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkPreperN1300(ctx,1300) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpCbsMaxAmt()
{
<#!--
if(!ditopn.defaultDidgrpCbsMaxAmtN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpCbsMaxAmtN950(ctx,950) )
{
return false;
}
return true;
--#>
}
export default {
onDitpButgetref(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/ditp_butgetref",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAplpDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/aplp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onBenpDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/benp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRevclauseButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/revclause_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLcrgodButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/lcrgod_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLcrdocButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/lcrdoc_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onAdlcndButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/adlcnd_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInsbnkButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/insbnk_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRmbpDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/rmbp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDefdetButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/defdet_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onPreperButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/preper_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSetmodDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/setmod_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLiaallButmisamt(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaall_butmisamt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLiaallButmissig(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaall_butmissig",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onWrkpDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/wrkp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onOthpDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/othp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLimptsGet1(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/limpts_get1",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLimptsGet2(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/limpts_get2",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLimmodTrycal(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/limmod_trycal",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLiaccvAdd(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaccv_add",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onLiaccvDel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaccv_del",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
}
}
\ No newline at end of file
export default {
"ditp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ditp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"didgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ditp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"ditp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ditp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ditp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"didgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ditp.amt":[
{type: "string", required: false, message: "必输项"},
{max: 76,message:"长度不能超过76"}
],
"didgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"didgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"didgrp.apl.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"didgrp.apl.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"didgrp.apb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.apb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ditp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ditp.benp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.ben.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.ben.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"didgrp.ben.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"didgrp.ben.pts.extact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"didgrp.beb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.beb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.revtimes":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"didgrp.rec.revnbr":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"didgrp.rec.revdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.blk.revnotes":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.blk.revcls":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"didgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"didgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"didgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"didgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"didgrp.rmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ditp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ditp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.rmbact":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.blk.rmbcha":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ditp.rmbnar":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.autdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.conno":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.conamt":[
{type: "number", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"didgrp.rec.tzref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.adv.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.adv.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.iss.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.iss.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.iss.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.adv.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"didgrp.adv.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.iss.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"didgrp.iss.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rmb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.rmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.avb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.avb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.avb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.apc.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.apc.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.cmb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"didgrp.apc.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.cmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.apc.pts.youzbm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"didgrp.apc.pts.dihdig":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.cmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ditp.bennam":[
{type: "string", required: false, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"ditp.aplname":[
{type: "string", required: false, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"ditp.signam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ditp.remark":[
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"litbenl1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"litapll1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"litrmbl1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"godnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ameadvrmk":[
{type: "string", required: true, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"bchname":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"liaall.liaccv.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.liaccv.newamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.cshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.newresamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.relcshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.pctresamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.totcovamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.addinf":[
{type: "string", required: true, message: "必输项"},
{max: 70,message:"长度不能超过70"}
],
}
\ No newline at end of file
export default class Ditopn{
constructor () {
this.data = {
didgrp:{
rec:{
ownref:"", // Reference .didgrp.rec.ownref
opndat:"", // Date L/C Opened/Issued .didgrp.rec.opndat
shpdat:"", // Shipment Date .didgrp.rec.shpdat
expdat:"", // Date of Expiry .didgrp.rec.expdat
nam:"", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam
resflg:"", // Reserved Contract .didgrp.rec.resflg
nomtop:"", // Amount Tolerance - Positive .didgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .didgrp.rec.nomton
expplc:"", // Place of Expiry .didgrp.rec.expplc
elcflg:"", // 是否通过电证系统 .didgrp.rec.elcflg
guaflg:"", // 货押标识 .didgrp.rec.guaflg
jyqflg:"", // 假远期信用证 .didgrp.rec.jyqflg
mytype:"", // 槸易类型 .didgrp.rec.mytype
dkflg:"", // 开证类型 .didgrp.rec.dkflg
idcode:"", // 申请人统一社会信用代码 .didgrp.rec.idcode
revtyp:"", // Revolving Type .didgrp.rec.revtyp
revtimes:"", // Revolve Times .didgrp.rec.revtimes
revnbr:"", // Number of Revolvings under L/C .didgrp.rec.revnbr
revdat:"", // Next Revolve Date .didgrp.rec.revdat
revawapl:"", // Awaiting Applicant's Request .didgrp.rec.revawapl
revcum:"", // Credit is Marked as Cumulative .didgrp.rec.revcum
redclsflg:"", // Red/Green Clause .didgrp.rec.redclsflg
rmbcha:"", // Charges Definition .didgrp.rec.rmbcha
rmbact:"", // Reimbursing Bank Account Identification .didgrp.rec.rmbact
apprulrmb:"", // Applicable Rules RMB .didgrp.rec.apprulrmb
autdat:"", // Date of Authorisation to Reimburse .didgrp.rec.autdat
avbby:"", // Available by .didgrp.rec.avbby
shppar:"", // Partial Shipment .didgrp.rec.shppar
shptrs:"", // Transshipment .didgrp.rec.shptrs
conno:"", // 合同编号 .didgrp.rec.conno
concur:"", // 合同币种 .didgrp.rec.concur
shpfro:"", // Shipment from .didgrp.rec.shpfro
shpto:"", // For Transportation to .didgrp.rec.shpto
shppro:"", // 服务提供地点 .didgrp.rec.shppro
tenmaxday:"", // Maximum tenor in days .didgrp.rec.tenmaxday
tratyp:"", // 运输方式 .didgrp.rec.tratyp
fqtime:"", // 分期时镧表 .didgrp.rec.fqtime
sdsrfs:"", // 输入运输方式 .didgrp.rec.sdsrfs
fqzytgfw:"", // 分期装运/提供服务 .didgrp.rec.fqzytgfw
conamt:"", // 合同金额 .didgrp.rec.conamt
tzref:"", // 通知行编号 .didgrp.rec.tzref
avbwth:"", // 指定的有关银行 .didgrp.rec.avbwth
fenctg:"", // 是否可议付 .didgrp.rec.fenctg
bdflg:"", // 是否可保兑 .didgrp.rec.bdflg
lcrtyp:"", // Form of Documentary Credit .didgrp.rec.lcrtyp
},
cbs:{
nom1:{
cur:"", // Currency .didgrp.cbs.nom1.cur
amt:"", // 信用证金额 .didgrp.cbs.nom1.amt
},
max:{
cur:"", // Currency .didgrp.cbs.max.cur
amt:"", // 信用证最大金额 .didgrp.cbs.max.amt
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.apl.namelc
adrelc:"", // 地址 .didgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.ben.namelc
adrelc:"", // 地址 .didgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.ben.dbfadrblkcn
},
beb:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
blk:{
revcls:"", // Revolving Clause .didgrp.blk.revcls
revnotes:"", // Notes to Applicant .didgrp.blk.revnotes
lcrgod:"", // Description of Goods .didgrp.blk.lcrgod
lcrdoc:"", // 单据要求 .didgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .didgrp.blk.adlcnd
insbnk:"", // 付行的指示 .didgrp.blk.insbnk
rmbcha:"", // Other Charges .didgrp.blk.rmbcha
defdet:"", // Deferred Payment Details .didgrp.blk.defdet
preper:"", // Presentation Period .didgrp.blk.preper
preperflg:"", // Presentation Period modified .didgrp.blk.preperflg
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.rmb.namelc
adrelc:"", // 地址 .didgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.rmb.dbfadrblkcn
},
adv:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
ditp:{
recget:{
sdamod:{
seainf:"", // .ditp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // User ID .ditp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .ditp.usrget.sdamod.seainf
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.aplp.ptsget.sdamod.dadsnd
},
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.benp.ptsget.sdamod.dadsnd
},
},
},
zchday:"", // 最迟装运/服务提供日 .ditp.zchday
amt:"", // 大写金额 .ditp.amt
hwfwms:"", // 槧物/服务描述 .ditp.hwfwms
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.rmbp.ptsget.sdamod.dadsnd
},
},
},
rmbnar:"", // MT747 :77A: .ditp.rmbnar
fenzhu:"", // 分期装运 .ditp.fenzhu
hwzydi:"", // 槧运装运地/服务提供低 .ditp.hwzydi
sdysfs:"", // 手输运输方式/服务提供方式 .ditp.sdysfs
signam:"", // name of authorized signatory .ditp.signam
bennam:"", // english name .ditp.bennam
aplname:"", // apl english name .ditp.aplname
remark:"", // Remark .ditp.remark
},
litbenl1blk:"", // XMLPanel litbenl1的内置block .litbenl1blk
litapll1blk:"", // XMLPanel litapll1的内置block .litapll1blk
litrmbl1blk:"", // XMLPanel litrmbl1的内置block .litrmbl1blk
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
},
litameadv:"", // 特殊规定 .litameadv
ameadvrmk:"", // 特殊规定条件 .ameadvrmk
godnam:"", // 槧物简称 .godnam
bchname:"", // branch name .bchname
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
}
}
}
\ No newline at end of file
/**
* Office Default规则
*/
export default {
"hotavi" :defaultHotavi,
"hotcalc" :defaultHotcalc,
"hotadr" :defaultHotadr,
"hotrat" :defaultHotrat,
"hotdr4l" :defaultHotdr4l,
"hotdr4r" :defaultHotdr4r,
"hotdr5l" :defaultHotdr5l,
"hotdr5r" :defaultHotdr5r,
"hotdr6r" :defaultHotdr6r,
"hotdr1l" :defaultHotdr1l,
"hotdr1r" :defaultHotdr1r,
"hotdr2l" :defaultHotdr2l,
"hotdr2r" :defaultHotdr2r,
"hotdr3l" :defaultHotdr3l,
"hotdr3r" :defaultHotdr3r,
"hotsta" :defaultHotsta,
"hotstd" :defaultHotstd,
"dattd" :defaultDattd,
}
function defaultHotavi()
{
<!--
if(!office.defaultHotaviN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotcalc()
{
<!--
if(!office.defaultHotcalcN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotadr()
{
<!--
if(!office.defaultHotadrN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotrat()
{
<!--
if(!office.defaultHotratN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr4l()
{
<!--
if(!office.defaultHotdr4lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr4r()
{
<!--
if(!office.defaultHotdr4rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr5l()
{
<!--
if(!office.defaultHotdr5lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr5r()
{
<!--
if(!office.defaultHotdr5rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr6r()
{
<!--
if(!office.defaultHotdr6rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr1l()
{
<!--
if(!office.defaultHotdr1lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr1r()
{
<!--
if(!office.defaultHotdr1rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr2l()
{
<!--
if(!office.defaultHotdr2lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr2r()
{
<!--
if(!office.defaultHotdr2rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr3l()
{
<!--
if(!office.defaultHotdr3lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr3r()
{
<!--
if(!office.defaultHotdr3rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotsta()
{
<!--
if(!office.defaultHotstaN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotstd()
{
<!--
if(!office.defaultHotstdN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDattd()
{
<!--
if(!office.defaultDattdN100(ctx,100) )
{
return false;
}
return true;
-->
}
export default {
"hotavi":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"wlogofil":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"hotreg":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotadr":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrat":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotman":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mlogofil":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"hotsca":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotstd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr1l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr1r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr2l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr2r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr3l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr3r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr4l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr4r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotinf1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotinf2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotinf3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotwdg":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotsta":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr5l":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr5r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdr6r":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotfil1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotfil2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotrel3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotfil3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotque":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdia":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotexi":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotdel":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"hotcalc":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
}
\ No newline at end of file
export default class Office{
constructor () {
this.data = {
wlogofil:"", // Logofile for Logo on the wall .wlogofil
mlogofil:"", // Logofile for Logo on the manual .mlogofil
cfgfil:{
drwtxt1:"", // Drawer text .cfgfil.drwtxt1
drwtxt2:"", // Drawer text .cfgfil.drwtxt2
drwtxt3:"", // Drawer text .cfgfil.drwtxt3
drwtxt4:"", // Drawer text .cfgfil.drwtxt4
drwtxt5:"", // Drawer text .cfgfil.drwtxt5
drwtxt7:"", // Drawer text .cfgfil.drwtxt7
drwtxt8:"", // Drawer text .cfgfil.drwtxt8
drwtxt9:"", // Drawer text .cfgfil.drwtxt9
drwtxt10:"", // Drawer text .cfgfil.drwtxt10
drwtxt11:"", // Drawer text .cfgfil.drwtxt11
drwtxt12:"", // Drawer text .cfgfil.drwtxt12
},
dattd:"", // date today .dattd
envhost:"", // environment - current Application-Host .envhost
envhost1:"", // environment - current Application-Host 2nd part .envhost1
envcli:"", // environment - current Client .envcli
envcli1:"", // environment - current Client 2nd part .envcli1
envtxt:"", // environment empty when master env used .envtxt
envtxt1:"", // environment - second line for names > 25 char .envtxt1
envtxt2:"", // environment empty when master env used .envtxt2
hotdel:"", // hotspot garbage .hotdel
hotdr1l:"", // hotspot drawer 1 left .hotdr1l
hotexi:"", // Hotspot exit .hotexi
hotfil1:"", // hotspot file for picking up items 1 .hotfil1
hotfil2:"", // hotspot file for picking up items 2 .hotfil2
hotfil3:"", // hotspot file for picking up items 3 .hotfil3
hotdr2l:"", // hotspot drawer 2 left .hotdr2l
hotdr3l:"", // hotspot drawer 3 left .hotdr3l
hotdr4l:"", // hotspot drawer 4 left .hotdr4l
hotdr5l:"", // hotspot drawer 5 left .hotdr5l
hotdr1r:"", // hotspot drawer 1 right .hotdr1r
hotdr2r:"", // hotspot drawer 2 right .hotdr2r
hotdr3r:"", // hotspot drawer 3 right .hotdr3r
hotdr4r:"", // hotspot drawer 4 right .hotdr4r
hotdr5r:"", // hotspot drawer 5 right .hotdr5r
hotdr6r:"", // hotspot drawer 6 right .hotdr6r
hotstd:"", // hotspot static data .hotstd
hotsta:"", // hotspot statistics .hotsta
hotrat:"", // hotspot rates .hotrat
hotadr:"", // hotspot address .hotadr
hotreg:"", // hotspot registration .hotreg
hotinf1:"", // hotspot info .hotinf1
hotinf2:"", // hotspot info .hotinf2
hotinf3:"", // hotspot info .hotinf3
hotman:"", // hotspot manual .hotman
hotcalc:"", // hotspot calculator .hotcalc
hotrel:"", // hotspot release .hotrel
hotrel1:"", // hotspot release .hotrel1
hotrel2:"", // hotspot release .hotrel2
hotrel3:"", // hotspot release .hotrel3
hotdia:"", // hotspot diary .hotdia
hotavi:"", // Hotspot to start video .hotavi
hotwdg:"", // hotspot watchdog .hotwdg
hotque:"", // hotspot queue selection .hotque
hotsca:"", // hotspot Scan image .hotsca
}
}
}
\ No newline at end of file
export default class Pts {
constructor () {
this.data = {
//pts表所需内容
ptyNo: '', //当事人编号
ptyAddrInfoNo: '', //当事人地址信息编号
ptyNameAddrInfo: '', //当事人名称地址信息(界面回显修改/修改后的值)
accNo: '', //账号
ptyCnName: '', //当事人中文名称
ptyEnName: '', //当事人英文名称
ptyCnAddr: '', //当事人中文地址
ptyEnAddr: '', //当事人英文地址
hvPaybankNo:'', // 大额支付行号
paySysBankNm:'',// 大额支付行名(中文)
addr:'', // 大额支付银行地址
postCd:'', // 大额支付银行邮编
tel:'', // 大额支付银行电话
certificateNo:'',// 统一社会信用代码
orgInstCode:'', // 组织机构代码
ptyRelateRefNo:"",//参考号
//其它(暂定)
pubprvtFlagCd: '', //公私标识代码
belongInstNo: '', //所属机构号
withPsbcRelCd: '', //与我行关系代码
blstCustFlag: '', //是否黑名单客户标志
establshTestKeyFlag: '', //是否建立密押标志
partInoutCrClrFlag: '', //是否参与境内外币清算标志
swiftNo: '', //SWIFT编号
countryRegionCode: '' ,//国家地区代码
accnoTypeCode: '',//账号类型代码
outAccno: '',//外部账号
accNoName: '', //账号名称
accNoDesc: '',//账号描述
accBankAccnoTypeCode: '', //账户行账号类型代码
currCode: '',//币种代码
belongPtyNo: '', //所属当事人编号
belongInstName: '',//所属机构名称
belongInstAddr: '', //所属机构地址
validFlag: '', //是否有效标志
}
}
}
\ No newline at end of file
/**
* Sptsel Default规则
*/
export default {
"usfmod.labtxt" :defaultUsfmodLabtxt,
"butimg" :defaultButimg,
"dflg" :defaultDflg,
"dlmft" :defaultDlmft,
"yptinf" :defaultYptinf,
"usfmod.flt" :defaultUsfmodFlt,
"sptstm" :defaultSptstm,
"dlaxq" :defaultDlaxq,
"usfmod.usr.extkey" :defaultUsfmodUsrExtkey,
"usfmod.shwflt" :defaultUsfmodShwflt,
}
function defaultUsfmodLabtxt()
{
<!--
if(!sptsel.getUsfmod().defaultLabtxtN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultLabtxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultButimg()
{
<!--
if(!sptsel.defaultButimgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDflg()
{
<!--
if(!sptsel.defaultDflgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDlmft()
{
<!--
if(!sptsel.defaultDlmftN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultYptinf()
{
<!--
if(!sptsel.defaultYptinfN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultUsfmodFlt()
{
<!--
if(!sptsel.defaultUsfmodFltN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultFltN1200(ctx,1200) )
{
return false;
}
if(!sptsel.getUsfmod().defaultFltN1200(ctx,1200) )
{
return false;
}
return true;
-->
}
function defaultSptstm()
{
<!--
if(!sptsel.defaultSptstmN100(ctx,100) )
{
return false;
}
if(!sptsel.defaultSptstmN801(ctx,801) )
{
return false;
}
return true;
-->
}
function defaultDlaxq()
{
<!--
if(!sptsel.defaultDlaxqN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultUsfmodUsrExtkey()
{
<!--
if(!sptsel.getUsfmod().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
if(!sptsel.getUsfmod().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
-->
}
function defaultUsfmodShwflt()
{
<!--
if(!sptsel.getUsfmod().defaultShwfltN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultShwfltN100(ctx,100) )
{
return false;
}
return true;
-->
}
export default {
onUsfmodShwflt(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/usfmod_shwflt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onButypt(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/butypt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDlmft(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/dlmft",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDlaxq(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/dlaxq",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onButimg(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/butimg",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
tabClick(){
}
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"yptinf":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
}
\ No newline at end of file
export default class Sptsel{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
chkdel:"", // Deleted .chkdel
sptstm:"", // List of SPT records .sptstm
yptinf:"", // 退回原因 .yptinf
chkypt:"", // 云平台 .chkypt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
routxt:"", // 已转报 .routxt
dflg:"", // 国内国际标志 .dflg
chktco:"", // 网银 .chktco
chkcan:"", // 归档 .chkcan
chkdzt:"", // E-Trade .chkdzt
}
}
}
\ No newline at end of file
/**
* Trnrel Check规则
*/
export default {
"trn.inr" :[checkTrnInrN1500,],
"atpget.sdamod.dadsnd" :[checkAtpgetSdamodDadsndN100,],
"trn.inftxt" :[checkTrnInftxtN100,],
"recpan.atpget.sdamod.dadsnd" :[checkRecpanAtpgetSdamodDadsndN100,],
"recpan.recget.sdamod.dadsnd" :[checkRecpanRecgetSdamodDadsndN100,],
}
/**
* source:trnget.@0009.script
* recpan.recget
*/
function checkTrnInrN1500()
{
// checkrule to finally check whether contents in the keyfield has been resolved.
if( ! Utils.isEmpty( model.trn.inr ) && Utils.len( model.trn.inr ) < 8 && Utils.isEmpty( model.dissel ) )
{
Utils.error( model.trn.inr, "#CT000003" );
}
}
/**
* source:atpget.@0001.script
* atpget
*/
function checkAtpgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* source:txmmod.@0009.script
* recpan.inftxt
*/
function checkTrnInftxtN100()
{
//! Set error, if block contains an Asterisk and is enabled
//! ZL add for swift standards relese 2018
//占位符“*”给为占位符“~”
//add tby
// `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
{
Utils.errorAsterisk( model.txmblock );
}
}
/**
* source:atpget.@0001.script
* recpan.atpget
*/
function checkRecpanAtpgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* source:trnget.@0001.script
* recpan.recget
*/
function checkRecpanRecgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.trn.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* Trnrel Default规则
*/
export default {
"trn.inftxt" :defaultTrnInftxt,
"trncorco.trnstm" :defaultTrncorcoTrnstm,
"recpan.det" :defaultRecpanDet,
"numtrn" :defaultNumtrn,
"trncorco.dflg" :defaultTrncorcoDflg,
"recpan.usr.extkey" :defaultRecpanUsrExtkey,
"atptxt" :defaultAtptxt,
"trn.inr" :defaultTrnInr,
"recpan.ackstm" :defaultRecpanAckstm,
"imgmod.newhisimg" :defaultImgmodNewhisimg,
"recpan.cpltxt" :defaultRecpanCpltxt,
"recpan.butord" :defaultRecpanButord,
"recpan.incben" :defaultRecpanIncben,
"imgmod.hisimg" :defaultImgmodHisimg,
"orddsp" :defaultOrddsp,
"recpan.butspt" :defaultRecpanButspt,
"seaown" :defaultSeaown,
"recpan.inftxt.buttxmsel" :defaultRecpanInftxtButtxmsel,
"usrcon" :defaultUsrcon,
"recpan.inc" :defaultRecpanInc,
"recpan.imgmod.image" :defaultRecpanImgmodImage,
"relcor" :defaultRelcor,
"seajbh" :defaultSeajbh,
"syswrn.butshw" :defaultSyswrnButshw,
"printe" :defaultPrinte,
"trn.infdsp" :defaultTrnInfdsp,
"recpan.con" :defaultRecpanCon,
"recpan.ackgrp.rec.sndref" :defaultRecpanAckgrpRecSndref,
"imgmod.newimg" :defaultImgmodNewimg,
}
function defaultTrnInftxt()
{
<!--
if(!trnrel.getRecpan().defaultTrnInftxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrncorcoTrnstm()
{
<!--
if(!trnrel.defaultTrncorcoTrnstmN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanDet()
{
<!--
if(!trnrel.getRecpan().defaultDetN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultNumtrn()
{
<!--
if(!trnrel.defaultNumtrnN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrncorcoDflg()
{
<!--
if(!trnrel.defaultTrncorcoDflgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanUsrExtkey()
{
<!--
if(!trnrel.getRecpan().defaultUsrExtkeyN900(ctx,900) )
{
return false;
}
if(!trnrel.getRecpan().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
-->
}
function defaultAtptxt()
{
<!--
if(!trnrel.defaultAtptxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrnInr()
{
<!--
if(!trnrel.defaultRecpanTrnInrN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanAckstm()
{
<!--
if(!trnrel.getRecpan().defaultAckstmN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodNewhisimg()
{
<!--
if(!trnrel.defaultImgmodNewhisimgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanCpltxt()
{
<!--
if(!trnrel.getRecpan().defaultCpltxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanButord()
{
<!--
if(!trnrel.getRecpan().defaultButordN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanIncben()
{
<!--
if(!trnrel.getRecpan().defaultIncbenN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodHisimg()
{
<!--
if(!trnrel.defaultImgmodHisimgN100(ctx,100) )
{
return false;
}
if(!trnrel.getImgmod().defaultHisimgN1100(ctx,1100) )
{
return false;
}
if(!trnrel.getImgmod().defaultHisimgN1100(ctx,1100) )
{
return false;
}
return true;
-->
}
function defaultOrddsp()
{
<!--
if(!trnrel.defaultOrddspN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanButspt()
{
<!--
if(!trnrel.getRecpan().defaultButsptN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSeaown()
{
<!--
if(!trnrel.defaultSeaownN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanInftxtButtxmsel()
{
<!--
if(!trnrel.getRecpan().getInftxt().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
-->
}
function defaultUsrcon()
{
<!--
if(!trnrel.defaultUsrconN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanInc()
{
<!--
if(!trnrel.getRecpan().defaultIncN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanImgmodImage()
{
<!--
if(!trnrel.getRecpan().defaultImgmodImageN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRelcor()
{
<!--
if(!trnrel.defaultRelcorN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSeajbh()
{
<!--
if(!trnrel.defaultSeajbhN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSyswrnButshw()
{
<!--
if(!trnrel.getRecpan().defaultSyswrnButshwN10000(ctx,10000) )
{
return false;
}
return true;
-->
}
function defaultPrinte()
{
<!--
if(!trnrel.defaultPrinteN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrnInfdsp()
{
<!--
if(!trnrel.getRecpan().defaultTrnInfdspN100(ctx,100) )
{
return false;
}
if(!trnrel.getRecpan().defaultTrnInfdspN3000(ctx,3000) )
{
return false;
}
return true;
-->
}
function defaultRecpanCon()
{
<!--
if(!trnrel.getRecpan().defaultConN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanAckgrpRecSndref()
{
<!--
if(!trnrel.getRecpan().defaultAckgrpRecSndrefN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodNewimg()
{
<!--
if(!trnrel.defaultImgmodNewimgN100(ctx,100) )
{
return false;
}
if(!trnrel.getImgmod().defaultNewimgN1101(ctx,1101) )
{
return false;
}
if(!trnrel.getImgmod().defaultNewimgN1101(ctx,1101) )
{
return false;
}
return true;
-->
}
export default {
onSeaown(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/seaown",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSeajbh(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/seajbh",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSeactr(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/seactr",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSearow(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/searow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDsp(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/dsp",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmodNewimg(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newimg",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmodNewhisimg(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newhisimg",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDiaconButdia(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/diacon_butdia",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmodHisimg(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_hisimg",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRelrow(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/relrow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onPrinte(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/printe",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onReprow(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/reprow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRejrow(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/rejrow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRelcor(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/relcor",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onExi(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/exi",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanDet(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSyswrnButshw(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/syswrn_butshw",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanNotmap(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_notmap",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanButspt(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butspt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanInc(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_inc",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanButord(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butord",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmod1Image(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod1_image",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanIncben(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_incben",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInftxtButtxmsel(){
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/inftxt_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSeainf(){
}
}
\ No newline at end of file
export default {
"trncorco.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trncorco.inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trncorco.inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 37,message:"长度不能超过37"}
],
"trncorco.trnstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"numtrn":[
{type: "string", required: false, message: "必输项"},
{max: 7,message:"长度不能超过7"}
],
"orddsp":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trn.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.con":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.inr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "recpan.atp.cod":[
// {type: "string", required: false, message: "必输项"},
// {max: 6,message:"长度不能超过6"}
// ],
"trn.reloricur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.reloriamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trn.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.usg":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"trn.relreq":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.relres":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.cortrninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.exedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recpan.cretrs.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.cretrs.dattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recpan.ackgrp.rec.sndref":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.smhstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trn.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"recpan.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.trsstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"wfmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"wfmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.evthisstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.evtstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.ackstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.trostm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.prtgleblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"recpan.prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.xmldocblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.docbol.prtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
export default class Trnrel{
constructor () {
this.data = {
trncorco:{
ownref:"", // Reference .trncorco.ownref
relflg:"", // Status .trncorco.relflg
inidatfro:"", // Date of entry of Transaction .trncorco.inidatfro
inidattil:"", // Date of entry of Transaction until .trncorco.inidattil
trnstm:"", // List of transaction sfor display .trncorco.trnstm
dflg:"", // 国内证标志 .trncorco.dflg
},
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt:"", // Transaction Text .atptxt
numtrn:"", // # of transactions .numtrn
orddsp:"", // >> .orddsp
bchcon:"", // Branch .bchcon
usrcon:"", // User .usrcon
recpan:{
cpltxt:"", // Completion text .recpan.cpltxt
spt:{
sta:"", // Status .recpan.spt.sta
},
ord:{
sta:"", // Status .recpan.ord.sta
},
recget:{
sdamod:{
seainf:"", // Ident No. .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
atp:{
cod:"", // Transaction ID .recpan.atp.cod
},
atpget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd
seainf:"", // Transaction .recpan.atpget.sdamod.seainf
},
},
smhstm:"", // Documents .recpan.smhstm
usr:{
extkey:"", // User ID .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
trsstm:"", // Signatures .recpan.trsstm
con:"", // Reference .recpan.con
cretrs:{
usr:"", // Entered by .recpan.cretrs.usr
dattim:"", // Timestamp .recpan.cretrs.dattim
},
ackgrp:{
rec:{
sndref:"", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref
},
},
wfestm:"", // WFEs for transaction for display .recpan.wfestm
evthisstm:"", // stream of history of transactions .recpan.evthisstm
evtstm:"", // stream of events .recpan.evtstm
ackstm:"", // ACKs for transaction .recpan.ackstm
trostm:"", // TROs for transaction for display .recpan.trostm
prtgleblk:"", // XMLPanel prtgle的内置block .recpan.prtgleblk
prtpanblk:"", // XMLPanel prtpan的内置block .recpan.prtpanblk
},
trn:{
ownref:"", // Reference .trn.ownref
inr:"", // Transaction Key .trn.inr
objnam:"", // External Readable Object Identification .trn.objnam
reloricur:"", // Relevant Amount .trn.reloricur
reloriamt:"", // Relevant Amount for Release in Original Currency .trn.reloriamt
relflg:"", // Release Status of Transaction .trn.relflg
usr:"", // Responsible .trn.usr
usg:"", // Responsible Group .trn.usg
relreq:"", // Signatures Required/Obtained .trn.relreq
relres:"", // Applied Signatures .trn.relres
cortrninr:"", // Based on Ident No. .trn.cortrninr
exedat:"", // Execution Date .trn.exedat
inftxt:"", // Infotext .trn.inftxt
infdsp:"", // Infoflag .trn.infdsp
},
wfmmod:{
wfs:{
objnam:"", // External Readable Object Identification .wfmmod.wfs.objnam
objtyp:"", // Table Used to Store Associated Object .wfmmod.wfs.objtyp
objinr:"", // Object .wfmmod.wfs.objinr
},
},
docimm:{
prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
docbol:{
prtpblk:"", // XMLPanel prtp的内置block .docimm.docbol.prtpblk
},
},
}
}
}
\ No newline at end of file
import CodeTable from "~/config/CodeTable/index"
export default {
curtxt: CodeTable.curtxt,
isstyp: CodeTable.isstyp,
trdtyp: CodeTable.trdtyp,
avbby: CodeTable.avbby,
allow: CodeTable.allow,
yesno: CodeTable.yesno,
negCode: CodeTable.negCode,
onsel: CodeTable.onsel,
dsp: CodeTable.dsp,
payflg: CodeTable.payflg,
rol: CodeTable.rol
}
\ No newline at end of file
export {default as codes} from './codes'
export {default as descriptor} from './descriptor'
export default class Ditopn{
constructor(){
this.data = {
didgrp: {
rec: {
accusr: "", // \didgrp\rec\accusr 客户经理
adlcnd: "", // \didgrp\rec\adlcnd 附加条款
avbby: "", // \didgrp\rec\avbby 信用证对付方式
cfmflg: "", // \didgrp\rec\cfmflg 保兑标志
conamt: "", // \didgrp\rec\conamt 合同金额
concur: "", // \didgrp\rec\concur 合同币种
conno: "", // \didgrp\rec\conno 合同编号
defdet: "", // \didgrp\rec\defdet 远期付款指示
expdat: "", // \didgrp\rec\expdat 有效日期
expplc: "", // \didgrp\rec\expplc 有效地点
isstyp: "", // \didgrp\rec\isstyp 开证类型
lcrdoc: "", // \didgrp\rec\lcrdoc 单据要求
lcrgod: "", // \didgrp\rec\lcrgod 货物服务描述
nam: "", // \didgrp\rec\nam 概要描述
negflg: "", // \didgrp\rec\negflg 指定议付行
nomton: "", // \didgrp\rec\nomton 下浮
nomtop: "", // \didgrp\rec\nomtop 上浮
opndat: "", // \didgrp\rec\opndat 开立日期
ownbch: "", // \didgrp\rec\ownbch 归属机构
ownref: "", // \didgrp\rec\ownref 业务编号
preper: "", // \didgrp\rec\preper 交单期限
shpdat: "", // \didgrp\rec\shpdat 最迟货物装运/服务提供日期
shpfro: "", // \didgrp\rec\shpfro 货物装运地(港)
shppar: "", // \didgrp\rec\shppar 分批装运货物/分次提供服务
shpper: "", // \didgrp\rec\shpper 分期装运/提供服务
shppro: "", // \didgrp\rec\shppro 服务提供地点
shpto: "", // \didgrp\rec\shpto 货物目的地、交货地(港)
shptrs: "", // \didgrp\rec\shptrs 转运
tenmaxday: "", // \didgrp\rec\tenmaxday 期限
traflg: "", // \didgrp\rec\traflg 是否可转让
tratyp: "", // \didgrp\rec\tratyp 货物运输或交货方式/服务方式
trdapt: "", // \didgrp\rec\trdapt 分期装运/提供服务约定
trdtyp: "", // \didgrp\rec\trdtyp 贸易方式
},
a2b: {
pts: {
adrcn: "", // \didgrp\a2b\pts\adrcn 中文地址
extkey: "", // \didgrp\a2b\pts\extkey 客户编号
namcn: "", // \didgrp\a2b\pts\namcn 客户中文名称
}
},
adv: {
pts: {
adrcn: "", // \didgrp\adv\pts\adrcn 中文地址
extkey: "", // \didgrp\adv\pts\extkey 客户编号
namcn: "", // \didgrp\adv\pts\namcn 客户中文名称
}
},
age: {
pts: {
adrcn: "", // \didgrp\age\pts\adrcn 中文地址
extkey: "", // \didgrp\age\pts\extkey 客户编号
namcn: "", // \didgrp\age\pts\namcn 客户中文名称
}
},
apl: {
pts: {
adrcn: "", // \didgrp\apl\pts\adrcn 中文地址
extact: "", // \didgrp\apl\pts\extact 结算账号
extkey: "", // \didgrp\apl\pts\extkey 客户编号
namcn: "", // \didgrp\apl\pts\namcn 客户中文名称
}
},
ben: {
pts: {
adrcn: "", // \didgrp\ben\pts\adrcn 中文地址
extact: "", // \didgrp\ben\pts\extact 结算账号
extkey: "", // \didgrp\ben\pts\extkey 客户编号
namcn: "", // \didgrp\ben\pts\namcn 客户中文名称
}
},
cbs: {
max: {
amt: "", // \didgrp\cbs\max\amt Balance
cur: "", // \didgrp\cbs\max\cur Currency
},
nom1: {
amt: "", // \didgrp\cbs\nom1\amt Balance
cur: "", // \didgrp\cbs\nom1\cur Currency
},
},
con: {
pts: {
adrcn: "", // \didgrp\con\pts\adrcn 中文地址
extkey: "", // \didgrp\con\pts\extkey 客户编号
namcn: "", // \didgrp\con\pts\namcn 客户中文名称
}
},
neg: {
pts: {
adrcn: "", // \didgrp\neg\pts\adrcn 中文地址
extkey: "", // \didgrp\neg\pts\extkey 客户编号
namcn: "", // \didgrp\neg\pts\namcn 客户中文名称
}
}
},
liaall: {
liaallg: [],
liaccv: {
chgamt: "", // \liaall\liaccv\chgamt 变动金额
concur: "", // \liaall\liaccv\concur 业务结算币种
cshpct: "", // \liaall\liaccv\cshpct 保证金应收比例
liaccvg: [], // \liaall\liaccv\liaccvg
newamt: "", // \liaall\liaccv\newamt 业务金额
pctresamt: "", // \liaall\liaccv\pctresamt 应收/支保证金
relcshpct: "", // \liaall\liaccv\relcshpct 保证金实收比例
totcovamt: "", // \liaall\liaccv\totcovamt 保证金合计
}
},
setmod: {
docamt: "",
doccur: "",
feemac: "",
glemod: {
glelst: []
},
setfeg: {
fegmod: {
feslst: []
}
},
setglg: {
glgmod: {
glslst: []
}
},
setmac: ""
},
sysmod: {
spt: {
inr: ""
}
},
trnmod: {
trndoc: {
cortyp: "",
doccod: "",
docmod: {
doclst: []
},
docpth: ""
}
}
}
}
}
\ No newline at end of file
import CodeTable from "~/config/CodeTable/index"
export default {
curtxt: CodeTable.curtxt,
isstyp: CodeTable.isstyp,
trdtyp: CodeTable.trdtyp,
avbby: CodeTable.avbby,
allow: CodeTable.allow,
yesno: CodeTable.yesno,
negCode: CodeTable.negCode,
onsel: CodeTable.onsel,
dsp: CodeTable.dsp,
payflg: CodeTable.payflg,
rol: CodeTable.rol
}
\ No newline at end of file
export {default as codes} from './codes'
export {default as descriptor} from './descriptor'
export default class Sptsel{
constructor() {
this.data = {}
}
}
\ No newline at end of file
import CodeTable from "~/config/CodeTable/index"
export default {
curtxt: CodeTable.curtxt,
isstyp: CodeTable.isstyp,
trdtyp: CodeTable.trdtyp,
avbby: CodeTable.avbby,
allow: CodeTable.allow,
yesno: CodeTable.yesno,
negCode: CodeTable.negCode,
onsel: CodeTable.onsel,
dsp: CodeTable.dsp,
payflg: CodeTable.payflg,
rol: CodeTable.rol
}
\ No newline at end of file
export {default as codes} from './codes'
export {default as descriptor} from './descriptor'
export default class Trnrel{
constructor() {
this.data = {}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<eibs:Module xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:eibs="http://eibs.brilliance.com"
name="office" table="office" title="Unnamed transaction"/>
const Status = {
nameSpaced: true,
state: {
role: '0',
authMenus: [],
authButtons: [],
mode: 'normal',
highlights: [],
highlightChanges: [],
remark: '', //复核意见
homeStatus: { // 任务列表页状态
listConfig: undefined,
params: undefined,
searchParams: undefined,
activeName: undefined
}
},
mutations: {
setMode(state, value) {
state.mode = value
},
setHighlights(state, value) {
state.highlights = value
},
setHighlightChanges (state, value) {
state.highlightChanges = value
},
setRole(state, value) {
state.role = value
},
setAuthMenus(state, value) {
state.authMenus = value
},
setAuthButtons(state, value) {
state.authButtons = value
},
setRemark(state, value) {
state.remark = value
},
updateRemark(state, id) {
state.remark = state.remark + `\n ${id}:`
},
setHomeListConfig(state, value) {
console.log(value)
console.log('list config save')
state.homeStatus.listConfig = value
},
setHomeActiveName(state, value) {
state.homeStatus.activeName = value
},
setHomeParams(state, value) {
state.homeStatus.params = value
},
setHomeSearchParams(state, value) {
state.homeStatus.searchParams = value
},
resetHomeStatus(state) {
state.homeStatus = { // 任务列表页状态
listConfig: undefined,
params: undefined,
searchParams: undefined,
activeName: undefined
}
}
}
}
export default Status
\ No newline at end of file
const Swift = {
nameSpaced: true,
state: {
code: ''
},
mutations: {
setSwiftCode(state, value) {
state.code = value
}
}
}
export default Swift
\ No newline at end of file
import I18NStore from "./I18NStore"
import UserContext from "./UserContext"
import Status from "./Status"
import Swift from "./Swift"
import Vuex from 'vuex'
import Vue from 'vue'
......@@ -8,7 +10,9 @@ Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
I18n: I18NStore,
UserContext: UserContext
UserContext: UserContext,
Status: Status,
Swift: Swift
}
})
......
......@@ -131,7 +131,7 @@ import Mt202 from "./Mt202"
import Fmt100 from "./Fmt100"
import Cmt100 from "./Cmt100"
import Cptopn,{descriptor,codes} from "~/model/cptopn"
import Cptopn,{descriptor,codes} from "~/model/Cptopn"
import Api from "~/service/Api"
import Utils from "~/utils"
......@@ -162,6 +162,9 @@ export default {
'm-fmt100': Fmt100,
'm-cmt100': Cmt100
},
computed: {
},
data: function () {
return {
activeName: 'basic',
......@@ -263,7 +266,10 @@ export default {
else {
this.$notify.error({title: '错误',message: '服务请求失败!'})
}
}
},
tabClick(){
},
}
}
</script>
......
......@@ -1730,6 +1730,9 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
export default {
computed: {
},
data(){
return {
codes:{
......@@ -2101,7 +2104,8 @@ export default {
"liaall.liaccv.relcshpct":[{type: "string", required: false, len: 5, message: "输入不合法"}],
"liaall.liaccv.pctresamt":[{type: "number", required: false, message: "输入不合法"}],
"liaall.liaccv.totcovamt":[{type: "number", required: false, message: "输入不合法"}],
}
},
declareParams:{"fileName":"ditame.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditame/init"},
}
},
methods:{
......@@ -2537,6 +2541,9 @@ export default {
}
})
},
tabClick(){
},
},
created:async function(){
console.log("进入ditame交易");
......
......@@ -37,7 +37,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -221,7 +221,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -53,7 +53,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -148,7 +148,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -179,7 +179,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -99,7 +99,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -184,7 +184,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -200,7 +200,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -29,7 +29,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -359,7 +359,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
import CommonProcess from "~/mixin/CommonProcess"
export default {
......@@ -367,7 +367,7 @@ export default {
mixins: [CommonProcess],
data(){
return {
getElcsRef:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"},
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"},
}
},
methods:{...Event},
......
......@@ -104,7 +104,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -60,7 +60,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -244,7 +244,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -51,7 +51,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Ditopn/Event"
import Event from "~/model/Ditopn/Event"
export default {
props:["model","codes"],
......
......@@ -92,7 +92,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ditopn from "~/Model/Ditopn"
import CommonProcess from "~/mixin/CommonProcess"
// import Pattern from "@/Model/Ditopn/Pattern"
import Pattern from "~/model/Ditopn/Pattern"
import Ovwp from "./Ovwp"
import Revp from "./Revp"
import Tk from "./Tk"
......@@ -132,6 +132,9 @@ export default {
"m-ccvpan" : Ccvpan,
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
model:new Ditopn().data,
......@@ -139,10 +142,13 @@ export default {
rules:Pattern,
codes:{
},
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/init"},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入ditopn交易");
......
......@@ -113,6 +113,9 @@ import s_todo from "./TodoItem"
export default {
components:{"s-todo":s_todo},
computed: {
},
data(){
return {
todoActive:"WAT",
......@@ -162,12 +165,14 @@ export default {
},
},
rules:{}
}
},
methods:{
handleClick(index, row){
console.log(index)
},
tabClick(){
}
},
mounted:async function(){
......
......@@ -176,7 +176,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Sptsel/Event"
import Event from "~/model/Sptsel/Event"
import CommonProcess from "~/mixin/CommonProcess"
export default {
......@@ -184,7 +184,7 @@ export default {
mixins: [CommonProcess],
data(){
return {
onUsfmodShwflt:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/sptstm"},
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/sptstm"},
}
},
......
......@@ -14,14 +14,18 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptsel from "~/Model/Sptsel"
import CommonProcess from "~/mixin/CommonProcess.js"
// import Pattern from "@/Model/Sptsel/Pattern"
import Pattern from "~/model/Sptsel/Pattern"
import Menu from "./Menu"
import Event from "~/model/Sptsel/Event"
export default {
components:{
"m-menu" : Menu,
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
model:new Sptsel().data,
......@@ -29,12 +33,10 @@ export default {
rules:Pattern,
codes:{
},
init:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/init"},
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/init"},
}
},
methods:{
},
methods:{...Event},
mounted:async function(){
console.log("进入sptsel交易");
let rtnmsg = await Api.post(this,"init",{params:{}})
......
......@@ -346,7 +346,7 @@
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......@@ -356,7 +356,7 @@ export default {
},
data(){
return {
seaown:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/seaown"},
declareParams:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/seaown"},
}
},
methods:{...Event},
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -282,6 +282,9 @@ export default {
components:{
"m-pager":PaperShow
},
computed: {
},
data(){
return {
codes:{
......@@ -539,6 +542,9 @@ export default {
}
})
},
tabClick(){
},
},
mounted:async function(){
console.log("进入trndtl交易");
......
......@@ -241,7 +241,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -17,7 +17,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -30,7 +30,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -11,7 +11,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Event from "~/Model/Trnrel/Event"
import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
......
......@@ -16,7 +16,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trnrel from "~/Model/Trnrel"
import CommonProcess from "~/mixin/CommonProcess"
//import Pattern from "@/Model/Trnrel/Pattern"
import Pattern from "~/Model/Trnrel/Pattern"
import Inftrnps from "./Inftrnps"
import Trnp0 from "./Trnp0"
import Trnpwfm from "./Trnpwfm"
......@@ -32,6 +32,7 @@ import Prtp from "./Prtp"
// import * as poinMessage from '@/util/poin-common/messageManage.js'
import { TabPane,Col,Table,Form,FormItem,Upload,TableColumn,Card,Input,Button,Dialog,Select,Tabs,Option,DatePicker,Row} from 'element-ui'
import Event from "~/model/Trnrel/Event";
export default {
......@@ -39,18 +40,23 @@ export default {
"m-inftrnps" : Inftrnps,
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
model:new Trnrel().data,
rules:Pattern,
codes:{
},
init:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/init"},
declareParams:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/init"},
}
},
methods:{
tabClick(){
}
},
mounted:async function(){
console.log("进入trnrel交易");
......
......@@ -22,6 +22,9 @@ export default {
compb:CompB,
compc:CompC
},
computed: {
},
data(){
return {
model:{
......
<template>
<div class="loginContainer">
<div id="loginForamWrapper">
<h2>欢迎银行国际结算系统</h2>
<div id="loginForm">
<p style="text-align:left;font-size:1.2em;color:#888">用户登录 / LOGIN IN</p>
<el-form :model="loginForm" status-icon :rules="rules" ref="loginForm" size="small" >
<el-form-item prop="username" >
<el-input prefix-icon="el-icon-user" placeholder="请输入登录名" v-model="loginForm.username"></el-input>
</el-form-item>
<el-form-item prop="password" >
<el-input prefix-icon="el-icon-lock" placeholder="请输入密码" type="password" v-model="loginForm.password" autocomplete="off"></el-input>
</el-form-item>
<el-form-item>
<el-button style="width:100%;margin-top:1em;" type="primary" @click="submitForm('loginForm')">登录</el-button>
</el-form-item>
</el-form>
</div>
</div>
</div>
</template>
<script>
import { createNamespacedHelpers } from 'vuex'
const { mapState, mapMutations, mapActions } = createNamespacedHelpers('UserContext')
const { setLoginInfo } = mapMutations(["setLoginInfo"])
export default {
data() {
return {
loginForm: {
password: '',
username: ''
},
rules:{
username:[
{type: "string", required: true, message: "请填写用户名"}
],
password:[
{type: "string", required: true, message: "请填写密码"}
]
}
};
},
methods: {
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
this.setLoginInfo({userId:this.loginForm.username})
this.$router.push("/business/office");
} else {
console.log('error submit!!');
return false;
}
});
},
resetForm(formName) {
this.$refs[formName].resetFields();
},
setLoginInfo
}
}
</script>
<style>
.loginContainer{
flex: 1;
background-image: url("../../assets/login_bg.png");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
#loginForamWrapper{
width: 340px;
/* height:280px; */
}
#loginForm{
background-color: white;
padding:1em 2em;
border: 1px solid #d9d9d9;
box-shadow: 5px 5px 5px 0px #d9d9d9;
border-radius: 3px;
}
#loginForamWrapper h2{
color:#d9d9d9;
font-family: 宋体;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment