Commit 8aabcc5f by lixinyi

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 3669aba1 be84fb4d
......@@ -100,6 +100,7 @@ export default class Betamc {
predat:"", // Presentation Date .bedgrp.rec.predat
docsta:"", // 单据状态 .bedgrp.rec.docsta
branchinr:"",
ver:"",
},
cbs: {
opn1: {
......
......@@ -195,7 +195,7 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.rmbrmb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ type: "string",max: 999, message: "长度不能超过35" }
],
"rmbclm.rmbrmb.dbfadrblkcn": [
......
......@@ -456,7 +456,7 @@ export default {
computed: {
clmrmbflg: {
get() {
return this.model.rmbclm.clmrmbflg === "X";
return this.model.rmbclm.clmrmbflg = "X";
},
set(val) {
this.model.rmbclm.clmrmbflg = val ? "X" : "";
......
......@@ -16,10 +16,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cnybop.libflg":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
// "cnybop.libflg":[
// {type: "string", required: true, message: "必输项"},
// {max: 16,message:"长度不能超过16"}
// ],
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -105,6 +105,8 @@ export default class Betsnd {
docprbrol: '',
inr: '',
branchinr: '',
ver: '',
pntinr: '',
},
prb: {
pts: new Pts().data,
......
......@@ -49,6 +49,7 @@ export default {
return dataObj
},
buildSetfeg (model, trnName) {
var doceot = []
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
......@@ -103,9 +104,9 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
objtyp: 'BRD',
objinr: model.brdgrp.rec.inr,
ownref: model.brdgrp.rec.ownref,
},
};
return params
......@@ -114,10 +115,10 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
objtyp: 'BRD',
objinr: model.brdgrp.rec.inr,
ownref: model.brdgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
};
return params
......
......@@ -11,18 +11,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "lidgrp.cbs.opn1.amt":[
// //{type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// //{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -47,22 +39,14 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
......@@ -70,63 +54,34 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"strinf":[
//{type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过1750"}
],
"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: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
......@@ -135,7 +90,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -148,15 +102,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -169,9 +114,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -192,7 +134,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -201,7 +142,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
......@@ -227,15 +167,5 @@ export default {
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
]
}
\ No newline at end of file
<template>
<div class="eContainer">
<div class="eContainer">
<c-page>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
</c-page>
</div>
</div>
</template>
<script>
......@@ -62,39 +61,39 @@ import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
export default {
name: 'Brtcan',
components: {
"m-canp": Canp,
"m-setmod": Setmod,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
name: 'Brtcan',
components: {
"m-canp": Canp,
"m-setmod": Setmod,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
},
provide() {
return {
root: this
}
},
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "brtcan",
model: new Brtcan().data,
rules: Check,
codes: {
...CodeTable,
},
activeNames: [""],
}
},
},
provide() {
return {
root: this
}
},
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "brtcan",
model: new Brtcan().data,
rules: Check,
codes: {
...CodeTable,
},
activeNames: [""],
}
},
mounted(){
this.init()
},
mounted() {
this.init()
},
}
</script>
......
......@@ -75,7 +75,7 @@ export default class Brteus {
// pts: new Pts().data,
// },
// },
strinf: '',
strinf: 'At the new maturity dates we will settle the relevant payments.',
brdgrp:{
ghd: {
// wahnum: '',
......
......@@ -138,11 +138,9 @@ export default {
toLetnot() {
this.$router.history.push('/business-new/letnot');
},
toLetdrw() {
this.$router.history.push('/business-new/letdrw');
},
toLetrsv() {
this.$router.history.push('/business-new/letrsv');
},
......
......@@ -191,7 +191,7 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bedgrp.oth.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ type: "string", max: 999, message: "长度不能超过35" }
],
"bedgrp.oth.dbfadrblkcn": [
......
......@@ -346,7 +346,7 @@ let checkObj = {
{max: 140, message: '长度不能超过140'},
],
'ledgrp.adv.pts.adrblk': [
{type: 'string', required: true, message: '必输项'},
{type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'},
],
'ledgrp.adv.dbfadrblkcn': [
......@@ -354,7 +354,7 @@ let checkObj = {
{max: 140, message: '长度不能超过140'},
],
'ledgrp.apb.pts.adrblk': [
{type: 'string', required: true, message: '必输项'},
{type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'},
],
'ledgrp.apb.dbfadrblkcn': [
......@@ -410,7 +410,7 @@ let checkObj = {
{max: 35, message: '长度不能超过35'},
],
'ledgrp.a2b.pts.adrblk': [
{type: 'string', required: true, message: '必输项'},
{type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'},
],
'ledgrp.a2b.dbfadrblkcn': [
......@@ -418,7 +418,7 @@ let checkObj = {
{max: 35, message: '长度不能超过35'},
],
'ledgrp.rmb.pts.adrblk': [
{type: 'string', required: true, message: '必输项'},
{type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'},
],
'ledgrp.rmb.dbfadrblkcn': [
......
......@@ -70,7 +70,7 @@ export default {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
doceot: model.docpan.doceot,
};
return params
},
......@@ -132,7 +132,7 @@ export default {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
objinr: model.lidgrp.rec.inr,
ownref: model.lidgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
......
......@@ -4,14 +4,6 @@ export default class Litopn {
constructor() {
this.data = {
busType: 'lid',
gidgrp: {
rec: {
purpos: '',
},
},
gitp: {
swiftflg: '',
},
litp: {
avblab: '',
usr: {
......
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