Commit 140c81fd by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 8d3948e2 27ec6bfb
......@@ -90,7 +90,7 @@ import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Glepan from "~/components/business/glentry/views";
......
......@@ -10,7 +10,6 @@
<script>
import event from "../event";
import Coninfp from "~/views/Public/Coninfp";
......
......@@ -28,7 +28,7 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
ledgrp:{
rec:{
inr:this.$route.query.inr
}
......@@ -105,15 +105,15 @@ export default {
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LC',
tbl: 'LC',
};
const loading = this.loading();
let res = await Api.post('/service/letcan/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
this.model.ledgrp.rec.ownref = res.data;
}
},
// 获取brtacp弹框表格数据
......@@ -121,7 +121,7 @@ export default {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey,
extkey: this.model.ledgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
......@@ -137,7 +137,7 @@ export default {
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
this.$set(this.model.ledgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
......@@ -147,12 +147,12 @@ export default {
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
letp: {
swiftflg: this.model.letp.swiftflg,
},
gidgrp: {
ledgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
purpos: this.model.ledgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
......
export default {
'setmod.dspflg' :null,
'sndmsg' :null,
'liaall.limmod.limpts.nonrevflg1' :null,
'letp0.recget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'ledgrp.rec.ownref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'ledgrp.rec.nam':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'ledgrp.cbs.nom1.cur':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'ledgrp.cbs.nom1.amt':[
{type: 'string', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'ledgrp.apl.pts.ref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'ledgrp.cbs.opn1.cur':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'ledgrp.cbs.opn1.amt':[
{type: 'string', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'ledgrp.apl.pts.nam':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'ledgrp.avbnam':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'ledgrp.iss.pts.ref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'ledgrp.iss.pts.nam':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'ledgrp.rec.opndat':[
{type: 'date', required: false, message: '输入正确的日期'}
],
'ledgrp.rec.shpdat':[
{type: 'date', required: false, message: '输入正确的日期'}
],
'ledgrp.ben.pts.ref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'ledgrp.rec.expdat':[
{type: 'date', required: false, message: '输入正确的日期'}
],
'ledgrp.rec.expplc':[
{type: 'string', required: false, message: '必输项'},
{max: 29,message:'长度不能超过29'}
],
'ledgrp.ben.pts.nam':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'letp0.cnftxt':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'letcanf.strinf':[
{type: 'string', required: false, message: '必输项'},
{max: 1750,message:'长度不能超过1750'}
],
'liaall.outamt':[
{type: 'number', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.outpct':[
{type: 'string', required: false, message: '必输项'},
{max: 6,message:'长度不能超过6'}
],
'liaall.concur':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'liaall.misamt':[
{type: 'number', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
'setmod.dspflg': null,
sndmsg: null,
'liaall.limmod.limpts.nonrevflg1': null,
'letp0.recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.exttotoldamt':[
{type: 'number', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
'ledgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.exttotamt':[
{type: 'number', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
'ledgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'ledgrp.cbs.nom1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'ledgrp.cbs.nom1.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'ledgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'ledgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'ledgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'setmod.ref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'setmod.docamt':[
{type: 'number', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'ledgrp.apl.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'ledgrp.avbnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'ledgrp.iss.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'ledgrp.iss.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'ledgrp.rec.opndat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'ledgrp.rec.shpdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'ledgrp.ben.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'ledgrp.rec.expdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'ledgrp.rec.expplc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 29, message: '长度不能超过29' },
],
'ledgrp.ben.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'setmod.zmqacc':[
{type: 'string', required: false, message: '必输项'},
{max: 20,message:'长度不能超过20'}
],
'letp0.cnftxt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'letcanf.strinf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1750, message: '长度不能超过1750' },
],
'liaall.outamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.outpct': [
{ type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' },
],
'liaall.concur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.misamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'setmod.glemod.gleshwstm':[
{type: 'string', required: false, message: '必输项'},
{max: 1,message:'长度不能超过1'}
],
'liaall.exttotoldamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.exttotamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'rmbclm.rmbrmb.pts.ref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.rmbp.ptsget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.rmbrmb.pts.extkey':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.rmbp.ptsget.sdamod.seainf':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'setmod.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.rmbrmb.namelc':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.rmbrmb.pts.adrblk':[
{type: 'string', required: true, message: '必输项'},
{max: 140,message:'长度不能超过140'}
],
'rmbclm.rmbrmb.dbfadrblkcn':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.rmbrmb.adrelc':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.acwacw.pts.ref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.acwp.ptsget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.acwacw.pts.extkey':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.acwp.ptsget.sdamod.seainf':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'rmbclm.acwacw.namelc':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.acwacw.pts.adrblk':[
{type: 'string', required: false, message: '必输项'},
{max: 140,message:'长度不能超过140'}
],
'rmbclm.acwacw.dbfadrblkcn':[
{type: 'string', required: false, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.acwacw.adrelc':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.bebbeb.pts.ref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.bebp.ptsget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.bebbeb.pts.extkey':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'rmbclm.bebp.ptsget.sdamod.seainf':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'rmbclm.bebbeb.namelc':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.bebbeb.pts.adrblk':[
{type: 'string', required: false, message: '必输项'},
{max: 140,message:'长度不能超过140'}
],
'rmbclm.bebbeb.dbfadrblkcn':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.bebbeb.adrelc':[
{type: 'string', required: true, message: '必输项'},
{max: 35,message:'长度不能超过35'}
],
'rmbclm.valdat':[
{type: 'date', required: false, message: '输入正确的日期'}
],
'setmod.glemod.gleshwstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'rmbclm.rmbrmb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.rmbp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.rmbrmb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.rmbp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'mtabut.coninf.oitinf.oit.inftxt':[
{type: 'string', required: true, message: '必输项'},
{max: 60,message:'长度不能超过60'}
],
'rmbclm.rmbrmb.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.rmbrmb.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
],
'rmbclm.rmbrmb.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.rmbrmb.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.acwacw.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.acwp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.acwacw.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.acwp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'rmbclm.acwacw.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.acwacw.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
],
'rmbclm.acwacw.dbfadrblkcn': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.acwacw.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.bebbeb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.bebp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.bebbeb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'rmbclm.bebp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'mtabut.coninf.oitset.oit.inftxt':[
{type: 'string', required: true, message: '必输项'},
{max: 60,message:'长度不能超过60'}
],
'rmbclm.bebbeb.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.bebbeb.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
],
'rmbclm.bebbeb.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.bebbeb.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'rmbclm.valdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.conexedat':[
{type: 'date', required: false, message: '输入正确的日期'}
],
'mtabut.coninf.usr.extkey':[
{type: 'string', required: false, message: '必输项'},
{max: 8,message:'长度不能超过8'}
],
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'trnmod.trndoc.advnam':[
{type: 'string', required: false, message: '必输项'},
{max: 50,message:'长度不能超过50'}
],
'trnmod.trndoc.amdapl':[
{type: 'string', required: true, message: '必输项'},
{max: 50,message:'长度不能超过50'}
],
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'trnmod.trndoc.advdoc':[
{type: 'string', required: false, message: '必输项'},
{max: 1,message:'长度不能超过1'}
],
'trnmod.trndoc.filrecv':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'trnmod.trndoc.doctrestm':[
{type: 'string', required: false, message: '必输项'},
{max: 1,message:'长度不能超过1'}
],
'mtabut.coninf.conexedat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
'trnmod.trndoc.condocstm':[
{type: 'string', required: false, message: '必输项'},
{max: 1,message:'长度不能超过1'}
],
'trnmod.trndoc.rcvatt.seainf':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'liaall.limmod.ecifno':[
{type: 'string', required: false, message: '必输项'},
{max: 22,message:'长度不能超过22'}
],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'trnmod.trndoc.amdapl': [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'liaall.limmod.ownref':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'liaall.limmod.limpts.wrk.pts.extkey':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'trnmod.trndoc.advdoc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.filrecv': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'trnmod.trndoc.doctrestm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'liaall.limmod.limpts.oth.pts.extkey':[
{type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'}
],
'liaall.limmod.othp.ptsget.sdamod.seainf':[
{type: 'string', required: false, message: '必输项'},
{max: 3,message:'长度不能超过3'}
],
'trnmod.trndoc.condocstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.rcvatt.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.ecifno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 22, message: '长度不能超过22' },
],
'liaall.limmod.comamt':[
{type: 'number', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.limmod.limpts.wrk.pts.nam':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'liaall.limmod.limpts.oth.pts.nam':[
{type: 'string', required: false, message: '必输项'},
{max: 40,message:'长度不能超过40'}
],
'liaall.limmod.ccvamt':[
{type: 'number', required: false, message: '必输项'},
{max: 18,message:'整数位不能超过14位'},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.limpts.pfcod1':[
{type: 'string', required: false, message: '必输项'},
{max: 14,message:'长度不能超过14'}
],
'liaall.limmod.limpts.pfcod2':[
{type: 'string', required: false, message: '必输项'},
{max: 14,message:'长度不能超过14'}
],
'liaall.limmod.limpts.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
}
'liaall.limmod.comamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.pfcod1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
'liaall.limmod.limpts.pfcod2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
};
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Letcan {
constructor() {
this.data = {
brdgrp: {
adv: {
pts: new Pts().data,
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
apl: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
ben: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
blk: {
chaded: '',
docdisflg: '',
chaadd: '',
docdis: '',
},
rec: {
totcur: '',
ownref: '',
disdat: '',
totamt: '',
nam: '',
docprbrol: ''
},
cbs: {
opn1: {
cur: ''
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
},
matp: {
mattxtlab: ''
}
},
brtp: {
furide: '',
matp: {
mattxtlab: ''
}
},
sndmsg: '',
ledgrp: {
adv: {
pts: new Pts().data,
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
ownref: '',
shpdat: '',
avbby: '',
nam: '',
opndat: '',
redclsflg: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
nom1: {
cur: '',
amt: ''
}
},
rmb: {
rolsetflg: ''
},
iss: {
pts: {
ref: '',
nam: ''
}
},
ben: {
pts: {
ref: '',
nam: ''
}
},
apl: {
pts: {
ref: '',
nam: ''
}
},
avbnam: ''
},
letp0: {
aammod: {
addamtflg: ''
},
cnftxt: ''
},
letcanf: {
strinf: ''
},
rmbclm: {
acwacw: {
pts: {
ref: ''
}
},
valdat: '',
rmbrmb: {
pts: {
ref: ''
}
},
bebbeb: {
pts: {
ref: ''
}
},
rmbrol: ''
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
constructor() {
this.data = {
letp:{
swiftflg:'',
},
brdgrp: {
adv: {
pts: new Pts().data,
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
apl: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
ben: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
blk: {
chaded: '',
docdisflg: '',
chaadd: '',
docdis: '',
},
rec: {
totcur: '',
ownref: '',
disdat: '',
totamt: '',
nam: '',
docprbrol: '',
},
cbs: {
opn1: {
cur: '',
},
opn2: {
cur: '',
},
max: {
cur: '',
amt: '',
},
max2: {
amt: '',
},
},
matp: {
mattxtlab: '',
},
},
brtp: {
furide: '',
matp: {
mattxtlab: '',
},
},
sndmsg: '',
ledgrp: {
adv: {
pts: new Pts().data,
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
ownref: '',
shpdat: '',
avbby: '',
nam: '',
opndat: '',
redclsflg: '',
},
cbs: {
opn1: {
cur: '',
amt: '',
},
nom1: {
cur: '',
amt: '',
},
},
rmb: {
rolsetflg: '',
},
iss: {
pts: {
pts: new Pts().data,
},
},
ben: {
pts: {
pts: new Pts().data,
},
},
apl: {
pts: new Pts().data,
},
avbnam: '',
},
letp0: {
aammod: {
addamtflg: '',
},
cnftxt: '',
},
letcanf: {
strinf: '',
},
rmbclm: {
acwacw: {
pts: new Pts().data,
},
valdat: '',
rmbrmb: {
pts: new Pts().data,
},
bebbeb: {
pts: new Pts().data,
},
rmbrol: '',
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import event from "../event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
return {
activeNames: ["coninfp"],
};
},
methods: {},
created: function () {},
}
};
</script>
<style></style>
......
......@@ -105,14 +105,11 @@
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
import Ptap from '~/views/Public/Ptap'
export default {
inject: ["root"],
components: { 'c-ptap': Ptap },
......@@ -132,7 +129,6 @@ export default {
)
},
},
rmbrolAdrblkFlag: {
get() {
return (
......@@ -141,10 +137,8 @@ export default {
||this.model.rmbclm.rmbrol=='RMB'
)
},
},
}
}
</script>
<style></style>
......@@ -75,12 +75,13 @@
:promptData="promptData"
>
</c-grid-ety-prompt-dialog>
-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn> -->
</c-function-btn>
</c-page>
</div>
</template>
......@@ -90,11 +91,9 @@ import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable";
import formRules from '../model/check';
import Letcan from "../model";
import Ovwp from './Ovwp'
import Addbcb from "./Addbcb"
import Rcldetp from "./Rcldetp";
import Engp from "~/components/business/engp/views";
import Setmod from "~/components/business/setmod/views";
// import Glepan from "~/components/business/glepan/views";
......
......@@ -19,15 +19,36 @@ export default {
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.ledgrp.a2b.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.a2b));
}
if (model.ledgrp.con.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.con));
}
if (model.ledgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.ben));
}
if (model.ledgrp.avb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.avb));
}
if (model.ledgrp.iss.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.iss));
}
if (model.ledgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.apl));
}
if (model.ledgrp.drw.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.drw));
}
if (model.ledgrp.apb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.apb));
}
if (model.ledgrp.rmb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.rmb));
}
if (model.ledgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.adv));
}
if (model.ledgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LED',
......@@ -121,7 +142,7 @@ export default {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LED',
objinr: model.ledgrp.rec.objinr,
objinr: model.ledgrp.rec.inr,
ownref: model.ledgrp.rec.ownref,
},
};
......@@ -132,7 +153,7 @@ export default {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LED',
objinr: model.ledgrp.rec.objinr,
objinr: model.ledgrp.rec.inr,
ownref: model.ledgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
......
......@@ -21,7 +21,14 @@ export default {
...doctre,
async init() {
const params = {
// spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
}
if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null
params.trnmod.trn =null
}
const loading = this.loading();
const res = await Api.post('/service/letnot/init', {
......@@ -65,7 +72,7 @@ export default {
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
......@@ -76,7 +83,7 @@ export default {
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
case 'glentry':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
......@@ -119,46 +126,46 @@ export default {
this.$set(this.model.ledgrp, row.role.toLowerCase(), res.data);
}
},
//获取信用证编号
async onLitpButgetref() {
let params = {
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/letnot/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.ledgrp.rec.ownref = res.data;
}
},
// 初始化开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
letp: {
swiftflg: this.model.letp.swiftflg,
},
ledgrp: {
rec: {
purpos: this.model.ledgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
// let res = await Api.post('/service/litopn/initHndtyp', params);
// if (res.respCode == SUCCESS) {
// this.$set(this.codes, 'voHndtyp', res.data);
// }
},
// //获取信用证编号
// async onLitpButgetref() {
// let params = {
// ptainr: this.model.ledgrp.apl.pts.ptainr,
// businessType: 'LG',
// tbl: 'LG',
// };
// const loading = this.loading();
// let res = await Api.post('/service/letnot/getOwnRef', params);
// if (res.respCode == SUCCESS) {
// loading.close();
// this.model.ledgrp.rec.ownref = res.data;
// }
// },
// // 初始化开立类型码表下拉列表
// async queryHndtypCodeTableList(trnName) {
// let params = {
// letp: {
// swiftflg: this.model.letp.swiftflg,
// },
// ledgrp: {
// rec: {
// purpos: this.model.ledgrp.rec.purpos,
// },
// },
// transName: trnName.toUpperCase(),
// };
// // let res = await Api.post('/service/litopn/initHndtyp', params);
// // if (res.respCode == SUCCESS) {
// // this.$set(this.codes, 'voHndtyp', res.data);
// // }
// },
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// handleChangeSwiftflg() {
// this.queryHndtypCodeTableList(this.root.trnName);
// },
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// handleChangePurpos() {
// this.queryHndtypCodeTableList(this.root.trnName);
// },
apprulChange(v) {
if (v !== 'OTHR') {
this.model.ledgrp.rec.apprultxt = ''
......
export default {
"ledgrp.apb.pts.extkey" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"ledgrp.a2b.pts.adrblk" :null,
"ledgrp.iss.pts.adrblk" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
"ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null,
"ledgrp.blk.mixdet" :null,
"ledgrp.avb.pts.extkey" :null,
"ledgrp.adv.pts.extkey" :null,
"ledgrp.drw.adrelc" :null,
"ledgrp.ben.pts.extkey" :null,
"ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"setmod.dspflg" :null,
"ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null,
"letp.usr.extkey" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.rec.shpdat" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.rec.nomtop" :null,
"ledgrp.iss.adrelc" :null,
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.apb.namelc" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.defdet" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.blk.dftat" :null,
"ledgrp.rec.lcrtyp" :null,
"ledgrp.blk.insbnk" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.rec.expplc" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.apl.pts.adrblk" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.rec.apprultxt" :null,
"ledgrp.blk.spcben" :null,
"letp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -89,8 +22,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -107,7 +38,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -116,18 +46,15 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.ben.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.nom1.amt":[
{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
......@@ -136,7 +63,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.nomtop":[
{type: "number", required: false, message: "必输项",trigger: "blur"},
{type: "number",max: 99,message:"长度不能超过2",trigger: "blur"}
......@@ -149,10 +75,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
......@@ -180,7 +102,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.iss.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -218,7 +139,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -227,12 +147,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.oppbnk":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
......@@ -245,7 +163,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -254,21 +171,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.max2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
......@@ -278,7 +185,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.mixdet":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
......@@ -295,7 +201,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.avb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -324,13 +229,10 @@ export default {
{type: "number", required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
],
"ledgrp.rec.prepertxts18":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.defdet":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
......@@ -339,12 +241,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.dftat":[
{type: "string", required: false, message: "必输项"},
{max: 105,message:"长度不能超过105"}
],
"letp.drwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -357,7 +257,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.drw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -370,12 +269,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.drw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.shpfro":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -424,7 +321,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.apb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -433,7 +329,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.adv.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -442,7 +337,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
......@@ -491,7 +385,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -500,7 +393,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.a2b.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -533,7 +425,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.con.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -550,69 +441,47 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.con.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.blk.adlcnd":[
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.insbnk":[
{type: "string", required: false, message: "必输项"},
{max: 780,message:"长度不能超过780"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
......@@ -620,7 +489,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
......@@ -629,7 +497,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -642,15 +509,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -663,10 +521,8 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.spcben":[
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
}
\ No newline at end of file
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Letnot{
constructor () {
this.data = {
leta2bl1blk:"",
letbenl1blk:"",
letiswsl1blk:"",
ledgrp:{
rec:{
ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
lcrtyp:"", // Form of L/C .ledgrp.rec.lcrtyp
collflg:"", // Collateralized L/C .ledgrp.rec.collflg
nomtop:"", // Amount Tolerance +/- .ledgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .ledgrp.rec.nomton
nomspc:"", // Amount Specification .ledgrp.rec.nomspc
inctrf:"", // Incoming Transfer .ledgrp.rec.inctrf
resflg:"", // Reserved Contract .ledgrp.rec.resflg
opndat:"", // Issued on .ledgrp.rec.opndat
preadvdt:"", // Date Pre-advised .ledgrp.rec.preadvdt
shpdat:"", // Shipment Date .ledgrp.rec.shpdat
advdat:"", // Released on .ledgrp.rec.advdat
expdat:"", // Expiring on .ledgrp.rec.expdat
expplc:"", // in (Place)/ counters of .ledgrp.rec.expplc
cnfdet:"", // Confirmation Instruct. .ledgrp.rec.cnfdet
apprul:"", // Applicable Rules .ledgrp.rec.apprul
apprultxt:"", // Other Applicable Rules .ledgrp.rec.apprultxt
shppar:"", // Partial Shipment .ledgrp.rec.shppar
shptrs:"", // Transshipment .ledgrp.rec.shptrs
revflg:"", // Revolving Flag .ledgrp.rec.revflg
nonban:"", // Non-Bank Issuer .ledgrp.rec.nonban
teskeyunc:"", // Test Key Unconfirmity .ledgrp.rec.teskeyunc
dbtflg:"", // Authorization to Debit .ledgrp.rec.dbtflg
oppbnk:"", // 境内外对手行代码 .ledgrp.rec.oppbnk
shppars18:"", // Partial Shipment .ledgrp.rec.shppars18
shptrss18:"", // Transshipment .ledgrp.rec.shptrss18
avbwth:"", // Available with .ledgrp.rec.avbwth
avbby:"", // Available by .ledgrp.rec.avbby
shpfro:"", // Dispatch from .ledgrp.rec.shpfro
porloa:"", // Air-/Port of Departure .ledgrp.rec.porloa
pordis:"", // Air-/Port of Destination .ledgrp.rec.pordis
shpto:"", // Final Destination .ledgrp.rec.shpto
chato:"", // Own Charges Borne by .ledgrp.rec.chato
stacty:"", // Country Code for Statistics .ledgrp.rec.stacty
tenmaxday:"", // Maximum Tenor .ledgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .ledgrp.rec.prepers18
prepertxts18:"", // Presentation period text .ledgrp.rec.prepertxts18
cnfins:"", // Confirm. Instruct. .ledgrp.rec.cnfins
aplbnkdirsnd:"", // Send Directly to Applicant's Bank .ledgrp.rec.aplbnkdirsnd
stagod:"", // Goods Code .ledgrp.rec.stagod
spcbenflg:"", // Special payment conditions for beneficiary exists .ledgrp.rec.spcbenflg
spcrcbflg:"", // Special Payment Conditions for specified Bank only .ledgrp.rec.spcrcbflg
redclsflg:"", // Red/Green Clause .ledgrp.rec.redclsflg
},
cbs:{
nom1:{
cur:"", // Nominal Amount .ledgrp.cbs.nom1.cur
amt:"", // Nominal Amount .ledgrp.cbs.nom1.amt
},
max:{
cur:"", // Maximum Amount .ledgrp.cbs.max.cur
amt:"", // Maximum Amount .ledgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .ledgrp.cbs.max2.cur
amt:"", // Additional Amount .ledgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .ledgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .ledgrp.cbs.opn2.amt
},
},
preadvflg:"", // PreAdvice or Notification .ledgrp.preadvflg
ben:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.ben.namelc
adrelc:"", // 地址 .ledgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.ben.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.iss.namelc
adrelc:"", // 地址 .ledgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.iss.dbfadrblkcn
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.apl.namelc
adrelc:"", // 地址 .ledgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.apl.dbfadrblkcn
},
avb:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.avb.namelc
adrelc:"", // 地址 .ledgrp.avb.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.avb.dbfadrblkcn
},
blk:{
addamtcov:"", // Covered .ledgrp.blk.addamtcov
avbwthtxt:"", // Available in .ledgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .ledgrp.blk.defdet
dftat:"", // Drafts at .ledgrp.blk.dftat
shpper:"", // Shipment Period .ledgrp.blk.shpper
mixdet:"", // Mixed Payment Details .ledgrp.blk.mixdet
preper:"", // Presentation Period .ledgrp.blk.preper
feetxt:"", // Additional Details to Code for Charges CHATO .ledgrp.blk.feetxt
lcrgod:"", // Description of Goods .ledgrp.blk.lcrgod
lcrdoc:"", // Documents Required .ledgrp.blk.lcrdoc
adlcnd:"", // Additional Conditions .ledgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .ledgrp.blk.insbnk
spcrcb:"", // Special Payment Cond. .ledgrp.blk.spcrcb
spcben:"", // Special Payment Cond. .ledgrp.blk.spcben
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.drw.namelc
adrelc:"", // 地址 .ledgrp.drw.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.drw.dbfadrblkcn
},
adv:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.adv.namelc
adrelc:"", // 地址 .ledgrp.adv.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.adv.dbfadrblkcn
},
a2b:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.a2b.namelc
adrelc:"", // 地址 .ledgrp.a2b.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.a2b.dbfadrblkcn
},
apb:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.apb.namelc
adrelc:"", // 地址 .ledgrp.apb.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.apb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.rmb.namelc
adrelc:"", // 地址 .ledgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.rmb.dbfadrblkcn
},
con:{
pts:new Pts().data,
},
},
letp:{
recget:{
sdamod:{
seainf:"", // .letp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .letp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .letp.usrget.sdamod.seainf
},
},
aamp:{
aammod:{
addamtflg:"", // Add. Amount .letp.aamp.aammod.addamtflg
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .letp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.benp.ptsget.sdamod.dadsnd
},
},
},
issp:{
ptsget:{
sdamod:{
seainf:"", // .letp.issp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.issp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .letp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.aplp.ptsget.sdamod.dadsnd
},
},
},
oppbnkl:"", // 对手行代码 .letp.oppbnkl
avbp:{
ptsget:{
sdamod:{
seainf:"", // .letp.avbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.avbp.ptsget.sdamod.dadsnd
},
},
},
drwp:{
ptsget:{
sdamod:{
seainf:"", // .letp.drwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.drwp.ptsget.sdamod.dadsnd
},
},
},
labdefdet:"", // DEFDAT LAbel .letp.labdefdet
advp:{
ptsget:{
sdamod:{
seainf:"", // .letp.advp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.advp.ptsget.sdamod.dadsnd
},
},
},
a2bp:{
ptsget:{
sdamod:{
seainf:"", // .letp.a2bp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.a2bp.ptsget.sdamod.dadsnd
},
},
},
apbp:{
ptsget:{
sdamod:{
seainf:"", // .letp.apbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.apbp.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .letp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.rmbp.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .letp.ptsaddp.ptsaddg
},
conp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .letp.conp.ptsget.sdamod.dadsnd
seainf:"", // .letp.conp.ptsget.sdamod.seainf
},
},
},
},
chaadv:"", // Narrative to .chaadv
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
}
export default class Letnot {
constructor() {
// this.data = {
// leta2bl1blk: "",
// letbenl1blk: "",
// letiswsl1blk: "",
// ledgrp: {
// rec: {
// ownref: "", // Reference .ledgrp.rec.ownref
// nam: "", // Name .ledgrp.rec.nam
// lcrtyp: "", // Form of L/C .ledgrp.rec.lcrtyp
// collflg: "", // Collateralized L/C .ledgrp.rec.collflg
// nomtop: "", // Amount Tolerance +/- .ledgrp.rec.nomtop
// nomton: "", // Amount Tolerance - Negative .ledgrp.rec.nomton
// nomspc: "", // Amount Specification .ledgrp.rec.nomspc
// inctrf: "", // Incoming Transfer .ledgrp.rec.inctrf
// resflg: "", // Reserved Contract .ledgrp.rec.resflg
// opndat: "", // Issued on .ledgrp.rec.opndat
// preadvdt: "", // Date Pre-advised .ledgrp.rec.preadvdt
// shpdat: "", // Shipment Date .ledgrp.rec.shpdat
// advdat: "", // Released on .ledgrp.rec.advdat
// expdat: "", // Expiring on .ledgrp.rec.expdat
// expplc: "", // in (Place)/ counters of .ledgrp.rec.expplc
// cnfdet: "", // Confirmation Instruct. .ledgrp.rec.cnfdet
// apprul: "", // Applicable Rules .ledgrp.rec.apprul
// apprultxt: "", // Other Applicable Rules .ledgrp.rec.apprultxt
// shppar: "", // Partial Shipment .ledgrp.rec.shppar
// shptrs: "", // Transshipment .ledgrp.rec.shptrs
// revflg: "", // Revolving Flag .ledgrp.rec.revflg
// nonban: "", // Non-Bank Issuer .ledgrp.rec.nonban
// teskeyunc: "", // Test Key Unconfirmity .ledgrp.rec.teskeyunc
// dbtflg: "", // Authorization to Debit .ledgrp.rec.dbtflg
// oppbnk: "", // 境内外对手行代码 .ledgrp.rec.oppbnk
// shppars18: "", // Partial Shipment .ledgrp.rec.shppars18
// shptrss18: "", // Transshipment .ledgrp.rec.shptrss18
// avbwth: "", // Available with .ledgrp.rec.avbwth
// avbby: "", // Available by .ledgrp.rec.avbby
// shpfro: "", // Dispatch from .ledgrp.rec.shpfro
// porloa: "", // Air-/Port of Departure .ledgrp.rec.porloa
// pordis: "", // Air-/Port of Destination .ledgrp.rec.pordis
// shpto: "", // Final Destination .ledgrp.rec.shpto
// chato: "", // Own Charges Borne by .ledgrp.rec.chato
// stacty: "", // Country Code for Statistics .ledgrp.rec.stacty
// tenmaxday: "", // Maximum Tenor .ledgrp.rec.tenmaxday
// prepers18: "", // Days of presentation period .ledgrp.rec.prepers18
// prepertxts18: "", // Presentation period text .ledgrp.rec.prepertxts18
// cnfins: "", // Confirm. Instruct. .ledgrp.rec.cnfins
// aplbnkdirsnd: "", // Send Directly to Applicant's Bank .ledgrp.rec.aplbnkdirsnd
// stagod: "", // Goods Code .ledgrp.rec.stagod
// spcbenflg: "", // Special payment conditions for beneficiary exists .ledgrp.rec.spcbenflg
// spcrcbflg: "", // Special Payment Conditions for specified Bank only .ledgrp.rec.spcrcbflg
// redclsflg: "", // Red/Green Clause .ledgrp.rec.redclsflg
// },
// cbs: {
// nom1: {
// cur: "", // Nominal Amount .ledgrp.cbs.nom1.cur
// amt: "", // Nominal Amount .ledgrp.cbs.nom1.amt
// },
// max: {
// cur: "", // Maximum Amount .ledgrp.cbs.max.cur
// amt: "", // Maximum Amount .ledgrp.cbs.max.amt
// },
// max2: {
// cur: "", // Additional Amount .ledgrp.cbs.max2.cur
// amt: "", // Additional Amount .ledgrp.cbs.max2.amt
// },
// opn2: {
// cur: "", // Open Add. Amount .ledgrp.cbs.opn2.cur
// amt: "", // Open Add. Amount .ledgrp.cbs.opn2.amt
// },
// },
// preadvflg: "", // PreAdvice or Notification .ledgrp.preadvflg
// ben: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.ben.namelc
// adrelc: "", // 地址 .ledgrp.ben.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.ben.dbfadrblkcn
// },
// iss: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.iss.namelc
// adrelc: "", // 地址 .ledgrp.iss.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.iss.dbfadrblkcn
// },
// apl: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.apl.namelc
// adrelc: "", // 地址 .ledgrp.apl.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.apl.dbfadrblkcn
// },
// avb: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.avb.namelc
// adrelc: "", // 地址 .ledgrp.avb.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.avb.dbfadrblkcn
// },
// blk: {
// addamtcov: "", // Covered .ledgrp.blk.addamtcov
// avbwthtxt: "", // Available in .ledgrp.blk.avbwthtxt
// defdet: "", // Deferred Payment Details .ledgrp.blk.defdet
// dftat: "", // Drafts at .ledgrp.blk.dftat
// shpper: "", // Shipment Period .ledgrp.blk.shpper
// mixdet: "", // Mixed Payment Details .ledgrp.blk.mixdet
// preper: "", // Presentation Period .ledgrp.blk.preper
// feetxt: "", // Additional Details to Code for Charges CHATO .ledgrp.blk.feetxt
// lcrgod: "", // Description of Goods .ledgrp.blk.lcrgod
// lcrdoc: "", // Documents Required .ledgrp.blk.lcrdoc
// adlcnd: "", // Additional Conditions .ledgrp.blk.adlcnd
// insbnk: "", // Instructions to Pay., .ledgrp.blk.insbnk
// spcrcb: "", // Special Payment Cond. .ledgrp.blk.spcrcb
// spcben: "", // Special Payment Cond. .ledgrp.blk.spcben
// },
// drw: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.drw.namelc
// adrelc: "", // 地址 .ledgrp.drw.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.drw.dbfadrblkcn
// },
// adv: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.adv.namelc
// adrelc: "", // 地址 .ledgrp.adv.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.adv.dbfadrblkcn
// },
// a2b: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.a2b.namelc
// adrelc: "", // 地址 .ledgrp.a2b.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.a2b.dbfadrblkcn
// },
// apb: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.apb.namelc
// adrelc: "", // 地址 .ledgrp.apb.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.apb.dbfadrblkcn
// },
// rmb: {
// pts: new Pts().data,
// namelc: "", // 名称 .ledgrp.rmb.namelc
// adrelc: "", // 地址 .ledgrp.rmb.adrelc
// dbfadrblkcn: "", // Chinese address .ledgrp.rmb.dbfadrblkcn
// },
// con: {
// pts: new Pts().data,
// },
// },
// letp: {
// recget: {
// sdamod: {
// seainf: "", // .letp.recget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.recget.sdamod.dadsnd
// },
// },
// usr: {
// extkey: "", // Responsible User .letp.usr.extkey
// },
// usrget: {
// sdamod: {
// seainf: "", // .letp.usrget.sdamod.seainf
// },
// },
// aamp: {
// aammod: {
// addamtflg: "", // Add. Amount .letp.aamp.aammod.addamtflg
// },
// },
// benp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.benp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.benp.ptsget.sdamod.dadsnd
// },
// },
// },
// issp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.issp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.issp.ptsget.sdamod.dadsnd
// },
// },
// },
// aplp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.aplp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.aplp.ptsget.sdamod.dadsnd
// },
// },
// },
// oppbnkl: "", // 对手行代码 .letp.oppbnkl
// avbp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.avbp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.avbp.ptsget.sdamod.dadsnd
// },
// },
// },
// drwp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.drwp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.drwp.ptsget.sdamod.dadsnd
// },
// },
// },
// labdefdet: "", // DEFDAT LAbel .letp.labdefdet
// advp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.advp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.advp.ptsget.sdamod.dadsnd
// },
// },
// },
// a2bp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.a2bp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.a2bp.ptsget.sdamod.dadsnd
// },
// },
// },
// apbp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.apbp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.apbp.ptsget.sdamod.dadsnd
// },
// },
// },
// rmbp: {
// ptsget: {
// sdamod: {
// seainf: "", // .letp.rmbp.ptsget.sdamod.seainf
// dadsnd: "", // Drag Drop Sender .letp.rmbp.ptsget.sdamod.dadsnd
// },
// },
// },
// ptsaddp: {
// ptsaddg: [], // .letp.ptsaddp.ptsaddg
// },
// conp: {
// ptsget: {
// sdamod: {
// dadsnd: "", // Drag Drop Sender .letp.conp.ptsget.sdamod.dadsnd
// seainf: "", // .letp.conp.ptsget.sdamod.seainf
// },
// },
// },
// },
// chaadv: "", // Narrative to .chaadv
// pageId: "", // ctx的key
//
// setmod: new Pub().data.Setmod,
// mtabut: new Pub().data.Mtabut,
// trnmod: new Pub().data.Trnmod,
// liaall: new Pub().data.Liaall,
// liaccv: new Pub().data.Liaccv,
// docpan: new Pub().data.Docpan,
// }
this.data = {
number: '',
ledgrp: {
blk: {
insbnk: '',
feetxt: '',
mixdet: '',
adlcnd: '',
shpper: '',
addamtcov: '',
avbwthtxt: '',
defdet: '',
lcrdoc: '',
preper: '',
lcrgod: '',
spcben: '',
dftat: '',
spcrcb: ''
},
rec: {
tenmaxday: '',
nomton: '',
expplc: '',
stacty: '',
opndat: '',
avbwth: '',
nomtop: '',
stagod: '',
spcbenflg: '',
dbtflg: '',
shpdat: '',
nam: '',
prepertxts18: '',
redclsflg: '',
cnfins: '',
nomspc: '',
spcrcbflg: '',
collflg: '',
shpfro: '',
inctrf: '',
lcrtyp: '',
nonban: '',
ownref: '',
teskeyunc: '',
preadvdt: '',
avbby: '',
pordis: '',
apprul: '',
shppar: '',
prepers18: '',
shptrs: '',
expdat: '',
shpto: '',
chato: '',
cnfdet: '',
aplbnkdirsnd: '',
advdat: '',
porloa: '',
apprultxt: ''
},
cbs: {
opn2: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
},
nom1: {
cur: '',
amt: ''
},
max2: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
a2b: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
},
drw: {
pts: new Pts().data,
},
apb: {
pts: new Pts().data,
},
rmb: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
preadvflg: '',
},
letp: {
usr: {
extkey: ''
},
aamp: {
aammod: {
addamtflg: ''
}
}
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -27,8 +27,6 @@
}"
:noRef="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
:disabledExtkey="!avbFlag"
>
</c-ptap>
......@@ -132,8 +130,6 @@
}"
:noRef="true"
:onlySearch="false"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag"
>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="内容" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -23,7 +23,6 @@
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
......@@ -36,7 +35,6 @@
? false
: true
"
@click="onLetpButgetref"
>
获取
</c-button>
......@@ -90,7 +88,6 @@
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
</template>
</c-fullbox>
......@@ -379,8 +376,6 @@
rol: 'ben',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -394,8 +389,6 @@
rol: 'iss',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onIsspDet"
>
</c-ptap>
</c-col>
......@@ -409,8 +402,6 @@
rol: 'apl',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAplpDet"
>
</c-ptap>
</c-col>
......
......@@ -12,8 +12,6 @@
grp: 'ledgrp',
rol: 'adv',
}"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
disabled
disabledRef
disabledExtkey
......@@ -30,8 +28,6 @@
grp: 'ledgrp',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
......@@ -61,8 +57,6 @@
grp: 'ledgrp',
rol: 'apb',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
......@@ -82,8 +76,6 @@
grp: 'ledgrp',
rol: 'rmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
......@@ -98,8 +90,6 @@
rol: 'con',
}"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onConpDet"
disabled
disabledRef
disabledExtkey
......
......@@ -14,7 +14,7 @@
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
@tab-click="tabClick"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
......@@ -26,10 +26,10 @@
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="会计分录" name="glepan">
<el-tab-pane label="会计分录" name="glentry">
<c-content>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -64,7 +64,6 @@
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
......@@ -88,7 +87,7 @@ import Addbcb from './Addbcb'
import formRules from '../model/check'
import operationFunc from "~/mixin/operationFunc";
import Setmod from "~/components/business/setmod/views";
import Glepan from "~/components/business/glentry/views";
import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
......@@ -97,7 +96,7 @@ export default {
components: {
'm-ovwp': Ovwp,
'm-setmod': Setmod,
'm-glepan': Glepan,
'm-glentry': Glentry,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-addbcb': Addbcb,
......@@ -115,7 +114,49 @@ export default {
model: new Letnot().data,
rules:formRules,
codes: { ...CodeTable },
activeNames: ["setpan"]
activeNames: ["setmod"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
}
},
mounted () {
......
......@@ -449,7 +449,6 @@ export default {
},
"model.ledgrp.rec.tenmaxday":{
handler(val, oldVal){
console.log(val);
this.model.ledgrp.rec.tenmaxday = `${val}''`.replace(/\D/g, '');
},
immediate: true,
......
<template>
<ReviewWrapper>
<Letnot></Letnot>
</ReviewWrapper>
</template>
<script>
import Letnot from "~/business/letnot/views";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetnot",
components: { ReviewWrapper, Letnot },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -13,5 +13,6 @@ const Business = [
{ path: 'litdav', component: () => import('~/review/ReviewLitdav.vue'), name: 'litdav', meta: { title: '复核-Litdav' } },
{ path: 'litsel', component: () => import('~/review/ReviewLitsel.vue'), name: 'litsel', meta: { title: '复核-Litsel' } },
{ path: 'letopn', component: () => import('~/review/ReviewLetopn.vue'), name: 'letopn', meta: { title: '复核-Letopn' } },
{ path: 'letnot', component: () => import('~/review/ReviewLetnot.vue'), name: 'letnot', meta: { title: '复核-letnot' } },
]
export default Business
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