Commit 2ccdcd0f by wangren
parents 2968339c 928185de
import Utils from "~/utils" import Utils from "~/utils"
/** /**
* Detame Check规则 * Detopn Check规则
*/ */
let checkObj = { let checkObj = {
"dedgrp.iss.pts.dizhii" :null, "dedgrp.iss.pts.dizhii" :null,
"dedgrp.apl.namelc" :null, "dedgrp.apl.namelc" :null,
"dedgrp.rec.lcrtyp" :null, "dedgrp.rec.lcrtyp" :null,
"dedgrp.rec.nomton" :null,
"dedgrp.rec.nomtop" :null,
"dedgrp.blk.lcrgod" :null, "dedgrp.blk.lcrgod" :null,
"dedgrp.avb.pts.bankno" :null, "dedgrp.avb.pts.bankno" :null,
"dedgrp.apb.pts.bankno" :null, "dedgrp.apb.pts.bankno" :null,
"dedgrp.cbs.nom1.amt" :null,
"dedgrp.rmb.pts.bankno" :null, "dedgrp.rmb.pts.bankno" :null,
"dedgrp.rec.rejflg" :null,
"dedgrp.beb.pts.bankno" :null, "dedgrp.beb.pts.bankno" :null,
"dedgrp.apc.pts.jigomc" :null, "dedgrp.apc.pts.jigomc" :null,
"dedgrp.ben.adrelc" :null, "dedgrp.ben.adrelc" :null,
"dedgrp.apl.pts.adrblk" :null, "dedgrp.apl.pts.adrblk" :null,
"dedgrp.adv.pts.jigomc" :null, "dedgrp.adv.pts.jigomc" :null,
"dedgrp.cbs.nom1.cur" :null,
"dedgrp.blk.preper" :null, "dedgrp.blk.preper" :null,
"dedgrp.ben.namelc" :null, "dedgrp.ben.namelc" :null,
"dedgrp.ben.pts.extkey" :null, "dedgrp.ben.pts.extkey" :null,
...@@ -24,8 +29,10 @@ let checkObj = { ...@@ -24,8 +29,10 @@ let checkObj = {
"dedgrp.iss.pts.extkey" :null, "dedgrp.iss.pts.extkey" :null,
"dedgrp.adv.pts.dizhii" :null, "dedgrp.adv.pts.dizhii" :null,
"dedgrp.cmb.pts.bankno" :null, "dedgrp.cmb.pts.bankno" :null,
"dedgrp.rec.expdat" :null,
"dedgrp.apl.adrelc" :null, "dedgrp.apl.adrelc" :null,
"dedgrp.rmb.pts.jigomc" :null, "dedgrp.rmb.pts.jigomc" :null,
"dedgrp.blk.rejadvrsn" :null,
"dedgrp.avb.pts.dizhii" :null, "dedgrp.avb.pts.dizhii" :null,
"dedgrp.adv.pts.extkey" :null, "dedgrp.adv.pts.extkey" :null,
"dedgrp.rec.sdsrfs" :null, "dedgrp.rec.sdsrfs" :null,
...@@ -44,8 +51,12 @@ let checkObj = { ...@@ -44,8 +51,12 @@ let checkObj = {
"dedgrp.blk.defdet" :null, "dedgrp.blk.defdet" :null,
"dedgrp.apl.pts.extkey" :null, "dedgrp.apl.pts.extkey" :null,
"dedgrp.iss.pts.jigomc" :null, "dedgrp.iss.pts.jigomc" :null,
"dedgrp.ben.pts.ref" :null,
"dedgrp.rec.kzref" :null,
"dedgrp.cmb.pts.dizhii" :null, "dedgrp.cmb.pts.dizhii" :null,
"dedgrp.adv.pts.bankno" :null, "dedgrp.adv.pts.bankno" :null,
"detp.dzlhhh" :null,
"dedgrp.rec.elcflg" :null,
"dedgrp.rec.expplc" :null, "dedgrp.rec.expplc" :null,
"dedgrp.apc.pts.bankno" :null, "dedgrp.apc.pts.bankno" :null,
"dedgrp.rec.avbby" :null, "dedgrp.rec.avbby" :null,
......
/** /**
* Detame Default规则 * Detopn Default规则
*/ */
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
...@@ -9,35 +9,39 @@ export default { ...@@ -9,35 +9,39 @@ export default {
"dedgrp.ben.adrelc" :Utils.defaultFunction, "dedgrp.ben.adrelc" :Utils.defaultFunction,
"dedgrp.ben.namelc" :Utils.defaultFunction, "dedgrp.ben.namelc" :Utils.defaultFunction,
"dedgrp.adv.pts.extkey" :Utils.defaultFunction, "dedgrp.adv.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction, "dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.cbs.max.amt" :Utils.defaultFunction, "dedgrp.cbs.max.amt" :Utils.defaultFunction,
"dedgrp.blk.adlcnd" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.rec.avbwth" :Utils.defaultFunction, "dedgrp.rec.avbwth" :Utils.defaultFunction,
"dedgrp.iss.pts.extkey" :Utils.defaultFunction, "dedgrp.iss.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.nom1.amt" :Utils.defaultFunction, "dedgrp.cbs.nom1.amt" :Utils.defaultFunction,
"dedgrp.cbs.nom1.cur" :Utils.defaultFunction, "dedgrp.cbs.nom1.cur" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.apl.pts.extkey" :Utils.defaultFunction, "dedgrp.apl.pts.extkey" :Utils.defaultFunction,
"dedgrp.apl.adrelc" :Utils.defaultFunction, "dedgrp.apl.adrelc" :Utils.defaultFunction,
"dedgrp.apl.namelc" :Utils.defaultFunction, "dedgrp.apl.namelc" :Utils.defaultFunction,
"dedgrp.apl.dbfadrblkcn" :Utils.defaultFunction, "dedgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.shpdat" :Utils.defaultFunction, "dedgrp.rec.shpdat" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.rec.avbby" :Utils.defaultFunction, "dedgrp.rec.avbby" :Utils.defaultFunction,
"detp.usr.extkey" :Utils.defaultFunction, "detp.usr.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.extkey" :Utils.defaultFunction, "dedgrp.ben.pts.extkey" :Utils.defaultFunction,
"dedgrp.ben.dbfadrblkcn" :Utils.defaultFunction, "dedgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.blk.preper" :Utils.defaultFunction,
"dedgrp.cbs.max2.amt" :Utils.defaultFunction, "dedgrp.cbs.max2.amt" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.blk.addamtcov" :Utils.defaultFunction, "dedgrp.blk.addamtcov" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.adrblk" :Utils.defaultFunction, "dedgrp.ben.pts.adrblk" :Utils.defaultFunction,
"dedgrp.apl.pts.adrblk" :Utils.defaultFunction, "dedgrp.apl.pts.adrblk" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction, "dedgrp.blk.insbnk" :Utils.defaultFunction,
"dedgrp.rec.bdflg" :Utils.defaultFunction,
"dedgrp.rec.rejflg" :Utils.defaultFunction, "dedgrp.rec.rejflg" :Utils.defaultFunction,
"detp.dzlhhh" :Utils.defaultFunction, "detp.dzlhhh" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction,
"dedgrp.rec.shppar" :Utils.defaultFunction, "dedgrp.rec.shppar" :Utils.defaultFunction,
"dedgrp.rec.fqzytgfw" :Utils.defaultFunction, "dedgrp.rec.fqzytgfw" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction, "dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction, "dedgrp.rec.tratyp" :Utils.defaultFunction,
} }
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils/index"
export default { export default {
async onDetpButgetref(){ async onDetpButgetref() {
let rtnmsg = await this.executeRule("detp.butgetref") let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑 this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref;
this.$message({
type: 'success',
message: '获取成功!'
});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onExtkey() {},
mytypeChange() {},
avbbykeyEvent() {},
recTratypChange() {},
async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onAplpDet() {
}, let rtnmsg = await this.executeRule("aplp.det")
async onBenpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("benp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLcrdftatButtxmsel() {
}, let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
async onAplpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("aplp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onPreperButtxmsel() {
}, let rtnmsg = await this.executeRule("preper.buttxmsel")
async onLcrdftatButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLcrgodButtxmsel() {
}, let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
async onPreperButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("preper.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLcrdocButtxmsel() {
}, let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
async onLcrgodButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onAdlcndButtxmsel() {
}, let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
async onLcrdocButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onInsbnkButtxmsel() {
}, let rtnmsg = await this.executeRule("insbnk.buttxmsel")
async onAdlcndButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onSetmodDet() {
}, let rtnmsg = await this.executeRule("setmod.det")
async onInsbnkButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("insbnk.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
}
},
} }
\ No newline at end of file
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
], ],
"dedgrp.ben.pts.ref":[ "dedgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dedgrp.ben.pts.extkey":[ "dedgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"detp.benp.ptsget.sdamod.seainf":[ "detp.benp.ptsget.sdamod.seainf":[
...@@ -82,12 +82,12 @@ export default { ...@@ -82,12 +82,12 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dedgrp.cbs.max.amt":[ "dedgrp.cbs.max.amt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"dedgrp.ben.pts.extact":[ "dedgrp.ben.pts.extact":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 34,message:"长度不能超过34"} {max: 34,message:"长度不能超过34"}
], ],
"dedgrp.rec.opndat":[ "dedgrp.rec.opndat":[
...@@ -99,10 +99,10 @@ export default { ...@@ -99,10 +99,10 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.rec.expdat":[ "dedgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: true, message: "输入正确的日期"}
], ],
"dedgrp.beb.pts.jigomc":[ "dedgrp.beb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.expplc":[ "dedgrp.rec.expplc":[
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.apl.pts.extkey":[ "dedgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"detp.aplp.ptsget.sdamod.seainf":[ "detp.aplp.ptsget.sdamod.seainf":[
...@@ -146,8 +146,7 @@ export default { ...@@ -146,8 +146,7 @@ export default {
], ],
"dedgrp.rec.tenmaxday":[ "dedgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {required: true, message: "必输项"}
{max: 4,message:"长度不能超过4"}
], ],
"dedgrp.blk.defdet":[ "dedgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -158,13 +157,13 @@ export default { ...@@ -158,13 +157,13 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.dftat":[ "dedgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.preper":[ "dedgrp.blk.preper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
...@@ -173,7 +172,7 @@ export default { ...@@ -173,7 +172,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.blk.rejadvrsn":[ "dedgrp.blk.rejadvrsn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
...@@ -207,7 +206,7 @@ export default { ...@@ -207,7 +206,7 @@ export default {
], ],
"dedgrp.rmb.pts.jigomc":[ "dedgrp.rmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.avb.pts.bankno":[ "dedgrp.avb.pts.bankno":[
...@@ -215,15 +214,15 @@ export default { ...@@ -215,15 +214,15 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.avb.pts.jigomc":[ "dedgrp.avb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rmb.pts.dizhii":[ "dedgrp.rmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.avb.pts.dizhii":[ "dedgrp.avb.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.cmb.pts.bankno":[ "dedgrp.cmb.pts.bankno":[
...@@ -231,7 +230,7 @@ export default { ...@@ -231,7 +230,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.cmb.pts.jigomc":[ "dedgrp.cmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.adv.pts.extkey":[ "dedgrp.adv.pts.extkey":[
...@@ -239,7 +238,7 @@ export default { ...@@ -239,7 +238,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.cmb.pts.dizhii":[ "dedgrp.cmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.adv.pts.bankno":[ "dedgrp.adv.pts.bankno":[
...@@ -259,7 +258,7 @@ export default { ...@@ -259,7 +258,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.jigomc":[ "dedgrp.apc.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.adv.pts.youzbm":[ "dedgrp.adv.pts.youzbm":[
...@@ -271,15 +270,15 @@ export default { ...@@ -271,15 +270,15 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.apc.pts.dizhii":[ "dedgrp.apc.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.kzref":[ "dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.iss.pts.extkey":[ "dedgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.apc.pts.youzbm":[ "dedgrp.apc.pts.youzbm":[
...@@ -291,7 +290,7 @@ export default { ...@@ -291,7 +290,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.iss.pts.bankno":[ "dedgrp.iss.pts.bankno":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.apl.pts.extact":[ "dedgrp.apl.pts.extact":[
...@@ -299,7 +298,7 @@ export default { ...@@ -299,7 +298,7 @@ export default {
{max: 34,message:"长度不能超过34"} {max: 34,message:"长度不能超过34"}
], ],
"dedgrp.iss.pts.jigomc":[ "dedgrp.iss.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apb.pts.bankno":[ "dedgrp.apb.pts.bankno":[
...@@ -307,11 +306,11 @@ export default { ...@@ -307,11 +306,11 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.iss.pts.dizhii":[ "dedgrp.iss.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apb.pts.jigomc":[ "dedgrp.apb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.iss.pts.youzbm":[ "dedgrp.iss.pts.youzbm":[
...@@ -382,4 +381,16 @@ export default { ...@@ -382,4 +381,16 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.avbby":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.lcrtyp":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
} }
\ 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 Dids from "../Public/Dids"
import Pub from "../Public" import Pub from "../Public"
export default class Detame{ export default class Detopn{
constructor () { constructor () {
this.data = { this.data = {
detp:{ detp:{
...@@ -148,15 +149,14 @@ export default class Detame{ ...@@ -148,15 +149,14 @@ export default class Detame{
pts:new Pts().data, pts:new Pts().data,
}, },
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
//面函
leta2bl1blk: "", leta2bl1blk: "",
letbenl2blk: "", letbenl2blk: "",
letbenl1blk: "", letbenl1blk: "",
letissl1blk: "", letissl1blk: "",
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dedgrp.cbs.max.amt":[ "dedgrp.cbs.max.amt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"dedgrp.apl.pts.ref":[ "dedgrp.apl.pts.ref":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.kzref":[ "dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.iss.pts.extkey":[ "dedgrp.iss.pts.extkey":[
...@@ -298,7 +298,7 @@ export default { ...@@ -298,7 +298,7 @@ export default {
{max: 34,message:"长度不能超过34"} {max: 34,message:"长度不能超过34"}
], ],
"dedgrp.iss.pts.jigomc":[ "dedgrp.iss.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apb.pts.bankno":[ "dedgrp.apb.pts.bankno":[
...@@ -306,7 +306,7 @@ export default { ...@@ -306,7 +306,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.iss.pts.dizhii":[ "dedgrp.iss.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apb.pts.jigomc":[ "dedgrp.apb.pts.jigomc":[
...@@ -385,4 +385,12 @@ export default { ...@@ -385,4 +385,12 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.lcrtyp":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
} }
\ No newline at end of file
...@@ -153,9 +153,9 @@ export default class Detopn{ ...@@ -153,9 +153,9 @@ export default class Detopn{
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
litbenl1blk: "", // XMLPanel litbenl1的内置block .litbenl1blk letbenl1blk: "",
litapll1blk: "", // XMLPanel litapll1的内置block .litapll1blk letissl1blk: "",
litrmbl1blk: "", // XMLPanel litrmbl1的内置block .litrmbl1blk leta2bl1blk: "",
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
import Api from "~/service/Api" import Api from "~/service/Api"
import { rejrow } from "~/service/business/trnrel" import { rejrow, reprow } from "~/service/business/trnrel"
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
async onSeaown() { async onSeaown() {
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
let params = { selDst: selDst, selIds: selIds }; let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("reprow", params) let rtnmsg = await reprow(this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
let errorMsg = ""; let errorMsg = "";
......
...@@ -2,4 +2,8 @@ import Api from "~/service/Api" ...@@ -2,4 +2,8 @@ import Api from "~/service/Api"
export function rejrow(data) { export function rejrow(data) {
return Api.post('/business/trnrel/rejrow', data) return Api.post('/business/trnrel/rejrow', data)
}
export function reprow(data) {
return Api.post('/business/trnrel/reprow', data)
} }
\ No newline at end of file
...@@ -123,13 +123,13 @@ ...@@ -123,13 +123,13 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="通知行邮编" prop="dedgrp.adv.pts.youzbm"> <el-form-item label="通知行邮编" prop="dedgrp.adv.pts.youzbm">
<c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input> <c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px"> <el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input> <c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" disabled placeholder="请输入电话"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -181,7 +181,6 @@ ...@@ -181,7 +181,6 @@
--> -->
<c-ptapdome <c-ptapdome
:disabledJigomc="true"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '开证行', title: '开证行',
...@@ -335,13 +334,13 @@ ...@@ -335,13 +334,13 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="申请人邮编" prop="dedgrp.apc.pts.youzbm"> <el-form-item label="申请人邮编" prop="dedgrp.apc.pts.youzbm">
<c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input> <c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编 电证用"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px"> <el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input> <c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" disabled placeholder="请输入电话"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec. 看看评【评【评【"> <el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%"> <c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
...@@ -73,7 +73,8 @@ ...@@ -73,7 +73,8 @@
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<span v-text="model.detp.fenzhu" data-path=".detp.fenzhu" > </span> <span v-text="model.detp.fenzhu"
a-path=".detp.fenzhu" > </span>
</c-col> </c-col>
...@@ -104,17 +105,7 @@ export default { ...@@ -104,17 +105,7 @@ export default {
mytypeFlag:true, mytypeFlag:true,
} }
}, },
methods:{...Event, methods:{...Event},
recTratypChange(){
if (this.model.dedgrp.rec.tratyp == "08"){
this.model.dedgrp.rec.sdsrfs = "";
this.mytypeFlag = false;
}else{
this.model.dedgrp.rec.sdsrfs = "";
this.mytypeFlag = true;
}
}
},
created:function(){ created:function(){
} }
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
style="margin: 0 10px 0 0; padding: 0 12px" style="margin: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
...@@ -70,7 +71,7 @@ ...@@ -70,7 +71,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="所属客户经理" label="所属客户经理"
prop="ditp.usr.extkey" prop="detp.usr.extkey"
style="width: 100%" style="width: 100%"
> >
<c-fullbox> <c-fullbox>
...@@ -86,6 +87,7 @@ ...@@ -86,6 +87,7 @@
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
@click="onExtkey"
></c-button> ></c-button>
</template> </template>
</c-fullbox> </c-fullbox>
...@@ -101,7 +103,7 @@ ...@@ -101,7 +103,7 @@
<c-select <c-select
disabled disabled
v-model="model.dedgrp.cbs.nom1.cur" v-model="model.dedgrp.cbs.nom1.cur"
style="width: 95%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent" @keyup.enter.native="nom1CurEvent"
> >
...@@ -119,7 +121,7 @@ ...@@ -119,7 +121,7 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
style="text-align: left" style="text-align: left"
label-width="0" label-width="5px"
prop="dedgrp.cbs.nom1.amt" prop="dedgrp.cbs.nom1.amt"
> >
<c-input-currency <c-input-currency
...@@ -134,9 +136,9 @@ ...@@ -134,9 +136,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="大写金额" prop="detp.amt"> <el-form-item label="大写金额" prop="detp.upamt">
<c-input <c-input
v-model="model.detp.amt" v-model="model.detp.upamt"
maxlength="76" maxlength="76"
placeholder="请输入大写金额" placeholder="请输入大写金额"
disabled disabled
...@@ -170,7 +172,7 @@ ...@@ -170,7 +172,7 @@
<c-col :span="13"> <c-col :span="13">
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop"> <c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input <c-input
v-model="model.dedgrp.rec.nomton" v-model="model.dedgrp.rec.nomtop"
maxlength="9" maxlength="9"
style="width: 100%" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
...@@ -211,7 +213,6 @@ ...@@ -211,7 +213,6 @@
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur"> <el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select <c-select
v-model="model.dedgrp.cbs.max.cur" v-model="model.dedgrp.cbs.max.cur"
style="width: 95%"
placeholder="请选择Currency" placeholder="请选择Currency"
disabled disabled
> >
...@@ -227,7 +228,7 @@ ...@@ -227,7 +228,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="0" prop="dedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt">
<c-input <c-input
v-model="model.dedgrp.cbs.max.amt" v-model="model.dedgrp.cbs.max.amt"
placeholder="请输入信用证最大金额" placeholder="请输入信用证最大金额"
...@@ -457,28 +458,28 @@ ...@@ -457,28 +458,28 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat"> <el-form-item label="天数" prop="dedgrp.rec.tenmaxday">
<c-input <c-input
type="textarea" v-model="model.dedgrp.rec.tenmaxday"
v-model="model.dedgrp.blk.dftat"
maxlength="35" maxlength="35"
show-word-limit placeholder="请输入天数"
placeholder="请输入远期付款指示" :disabled = "model.dedgrp.rec.avbby == 'P'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper"> <el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.dedgrp.blk.preper" v-model="model.dedgrp.blk.dftat"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入交单期限" placeholder="请输入远期付款指示"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ========================右边======================= --> <!-- ========================右边======================= -->
...@@ -486,7 +487,7 @@ ...@@ -486,7 +487,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="摘要" prop="dedgrp.rec.nam"> <el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input <c-input
align="middle" text-align="middle"
v-model="model.dedgrp.rec.nam" v-model="model.dedgrp.rec.nam"
maxlength="40" maxlength="40"
disabled disabled
...@@ -505,6 +506,8 @@ ...@@ -505,6 +506,8 @@
}" }"
:disabled="true" :disabled="true"
:isAdrblk="false" :isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -600,6 +603,8 @@ ...@@ -600,6 +603,8 @@
}" }"
:disabled="true" :disabled="true"
:isAdrblk="false" :isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -682,6 +687,19 @@ ...@@ -682,6 +687,19 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<c-input
type="textarea"
v-model="model.dedgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期限"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- <!--
...@@ -810,31 +828,7 @@ export default { ...@@ -810,31 +828,7 @@ export default {
trade: "", trade: "",
}; };
}, },
methods: { ...Event, methods: { ...Event },
mytypeChange() {
if (this.model.dedgrp.rec.mytype == "F") {
this.model.dedgrp.rec.tratyp = "";
this.model.dedgrp.rec.sdsrfs = "";
this.model.dedgrp.rec.shptrs = "";
this.model.dedgrp.rec.shpfro = "";
this.model.dedgrp.rec.shpto = "";
this.model.dedgrp.rec.shppro = "";
}
},
avbbykeyEvent(){
if(this.model.dedgrp.rec.avbby == 'P'){
this.model.dedgrp.rec.tenmaxday = 0;
this.model.dedgrp.blk.defdet = "";
}
this.executeCheck("dedgrp.rec.avbby").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
},
},
created: function () {}, created: function () {},
computed: { computed: {
flag() { flag() {
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-function-btn
:handleSubmit="handleSubmit"
<!--PD000017 --> :handleCheck="handleCheck"
<el-tab-pane label="基本信息" name="ovwp"> :handleStash="handleStash"
<m-ovwp :model="model" :codes="codes"/> >
</el-tab-pane> <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>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!--PD000494 --> <el-form
<el-tab-pane label="其他当事人" name="detp1"> :model="model"
<m-detp1 :model="model" :codes="codes"/> :rules="rules"
</el-tab-pane> ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000525 --> <!--PD000494 -->
<el-tab-pane label="详细信息" name="detp2"> <el-tab-pane label="其他当事人" name="detp1">
<m-detp2 :model="model" :codes="codes" /> <c-content>
</el-tab-pane> <m-detp1 :model="model" :codes="codes" />
</c-content>
<!--PD000405 --> </el-tab-pane>
<el-tab-pane label="单据要求" name="detp">
<m-detp :model="model" :codes="codes"/> <!--PD000525 -->
</el-tab-pane> <el-tab-pane label="详细信息" name="detp2">
<m-detp2 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000405 -->
<el-tab-pane label="单据要求" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 --> <el-tab-pane label="分录" name="glepan">
<el-tab-pane label="费用及账务" name="setpan"> <m-glepan :model="model" :codes="codes" ref="glepan" />
<c-content> </el-tab-pane>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="表外" name="engp"> <el-tab-pane label="表外" name="engp">
<!--PD000027 --> <!--PD000027 -->
<c-content> <c-content>
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="授信额度" name="limitbody"> <el-tab-pane label="授信额度" name="limitbody">
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs>
<!--PD000548 -->
<!--
<el-tab-pane label="PD000548" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
-->
<!--PD000001 -->
<!--
<el-tab-pane label="PD000001" name="aamp">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
-->
</c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import Utils from "~/utils/index";
import Detame from "~/model/Detame" import CodeTable from "~/config/CodeTable";
import commonProcess from "~/mixin/commonProcess" import Detopn from "~/model/Detopn";
import Check from "~/model/Detame/Check" import commonProcess from "~/mixin/commonProcess";
import Default from "~/model/Detame/Default" import commonFuncs from "~/mixin/commonFuncs";
import Pattern from "~/model/Detame/Pattern" import Check from "~/model/Detopn/Check";
import Ovwp from "./Ovwp" import Default from "~/model/Detopn/Default";
import Detp from "./Detp" import Pattern from "~/model/Detopn/Pattern";
import Detp1 from "./Detp1" import Ovwp from "./Ovwp";
import Detp2 from "./Detp2" import Detp from "./Detp";
import Stament from "./Stament" import Detp1 from "./Detp1";
import Aamp from "./Aamp" import Detp2 from "./Detp2";
import Stament from "./Stament";
import Aamp from "./Aamp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
...@@ -81,67 +130,60 @@ import Coninfp from "~/views/Public/Coninfp"; ...@@ -81,67 +130,60 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Detame", name: "Detopn",
components:{ components: {
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-detp" : Detp, "m-detp": Detp,
"m-detp1" : Detp1, "m-detp1": Detp1,
"m-detp2" : Detp2, "m-detp2": Detp2,
"m-stament" : Stament, "m-stament": Stament,
"m-aamp" : Aamp, "m-aamp": Aamp,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan, "m-glepan": Glepan,
"m-engp": Engp, "m-engp": Engp,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 // mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "detame",
model: new Detame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入detame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
} mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
else computed: {},
{ data() {
this.$notify.error({title: '错误',message: '服务请求失败!'}); return {
} tabVal: "ovwp",
trnName: "detopn",
model: new Detopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
},
created: async function () {
console.log("进入detopn交易");
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -123,13 +123,13 @@ ...@@ -123,13 +123,13 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="通知行邮编" prop="dedgrp.adv.pts.youzbm"> <el-form-item label="通知行邮编" prop="dedgrp.adv.pts.youzbm">
<c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input> <c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px"> <el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input> <c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" disabled placeholder="请输入电话"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -181,7 +181,6 @@ ...@@ -181,7 +181,6 @@
--> -->
<c-ptapdome <c-ptapdome
:disabledJigomc="true"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '开证行', title: '开证行',
...@@ -335,13 +334,13 @@ ...@@ -335,13 +334,13 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="申请人邮编" prop="dedgrp.apc.pts.youzbm"> <el-form-item label="申请人邮编" prop="dedgrp.apc.pts.youzbm">
<c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input> <c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编 电证用"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px"> <el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input> <c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" disabled placeholder="请输入电话"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="所属客户经理" label="所属客户经理"
prop="ditp.usr.extkey" prop="detp.usr.extkey"
style="width: 100%" style="width: 100%"
> >
<c-fullbox> <c-fullbox>
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<c-select <c-select
disabled disabled
v-model="model.dedgrp.cbs.nom1.cur" v-model="model.dedgrp.cbs.nom1.cur"
style="width: 95%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent" @keyup.enter.native="nom1CurEvent"
> >
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item <el-form-item
style="text-align: left" style="text-align: left"
label-width="0" label-width="5px"
prop="dedgrp.cbs.nom1.amt" prop="dedgrp.cbs.nom1.amt"
> >
<c-input-currency <c-input-currency
...@@ -136,9 +136,9 @@ ...@@ -136,9 +136,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="大写金额" prop="detp.amt"> <el-form-item label="大写金额" prop="detp.upamt">
<c-input <c-input
v-model="model.detp.amt" v-model="model.detp.upamt"
maxlength="76" maxlength="76"
placeholder="请输入大写金额" placeholder="请输入大写金额"
disabled disabled
...@@ -213,7 +213,6 @@ ...@@ -213,7 +213,6 @@
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur"> <el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select <c-select
v-model="model.dedgrp.cbs.max.cur" v-model="model.dedgrp.cbs.max.cur"
style="width: 95%"
placeholder="请选择Currency" placeholder="请选择Currency"
disabled disabled
> >
...@@ -229,7 +228,7 @@ ...@@ -229,7 +228,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="0" prop="dedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt">
<c-input <c-input
v-model="model.dedgrp.cbs.max.amt" v-model="model.dedgrp.cbs.max.amt"
placeholder="请输入信用证最大金额" placeholder="请输入信用证最大金额"
...@@ -464,6 +463,7 @@ ...@@ -464,6 +463,7 @@
v-model="model.dedgrp.rec.tenmaxday" v-model="model.dedgrp.rec.tenmaxday"
maxlength="35" maxlength="35"
placeholder="请输入天数" placeholder="请输入天数"
:disabled = "model.dedgrp.rec.avbby == 'P'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -699,7 +699,7 @@ ...@@ -699,7 +699,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- <!--
......
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "sel",
trnName: "detsel", trnName: "detsel",
model: new Detsel().data, model: new Detsel().data,
checkRules: Check, checkRules: Check,
...@@ -68,9 +68,6 @@ export default { ...@@ -68,9 +68,6 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
else else
{ {
......
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