Commit 37dd4779 by lianyang

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents d82c3553 4681c44e
......@@ -70,15 +70,17 @@ export default {
return arr;
},
tableData() {
const temp = this.column;
const res = [];
return this.list.map((row) => {
const res = {}
for (let i = 0; i < temp.length; i++) {
res[temp[i]] = row[temp[i]];
}
return res;
});
// const temp = this.column;
// const res = [];
// return this.list.map((row) => {
// const res = {}
// for (let i = 0; i < temp.length; i++) {
// res[temp[i]] = row[temp[i]];
// }
// return res;
// });
return this.list;
},
},
data() {
......
......@@ -320,7 +320,7 @@ export default {
/**
* 货物条款等非机构栏位回填
* @param {Object} val 选种行的值
* @param {Object} val 选种行的值,按钮的值
* @param {Object} url 字段路劲 需要回填的字段路劲
* @param {Object} url 对应字段值是否覆盖 ,需要为true,否则合并叠加
* @param {String} rulePath 路径
......
......@@ -44,6 +44,7 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
"trnmod.swiadd.newnomtopame" :Utils.defaultFunction,
"trnmod.swiadd.newnomtoname" :Utils.defaultFunction,
}
......
......@@ -44,5 +44,6 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -311,6 +311,7 @@ export default {
this.model.jyqflg="";
this.model.mylx="";
this.model.elcflg="";
this.model.seagodcod="";
},
async handleSearch() {
......
......@@ -85,8 +85,8 @@ export default {
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
//"litamep.lcrdocamep.modflg" :Utils.defaultFunction,
//"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"litamep.lcrdocamep.modflg" :Utils.defaultFunction,
"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
......@@ -132,7 +132,7 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
//"lidgrp.blk.adlcnd" :Utils.defaultFunction,
"lidgrp.blk.adlcnd" :Utils.defaultFunction,
"litamep.engamt" :Utils.defaultFunction,
"trnmod.swiadd.nomspc" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
......@@ -145,7 +145,7 @@ export default {
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
//"lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"oldlidgrp.rec.expdat" :Utils.defaultFunction,
......
......@@ -16,98 +16,98 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"trnmod.swiadd.amedat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.amenbr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{required: true, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
],
"litamep.amenbr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
],
"lidgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"oldlidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oldlidgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{required: false, message: "必输项"},
{type: "number",max: 99,message:"长度不能超过2"}
],
"oldlidgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
],
"oldlidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"oldlidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.ameamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"litamep.engamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.newamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.newnomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
],
"trnmod.swiadd.newnomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{ required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
],
"litamep.maxcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"litamep.maxamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oldlidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"oldlidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newexpdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newshpdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"oldlidgrp.rec.prepers18":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{ required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
],
"trnmod.swiadd.prepers18":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
],
"oldlidgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
......@@ -128,13 +128,13 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"trnmod.swiadd.addamt":[
{required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.trnfeetxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*6,message:"长度不能超过35"}
],
"trnmod.swiadd.addamtcov":[
{type: "string", required: true, message: "必输项"},
......@@ -194,26 +194,26 @@ export default {
],
"lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"lidgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
],
"lidgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{ required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
],
"lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -226,7 +226,7 @@ export default {
],
"lidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -244,10 +244,10 @@ export default {
],
"lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.preadvdt":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.adv.namelc":[
{type: "string", required: true, message: "必输项"},
......@@ -255,14 +255,14 @@ export default {
],
"lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.adv.adrelc":[
......@@ -270,7 +270,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
......@@ -303,7 +303,7 @@ export default {
],
"lidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -357,8 +357,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{ required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
],
"litp.avbp.ptsget.sdamod.dadsnd":[
......@@ -383,8 +383,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.avb.pts.adrblk":[
{type: "string", required: true},
{type: "string", required: true, message: "必输项"},
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -400,8 +400,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{ required: true, message: "必输项"},
{type: "string",max: 35*6,message:"长度不能超过35"}
],
......@@ -435,7 +435,7 @@ export default {
],
"lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -454,8 +454,8 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{ required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
......@@ -517,7 +517,7 @@ export default {
],
"lidgrp.ini.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.ini.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -525,7 +525,7 @@ export default {
],
"lidgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -588,7 +588,7 @@ export default {
],
"lidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -601,7 +601,7 @@ export default {
"lidgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 1000,message:"长度不能超过1000"}
{max: 65*12,message:"长度不能超过65"}
],
"lidgrp.blk.insbnkame":[
{type: "string", required: true, message: "必输项"},
......@@ -612,7 +612,7 @@ export default {
{max: 50,message:"长度不能超过50"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -625,19 +625,19 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -646,7 +646,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"liaall.liaccv.newamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -655,7 +655,7 @@ export default {
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.newresamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -665,7 +665,7 @@ export default {
],
"liaall.liaccv.pctresamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -673,7 +673,7 @@ export default {
"liaall.liaccv.totcovamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -688,7 +688,7 @@ export default {
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -717,7 +717,7 @@ export default {
{max: 30,message:"长度不能超过30"}
],
"bcbdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
......@@ -739,7 +739,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -794,7 +794,7 @@ export default {
],
"litamep.lcrdocamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 1650,message:"长度不能超过1650"}
{max: 65*10,message:"长度不能超过65*10"}
],
......@@ -811,7 +811,7 @@ export default {
],
"litamep.lcrgodamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 1650,message:"长度不能超过1650"}
{max: 65*10,message:"长度不能超过65*10"}
],
......@@ -846,7 +846,7 @@ export default {
"litamep.adlcndamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 1650,message:"长度不能超过1650"}
{max: 65*10,message:"长度不能超过65*10"}
],
"litamep.spcbenamep.usrblk":[
{type: "string", required: true, message: "必输项"},
......@@ -900,7 +900,7 @@ export default {
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -913,7 +913,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -23,7 +23,7 @@ export default class Litame{
maxamt:"", // New Maximum Amount .litamep.maxamt
cre707flg:"", // Create Amendment Message .litamep.cre707flg
ramrol:"", // Request of Amendment send to .litamep.ramrol
amenbr:"", // 实际修改次数 .litamep.amenbr
amenbr:0, // 实际修改次数 .litamep.amenbr
lcrdocamep:{
usrblk:"", // Block to enter additional info for Add/Delete .litamep.lcrdocamep.usrblk
modflg:"", // Modify Text to Replace .litamep.lcrdocamep.modflg
......@@ -56,8 +56,8 @@ export default class Litame{
ownref:"", // Reference .lidgrp.rec.ownref
nam:"", // Name .lidgrp.rec.nam
lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp
nomtop:"", // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .lidgrp.rec.nomton
nomtop:0, // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:0, // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc:"", // Amount Specification .lidgrp.rec.nomspc
opndat:"", // L/C Issued on .lidgrp.rec.opndat
preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt
......@@ -87,8 +87,8 @@ export default class Litame{
shpto:"", // Final Destination .lidgrp.rec.shpto
chato:"", // Drafts at .lidgrp.rec.chato
stacty:"", // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .lidgrp.rec.prepers18
tenmaxday:0, // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:0, // Days of presentation period .lidgrp.rec.prepers18
prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
......@@ -199,12 +199,12 @@ export default class Litame{
},
},
rec:{
nomtop:"", // Amount Tolerance - Positive .oldlidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .oldlidgrp.rec.nomton
nomtop:0, // Amount Tolerance - Positive .oldlidgrp.rec.nomtop
nomton:0, // Amount Tolerance - Negative .oldlidgrp.rec.nomton
expdat:"", // 到期日 .oldlidgrp.rec.expdat
shpdat:"", // 装运日 .oldlidgrp.rec.shpdat
prepertxts18:"", // Presentation period text .oldlidgrp.rec.prepertxts18
prepers18:"", // Presentation Period .oldlidgrp.rec.prepers18
prepers18:0, // Presentation Period .oldlidgrp.rec.prepers18
},
blk:{
preper:"", // Presentation Period .oldlidgrp.blk.preper
......
......@@ -29,10 +29,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn1.amt":[
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -284,17 +284,17 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -307,11 +307,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.rec.totamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -94,6 +94,7 @@ export default class Trnmod {
},
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
doceot: [],
addstr750:""//trnmod.trndoc.addstr750
},
docimm:{
ascin:"", // Message as stream .trnmod.docimm.ascin
......
......@@ -142,7 +142,7 @@
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-select
v-model="model.bcdgrp.rec.docsta"
:code="codes.docsta"
:code="codes.docstabot"
style="width: 100%"
placeholder="请输入Document Set Status"
disabled
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -18,120 +17,132 @@
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000034 -->
<el-tab-pane label="收款" name="setp">
<c-content>
<m-setp ref="setp" :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000034 -->
<el-tab-pane label="收款" name="setp">
<c-content>
<m-setp ref="setp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :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="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="分录" name="glepan" v-if="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftset from "~/model/Bftset"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bftset from "~/model/Bftset";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftset/Check"
import Default from "~/model/Bftset/Default"
import Pattern from "~/model/Bftset/Pattern"
import Setp from "./Setp"
import Check from "~/model/Bftset/Check";
import Default from "~/model/Bftset/Default";
import Pattern from "~/model/Bftset/Pattern";
import Setp from "./Setp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Bftset",
components:{
"m-engp" : Engp,
"m-limitbody" : Limitbody,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-setp" : Setp,
"m-setpan" : Setpan,
},
provide() {
return {
root: this
}
name: "Bftset",
components: {
"m-engp": Engp,
"m-limitbody": Limitbody,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
"m-setp": Setp,
"m-setpan": Setpan,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
trnName: "bftset",
model: new Bftset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
glepan:false,
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
if (tab.name === "setpan") {
this.glepan = true;
}
/**
* do it yourself
**/
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "setp",
trnName: "bftset",
model: new Bftset().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("进入bftset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
if(this.isInDisplay){
this.restoreDisplay();
}
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入bftset交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -17,7 +17,7 @@
<c-col :span="11" :offset="1">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled>
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label"
<el-option v-for="item in codes.chadet" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
......
......@@ -85,7 +85,7 @@
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod" style="width: 100%">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Payment Condition" disabled>
<el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
......@@ -112,7 +112,7 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta" style="width: 100%">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
placeholder="请输入Document Set Status" disabled>
<el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
......@@ -158,7 +158,7 @@
<span>Days</span>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.matperbeg" style="width: 100%">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
<el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
......@@ -223,7 +223,8 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount" :disabled="isDisabled">
</c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -244,18 +245,18 @@
</el-form-item>
</c-col> -->
<c-col :span="24" style="margin-top: 30px">
<span style="font-size:14px;margin-left:5px">Bills to Pay back:</span>
<span style="font-size:14px;">Bills to Pay back:</span>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-25px">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-30px">
</c-edit-table>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-istream-table ref="table" :list="model.liaall.tenstm.rows || []" :columns="stmData.columns"
:showSelection="true" v-on:multipleSelect="multipleSelect">
:showSelection="true" v-on:multipleSelect="multipleSelect" prop="liaall.tenstm">
</c-istream-table>
</c-col>
</c-col>
......@@ -299,6 +300,7 @@ export default {
mixins: [commonProcess],
data() {
return {
isDisabled: false,
stmData: {
columns: [
'1 1 "Type" 80',
......@@ -342,13 +344,39 @@ export default {
},
methods: {
...Event,
multipleSelect() {
console.log(111);
}
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let selIds;
if (selection.length === 0) {
selIds = [];
this.model.setmod.docamt = "0.000";
this.model.liaall.tensetstm.rows = [];
this.isDisabled = false;
// this.model.liaall.tenstm.rows = []
} else {
selIds = [selection[0] + 1];
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
this.isDisabled = true;
}
//
console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
},
created: function () {
console.log(this.model.liaall.tenstm);
}
}
</script>
<style>
......
......@@ -2,6 +2,13 @@
<c-page title="出口托收承兑">
<div class="eContainer">
<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 :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
......@@ -9,7 +16,7 @@
<!--PD000027 -->
<el-tab-pane label="Changing Maturity" name="setp">
<m-setp :model="model" :codes="codes" />
<m-setp ref="setp" :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
......@@ -129,7 +136,10 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
this.$nextTick(() => {
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
})
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
......@@ -5,14 +5,14 @@
title: 'Drawer',
grp: 'bodgrp',
rol: 'drr',
}" :disabled="true" @onSeainf="onSeainf">
}" :disabled="true" >
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Drawee',
grp: 'bodgrp',
rol: 'dre',
}" :disabled="true" @onSeainf="onSeainf">
}" :disabled="true" >
</c-ptap>
</c-col>
<c-col :span="11" :offset="1">
......@@ -20,7 +20,7 @@
title: 'Collecting Bank',
grp: 'bodgrp',
rol: 'col',
}" :disabled="true" @onSeainf="onSeainf">
}" :disabled="true" >
</c-ptap>
</c-col>
......
......@@ -11,8 +11,6 @@
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
......@@ -26,8 +24,6 @@
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -42,8 +38,6 @@
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......
......@@ -17,7 +17,7 @@
<c-col :span="11" :offset="1">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled>
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label"
<el-option v-for="item in codes.chadet" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
......
......@@ -42,8 +42,8 @@
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bodgrp.cbs.max.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
</c-col>
......@@ -59,14 +59,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-col :span="11" :offset="1">
<el-form-item label="" label-width="0" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input>
</el-form-item>
......@@ -85,9 +85,12 @@
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%"
placeholder="请选择Collection Condition" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Payment Condition" disabled>
<el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -103,9 +106,12 @@
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"
disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
placeholder="请输入Document Set Status" disabled>
<el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -139,9 +145,12 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
<c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input>
<el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="5">
......@@ -230,9 +239,13 @@
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24" style="margin-top: 30px">
<span style="font-size:14px">Bills to Pay back:</span>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
<c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-30px">
</c-edit-table>
</c-col>
</c-col>
......
......@@ -2,23 +2,30 @@
<c-page title="出口托收结算">
<div class="eContainer">
<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 :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000027 -->
<el-tab-pane label="setp" name="setp">
<el-tab-pane label="Funds Settlement" name="setp">
<m-setp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<el-tab-pane label="Instructions" name="inst">
<m-inst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
......
......@@ -5,14 +5,14 @@
title: 'Drawer',
grp: 'bodgrp',
rol: 'drr',
}" :disabledRef="false" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
}" :disabledRef="false" :disabledExtkey="true" :disabled="true">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Drawee',
grp: 'bodgrp',
rol: 'dre',
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" >
</c-ptap>
</c-col>
<c-col :span="11" :offset="1">
......@@ -20,7 +20,7 @@
title: 'Collecting Bank',
grp: 'bodgrp',
rol: 'col',
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" >
</c-ptap>
</c-col>
......
......@@ -194,16 +194,16 @@
<c-col :span="12">
<el-form-item
label="款人常驻国家/地区代码"
label="款人常驻国家/地区代码"
prop="attp.paycountcode"
>
<c-input
v-model="model.attp.paycountcode"
v-model="model.attp.country"
filterable
style="width: 100%"
placeholder="款人常驻国家/地区代码"
placeholder="款人常驻国家/地区代码"
@keyup.enter.native="
showGridPromptDialog('attp.paycountcode')
showGridPromptDialog('attp.country')
"
>
</c-input>
......
......@@ -14,6 +14,7 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp">
......@@ -54,7 +55,18 @@
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-input-currency v-model="model.bopmod.outchargeamt"
style="text-align: right;"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled="!model.bopmod.basflg || model.bopmod.szflg === '2' || model.bopmod.szflg === '3' "
@keyup.enter.native="defaultFunction('bopmod.outchargeamt', model.bopmod.outchargeamt)"
></c-input-currency>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
......@@ -67,8 +79,7 @@
<c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="11" offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
......
......@@ -8,6 +8,7 @@
v-model="model.dedgrp.rec.isyifu"
style="width: 100%"
placeholder="请选择是否可议付"
@change="selectOrCheckboxRule('dedgrp.rec.isyifu')"
>
<el-option
v-for="item in codes.isyifu"
......@@ -60,9 +61,9 @@
-->
<c-ptapdome
:disabledBankno="model.dedgrp.rec.isyifu != 'Y'"
:disabledBankno="model.dedgrp.rec.avbwth != 'S'"
:disabledJigomc="true"
:disabledDizhii="model.dedgrp.rec.isyifu != 'Y'"
:disabledDizhii="model.dedgrp.rec.avbwth != 'S'"
:model="model"
:argadr="{
title: '议付行',
......@@ -290,9 +291,9 @@
-->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="true"
:disabledBankno="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledJigomc="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledDizhii="this.model.dedgrp.rec.lcrtyp == 'I'"
:model="model"
:argadr="{
title: '转让行',
......
<template>
<div class="eibs-tab">
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="分批装运货物" prop="dedgrp.rec.shppar">
<c-select v-model="model.dedgrp.rec.shppar" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
<div class="eibs-tab">
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="分批装运货物" prop="dedgrp.rec.shppar">
<c-select
v-model="model.dedgrp.rec.shppar"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.shppar"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<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%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-form-item>
<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%"
>
<el-option
v-for="item in codes.shppar"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="dedgrp.rec.fqtime">
<c-input type="textarea" :rows="3" v-model="model.dedgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
</el-form-item>
<el-form-item
label="分期装运/提供服务约定"
prop="dedgrp.rec.fqtime"
>
<c-input
type="textarea"
:rows="3"
v-model="model.dedgrp.rec.fqtime"
maxlength="140"
show-word-limit
placeholder="请输入"
style="width: 100%"
></c-input>
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="dedgrp.rec.tratyp">
<c-select v-model="model.dedgrp.rec.tratyp" style="width:100%" placeholder="请选择" @change="recTratypChange" :disabled="model.dedgrp.rec.mytype == 'F'">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
<el-form-item
label="货物运输/交货/服务方式"
prop="dedgrp.rec.tratyp"
>
<c-select
v-model="model.dedgrp.rec.tratyp"
style="width: 100%"
placeholder="请选择"
@change="recTratypChange"
:disabled="model.dedgrp.rec.mytype == 'F'"
>
<el-option
v-for="item in codes.tratyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="手输运输方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<el-form-item
v-if="model.dedgrp.rec.mytype == 'H'"
label="手输运输方式"
prop="dedgrp.rec.sdsrfs"
>
<c-input
type="textarea"
v-model="model.dedgrp.rec.sdsrfs"
:disabled="model.dedgrp.rec.tratyp!='08' && model.dedgrp.rec.mytype!='F'"
maxlength="140"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<el-form-item
v-if="model.dedgrp.rec.mytype == 'F'"
label="服务提供方式"
prop="dedgrp.rec.sdsrfs"
>
<c-input
type="textarea"
v-model="model.dedgrp.rec.sdsrfs"
maxlength="140"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item
v-if="model.dedgrp.rec.mytype == '3'"
label="手输运输方式/服务提供方式"
prop="dedgrp.rec.sdsrfs"
>
<c-input
type="textarea"
v-model="model.dedgrp.rec.sdsrfs"
:disabled="this.mytypeFlag"
maxlength="140"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input
v-model="model.dedgrp.rec.conno"
maxlength="35"
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item label="合同金额" prop="dedgrp.rec.conamt">
<c-col :span="10">
<c-select v-model="model.dedgrp.rec.concur" style="width:90%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
<c-col :span="24">
<el-form-item label="合同金额">
<c-col :span="10">
<c-select
v-model="model.dedgrp.rec.concur"
placeholder="请选择"
style="width: 100%"
>
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</c-col>
<c-col :span="14">
<el-form-item label="" label-width="5px" prop="dedgrp.rec.conamt">
<c-input-currency
v-model="model.dedgrp.rec.conamt"
placeholder="请输入"
></c-input-currency>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="14">
<c-input v-model="model.dedgrp.rec.conamt" placeholder="请输入"></c-input>
</c-col>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="货物转运地(港)" prop="dedgrp.rec.shpfro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpfro" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpto" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="货物转运地(港)" prop="dedgrp.rec.shpfro">
<c-input
type="textarea"
style="width: 100%"
:rows="3"
v-model="model.dedgrp.rec.shpfro"
:disabled="model.dedgrp.rec.mytype == 'F'"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shppro" :disabled="model.dedgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
<c-input
type="textarea"
style="width: 100%"
:rows="3"
v-model="model.dedgrp.rec.shpto"
:disabled="model.dedgrp.rec.mytype == 'F'"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input
type="textarea"
style="width: 100%"
:rows="3"
v-model="model.dedgrp.rec.shppro"
:disabled="model.dedgrp.rec.mytype == 'H'"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<!--
<!--
<c-col :span="12">
<span v-text="model.detp.fenzhu"
a-path=".detp.fenzhu" > </span>
......@@ -86,31 +201,21 @@
<c-col :span="12">
<span v-text="model.detp.sdysfs" data-path=".detp.sdysfs" > </span>
</c-col>
-->
</div>
--></div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detopn/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detopn/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
mytypeFlag:true,
}
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="信用证号码"
prop="dedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.dedgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="信用证号码" prop="dedgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.dedgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"
style="width: 95%" disabled></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
@click="onDetpButgetref">
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="是否可以转让" prop="dedgrp.rec.lcrtyp">
<c-select
v-model="model.dedgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.lcrtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否可以转让" prop="dedgrp.rec.lcrtyp">
<c-select v-model="model.dedgrp.rec.lcrtyp" style="width: 100%" placeholder="请选择">
<el-option v-for="item in codes.lcrtyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="所属客户经理"
prop="detp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.detp.usr.extkey"
maxlength="8"
placeholder="请输入所属客户经理"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left:10px;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="所属客户经理" prop="detp.usr.extkey" style="width: 100%">
<c-fullbox>
<c-input v-model="model.detp.usr.extkey" maxlength="8" placeholder="请输入所属客户经理" disabled>
</c-input>
<template slot="footer">
<c-button style="margin-left: 10px; padding: 0 10px" size="small" icon="el-icon-search"
type="primary" @click="onExtkey"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col>
<!-- <c-col>
&nbsp;
</c-col> -->
<c-col :span="13">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.dedgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur">
<c-select disabled v-model="model.dedgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="5px"
prop="dedgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.dedgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction('dedgrp.cbs.nom1.amt', model.dedgrp.cbs.nom1.amt)
"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item style="text-align: left" label-width="5px" prop="dedgrp.cbs.nom1.amt">
<c-input-currency v-model="model.dedgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额" @keyup.enter.native="
defaultFunction(
'dedgrp.cbs.nom1.amt',
model.dedgrp.cbs.nom1.amt
)
"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="detp.upamt">
<c-input
v-model="model.detp.upamt"
maxlength="76"
placeholder="请输入大写金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="detp.upamt">
<c-input v-model="model.detp.upamt" maxlength="76" placeholder="请输入大写金额" disabled></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input
......@@ -168,31 +109,28 @@
</c-col>
</c-col> -->
<c-col :span="24">
<c-col :span="13">
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input
v-model="model.dedgrp.rec.nomtop"
maxlength="9"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
></c-input>
</c-form-item>
</c-col>
<c-col :span="1" style="text-align:center">
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
</c-col>
<c-col :span="10">
<c-input
v-model="model.dedgrp.rec.nomton"
maxlength="9"
style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
<c-col :span="24">
<c-col :span="13">
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input v-model="model.dedgrp.rec.nomtop" maxlength="10" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"></c-input>
</c-form-item>
</c-col>
<c-col :span="1" style="text-align: center">
<label style="
display: inline-block;
width: calc(3% - 4px);
text-align: center;
">-</label>
</c-col>
<c-col :span="10">
<c-form-item label="" prop="dedgrp.rec.nomton" label-width="0">
<c-input v-model="model.dedgrp.rec.nomton" prop="dedgrp.rec.nomton" maxlength="10" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"></c-input></c-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12" style="text-align: left">
<!-- <c-col :span="12" style="text-align: left">
<el-form-item
label=""
style="text-align: left; margin-left: 12px"
......@@ -207,72 +145,35 @@
</el-form-item>
</c-col> -->
<!-- <c-col> &nbsp; </c-col> -->
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select
v-model="model.dedgrp.cbs.max.cur"
placeholder="请选择Currency"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col> &nbsp; </c-col> -->
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt">
<c-input
v-model="model.dedgrp.cbs.max.amt"
placeholder="请输入信用证最大金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select v-model="model.dedgrp.cbs.max.cur" placeholder="请选择Currency" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="贸易类型" prop="dedgrp.rec.mytype">
<c-select
v-if="model.dedgrp.rec.elcflg == 'N'"
v-model="model.dedgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mylx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model="model.dedgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mytype"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt">
<c-input v-model="model.dedgrp.cbs.max.amt" placeholder="请输入信用证最大金额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="贸易类型" prop="dedgrp.rec.mytype">
<c-select v-model="model.dedgrp.rec.mytype" style="width: 100%" placeholder="请选择贸易类型"
@change="mytypeChange">
<el-option v-for="item in codes.mytype" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker
......@@ -285,61 +186,28 @@
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.opndat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width:100%"
></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.dedgrp.rec.mytype == 'H'"
label="最迟货物装运日"
prop="dedgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
<el-form-item
v-if="model.dedgrp.rec.mytype == 'F'"
label="最迟服务提供日"
prop="dedgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
<el-form-item
label="最迟货物装运日/服务提供日"
v-if="model.dedgrp.rec.mytype == '3'"
prop="dedgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker type="date" v-model="model.dedgrp.rec.opndat" value-format="yyyy-MM-dd"
placeholder="请选择Date" style="width: 100%"></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="最迟货物装运日" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd"
style="width: 100%" placeholder="请选择Date"></c-date-picker>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="最迟服务提供日" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd"
style="width: 100%" placeholder="请选择Date"></c-date-picker>
</el-form-item>
<el-form-item label="最迟货物装运日/服务提供日" v-if="model.dedgrp.rec.mytype == '3'" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd"
style="width: 100%" placeholder="请选择"></c-date-picker>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker
......@@ -352,84 +220,59 @@
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.expdat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width:100%"
></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.expdat" value-format="yyyy-MM-dd"
placeholder="请选择Date" style="width: 100%"></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="dedgrp.rec.expplc">
<c-input
v-model="model.dedgrp.rec.expplc"
maxlength="35"
placeholder="请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="开证行开证类型" prop="dedgrp.rec.dkflg">
<c-select v-model="model.dedgrp.rec.dkflg" style="width: 100%" placeholder="请选择" :code="codes.dkflg"
disabled></c-select>
</c-form-item>
</c-col>
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 95%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="dedgrp.rec.expplc">
<c-input v-model="model.dedgrp.rec.expplc" maxlength="35" placeholder="请输入Place of Expiry">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
<c-select
v-model="model.dedgrp.rec.shptrs"
style="width: 100%"
placeholder="请选择"
:disabled="model.dedgrp.rec.mytype == 'F'"
>
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</c-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
<c-select v-model="model.dedgrp.rec.shptrs" style="width: 100%" placeholder="请选择"
:disabled="model.dedgrp.rec.mytype == 'F'">
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通过电证系统" prop="dedgrp.rec.elcflg">
<c-select
v-model="model.dedgrp.rec.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
>
<el-option
v-for="item in codes.elcflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通过电证系统" prop="dedgrp.rec.elcflg">
<c-select v-model="model.dedgrp.rec.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统">
<el-option v-for="item in codes.elcflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!--
<!--
<c-col :span="24">
<el-form-item label="是否代开信用证" prop="dedgrp.rec.dkflg">
<c-select v-model="model.dedgrp.rec.dkflg" style="width:100%" placeholder="请选择是否代开信用证">
......@@ -438,81 +281,68 @@
</c-col>
-->
<c-col :span="24">
<el-form-item label="信用证兑付方式" prop="dedgrp.rec.avbby">
<c-select
v-model="model.dedgrp.rec.avbby"
style="width: 100%"
@change="avbbykeyEvent"
placeholder="请选择"
>
<el-option
v-for="item in codes.avbby0"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="天数" prop="dedgrp.rec.tenmaxday">
<c-input
v-model="model.dedgrp.rec.tenmaxday"
maxlength="35"
placeholder="请输入天数"
:disabled = "model.dedgrp.rec.avbby == 'P'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证兑付方式" prop="dedgrp.rec.avbby">
<c-select v-model="model.dedgrp.rec.avbby" style="width: 100%" @change="avbbykeyEvent"
placeholder="请选择">
<el-option v-for="item in codes.avbbyDetopn" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input
type="textarea"
v-model="model.dedgrp.blk.dftat"
maxlength="35"
show-word-limit
placeholder="请输入远期付款指示"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="天数" prop="dedgrp.rec.tenmaxday">
<c-input v-model.number="model.dedgrp.rec.tenmaxday" placeholder="请输入天数"
:disabled="model.dedgrp.rec.avbby == 'P'"></c-input>
</el-form-item>
</c-col>
</c-col>
<div v-if="model.dedgrp.rec.avbby != 'D'">
<c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input type="textarea" v-model="model.dedgrp.blk.dftat" maxlength="35" show-word-limit
placeholder="请输入远期付款指示" :disabled="!model.dedgrp.rec.avbby"></c-input>
</el-form-item>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.defdet">
<c-input type="textarea" v-model="model.dedgrp.blk.defdet" maxlength="35" show-word-limit
placeholder="请输入远期付款指示"></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input
text-align="middle"
v-model="model.dedgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input text-align="middle" v-model="model.dedgrp.rec.nam" maxlength="40" disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'dedgrp',
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '受益人',
grp: 'dedgrp',
rol: 'ben',
}" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap>
</c-col>
<!--
<c-col :span="24">
<c-col :span="24">
<el-form-item label="受益人账号" prop="dedgrp.ben.pts.extact">
<c-input v-model="model.dedgrp.ben.pts.extact" maxlength="16" placeholder="请输入受益人账号"></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col :span="24">
<c-col :span="24">
<el-form-item label="受益人参考号" prop="dedgrp.ben.pts.ref">
......@@ -571,45 +401,30 @@
</c-col>
-->
<c-col :span="24">
<el-form-item label="联行行号" prop="dedgrp.beb.pts.bankno">
<c-input
v-model="model.dedgrp.beb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人开户行联行行号" prop="dedgrp.beb.pts.bankno">
<c-input v-model="model.dedgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称 电证用" prop="dedgrp.beb.pts.jigomc">
<c-input
type="textarea"
v-model="model.dedgrp.beb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人开户行联行名称 电证用" prop="dedgrp.beb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.beb.pts.jigomc" maxlength="35" show-word-limit
placeholder="请输入联行名称 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'dedgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '申请人',
grp: 'dedgrp',
rol: 'apl',
}" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap>
</c-col>
<!--
<!--
<c-col :span="24">
<el-form-item label="申请人参考号" prop="dedgrp.apl.pts.ref">
<c-input v-model="model.dedgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号"></c-input>
......@@ -665,44 +480,29 @@
</c-col>
-->
<c-col :span="24">
<el-form-item label="是否通知客户" prop="dedgrp.rec.rejflg">
<c-select
v-model="model.dedgrp.rec.rejflg"
style="width: 100%"
placeholder="请选择是否通知客户"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="拒绝通知理由" prop="dedgrp.blk.rejadvrsn">
<c-input
type="textarea"
v-model="model.dedgrp.blk.rejadvrsn"
maxlength="35"
show-word-limit
placeholder="请输入拒绝通知理由"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通知客户" prop="dedgrp.rec.rejflg">
<c-select v-model="model.dedgrp.rec.rejflg" style="width: 100%" placeholder="请选择是否通知客户">
</c-select>
</el-form-item>
</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 :span="24">
<el-form-item label="拒绝通知理由" prop="dedgrp.blk.rejadvrsn">
<c-input type="textarea" v-model="model.dedgrp.blk.rejadvrsn" maxlength="35" show-word-limit
placeholder="请输入拒绝通知理由"></c-input>
</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 :span="12">
<el-form-item label="" prop="detp.usrget.sdamod.seainf">
<c-input v-model="model.detp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
......@@ -716,31 +516,31 @@
</el-form-item>
</c-col> -->
<!--
<!--
<c-col :span="12">
<el-form-item label="Address Block" prop="dedgrp.ben.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col> -->
<!--
<!--
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.ben.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
-->
<!-- TODO 貌似多余的
<!-- TODO 貌似多余的
<c-col :span="12">
<span v-text="model.detp.zchday" data-path=".detp.zchday"> </span>
</c-col> -->
<!--
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="detp.aplp.ptsget.sdamod.dadsnd">
<c-input v-model="model.detp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<!--
<!--
<c-col :span="12">
<el-form-item label="" prop="detp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.detp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
......@@ -748,7 +548,7 @@
</c-col>
-->
<!--
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
Details
......@@ -756,7 +556,7 @@
</c-col>
-->
<!--
<!--
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.apl.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
......@@ -808,7 +608,7 @@
</el-form-item>
</c-col>
-->
</div>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -818,23 +618,23 @@ import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
jigomcFlag: false,
trade: "",
};
},
methods: { ...Event },
created: function () {},
computed: {
flag() {
return this.model.dedgrp.ben.pts.extkey == "";
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
jigomcFlag: false,
trade: "",
};
},
methods: { ...Event },
created: function () { },
computed: {
flag() {
return this.model.dedgrp.ben.pts.extkey == "";
},
},
},
};
</script>
<style>
......
<template>
<div class="eibs-tab">
<c-col :span="24" style="height:24px;">
<el-form-item
class="labelClass"
label="S0001140"
label-width="300px"
>
</el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="table1"
:paginationShow="false"
:border="true"
>
<el-table-column label="C0001073" prop="limtyp" width="auto"></el-table-column>
<el-table-column label="C0001075" prop="cur" width="auto"></el-table-column>
<el-table-column label="C0001076" prop="cbeamt" width="auto"></el-table-column>
<el-table-column label="C0001074" prop="reqtyp1" width="auto"></el-table-column>
<el-table-column label="C0001078" prop="limcbeamt" width="auto"></el-table-column>
<el-table-column label="C0001088" prop="reqtyp2" width="auto"></el-table-column>
<el-table-column label="C0001087" prop="ckcbeamt" width="auto"></el-table-column>
<el-table-column label="C0001079" prop="credat" width="auto"></el-table-column>
<el-table-column label="C0001080" prop="ptyextkey" width="auto"></el-table-column>
<el-table-column label="C0001081" prop="ptynam" width="auto"></el-table-column>
<el-table-column label="C0001082" prop="ownref" width="auto"></el-table-column>
<el-table-column label="C0001083" prop="ccvbl" width="auto"></el-table-column>
<el-table-column label="C0001085" prop="limvar" width="auto"></el-table-column>
<el-table-column label="C0001086" prop="dgzylimref" width="auto"></el-table-column>
</c-table>
</c-col>
<!-- ================================================ -->
<c-col :span="24" style="height:24px;margin-top:25px">
<el-form-item
class="labelClass"
label="S0001141"
label-width="300px"
>
</el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="table2"
:paginationShow="false"
:border="true"
>
<el-table-column label="C0001056" prop="dgzylimvar" width="auto"></el-table-column>
<el-table-column label="C0001048" prop="tzhamt" width="auto"></el-table-column>
<el-table-column label="C0001050" prop="tzhccv" width="auto"></el-table-column>
<el-table-column label="C0001052" prop="tzhlimamt" width="auto"></el-table-column>
<el-table-column label="C0001054" prop="tzhlimck" width="auto"></el-table-column>
<el-table-column label="C0001049" prop="tzqamt" width="auto"></el-table-column>
<el-table-column label="C0001051" prop="tzqccv" width="auto"></el-table-column>
<el-table-column label="C0001053" prop="tzqlimamt" width="auto"></el-table-column>
<el-table-column label="C0001055" prop="tzqlimck" width="auto"></el-table-column>
</c-table>
</c-col>
<!-- ================================================== -->
<c-col :span="24" style="height:24px;margin-top:25px">
<el-form-item
class="labelClass"
label="S0001142"
label-width="300px"
>
</el-form-item>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="table3"
:paginationShow="false"
:border="true"
>
<el-table-column label="C0001020" prop="limvar" width="auto"></el-table-column>
<el-table-column label="C0001023" prop="dgzylimvar" width="auto"></el-table-column>
<el-table-column label="C0001024" prop="dglimcur" width="auto"></el-table-column>
<el-table-column label="C0001026" prop="dgsxlimamt" width="auto"></el-table-column>
<el-table-column label="C0001027" prop="dgyylimamt" width="auto"></el-table-column>
<el-table-column label="C0001028" prop="dgkylimamt" width="auto"></el-table-column>
<el-table-column label="C0001029" prop="dgcklimamt" width="auto"></el-table-column>
<el-table-column label="C0001030" prop="dgyylimck" width="auto"></el-table-column>
<el-table-column label="C0001031" prop="dgkylimck" width="auto"></el-table-column>
<el-table-column label="C0001032" prop="dghfxh" width="auto"></el-table-column>
<el-table-column label="C0001021" prop="dgzylimref" width="auto"></el-table-column>
<el-table-column label="C0001022" prop="dgzyliminfref" width="auto"></el-table-column>
<el-table-column label="C0001025" prop="dgccvbl" width="auto"></el-table-column>
</c-table>
</c-col>
</div>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="auto">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="1">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbb"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="auto">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="1">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmpty"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="auto">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="auto">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="1">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -103,9 +272,6 @@ export default {
mixins: [commonProcess],
data(){
return {
table1:[],
table2:[],
table3:[],
}
},
......@@ -115,9 +281,6 @@ export default {
}
}
</script>
<style scoped>
.labelClass >>> .el-form-item__label{
text-align: left;
font-weight:bold;
}
<style>
</style>
......@@ -254,7 +254,7 @@
</c-col>
<c-col :span="8">
<el-form-item
label="信用证类型"
label="Form of L/C"
prop="sealcrtyp"
style="width: 100%"
>
......@@ -269,6 +269,27 @@
</c-col>
<c-col :span="8">
<el-form-item
label="Goods Code"
prop="seagodcod"
style="width: 100%"
>
<c-select
v-model="model.seagodcod"
style="width: 100%"
placeholder="请选择Goods Code"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<el-form-item
label="假远期信用证"
prop="jyqflg"
style="width: 100%"
......@@ -307,7 +328,7 @@
>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<!-- <c-col :span="8">
<el-form-item
......@@ -417,27 +438,7 @@
</el-form-item>
</c-col> -->
<!-- <c-col :span="8">
<el-form-item
label="货物种类"
prop="seagodcod"
style="width: 100%"
>
<c-select
v-model="model.seagodcod"
style="width: 100%"
placeholder="请选择Goods Code"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
</el-row>
</el-form>
</template>
......
......@@ -16,7 +16,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -43,7 +43,7 @@
<c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input
v-model.number="model.oldlidgrp.cbs.nom1.amt"
v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
disabled
></c-input>
......@@ -53,7 +53,7 @@
<c-col :span="12">
<el-form-item label="Amount Tolerance +" prop="oldlidgrp.rec.nomtop">
<c-input
v-model="model.oldlidgrp.rec.nomtop"
v-model.number="model.oldlidgrp.rec.nomtop"
placeholder="请输入Amount Tolerance - Positive"
disabled
></c-input>
......@@ -63,7 +63,7 @@
<c-col :span="12">
<el-form-item label="Amount Tolerance -" prop="oldlidgrp.rec.nomton">
<c-input
v-model="model.oldlidgrp.rec.nomton"
v-model.number="model.oldlidgrp.rec.nomton"
placeholder="请输入Amount Tolerance - Negative"
disabled
></c-input>
......@@ -83,8 +83,7 @@
<c-col :span="12">
<el-form-item label="Amended Amount" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额"
@keyup.enter.native="amendfunc"
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额."
></c-input>
</el-form-item>
</c-col>
......@@ -107,13 +106,13 @@
</c-col>
<c-col :span="12">
<el-form-item label="New positive tolerance" prop="trnmod.swiadd.newnomtop">
<c-input v-model="model.trnmod.swiadd.newnomtop" placeholder="请输入New positive tolerance"></c-input>
<c-input v-model.number="model.trnmod.swiadd.newnomtop" placeholder="请输入New positive tolerance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="New negative tolerance" prop="trnmod.swiadd.newnomton">
<c-input v-model="model.trnmod.swiadd.newnomton" placeholder="请输入New negative tolerance"></c-input>
<c-input v-model.number="model.trnmod.swiadd.newnomton" placeholder="请输入New negative tolerance"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -150,7 +149,7 @@
<c-col :span="24">
<el-form-item label="Presentation Period" prop="oldlidgrp.rec.prepers18">
<c-input
v-model="model.oldlidgrp.rec.prepers18"
v-model.number="model.oldlidgrp.rec.prepers18"
placeholder="请输入Presentation Period"
disabled
></c-input>
......@@ -210,14 +209,14 @@
</c-col>
<c-col :span="12">
<el-form-item label="Amend.No" prop="trnmod.swiadd.amenbr">
<c-input v-model="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
<c-input v-model.number="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Actual Amendment No" prop="litamep.amenbr">
<c-input
v-model="model.litamep.amenbr"
v-model.number="model.litamep.amenbr"
placeholder="请输入实际修改次数"
disabled
></c-input>
......@@ -302,7 +301,7 @@
</c-col>
<c-col :span="12">
<el-form-item label="New Presentation Period" prop="trnmod.swiadd.prepers18">
<c-input v-model="model.trnmod.swiadd.prepers18" placeholder="请输入New Presentation Period"></c-input>
<c-input v-model.number="model.trnmod.swiadd.prepers18" placeholder="请输入New Presentation Period"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -310,23 +309,19 @@
<c-input v-model="model.trnmod.swiadd.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 150px;"
v-model="model.litp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
<c-checkbox v-model="model.litp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Currency" prop="lidgrp.cbs.max2.cur">
<c-input
<c-input
disabled
v-model="model.lidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Additional Amount" prop="trnmod.swiadd.addamt">
<c-input
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
......@@ -345,14 +340,10 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 150px;"
v-model="model.trnmod.swiadd.reqcan">Cancellation Request</c-checkbox>
<c-checkbox v-model="model.trnmod.swiadd.reqcan">Cancellation Request</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 150px;"
v-model="model.litamep.cre707flg">Create Amendment Message</c-checkbox>
<c-checkbox v-model="model.litamep.cre707flg">Create Amendment Message</c-checkbox>
</c-col>
</el-col>
......@@ -374,14 +365,7 @@ export default {
}
},
methods:{...Event,
async amendfunc(){
let rtnmsg = await this.executeRule("trnmod.swiadd.ameamt")
if(rtnmsg.respCode==SUCCESS){
this.updateModel(rtnmsg.data);
}else{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
created:function(){
......
......@@ -24,7 +24,7 @@
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.spcbename.buttxmsel',null,null,{TXT: 'litamep.spcbenamep.usrblk'}, {TXT: false},'doxpDialog')"
@click="showGridPromptDialog('litamep.spcbenamep.buttxmsel',null,null,{TXT: 'litamep.spcbenamep.usrblk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
......
......@@ -25,7 +25,7 @@
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.spcrcbame.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')"
@click="showGridPromptDialog('litamep.spcrcbamep.buttxmsel',null,null,{TXT: 'litamep.spcrcbamep.usrblk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
......
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000015 -->
<el-tab-pane label="Amendment" name="amep">
<c-content>
<m-amep :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Overview" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000015 -->
<el-tab-pane label="Amendment" name="amep">
<c-content>
<m-amep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane v-if="this.model.litp.aamp.aammod.addamtflg" label="Additional Amount" name="aamp">
<m-aamp :model="model" :code="codes"/>
</el-tab-pane>
<!--PD000021 -->
<el-tab-pane label="Narrative" name="narp">
<m-narp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="Details" name="detp">
<c-content>
<m-detp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000306 -->
<el-tab-pane label="Instr.to P,A,N.Bank (Amend)" name="inspame">
<m-inspame :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000328 -->
<el-tab-pane label="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Overview" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
<el-tab-pane
v-if="this.model.litp.aamp.aammod.addamtflg"
label="Additional Amount"
name="aamp"
>
<m-aamp :model="model" :code="codes" />
</el-tab-pane>
<!--PD000021 -->
<el-tab-pane label="Narrative" name="narp">
<m-narp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="Details" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000306 -->
<el-tab-pane label="Instr.to P,A,N.Bank (Amend)" name="inspame">
<m-inspame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000328 -->
<el-tab-pane label="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="message" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane
v-if="this.model.lidgrp.rec.spcbenflg"
label="Spe.pay conditions Ben [Amend.]" name="spbpame">
<m-spbpame :model="model" :codes="codes" />
......@@ -103,27 +113,27 @@
label="Spe.pay.cond.bank only [Amend]" name="sprpame">
<m-sprpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000352 -->
<el-tab-pane label="Doc's(Amend)" name="dorpame">
<m-dorpame :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000355 -->
<el-tab-pane label="Goods(Amend)" name="dogpame">
<m-dogpame :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000359 -->
<el-tab-pane label="Add.Con.(Amend)" name="adcpame">
<m-adcpame :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<!--PD000352 -->
<el-tab-pane label="Doc's(Amend)" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000355 -->
<el-tab-pane label="Goods(Amend)" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000359 -->
<el-tab-pane label="Add.Con.(Amend)" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
......@@ -141,33 +151,34 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litame from "~/model/Litame"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Litame from "~/model/Litame";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Litame/Check"
import Default from "~/model/Litame/Default"
import Pattern from "~/model/Litame/Pattern"
import Amep from "./Amep"
import Ovwp from "./Ovwp"
import Aamp from "./Aamp"
import Narp from "./Narp"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Inspame from "./Inspame"
import Check from "~/model/Litame/Check";
import Default from "~/model/Litame/Default";
import Pattern from "~/model/Litame/Pattern";
import Amep from "./Amep";
import Ovwp from "./Ovwp";
import Aamp from "./Aamp";
import Narp from "./Narp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Inspame from "./Inspame";
// import Engp from "./Engp"
// import Ccvpan from "./Ccvpan"
// import Setpan from "./Setpan"
// import Glepan from "./Glepan"
import Addbcb from "./Addbcb"
import Addbcb from "./Addbcb";
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
import Dorpame from "./Dorpame"
import Dogpame from "./Dogpame"
import Adcpame from "./Adcpame"
import Dorpame from "./Dorpame";
import Dogpame from "./Dogpame";
import Adcpame from "./Adcpame";
// import Limitbody from "./Limitbody"
import Engp from "~/views/Public/Engp";
......@@ -178,77 +189,75 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
import AampVue from '../Detame/Aamp.vue'
import AampVue from "../Detame/Aamp.vue";
import Spbpame from "./Spbpame.vue"
import Sprpame from "./Sprpame.vue"
export default {
name:"Litame",
components:{
"m-amep" : Amep,
"m-ovwp" : Ovwp,
"m-aamp" : Aamp,
"m-narp" : Narp,
"m-detp" : Detp,
"m-ptyp" : Ptyp,
"m-inspame" : Inspame,
"m-engp" : Engp,
"m-ccvpan" : Ccvpan,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-addbcb" : Addbcb,
"m-coninfp" : Coninfp,
"m-spbpame" : Spbpame,
"m-sprpame" : Sprpame,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-dorpame" : Dorpame,
"m-dogpame" : Dogpame,
"m-adcpame" : Adcpame,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "amep",
trnName: "litame",
model: new Litame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
name:"Litame",
components: {
"m-amep": Amep,
"m-ovwp": Ovwp,
"m-aamp": Aamp,
"m-narp": Narp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-inspame": Inspame,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-addbcb": Addbcb,
"m-coninfp": Coninfp,
"m-spbpame" : Spbpame,
"m-sprpame" : Sprpame,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-dorpame": Dorpame,
"m-dogpame": Dogpame,
"m-adcpame": Adcpame,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
tabVal: "amep",
trnName: "litame",
model: new Litame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入litame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入litame交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col>
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-input
......@@ -10,11 +10,11 @@
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.max.amt">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
......@@ -27,16 +27,18 @@
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.max2.amt">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Charges" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
<c-input
:rows="4"
type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -51,17 +53,21 @@
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="brdgrp.rec.totamt">
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Account with Bank" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<c-input v-model="model.brdgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.acb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onAcbpDet">
......@@ -75,22 +81,24 @@
<c-col :span="24">
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.acb.namelc">
<c-input type="textarea" v-model="model.brdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input
:rows="4"
type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
......@@ -100,15 +108,15 @@
<el-form-item label="地址" prop="brdgrp.acb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Beneficiary's Bank" prop="brdgrp.beb.pts.extkey">
<c-fullbox>
<c-input
disabled
@keyup.enter.native="showGridPromptDialog('brdgrp.beb.pts.extkey')"
v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
......@@ -122,20 +130,22 @@
<c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.beb.namelc">
<c-input type="textarea" v-model="model.brdgrp.beb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.beb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.beb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input
:rows="4"
type="textarea" v-model="model.brdgrp.beb.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.beb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.beb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
......@@ -145,8 +155,9 @@
<el-form-item label="地址" prop="brdgrp.beb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col> -->
</c-col>
</c-col>
</div>
</template>
<script>
......
......@@ -18,19 +18,19 @@
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='750'" label="Advice of Discrepancy" name="mt750p">
<el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == '750' " label="Advice of Discrepancy" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='754'" label="Advice of Payment" name="mt754p">
<el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == '754' " label="Advice of Payment" name="mt754p">
<c-content>
<m-mt754p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='oth'" label="Advice Details" name="othadvtypp">
<el-tab-pane v-if=" this.model.brdgrp.rec.advtyp == 'OTH' " label="Advice Details" name="othadvtypp">
<c-content>
<m-othadvtypp :model="model" :codes="codes"/>
</c-content>
......
......@@ -6,7 +6,7 @@
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].cortyp
scope.row.cortyp
"
style="width: 100%"
disabled
......@@ -26,7 +26,7 @@
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].docsnf
scope.row.docsnf
"
style="width: 100%"
placeholder="请选择"
......@@ -46,7 +46,7 @@
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].docuil
scope.row.docuil
"
style="width: 100%"
placeholder="请选择"
......@@ -65,7 +65,7 @@
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].apf
scope.row.apf
"
disabled
style="width: 100%"
......@@ -85,7 +85,7 @@
<template slot-scope="scope">
<c-input
v-model="
model.trnmod.trndoc.doceot[scope.row.index].apfcpy1
scope.row.apfcpy1
"
:readonly="true"
style="width: 100%"
......@@ -98,7 +98,7 @@
<template slot-scope="scope">
<c-input
v-model="
model.trnmod.trndoc.doceot[scope.row.index].apfcpy2
scope.row.apfcpy2
"
style="width: 100%"
placeholder="请选择"
......@@ -111,7 +111,7 @@
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].staflg
scope.row.staflg
"
style="width: 100%"
placeholder="请选择"
......@@ -132,11 +132,11 @@
type="primary"
size="small"
:disabled="
model.trnmod.trndoc.doceot[scope.row.index]
scope.row
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row,model.trnmod.trndoc.doceot[scope.row.index])"
@click="handleDisplay(scope.row.index, scope.row, model.trnmod.trndoc.doceot[scope.row.idx])"
icon="el-icon-search"
style="margin-left:0"
></c-button
......@@ -206,16 +206,19 @@
<c-row>
<c-col :span="12">
<c-col>
<el-form-item label="per-medium"
><el-input disabled v-model="dialog.cortyp"
/></el-form-item>
<el-form-item label="per-medium">
<c-select disabled v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="Form Set">
<el-input
<!-- <el-input
disabled
v-model="dialog.cortyp"
/>
/> -->
<c-select disabled v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
</el-form-item>
</c-col>
<c-col v-if="title != 'elcs.101.001.01'">
......@@ -271,7 +274,9 @@
label="Send Message to"
label-width="150px"
>
<el-input disabled v-model="dialog.roladr" />
<!-- <el-input disabled v-model="dialog.roladr" /> -->
<c-select disabled v-model="dialog.roladr" :code="codes.payrol">
</c-select>
</el-form-item>
<el-form-item
label-width="30px"
......@@ -324,16 +329,20 @@
<el-input disabled v-model="dialog.adrref" />
</el-form-item>
<el-form-item label="Medium" label-width="100px">
<el-input
<!-- <el-input
disabled
style="width: 40%"
v-model="dialog.cortyp"
/>
<el-input
/> -->
<c-select disabled style="width: 40%" v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
<!-- <el-input
disabled
v-model="dialog.docuil"
style="width: 40%; margin-left: 20px"
/>
/> -->
<c-select disabled style="width: 40%; margin-left: 20px" v-model="dialog.docuil" :code="codes.payuil">
</c-select>
</el-form-item>
</c-col>
......@@ -410,7 +419,7 @@
type="textarea"
:rows="10"
disabled
v-model="dialog.remark"
v-model="dialog.addtxt"
/>
</div>
<div v-else>
......@@ -445,7 +454,7 @@
import commonProcess from "~/mixin/commonProcess";
import Api from "~/service/Api";
import Utils from "~/utils/index";
import DocUtils from '~/utils/DocUtils'
import DocUtils from "~/utils/DocUtils";
export default {
inject: ['root'],
props: ["model", "codes"],
......@@ -479,10 +488,10 @@ export default {
"model.trnmod.trndoc.doceot": {
handler(val, oldVal) {
var stm = [];
let k = 0;
for (let i = 0; i < val.length; i++) {
if (val[i].role != "") {
stm[k++] = val[i];
val[i]['idx'] = i
stm.push(val[i]);
}
}
this.stmData.data = stm
......@@ -510,17 +519,18 @@ export default {
let docnam = doceot.docnam||'';
docnam = docnam.substr(docnam.indexOf("\\")+1).toLowerCase().replaceAll("\\","_");
let rtnmsg
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
this.model.setmod.msgmod.doccod = row.id
rtnmsg = await Api.post(`${this.requestPrefix}/msgmod_butshw`, this.wrapper())
} else {
this.model.trnmod.trndoc.doccod = row.id
this.model.trnmod.trndoc.cortyp = cortyp
const params = {
index: index
}
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params))
// if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
// // this.model.setmod.msgmod.doccod = row.id
// rtnmsg = await Api.post(`${this.requestPrefix}/msgmod_butshw`, this.wrapper())
// } else {
// // this.model.trnmod.trndoc.doccod = row.id
// // this.model.trnmod.trndoc.cortyp = cortyp
// }
const params = {
index: row.idx
}
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth;
......@@ -542,7 +552,7 @@ export default {
if (row.pandsc.startsWith("elcs.")) {
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(element => {
rtnmsg.data.trnmod_trndoc_doceot[row.idx].doctxt.rows.forEach(element => {
window.sessionStorage.docTXT += element + "\r\n"
});
}
......@@ -554,6 +564,7 @@ export default {
//参考后台Doceot.butshw order=1000
let execution = 'P', structure = 'l'
let attr = DocUtils.getDocAttribute(docnam,structure,execution)
console.log(attr);
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data[attr];
window.sessionStorage.docuil = doceot.docuil;
......@@ -570,19 +581,19 @@ export default {
},
async handleDetail(index, row) {
const params = {
index: index
index: row.idx
}
let rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpanDetail`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc
this.centerDialogVisible = true,
this.updateModel(rtnmsg.data);
this.dialog = this.model.trnmod.trndoc.doceot[index]
this.index = index
this.dialog = this.model.trnmod.trndoc.doceot[row.idx]
this.index = row.idx
}
}
},
created: function () {},
},
created: function () {},
};
</script>
<style>
......
<template>
<div class="eibs-tab">
<div class="eibs-tab">
<!--
<c-col :span="12">
<el-form-item label="ECIFNO">
......@@ -34,149 +34,266 @@
<!-- 左边-->
<c-col :span="12">
<!-- line1 -->
<c-row>
<c-col :span="12">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号" :disabled="true" style="width: 100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额" :disabled="true" style="width: 100%"></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item label="额度主体" prop="liaall.limmod.limpts.wrk.pts.extkey" style="width:100%">
<c-fullbox>
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" style="width: 100%"></c-input>
<template slot="footer">
<c-button style="margin:0 5px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onSeainf" />
<c-button style="margin:0 0" size="small" type="primary" @click="onWrkpDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item label="主体名称" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="16" placeholder="" :disabled="true" style="width:100%"></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="12">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align:right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width: 100%" placeholder="请选择Flag to Mark Non-revolving Limits" @change="nonrevflg1Change">
<el-option v-for="item in codes.nonrevflg1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<template slot="footer">
<c-button style="padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onLimptsGet1">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-row>
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="额度主体"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onWrkpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流水号" :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'" style="width: 100%"></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet1"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 右边-->
<c-col :span="12">
<!-- line1 -->
<c-row>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额" :disabled="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" style="text-align:right">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
</c-row>
<!-- 随event方法改变 -->
<c-col :span="24" v-if="same">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item label="对公账户" prop="liaall.limmod.limpts.oth.pts.extkey" style="width:100%">
<c-fullbox>
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" style="width: 100%"></c-input>
<template slot="footer">
<c-button style="margin:0 5px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onSeainf" />
<c-button style="margin:0 0" size="small" type="primary" @click="onOthpDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="对公账户"
prop="liaall.limmod.limpts.oth.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item label="主体名称" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="16" placeholder="" :disabled="true" style="width:100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align:right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
<c-fullbox>
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width: 100%" placeholder="请选择Flag to Mark Non-revolving Limits" @change="nonrevflg2Change">
<el-option v-for="item in codes.nonrevflg2" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
<template slot="footer">
<c-button style="padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onLimptsGet2">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<el-form-item
label="额度类型"
prop="liaall.limmod.limpts.nonrevflg2"
>
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet2"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流水号" :disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'" style="width: 100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
</c-col>
<!-- ====================左边=======================
......@@ -318,43 +435,62 @@
</c-button>
</c-col>
-->
<br><br><br><br><br>
<br /><br /><br /><br /><br />
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px"> </el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px"> </el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px"> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> </el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px"> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> </el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> </el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px"> </el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px"> </el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px"> </el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px"> </el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px"> </el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px"> </el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px"> </el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px"> </el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px"> </el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px"> </el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px"> </el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px"> </el-table-column>
</c-table>
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px">
</el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px">
</el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px">
</el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
</el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
</el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px">
</el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24" style="" v-if="false">
......@@ -377,7 +513,7 @@
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col> -->
</div>
</div>
</template>
<script>
......@@ -387,102 +523,98 @@ import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
tableData: {},
};
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
tableData: {},
same:false,
};
},
methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1') {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == '1') {
this.model.liaall.limmod.limpts.pfcod2 = "";
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("liaall.limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
nonrevflg1Change() {
this.same = true;
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = "";
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
created: function () {},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("liaall.limmod.trycal");
this.same = true;
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
created: function () {},
};
</script>
......
......@@ -369,7 +369,10 @@
<c-col :span="12">
<el-form-item label="role">
<c-input v-model="dialog3.rol" maxlength="3" placeholder="请输入role"></c-input>
<c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
......@@ -390,7 +393,7 @@
<c-col :span="12">
<el-form-item label="Disposition" prop="setgll.dsp">
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition">
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition" :code="codes.setglldsp">
</c-select>
</el-form-item>
</c-col>
......
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