Commit 5cebdec1 by 潘际乾
parents df976a88 63a8db2f
...@@ -52,8 +52,8 @@ export default { ...@@ -52,8 +52,8 @@ export default {
<style> <style>
.m-table-search { .m-table-search {
position: relative; position: relative;
margin: -20px -20px 0 -30px; margin: -20px 0 0 0;
padding: 20px 20px 10px 20px; padding: 20px 0px 10px 20px;
border-bottom: 10px solid rgb(232, 232, 232); border-bottom: 10px solid rgb(232, 232, 232);
} }
.m-table-search-operation { .m-table-search-operation {
......
import Utils from "~/utils"
/** /**
* Cptadv Check规则 * Cptadv Check规则
*/ */
export default { let checkObj = {
"cptp.liqtyp" :null,
"cptp.liqtyp" :[checkCptpLiqtypN1000,], "cpdgrp.ori.pts.adrblk" :null,
"cpdgrp.ori.pts.adrblk" :[checkCpdgrpOriPtsAdrblkN950,], "cpdgrp.snd.pts.nam" :null,
"cptp.recget.sdamod.dadsnd" :[checkCptpRecgetSdamodDadsndN1000,], "cpdgrp.orc.pts.extkey" :null,
"cpdgrp.orc.pts.extkey" :[checkCpdgrpOrcPtsExtkeyN950,checkCpdgrpOrcPtsExtkeyN960,checkCpdgrpOrcPtsExtkeyN1000,], "cnybop.outflg" :null,
"cnybop.outflg" :[checkCnybopOutflgN1000,], "cpdgrp.pye.namelc" :null,
"cpdgrp.pye.namelc" :[checkCpdgrpPyeNamelcN1000,], "cptp.draweecountcode" :null,
"cptp.orcp.ptsget.sdamod.dadsnd" :[checkCptpOrcpPtsgetSdamodDadsndN1000,], "setmod.dspflg" :null,
"cptp.draweecountcode" :[checkCptpDraweecountcodeN1000,], "cpdgrp.rec.ownref" :null,
"setmod.dspflg" :[checkSetmodDspflgN1000,checkSetmodDspflgN1100,checkSetmodDspflgN1200,], "cpdgrp.orc.adrelc" :null,
"cpdgrp.rec.ownref" :[checkCpdgrpRecOwnrefN1000,], "cpdgrp.pye.pts.extkey" :null,
"cpdgrp.orc.adrelc" :[checkCpdgrpOrcAdrelcN1000,], "cptp.uetr" :null,
"cpdgrp.pye.pts.extkey" :[checkCpdgrpPyePtsExtkeyN950,checkCpdgrpPyePtsExtkeyN960,], "cpdgrp.pye.pts.adrblk" :null,
"cptp.uetr" :[checkCptpUetrN1000,], "cpdgrp.rec.trntyp" :null,
"cpdgrp.pye.pts.adrblk" :[checkCpdgrpPyePtsAdrblkN950,], "cpdgrp.ori.namelc" :null,
"cpdgrp.rec.trntyp" :[checkCpdgrpRecTrntypN1000,], "cnybop.cnyflg" :null,
"cpdgrp.ori.namelc" :[checkCpdgrpOriNamelcN1000,], "cpdgrp.rec.sztyp" :null,
"cnybop.cnyflg" :[checkCnybopCnyflgN1000,], "cptp.pyebchnam" :null,
"cpdgrp.rec.sztyp" :[checkCpdgrpRecSztypN1000,], "cpdgrp.pye.adrelc" :null,
"cptp.pyebchnam" :[checkCptpPyebchnamN1000,], "cpdgrp.rec.valdat" :null,
"cpdgrp.pye.adrelc" :[checkCpdgrpPyeAdrelcN1000,], "cpdgrp.rec.swftyp" :null,
"cpdgrp.rec.valdat" :[checkCpdgrpRecValdatN1000,], "cptp.orcnam" :null,
"cpdgrp.rec.swftyp" :[checkCpdgrpRecSwftypN1000,], "lendoc.account" :null,
"cptp.orcnam" :[checkCptpOrcnamN1000,], "cpdgrp.rec.clityp" :null,
"lendoc.account" :[checkLendocAccountN1000,], "cpdgrp.rec.paytype" :null,
"cpdgrp.rec.clityp" :[checkCpdgrpRecClitypN1000,], "cpdgrp.snd.adrelc" :null,
"cpdgrp.rec.paytype" :[checkCpdgrpRecPaytypeN1000,], "cpdgrp.orc.pts.adrblk" :null,
"cpdgrp.snd.adrelc" :[checkCpdgrpSndAdrelcN1000,], "bopmod.szflg" :null,
"cptp.orip.ptsget.sdamod.dadsnd" :[checkCptpOripPtsgetSdamodDadsndN1000,], "cptp.secmod" :null,
"cpdgrp.orc.pts.adrblk" :[checkCpdgrpOrcPtsAdrblkN950,], "cpdgrp.orc.namelc" :null,
"bopmod.szflg" :[checkBopmodSzflgN1000,], "cnybop.traflg" :null,
"cptp.sndp.ptsget.sdamod.dadsnd" :[checkCptpSndpPtsgetSdamodDadsndN1000,], "cpdgrp.ori.adrelc" :null,
"cptp.secmod" :[checkCptpSecmodN1000,], "cpdgrp.snd.pts.adrblk" :null,
"cpdgrp.orc.namelc" :[checkCpdgrpOrcNamelcN1000,], "cpdgrp.ori.pts.ref" :null,
"cnybop.traflg" :[checkCnybopTraflgN1000,], "cpdgrp.cbs.nom1.amt" :null,
"cptp.pyep.ptsget.sdamod.dadsnd" :[checkCptpPyepPtsgetSdamodDadsndN1000,], "cpdgrp.ori.pts.extkey" :null,
"cpdgrp.ori.adrelc" :[checkCpdgrpOriAdrelcN1000,], "cptp.pyebchkey" :null,
"cpdgrp.snd.pts.adrblk" :[checkCpdgrpSndPtsAdrblkN950,], "cpdgrp.cbs.max.amt" :null,
"cpdgrp.ori.pts.ref" :[checkCpdgrpOriPtsRefN1000,], "cpdgrp.snd.pts.extkey" :null,
"cpdgrp.cbs.nom1.amt" :[checkCpdgrpCbsNom1AmtN1000,], "bopmod.basflg" :null,
"cpdgrp.ori.pts.extkey" :[checkCpdgrpOriPtsExtkeyN950,checkCpdgrpOriPtsExtkeyN960,], "mtabut.coninf.conexedat" :null,
"cptp.pyebchkey" :[checkCptpPyebchkeyN1000,], "cpdgrp.rec.paydat" :null,
"cpdgrp.cbs.max.amt" :[checkCpdgrpCbsMaxAmtN1000,], "cnybop.libflg" :null,
"cpdgrp.snd.pts.extkey" :[checkCpdgrpSndPtsExtkeyN950,checkCpdgrpSndPtsExtkeyN960,checkCpdgrpSndPtsExtkeyN1000,], "cpdgrp.cbs.max.cur" :null,
"bopmod.basflg" :[checkBopmodBasflgN1000,], "bopmod.ownextkey" :null,
"mtabut.coninf.conexedat" :[checkMtabutConinfConexedatN1000,], "cpdgrp.rec.sysno" :null,
"cpdgrp.rec.paydat" :[checkCpdgrpRecPaydatN1000,], "setmod.docamt" :null,
"cnybop.libflg" :[checkCnybopLibflgN1000,], "bopmod.acttyp" :null,
"cpdgrp.cbs.max.cur" :[checkCpdgrpCbsMaxCurN1000,], "cpdgrp.snd.namelc" :null,
"bopmod.ownextkey" :[checkBopmodOwnextkeyN1000,], "cnybop.vouflg" :null,
"cpdgrp.rec.sysno" :[checkCpdgrpRecSysnoN1000,],
"setmod.docamt" :[checkSetmodDocamtN1000,checkSetmodDocamtN15000,],
"bopmod.acttyp" :[checkBopmodActtypN1000,],
"cpdgrp.snd.namelc" :[checkCpdgrpSndNamelcN1000,],
"cnybop.vouflg" :[checkCnybopVouflgN1000,],
}
/**
* source:cptp.@0057.script
* cptp
*/
function checkCptpLiqtypN1000()
{
}
/**
* source:ptsp.@0014.script
* cptp.orip
*/
function checkCpdgrpOriPtsAdrblkN950()
{
}
/**
* source:cpdget.@0001.script
* cptp.recget
*/
function checkCptpRecgetSdamodDadsndN1000()
{
}
/**
* source:ptsget.@0009.script
* cptp.orcp.ptsget
*/
function checkCpdgrpOrcPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* cptp.orcp
*/
function checkCpdgrpOrcPtsExtkeyN960()
{
}
/**
* source:cptadv.@0026.script
*
*/
function checkCpdgrpOrcPtsExtkeyN1000()
{
}
/**
* source:cnybop.@0074.script
* cnybop
*/
function checkCnybopOutflgN1000()
{
}
/**
* source:ptsp.@0038.script
* cptp.pyep
*/
function checkCpdgrpPyeNamelcN1000()
{
}
/**
* source:ptsget.@0001.script
* cptp.orcp.ptsget
*/
function checkCptpOrcpPtsgetSdamodDadsndN1000()
{
}
/**
* source:cptadv.@0090.script
*
*/
function checkCptpDraweecountcodeN1000()
{
}
/**
* source:setmod.@0076.script
* setmod
*/
function checkSetmodDspflgN1000()
{
}
/**
* source:setmod.@0090.script
* setmod
*/
function checkSetmodDspflgN1100()
{
}
/**
* source:setmod.@0146.script
* setmod
*/
function checkSetmodDspflgN1200()
{
}
/**
* source:cptadv.@0062.script
*
*/
function checkCpdgrpRecOwnrefN1000()
{
}
/**
* source:ptsp.@0039.script
* cptp.orcp
*/
function checkCpdgrpOrcAdrelcN1000()
{
}
/**
* source:ptsget.@0009.script
* cptp.pyep.ptsget
*/
function checkCpdgrpPyePtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* cptp.pyep
*/
function checkCpdgrpPyePtsExtkeyN960()
{
}
/**
* source:cptadv.@0094.script
*
*/
function checkCptpUetrN1000()
{
}
/**
* source:ptsp.@0014.script
* cptp.pyep
*/
function checkCpdgrpPyePtsAdrblkN950()
{
}
/**
* source:cptp.@0030.script
* cptp
*/
function checkCpdgrpRecTrntypN1000()
{
}
/**
* source:ptsp.@0038.script
* cptp.orip
*/
function checkCpdgrpOriNamelcN1000()
{
}
/**
* source:cnybop.@0072.script
* cnybop
*/
function checkCnybopCnyflgN1000()
{
}
/**
* source:cptp.@0032.script
* cptp
*/
function checkCpdgrpRecSztypN1000()
{
}
/**
* source:cptp.@0068.script
* cptp
*/
function checkCptpPyebchnamN1000()
{
}
/**
* source:ptsp.@0039.script
* cptp.pyep
*/
function checkCpdgrpPyeAdrelcN1000()
{
}
/**
* source:cptadv.@0010.script
*
*/
function checkCpdgrpRecValdatN1000()
{
}
/**
* source:cptp.@0055.script
* cptp
*/
function checkCpdgrpRecSwftypN1000()
{
}
/**
* source:cptadv.@0060.script
*
*/
function checkCptpOrcnamN1000()
{
}
/**
* source:lendoc.@0004.script
* lendoc
*/
function checkLendocAccountN1000()
{
}
/**
* source:cptp.@0033.script
* cptp
*/
function checkCpdgrpRecClitypN1000()
{
}
/**
* source:cptp.@0031.script
* cptp
*/
function checkCpdgrpRecPaytypeN1000()
{
} }
/**
* source:ptsp.@0039.script for (const key in checkObj) {
* cptp.sndp if (Object.hasOwnProperty.call(checkObj, key)) {
*/ checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
function checkCpdgrpSndAdrelcN1000() }
{
}
/**
* source:ptsget.@0001.script
* cptp.orip.ptsget
*/
function checkCptpOripPtsgetSdamodDadsndN1000()
{
}
/**
* source:ptsp.@0014.script
* cptp.orcp
*/
function checkCpdgrpOrcPtsAdrblkN950()
{
}
/**
* source:bopgat.@0029.script
* bopmod
*/
function checkBopmodSzflgN1000()
{
}
/**
* source:ptsget.@0001.script
* cptp.sndp.ptsget
*/
function checkCptpSndpPtsgetSdamodDadsndN1000()
{
}
/**
* source:cptp.@0062.script
* cptp
*/
function checkCptpSecmodN1000()
{
}
/**
* source:ptsp.@0038.script
* cptp.orcp
*/
function checkCpdgrpOrcNamelcN1000()
{
}
/**
* source:cnybop.@0073.script
* cnybop
*/
function checkCnybopTraflgN1000()
{
}
/**
* source:ptsget.@0001.script
* cptp.pyep.ptsget
*/
function checkCptpPyepPtsgetSdamodDadsndN1000()
{
}
/**
* source:ptsp.@0039.script
* cptp.orip
*/
function checkCpdgrpOriAdrelcN1000()
{
}
/**
* source:ptsp.@0014.script
* cptp.sndp
*/
function checkCpdgrpSndPtsAdrblkN950()
{
}
/**
* source:cptp.@0017.script
* cptp
*/
function checkCpdgrpOriPtsRefN1000()
{
}
/**
* source:cptadv.@0022.script
*
*/
function checkCpdgrpCbsNom1AmtN1000()
{
}
/**
* source:ptsget.@0009.script
* cptp.orip.ptsget
*/
function checkCpdgrpOriPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* cptp.orip
*/
function checkCpdgrpOriPtsExtkeyN960()
{
}
/**
* source:cptp.@0065.script
* cptp
*/
function checkCptpPyebchkeyN1000()
{
}
/**
* source:cptadv.@0000.script
*
*/
function checkCpdgrpCbsMaxAmtN1000()
{
}
/**
* source:ptsget.@0009.script
* cptp.sndp.ptsget
*/
function checkCpdgrpSndPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* cptp.sndp
*/
function checkCpdgrpSndPtsExtkeyN960()
{
}
/**
* source:cptadv.@0027.script
*
*/
function checkCpdgrpSndPtsExtkeyN1000()
{
}
/**
* source:bopgat.@0028.script
* bopmod
*/
function checkBopmodBasflgN1000()
{
}
/**
* source:coninf.@0014.script
* mtabut.coninf
*/
function checkMtabutConinfConexedatN1000()
{
}
/**
* source:cptp.@0035.script
* cptp
*/
function checkCpdgrpRecPaydatN1000()
{
}
/**
* source:cnybop.@0075.script
* cnybop
*/
function checkCnybopLibflgN1000()
{
}
/**
* source:cptadv.@0001.script
*
*/
function checkCpdgrpCbsMaxCurN1000()
{
}
/**
* source:bopgat.@0008.script
* bopmod
*/
function checkBopmodOwnextkeyN1000()
{
}
/**
* source:cptp.@0019.script
* cptp
*/
function checkCpdgrpRecSysnoN1000()
{
}
/**
* source:setmod.@0016.script
* setmod
*/
function checkSetmodDocamtN1000()
{
}
/**
* source:liaall.@0036.script
* liaall
*/
function checkSetmodDocamtN15000()
{
}
/**
* source:bopgat.@0014.script
* bopmod
*/
function checkBopmodActtypN1000()
{
}
/**
* source:ptsp.@0038.script
* cptp.sndp
*/
function checkCpdgrpSndNamelcN1000()
{
}
/**
* source:cnybop.@0076.script
* cnybop
*/
function checkCnybopVouflgN1000()
{
} }
export default checkObj
...@@ -3,366 +3,73 @@ ...@@ -3,366 +3,73 @@
* Cptadv Default规则 * Cptadv Default规则
*/ */
import Api from "~/service/Api"; import Api from "~/service/Api";
export default { import Utils from "~/utils/index"
"cpdgrp.snd.dbfadrblkcn" :defaultCpdgrpSndDbfadrblkcn, export default {
"cptp.liqtyp" :defaultCptpLiqtyp, "cpdgrp.pye.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :defaultMtabutConinfUsrExtkey, "cnybop.libflg" :Utils.defaultFunction,
"bopmod.outchargeamt" :defaultBopmodOutchargeamt, "setmod.doccur" :Utils.defaultFunction,
"cpdgrp.snd.pts.nam" :defaultCpdgrpSndPtsNam, "setmod.dspflg" :Utils.defaultFunction,
"cptp.commet" :defaultCptpCommet, "setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.advnam" :defaultTrnmodTrndocAdvnam, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"cptp.orcp.ptsget.sdamod.dadsnd" :defaultCptpOrcpPtsgetSdamodDadsnd, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"setmod.dspflg" :defaultSetmodDspflg, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"cpdgrp.rec.ownref" :defaultCpdgrpRecOwnref, "cpdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"mtabut.coninf.oitinf.labinftxt" :defaultMtabutConinfOitinfLabinftxt, "cpdgrp.rec.swftyp" :Utils.defaultFunction,
"mtabut.coninf.oitset.labinftxt" :defaultMtabutConinfOitsetLabinftxt, "cpdgrp.rec.valdat" :Utils.defaultFunction,
"cpdgrp.pye.pts.extkey" :defaultCpdgrpPyePtsExtkey, "bopmod.szflg" :Utils.defaultFunction,
"cptp.feesta" :defaultCptpFeesta, "bopmod.basflg" :Utils.defaultFunction,
"cpdgrp.rec.trntyp" :defaultCpdgrpRecTrntyp, "cpdgrp.cbs.max.amt" :Utils.defaultFunction,
"cptp.serpty" :defaultCptpSerpty, "cpdgrp.cbs.max.cur" :Utils.defaultFunction,
"cptp.getmod" :defaultCptpGetmod, "cpdgrp.ori.pts.extkey" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :defaultTrnmodTrndocCondocstm, "cpdgrp.ori.adrelc" :Utils.defaultFunction,
"cpdgrp.rec.valdat" :defaultCpdgrpRecValdat, "cpdgrp.ori.namelc" :Utils.defaultFunction,
"cptp.orcnam" :defaultCptpOrcnam, "cpdgrp.ori.dbfadrblkcn" :Utils.defaultFunction,
"cptp.sndp.det" :defaultCptpSndpDet, "cpdgrp.snd.pts.extkey" :Utils.defaultFunction,
"cpdgrp.rec.curf33b" :defaultCpdgrpRecCurf33b, "cpdgrp.snd.adrelc" :Utils.defaultFunction,
"cptp.orcp.det" :defaultCptpOrcpDet, "cpdgrp.snd.namelc" :Utils.defaultFunction,
"bopmod.dclflg" :defaultBopmodDclflg, "cpdgrp.snd.dbfadrblkcn" :Utils.defaultFunction,
"cptp.orcadr" :defaultCptpOrcadr, "cpdgrp.snd.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.cbs.nom1.cur" :defaultCpdgrpCbsNom1Cur, "cpdgrp.ori.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.rec.f23b" :defaultCpdgrpRecF23b, "cnybop.vouflg" :Utils.defaultFunction,
"cnybop.traflg" :defaultCnybopTraflg, "bopmod.vrfflg" :Utils.defaultFunction,
"cptp.clmlab" :defaultCptpClmlab, "cptp.liqtyp" :Utils.defaultFunction,
"cpdgrp.snd.pts.adrblk" :defaultCpdgrpSndPtsAdrblk, "cpdgrp.orc.pts.adrblk" :Utils.defaultFunction,
"cptp.pyebchkey" :defaultCptpPyebchkey, "cpdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"trnmod.trndoc.advlabel" :defaultTrnmodTrndocAdvlabel, "cptp.resbchnam" :Utils.defaultFunction,
"cpdgrp.rec.pyeact" :defaultCpdgrpRecPyeact, "cptp.secmod" :Utils.defaultFunction,
"cptp.orip.det" :defaultCptpOripDet, "cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction,
"bopmod.basflg" :defaultBopmodBasflg, "cptp.payuil" :Utils.defaultFunction,
"cptp.shktyp" :defaultCptpShktyp, "cnybop.traflg" :Utils.defaultFunction,
"cpdgrp.orc.pts.ref" :defaultCpdgrpOrcPtsRef, "cpdgrp.pye.pts.extkey" :Utils.defaultFunction,
"setmod.zmqacc" :defaultSetmodZmqacc, "cpdgrp.orc.pts.extkey" :Utils.defaultFunction,
"cpdgrp.rec.othbch" :defaultCpdgrpRecOthbch, "cpdgrp.orc.adrelc" :Utils.defaultFunction,
"bopmod.ownextkey" :defaultBopmodOwnextkey, "cpdgrp.orc.namelc" :Utils.defaultFunction,
"setmod.xreflg" :defaultSetmodXreflg, "cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :defaultMtabutConinfOitinfOitInflev, "cptp.flg" :Utils.defaultFunction,
"bopmod.acttyp" :defaultBopmodActtyp, "cptp.commet" :Utils.defaultFunction,
"cptp.valdat" :defaultCptpValdat, "cpdgrp.rec.ownref" :Utils.defaultFunction,
"cpdgrp.rec.cur71f" :defaultCpdgrpRecCur71f, "cptp.comsystbl" :Utils.defaultFunction,
"cpdgrp.pye.dbfadrblkcn" :defaultCpdgrpPyeDbfadrblkcn, "cpdgrp.rec.trntyp" :Utils.defaultFunction,
"cpdgrp.ori.pts.adrblk" :defaultCpdgrpOriPtsAdrblk, "cpdgrp.rec.orcact" :Utils.defaultFunction,
"cpdgrp.orc.pts.extkey" :defaultCpdgrpOrcPtsExtkey, "cptp.resbch" :Utils.defaultFunction,
"cnybop.outflg" :defaultCnybopOutflg, "setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trnmod.trndoc.advdoc" :defaultTrnmodTrndocAdvdoc, "cpdgrp.rec.f23b" :Utils.defaultFunction,
"bopmod.vrfflg" :defaultBopmodVrfflg, "cpdgrp.pye.adrelc" :Utils.defaultFunction,
"cpdgrp.pye.pts.adrblk" :defaultCpdgrpPyePtsAdrblk, "cpdgrp.pye.namelc" :Utils.defaultFunction,
"cnybop.cnyflg" :defaultCnybopCnyflg, "lendoc.actflg" :Utils.defaultFunction,
"cptp.paydatsta" :defaultCptpPaydatsta, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"cptp.bustyp" :defaultCptpBustyp, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"cptp.comsystbl" :defaultCptpComsystbl, "cptp.payeecountcode" :Utils.defaultFunction,
"setmod.zmqacclab" :defaultSetmodZmqacclab, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"cpdgrp.rec.swftyp" :defaultCpdgrpRecSwftyp, "bopmod.dclflg" :Utils.defaultFunction,
"cptp.pyenam" :defaultCptpPyenam, "cpdgrp.rec.detchgcod" :Utils.defaultFunction,
"cptp.pyeadr" :defaultCptpPyeadr, "cnybop.cnyflg" :Utils.defaultFunction,
"cpdgrp.rec.detchgcod" :defaultCpdgrpRecDetchgcod, "cptp.draweecountcode" :Utils.defaultFunction,
"cptp.commetlab" :defaultCptpCommetlab, "cpdgrp.snd.pts.nam" :Utils.defaultFunction,
"lendoc.account" :defaultLendocAccount, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"cptp.seclab" :defaultCptpSeclab, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"cpdgrp.pye.pts.ref" :defaultCpdgrpPyePtsRef, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"cptp.orip.ptsget.sdamod.dadsnd" :defaultCptpOripPtsgetSdamodDadsnd, "cnybop.outflg" :Utils.defaultFunction,
"cpdgrp.orc.pts.adrblk" :defaultCpdgrpOrcPtsAdrblk, }
"bopmod.szflg" :defaultBopmodSzflg, //你可以添加自动default处理
"cptp.sndp.ptsget.sdamod.dadsnd" :defaultCptpSndpPtsgetSdamodDadsnd,
"cpdgrp.rec.nam" :defaultCpdgrpRecNam,
"cpdgrp.rec.feecur" :defaultCpdgrpRecFeecur,
"cptp.secmod" :defaultCptpSecmod,
"bopmod.outchargeccy" :defaultBopmodOutchargeccy,
"cptp.pyep.ptsget.sdamod.dadsnd" :defaultCptpPyepPtsgetSdamodDadsnd,
"trnmod.trndoc.amdapl" :defaultTrnmodTrndocAmdapl,
"cpdgrp.ori.dbfadrblkcn" :defaultCpdgrpOriDbfadrblkcn,
"cpdgrp.ori.pts.ref" :defaultCpdgrpOriPtsRef,
"mtabut.coninf.oitset.oit.inflev" :defaultMtabutConinfOitsetOitInflev,
"cpdgrp.ori.pts.extkey" :defaultCpdgrpOriPtsExtkey,
"cpdgrp.cbs.max.amt" :defaultCpdgrpCbsMaxAmt,
"cpdgrp.snd.pts.extkey" :defaultCpdgrpSndPtsExtkey,
"cptp.getref" :defaultCptpGetref,
"mtabut.coninf.conexedat" :defaultMtabutConinfConexedat,
"cpdgrp.orc.dbfadrblkcn" :defaultCpdgrpOrcDbfadrblkcn,
"cnybop.libflg" :defaultCnybopLibflg,
"cpdgrp.cbs.max.cur" :defaultCpdgrpCbsMaxCur,
"trnmod.trndoc.amdnam" :defaultTrnmodTrndocAmdnam,
"cptp.pyep.det" :defaultCptpPyepDet,
"cptp.payuil" :defaultCptpPayuil,
"cnybop.vouflg" :defaultCnybopVouflg,
}
function defaultCpdgrpSndDbfadrblkcn()
{
}
function defaultCptpLiqtyp()
{
}
function defaultMtabutConinfUsrExtkey()
{
}
function defaultBopmodOutchargeamt()
{
}
function defaultCpdgrpSndPtsNam()
{
}
function defaultCptpCommet()
{
}
function defaultTrnmodTrndocAdvnam()
{
}
function defaultCptpOrcpPtsgetSdamodDadsnd()
{
}
function defaultSetmodDspflg()
{
}
function defaultCpdgrpRecOwnref()
{
}
function defaultMtabutConinfOitinfLabinftxt()
{
}
function defaultMtabutConinfOitsetLabinftxt()
{
}
function defaultCpdgrpPyePtsExtkey()
{
}
function defaultCptpFeesta()
{
}
function defaultCpdgrpRecTrntyp()
{
}
function defaultCptpSerpty()
{
}
function defaultCptpGetmod()
{
}
function defaultTrnmodTrndocCondocstm()
{
}
function defaultCpdgrpRecValdat()
{
}
function defaultCptpOrcnam()
{
}
function defaultCptpSndpDet()
{
}
function defaultCpdgrpRecCurf33b()
{
}
function defaultCptpOrcpDet()
{
}
function defaultBopmodDclflg()
{
}
function defaultCptpOrcadr()
{
}
function defaultCpdgrpCbsNom1Cur()
{
}
function defaultCpdgrpRecF23b()
{
}
function defaultCnybopTraflg()
{
}
function defaultCptpClmlab()
{
}
function defaultCpdgrpSndPtsAdrblk()
{
}
function defaultCptpPyebchkey()
{
}
function defaultTrnmodTrndocAdvlabel()
{
}
function defaultCpdgrpRecPyeact()
{
}
function defaultCptpOripDet()
{
}
function defaultBopmodBasflg()
{
}
function defaultCptpShktyp()
{
}
function defaultCpdgrpOrcPtsRef()
{
}
function defaultSetmodZmqacc()
{
}
function defaultCpdgrpRecOthbch()
{
}
function defaultBopmodOwnextkey()
{
}
function defaultSetmodXreflg()
{
}
function defaultMtabutConinfOitinfOitInflev()
{
}
function defaultBopmodActtyp()
{
}
function defaultCptpValdat()
{
}
function defaultCpdgrpRecCur71f()
{
}
function defaultCpdgrpPyeDbfadrblkcn()
{
}
function defaultCpdgrpOriPtsAdrblk()
{
}
function defaultCpdgrpOrcPtsExtkey()
{
}
function defaultCnybopOutflg()
{
}
function defaultTrnmodTrndocAdvdoc()
{
}
function defaultBopmodVrfflg()
{
}
function defaultCpdgrpPyePtsAdrblk()
{
}
function defaultCnybopCnyflg()
{
}
function defaultCptpPaydatsta()
{
}
function defaultCptpBustyp()
{
}
function defaultCptpComsystbl()
{
}
function defaultSetmodZmqacclab()
{
}
function defaultCpdgrpRecSwftyp()
{
}
function defaultCptpPyenam()
{
}
function defaultCptpPyeadr()
{
}
function defaultCpdgrpRecDetchgcod()
{
}
function defaultCptpCommetlab()
{
}
function defaultLendocAccount()
{
}
function defaultCptpSeclab()
{
}
function defaultCpdgrpPyePtsRef()
{
}
function defaultCptpOripPtsgetSdamodDadsnd()
{
}
function defaultCpdgrpOrcPtsAdrblk()
{
}
function defaultBopmodSzflg()
{
}
function defaultCptpSndpPtsgetSdamodDadsnd()
{
}
function defaultCpdgrpRecNam()
{
}
function defaultCpdgrpRecFeecur()
{
}
function defaultCptpSecmod()
{
}
function defaultBopmodOutchargeccy()
{
}
function defaultCptpPyepPtsgetSdamodDadsnd()
{
}
function defaultTrnmodTrndocAmdapl()
{
}
function defaultCpdgrpOriDbfadrblkcn()
{
}
function defaultCpdgrpOriPtsRef()
{
}
function defaultMtabutConinfOitsetOitInflev()
{
}
function defaultCpdgrpOriPtsExtkey()
{
}
function defaultCpdgrpCbsMaxAmt()
{
}
function defaultCpdgrpSndPtsExtkey()
{
}
function defaultCptpGetref()
{
}
function defaultMtabutConinfConexedat()
{
}
function defaultCpdgrpOrcDbfadrblkcn()
{
}
function defaultCnybopLibflg()
{
}
function defaultCpdgrpCbsMaxCur()
{
}
function defaultTrnmodTrndocAmdnam()
{
}
function defaultCptpPyepDet()
{
}
function defaultCptpPayuil()
{
}
function defaultCnybopVouflg()
{
}
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils"
export default { export default {
async onCptpGetref() { async onCptpGetref(){
let rtnmsg = await this.executeRule("cptp_getref") let rtnmsg = await this.executeRule("cptp.getref")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCptpGetinf() { async onCptpGetinf(){
let rtnmsg = await this.executeRule("cptp_getinf") let rtnmsg = await this.executeRule("cptp.getinf")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCptpGetuetr() { async onCptpGetuetr(){
let rtnmsg = await this.executeRule("cptp_getuetr") let rtnmsg = await this.executeRule("cptp.getuetr")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCptpSelbut() { async onCptpSelbut(){
let rtnmsg = await this.executeRule("cptp_selbut") let rtnmsg = await this.executeRule("cptp.selbut")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCptpSelbut1() { async onCptpSelbut1(){
let rtnmsg = await this.executeRule("cptp_selbut1") let rtnmsg = await this.executeRule("cptp.selbut1")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSndpDet() { async onSndpDet(){
let rtnmsg = await this.executeRule("sndp_det") let rtnmsg = await this.executeRule("sndp.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onOripDet() { async onOripDet(){
let rtnmsg = await this.executeRule("orip_det") let rtnmsg = await this.executeRule("orip.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCptpGetmod() { async onCptpGetmod(){
let rtnmsg = await this.executeRule("cptp_getmod") let rtnmsg = await this.executeRule("cptp.getmod")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onOrcpDet() { async onOrcpDet(){
let rtnmsg = await this.executeRule("orcp_det") let rtnmsg = await this.executeRule("orcp.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onPyepDet() { async onPyepDet(){
let rtnmsg = await this.executeRule("pyep_det") let rtnmsg = await this.executeRule("pyep.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCptpSerpty() { async onCptpSerpty(){
let rtnmsg = await this.executeRule("cptp_serpty") let rtnmsg = await this.executeRule("cptp.serpty")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetmodDet() { async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod_det") let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButshw() { async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc_butshw") let rtnmsg = await this.executeRule("trndoc.butshw")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButadd() { async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc_butadd") let rtnmsg = await this.executeRule("trndoc.butadd")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButnew() { async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc_butnew") let rtnmsg = await this.executeRule("trndoc.butnew")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButattto() { async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc_butattto") let rtnmsg = await this.executeRule("trndoc.butattto")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButdel() { async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc_butdel") let rtnmsg = await this.executeRule("trndoc.butdel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButatt() { async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc_butatt") let rtnmsg = await this.executeRule("trndoc.butatt")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf(data) {
console.log('测试。。。。。。。', data)
},
} }
\ No newline at end of file
...@@ -306,15 +306,6 @@ export default { ...@@ -306,15 +306,6 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bopmod.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -336,6 +327,10 @@ export default { ...@@ -336,6 +327,10 @@ export default {
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -412,4 +407,13 @@ export default { ...@@ -412,4 +407,13 @@ export default {
"bopmod.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
} }
\ No newline at end of file
import Api from "~/service/Api"; import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cptadv{ export default class Cptadv{
constructor () { constructor () {
this.data = { this.data = {
...@@ -17,9 +19,9 @@ export default class Cptadv{ ...@@ -17,9 +19,9 @@ export default class Cptadv{
cur71f:"", // 发报行扣费金额 .cpdgrp.rec.cur71f cur71f:"", // 发报行扣费金额 .cpdgrp.rec.cur71f
amt71f:"", // 发报行扣费金额 .cpdgrp.rec.amt71f amt71f:"", // 发报行扣费金额 .cpdgrp.rec.amt71f
f23b:"", // 银行操作码 .cpdgrp.rec.f23b f23b:"", // 银行操作码 .cpdgrp.rec.f23b
pyeact:"", // 收款人号 .cpdgrp.rec.pyeact pyeact:"", // 收款人号 .cpdgrp.rec.pyeact
sztyp:"", // 收支类型 .cpdgrp.rec.sztyp sztyp:"", // 收支类型 .cpdgrp.rec.sztyp
orcact:"", // 汇款人号 .cpdgrp.rec.orcact orcact:"", // 汇款人号 .cpdgrp.rec.orcact
trntyp:"", // 汇款性�'� .cpdgrp.rec.trntyp trntyp:"", // 汇款性�'� .cpdgrp.rec.trntyp
paytype:"", // 汇款方式 .cpdgrp.rec.paytype paytype:"", // 汇款方式 .cpdgrp.rec.paytype
gors:"", // 收款对象 .cpdgrp.rec.gors gors:"", // 收款对象 .cpdgrp.rec.gors
...@@ -140,6 +142,15 @@ export default class Cptadv{ ...@@ -140,6 +142,15 @@ export default class Cptadv{
payeecountcode:"", // 收款人常驻国家/地区代码 .cptp.payeecountcode payeecountcode:"", // 收款人常驻国家/地区代码 .cptp.payeecountcode
uetr:"", // Uetr .cptp.uetr uetr:"", // Uetr .cptp.uetr
}, },
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
lendoc:{
actflg:"", // Input Account .lendoc.actflg
account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum
},
bopmod:{ bopmod:{
szflg:"", // 申报类型 .bopmod.szflg szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg basflg:"", // 基础数据 .bopmod.basflg
...@@ -150,73 +161,6 @@ export default class Cptadv{ ...@@ -150,73 +161,6 @@ export default class Cptadv{
outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp:"", // 款项来源 .bopmod.acttyp acttyp:"", // 款项来源 .bopmod.acttyp
}, },
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
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
},
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
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
doceot: [],
},
},
lendoc:{
actflg:"", // Input Account .lendoc.actflg
account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum
},
cnybop:{ cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index"
export default { export default {
async onCptpGetref() { async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref") let rtnmsg = await this.executeRule("cptp_getref")
...@@ -218,10 +219,25 @@ export default { ...@@ -218,10 +219,25 @@ export default {
}, },
async onOpnpButgetref() { async onOpnpButgetref() {
let rtnmsg = await this.executeRule("ditp.butgetref") let rtnmsg = await this.executeRule("cptp.getref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async swftypChange() {
let rtnmsg = await this.executeRule("cpdgrp.rec.swftyp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<!-- ============== 顶部============================== --> <!-- ============== 顶部============================== -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="业务编号" style="width:100%"> <el-form-item label="业务编号" style="width:100%" prop="cpdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cpdgrp.rec.ownref" v-model="model.cpdgrp.rec.ownref"
...@@ -36,7 +35,7 @@ ...@@ -36,7 +35,7 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Name"> <el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input <c-input
v-model="model.cpdgrp.rec.nam" v-model="model.cpdgrp.rec.nam"
maxlength="40" maxlength="40"
...@@ -50,7 +49,7 @@ ...@@ -50,7 +49,7 @@
<!-- ========================左边======================= --> <!-- ========================左边======================= -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="清算编号" style="width:100%"> <el-form-item label="清算编号" style="width:100%" prop="cpdgrp.rec.sysno">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cpdgrp.rec.sysno" v-model="model.cpdgrp.rec.sysno"
...@@ -73,11 +72,12 @@ ...@@ -73,11 +72,12 @@
</c-col> </c-col>
<c-col :span="13"> <c-col :span="13">
<el-form-item label="汇款金额"> <el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
<c-select <c-select
v-model="model.cpdgrp.cbs.nom1.cur" v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 95%" style="width: 95%"
placeholder="请选择Currency" placeholder="请选择Currency"
@change="commonExecuteRule('cpdgrp.cbs.nom1.cur')"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -89,26 +89,26 @@ ...@@ -89,26 +89,26 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="0" style="text-align: left"> <el-form-item label="" label-width="0" style="text-align: left" prop="cpdgrp.cbs.nom1.amt">
<c-input <c-input
v-model="model.cpdgrp.cbs.nom1.amt" v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入汇款金额" placeholder="请输入汇款金额"
@change="commonExecuteNotify()"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13"> <c-col :span="14">
<el-form-item label="所属行"> <el-form-item label="所属行" prop="cpdgrp.rec.othbch">
<c-input <c-input
v-model="model.cpdgrp.rec.othbch" v-model="model.cpdgrp.rec.othbch"
maxlength="8" maxlength="8"
placeholder="请输入所属行" placeholder="请输入所属行"
style="width:95%"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="10">
<el-form-item label="汇款语种" label-width="100px"> <el-form-item label="汇款语种" label-width="60px" style="margin-left: 12px" prop="cptp.payuil">
<c-select <c-select
v-model="model.cptp.payuil" v-model="model.cptp.payuil"
style="width: 100%" style="width: 100%"
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人常驻国家/地区代码"> <el-form-item label="付款人常驻国家/地区代码" prop="cptp.draweecountcode">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cptp.draweecountcode" v-model="model.cptp.draweecountcode"
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="我行费用负担"> <el-form-item label="我行费用负担" prop="cpdgrp.rec.detchgcod">
<c-select <c-select
v-model="model.cpdgrp.rec.detchgcod" v-model="model.cpdgrp.rec.detchgcod"
style="width: 100%" style="width: 100%"
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="货物类型"> <el-form-item label="货物类型" prop="cpdgrp.rec.stagod">
<c-select <c-select
v-model="model.cpdgrp.rec.stagod" v-model="model.cpdgrp.rec.stagod"
style="width: 100%" style="width: 100%"
...@@ -182,8 +182,8 @@ ...@@ -182,8 +182,8 @@
<!-- ========================右边======================= --> <!-- ========================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="12"> <c-col :span="13">
<el-form-item label="汇款性质"> <el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
<c-select <c-select
v-model="model.cpdgrp.rec.trntyp" v-model="model.cpdgrp.rec.trntyp"
style="width: 100%" style="width: 100%"
...@@ -198,8 +198,8 @@ ...@@ -198,8 +198,8 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="汇款方式"> <el-form-item label="汇款方式" label-width="40%" prop="cpdgrp.rec.paytype">
<c-select <c-select
v-model="model.cpdgrp.rec.paytype" v-model="model.cpdgrp.rec.paytype"
style="width: 100%" style="width: 100%"
...@@ -214,8 +214,8 @@ ...@@ -214,8 +214,8 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="13">
<el-form-item label="收款对象"> <el-form-item label="收款对象" prop="cpdgrp.rec.gors">
<c-select <c-select
v-model="model.cpdgrp.rec.gors" v-model="model.cpdgrp.rec.gors"
style="width: 100%" style="width: 100%"
...@@ -231,8 +231,8 @@ ...@@ -231,8 +231,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="收支类型"> <el-form-item label="收支类型" label-width="40%" prop="cpdgrp.rec.sztyp">
<c-select <c-select
v-model="model.cpdgrp.rec.sztyp" v-model="model.cpdgrp.rec.sztyp"
style="width: 100%" style="width: 100%"
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Uetr"> <el-form-item label="Uetr" prop="cptp.uetr">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cptp.uetr" v-model="model.cptp.uetr"
...@@ -264,8 +264,8 @@ ...@@ -264,8 +264,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="13">
<el-form-item label="解付日期"> <el-form-item label="解付日期" prop="cpdgrp.rec.paydat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.cpdgrp.rec.paydat" v-model="model.cpdgrp.rec.paydat"
...@@ -274,18 +274,19 @@ ...@@ -274,18 +274,19 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="起息日"> <el-form-item label="起息日" label-width="40%" prop="cpdgrp.rec.valdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.cpdgrp.rec.valdat" v-model="model.cpdgrp.rec.valdat"
style="width: 100%" style="width: 100%"
placeholder="请选择起息日" placeholder="请选择起息日"
@change="commonExecuteNotify()"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="13">
<el-form-item label="客户类型"> <el-form-item label="客户类型" prop="cpdgrp.rec.clityp">
<c-select <c-select
v-model="model.cpdgrp.rec.clityp" v-model="model.cpdgrp.rec.clityp"
style="width: 100%" style="width: 100%"
...@@ -301,12 +302,14 @@ ...@@ -301,12 +302,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="报文类型"> <el-form-item label="报文类型" label-width="40%" prop="cpdgrp.rec.swftyp">
<c-select <c-select
v-model="model.cpdgrp.rec.swftyp" v-model="model.cpdgrp.rec.swftyp"
style="width: 100%" style="width: 100%"
placeholder="请选择报文类型" placeholder="请选择报文类型"
@change="commonExecuteRule('cpdgrp.rec.swftyp')"
> >
<el-option <el-option
v-for="item in codes.swftypOpnp" v-for="item in codes.swftypOpnp"
...@@ -318,8 +321,8 @@ ...@@ -318,8 +321,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="国外费用"> <el-form-item label="国外费用" prop="cpdgrp.rec.feecur">
<c-select <c-select
v-model="model.cpdgrp.rec.feecur" v-model="model.cpdgrp.rec.feecur"
style="width: 100%" style="width: 100%"
...@@ -336,11 +339,12 @@ ...@@ -336,11 +339,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="13">
<el-form-item label="" label-width="20px"> <el-form-item label="" label-width="10px" prop="cpdgrp.rec.feeamt">
<c-input <c-input
v-model="model.cpdgrp.rec.feeamt" v-model="model.cpdgrp.rec.feeamt"
placeholder="请输入国外费用金额" placeholder="请输入国外费用金额"
style="width: 64%"
></c-input> ></c-input>
<c-checkbox v-model="model.cpdgrp.rec.tsnflg" <c-checkbox v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox >同名划转标志</c-checkbox
...@@ -1006,11 +1010,11 @@ ...@@ -1006,11 +1010,11 @@
<c-input type="textarea" v-model="model.cpdgrp.pye.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> <c-input type="textarea" v-model="model.cpdgrp.pye.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
</c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptadv/Event"; import Event from "~/model/Cptadv/Event";
...@@ -1034,7 +1038,21 @@ export default { ...@@ -1034,7 +1038,21 @@ export default {
}; };
}, },
methods: { ...Event, methods: { ...Event,
onSeainf(){} onSeainf(){},
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
commonExecuteNotify(){
this.executeNotify().then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
}, },
created: function () { created: function () {
console.log(this.root); console.log(this.root);
......
<template> <template>
<c-page title="汇入汇款"> <c-page title="汇入汇款">
<div class="eContainer"> <div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -10,13 +23,13 @@ ...@@ -10,13 +23,13 @@
size="small" size="small"
> >
<c-tabs ref="elment" :value="tabVal" type="card" @tab-click="tabClick"> <c-tabs ref="elment" :value="tabVal" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1"> <el-tab-pane label="基本信息" name="opnp1">
<!--PD000020 --> <!--PD000020 -->
<c-content> <c-content>
<m-opnp1 :model="model" :codes="codes" /> <m-opnp1 :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
<!--PD000006 --> <!--PD000006 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -55,10 +68,13 @@ import Utils from "~/utils/index"; ...@@ -55,10 +68,13 @@ import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Cptadv from "~/model/Cptadv"; import Cptadv from "~/model/Cptadv";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Cptadv/Pattern"; import CommonFuncs from "~/mixin/CommonFuncs";
import Opnp1 from "./Opnp1"; import Opnp1 from "./Opnp1";
import Docpan2 from "./Docpan2"; import Docpan2 from "./Docpan2";
import Wg from "./Wg"; import Wg from "./Wg";
import Pattern from "~/model/Cptadv/Pattern";
import Default from "~/model/Cptadv/Default";
import Check from "~/model/Cptadv/Check";
// import Setpan from "./Setpan"; // import Setpan from "./Setpan";
// import Coninfp from "./Coninfp"; // import Coninfp from "./Coninfp";
// import Docpan from "./Docpan"; // import Docpan from "./Docpan";
...@@ -88,7 +104,8 @@ export default { ...@@ -88,7 +104,8 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() { data() {
return { return {
tabVal: "opnp1", tabVal: "opnp1",
...@@ -96,7 +113,10 @@ export default { ...@@ -96,7 +113,10 @@ export default {
model: new Cptadv().data, model: new Cptadv().data,
// defaultRule:Default, // defaultRule:Default,
// rules:this.mergeRules(Pattern,Check), // rules:this.mergeRules(Pattern,Check),
rules: Pattern, checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
}; };
}, },
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
label="业务编号" label="业务编号"
prop="cptp.recget.sdamod.dadsnd" prop="cpdgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.cptp.recget.sdamod.dadsnd" v-model="model.cpdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
disabled disabled
...@@ -322,6 +322,7 @@ ...@@ -322,6 +322,7 @@
:disabled=" :disabled="
model.cpdgrp.cbs.nom1.amt === '0.000' model.cpdgrp.cbs.nom1.amt === '0.000'
" "
@change="swftypChange"
> >
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" --> <!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
<el-option <el-option
...@@ -465,14 +466,13 @@ export default { ...@@ -465,14 +466,13 @@ export default {
...Event, ...Event,
onCptpGetref() {}, onCptpGetref() {},
onCptpGetmod() {}, onCptpGetmod() {},
}, },
created: function () {}, created: function () {},
computed: { computed: {
flag() { flag() {
return ( return (
this.model.cpdgrp.orc.pts.extkey == "" || this.model.cpdgrp.orc.pts.extkey == ""
this.model.cpdgrp.rec.ownref != "" // && this.model.cpdgrp.rec.ownref != ""
); );
}, },
}, },
......
...@@ -383,21 +383,6 @@ ...@@ -383,21 +383,6 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Details of Charges(Tag 71a)" label-width="35%"> <el-form-item label="Details of Charges(Tag 71a)" label-width="35%">
<c-select
v-model="model.cptp.liqtyp"
style="width: 100%"
placeholder="请选择清算模式"
:disabled="
model.cpdgrp.cbs.nom1.amt === '0.000'
"
>
<el-option
v-for="item in liqtypOptions"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -426,20 +411,9 @@ import Event from "~/model/Cptopn/Event"; ...@@ -426,20 +411,9 @@ import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
watch: {
"model.cptp.qsfysd": function () {
if (this.model.cptp.qsfysd == "") {
this.model.cptp.fwtgyh == "";
} else {
this.model.cptp.fwtgyh = "CHASUS33XXX";
console.log(this.model.cptp.fwtgyh);
}
},
},
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
}; };
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<el-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> <el-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1"> <el-tab-pane label="汇款信息" name="opnp1">
<!--PD000020 --> <!--PD000020 -->
<c-content> <c-content>
<m-opnp1 :model="model" :codes="codes" /> <m-opnp1 :model="model" :codes="codes" />
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<m-AdditionalInfo :model="model" :codes="codes" /> <m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="账务" name="setpan">
<!--PD000000 --> <!--PD000000 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -33,17 +33,17 @@ ...@@ -33,17 +33,17 @@
<m-glepan :model="model" :codes="codes" ref="glepan"/> <m-glepan :model="model" :codes="codes" ref="glepan"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<!--PD000000 --> <!--PD000000 -->
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<!--PD000529 --> <!--PD000529 -->
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="附件" name="doctre">
<!--PD000546 --> <!--PD000546 -->
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
padding: 10px 0 10px 30px; padding: 10px 0 10px 30px;
background-color: #f7faff; background-color: #f7faff;
} }
.eContainer { /* .eContainer {
padding: 3px 15px; padding: 3px 15px;
} } */
</style> </style>
\ No newline at end of file
...@@ -254,8 +254,8 @@ export default { ...@@ -254,8 +254,8 @@ export default {
} }
</script> </script>
<style scoped> <style scoped>
.eContainer { /* .eContainer {
padding: 3px 15px; padding: 3px 15px;
} } */
</style> </style>
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
v-model="model.cpdgrp.ori.pts.ref" v-model="model.cpdgrp.ori.pts.ref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -19,7 +18,10 @@ ...@@ -19,7 +18,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="18"> <c-col :span="18">
<el-form-item label=""> <el-form-item label="">
<c-input placeholder="" disabled></c-input> <c-input
v-model="model.cpdgrp.ori.pts.extkey"
placeholder=""
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6" style="text-align: right"> <c-col :span="6" style="text-align: right">
...@@ -34,7 +36,12 @@ ...@@ -34,7 +36,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -62,7 +69,6 @@ ...@@ -62,7 +69,6 @@
v-model="model.cpdgrp.orc.pts.ref" v-model="model.cpdgrp.orc.pts.ref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -73,7 +79,6 @@ ...@@ -73,7 +79,6 @@
v-model="model.cpdgrp.rec.orcact" v-model="model.cpdgrp.rec.orcact"
maxlength="35" maxlength="35"
placeholder="汇款人账号" placeholder="汇款人账号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -83,8 +88,10 @@ ...@@ -83,8 +88,10 @@
<el-form-item label=""> <el-form-item label="">
<c-input <c-input
v-model="model.cpdgrp.orc.pts.extkey" v-model="model.cpdgrp.orc.pts.extkey"
disabled
placeholder="请输入汇款人客户号" placeholder="请输入汇款人客户号"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -101,7 +108,12 @@ ...@@ -101,7 +108,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -129,11 +141,12 @@ ...@@ -129,11 +141,12 @@
:span="11" :span="11"
:offset="1" :offset="1"
v-if=" v-if="
trnName() === 'cptopn' ? ( root.trnName === 'cptopn'
model.cpdgrp.rec.swftyp === '' || ? model.cpdgrp.rec.swftyp === '' ||
model.cpdgrp.rec.swftyp === '103' || model.cpdgrp.rec.swftyp === '103' ||
model.cpdgrp.rec.swftyp === '202' model.cpdgrp.rec.swftyp === '202'
) : (model.cpdgrp.rec.swftyp === '' || model.cpdgrp.rec.swftyp === '103') : model.cpdgrp.rec.swftyp === '' ||
model.cpdgrp.rec.swftyp === '103'
" "
style="margin-top: 20px" style="margin-top: 20px"
> >
...@@ -155,7 +168,12 @@ ...@@ -155,7 +168,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -197,7 +215,11 @@ ...@@ -197,7 +215,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="" label-width="15px" prop="cpdgrp.rec.amtf33b"> <el-form-item
label=""
label-width="15px"
prop="cpdgrp.rec.amtf33b"
>
<c-input <c-input
v-model="model.cpdgrp.rec.amtf33b" v-model="model.cpdgrp.rec.amtf33b"
placeholder="请输入原始金额" placeholder="请输入原始金额"
...@@ -208,13 +230,19 @@ ...@@ -208,13 +230,19 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇率" prop="cpdgrp.rec.f36"> <el-form-item label="汇率" prop="cpdgrp.rec.f36">
<c-input v-model="model.cpdgrp.rec.f36" placeholder=""></c-input> <c-input
v-model="model.cpdgrp.rec.f36"
placeholder=""
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="发报行扣费金额" prop="cpdgrp.rec.cur71f"> <el-form-item
label="发报行扣费金额"
prop="cpdgrp.rec.cur71f"
>
<c-select <c-select
v-model="model.cpdgrp.rec.cur71f" v-model="model.cpdgrp.rec.cur71f"
placeholder="" placeholder=""
...@@ -230,7 +258,11 @@ ...@@ -230,7 +258,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="" label-width="15px" prop="cpdgrp.rec.amt71f"> <el-form-item
label=""
label-width="15px"
prop="cpdgrp.rec.amt71f"
>
<c-input <c-input
v-model="model.cpdgrp.rec.amt71f" v-model="model.cpdgrp.rec.amt71f"
placeholder="请输入发报行扣费金额" placeholder="请输入发报行扣费金额"
...@@ -261,13 +293,13 @@ ...@@ -261,13 +293,13 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="18"> <c-col :span="18">
<el-form-item label="收款人" prop="cpdgrp.orc.pts.extkey"> <el-form-item label="收款人" prop="cpdgrp.pye.pts.extkey">
<c-input <c-input
v-model="model.cpdgrp.orc.pts.extkey" v-model="model.cpdgrp.pye.pts.extkey"
maxlength="14" maxlength="14"
placeholder="请输入收款人" placeholder="请输入收款人"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey') showGridPromptDialog('cpdgrp.pye.pts.extkey')
" "
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -284,7 +316,12 @@ ...@@ -284,7 +316,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -309,7 +346,12 @@ ...@@ -309,7 +346,12 @@
<c-col <c-col
:span="11" :span="11"
:offset="1" :offset="1"
v-if="trnName() === 'cptopn' ? model.cpdgrp.rec.swftyp === '200' : (model.cpdgrp.rec.swftyp === '202' || model.cpdgrp.rec.swftyp === '200')" v-if="
root.trnName === 'cptopn'
? model.cpdgrp.rec.swftyp === '200'
: model.cpdgrp.rec.swftyp === '202' ||
model.cpdgrp.rec.swftyp === '200'
"
style="margin-top: 10px" style="margin-top: 10px"
> >
<c-col :span="24"> <c-col :span="24">
...@@ -330,7 +372,12 @@ ...@@ -330,7 +372,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -357,7 +404,9 @@ ...@@ -357,7 +404,9 @@
v-model="model.cpdgrp.orc.pts.extkey" v-model="model.cpdgrp.orc.pts.extkey"
maxlength="14" maxlength="14"
placeholder="请输入收款人" placeholder="请输入收款人"
@keyup.enter.native="showGridPromptDialog('cpdgrp.orc.pts.extkey')" @keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -394,7 +443,12 @@ ...@@ -394,7 +443,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -440,7 +494,12 @@ ...@@ -440,7 +494,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -463,7 +522,12 @@ ...@@ -463,7 +522,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款详情"> <el-form-item label="付款详情">
<c-input type="textarea" placeholder="" readonly rows="3"></c-input> <c-input
type="textarea"
placeholder=""
readonly
rows="3"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -509,7 +573,12 @@ ...@@ -509,7 +573,12 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
...@@ -532,7 +601,11 @@ ...@@ -532,7 +601,11 @@
</c-col> </c-col>
<!-- ====================清算模式-人行支付系统===================== --> <!-- ====================清算模式-人行支付系统===================== -->
<c-col :span="24" v-if="model.cptp.liqtyp === 'B'" style="margin-top: 10px"> <c-col
:span="24"
v-if="model.cptp.liqtyp === 'B'"
style="margin-top: 10px"
>
<!-- =========左========== --> <!-- =========左========== -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
...@@ -607,7 +680,9 @@ ...@@ -607,7 +680,9 @@
@click="onCptpGetInfpta" @click="onCptpGetInfpta"
icon="el-icon-search" icon="el-icon-search"
></c-button> ></c-button>
<c-button size="small" type="primary" disabled>详情</c-button> <c-button size="small" type="primary" disabled
>详情</c-button
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -649,7 +724,9 @@ ...@@ -649,7 +724,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" :offset="1"> <c-col :span="2" :offset="1">
<c-checkbox v-model="model.cptp.flg">电汇凭证</c-checkbox> <c-checkbox v-model="model.cptp.flg"
>电汇凭证</c-checkbox
>
</c-col> </c-col>
</c-col> </c-col>
...@@ -702,7 +779,11 @@ ...@@ -702,7 +779,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" <c-col :span="2"
><c-button size="small" type="primary" @click="onCptpGetmod"> ><c-button
size="small"
type="primary"
@click="onCptpGetmod"
>
获取 获取
</c-button></c-col </c-button></c-col
> >
...@@ -746,7 +827,9 @@ ...@@ -746,7 +827,9 @@
@click="onCptpGetInfpta" @click="onCptpGetInfpta"
icon="el-icon-search" icon="el-icon-search"
></c-button> ></c-button>
<c-button size="small" type="primary">详情</c-button> <c-button size="small" type="primary"
>详情</c-button
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -766,7 +849,11 @@ ...@@ -766,7 +849,11 @@
</c-col> </c-col>
<!-- ====================清算模式-CIPS系统===================== --> <!-- ====================清算模式-CIPS系统===================== -->
<c-col :span="24" v-if="model.cptp.liqtyp === 'S'" style="margin-top: 10px"> <c-col
:span="24"
v-if="model.cptp.liqtyp === 'S'"
style="margin-top: 10px"
>
<!-- =========左========== --> <!-- =========左========== -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
...@@ -841,7 +928,9 @@ ...@@ -841,7 +928,9 @@
@click="onCptpGetInfpta" @click="onCptpGetInfpta"
icon="el-icon-search" icon="el-icon-search"
></c-button> ></c-button>
<c-button size="small" type="primary" disabled>详情</c-button> <c-button size="small" type="primary" disabled
>详情</c-button
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -947,7 +1036,9 @@ ...@@ -947,7 +1036,9 @@
@click="onCptpGetInfpta" @click="onCptpGetInfpta"
icon="el-icon-search" icon="el-icon-search"
></c-button> ></c-button>
<c-button size="small" type="primary">详情</c-button> <c-button size="small" type="primary"
>详情</c-button
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -967,7 +1058,11 @@ ...@@ -967,7 +1058,11 @@
</c-col> </c-col>
<!-- ======================清算模式-Other================ --> <!-- ======================清算模式-Other================ -->
<c-col :span="24" v-if="model.cptp.liqtyp === 'O'" style="margin-top: 10px"> <c-col
:span="24"
v-if="model.cptp.liqtyp === 'O'"
style="margin-top: 10px"
>
<!-- ================左================= --> <!-- ================左================= -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
...@@ -999,7 +1094,11 @@ ...@@ -999,7 +1094,11 @@
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
<c-button size="small" type="primary" @click="onSndpDet"> <c-button
size="small"
type="primary"
@click="onSndpDet"
>
详情 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
...@@ -1056,7 +1155,12 @@ ...@@ -1056,7 +1155,12 @@
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
...@@ -1094,7 +1198,12 @@ ...@@ -1094,7 +1198,12 @@
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
...@@ -1159,7 +1268,12 @@ ...@@ -1159,7 +1268,12 @@
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
...@@ -1182,7 +1296,11 @@ ...@@ -1182,7 +1296,11 @@
</c-col> </c-col>
<!-- ====================清算模式-代理行模式=================== --> <!-- ====================清算模式-代理行模式=================== -->
<c-col :span="24" v-if="model.cptp.liqtyp === 'C'" style="margin-top: 10px"> <c-col
:span="24"
v-if="model.cptp.liqtyp === 'C'"
style="margin-top: 10px"
>
<!-- ==============左============== --> <!-- ==============左============== -->
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
...@@ -1213,7 +1331,11 @@ ...@@ -1213,7 +1331,11 @@
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
<c-button size="small" type="primary" @click="onSndpDet"> <c-button
size="small"
type="primary"
@click="onSndpDet"
>
详情 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
...@@ -1270,7 +1392,12 @@ ...@@ -1270,7 +1392,12 @@
icon="el-icon-search" icon="el-icon-search"
> >
</c-button> </c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled> <c-button
size="small"
type="primary"
@click="onSndpDet"
disabled
>
详情 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
...@@ -2232,19 +2359,19 @@ ...@@ -2232,19 +2359,19 @@
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
export default { export default {
props: ['model', "codes"], inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
infptaVisible: false, infptaVisible: false,
}; };
}, },
methods: { methods: {
trnName() {
return this.$parent.root.trnName
},
onSndpDet() { onSndpDet() {
this.$emit('onSndpDet') this.$emit("onSndpDet");
}, },
onCptpGetInfpta() { onCptpGetInfpta() {
this.infptaVisible = true; this.infptaVisible = true;
......
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