Commit 937dcc16 by WF1020

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 840697d3 0db71069
......@@ -28,6 +28,9 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
// lidInr:'00000013',
lidInr:'00006821',
});
if (!res.data) {
return
......
......@@ -18,10 +18,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
],
// "lidgrp.cbs.opn1.amt":[
// {type: "integer", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// ],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -39,11 +39,11 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max.amt":[
// {type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -52,11 +52,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.opn1.amt":[
// {type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<c-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<c-coninfp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="附言" name="coninfp">
<c-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</el-collapse>
</div>
</div>
</template>
<script>
......@@ -22,8 +22,8 @@ import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"c-coninfp": Coninfp,
},
"c-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
......@@ -35,9 +35,8 @@ export default {
},
methods: {},
created: function () {},
created: function () { },
};
</script>
<style>
</style>
<style></style>
......@@ -4,37 +4,16 @@
<c-col :span="12">
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="单据金额"
prop="brdgrp.cbs.max.cur"
>
<c-select
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据金额"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width: 100%" placeholder="请选择单据金额" 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="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.cbs.max.amt"
>
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入单据金额"
disabled
></c-input>
<el-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -42,146 +21,78 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width: 100%" placeholder="请选择附加金额" 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="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.cbs.max2.amt"
>
<c-input
v-model="model.brdgrp.cbs.max2.amt"
placeholder="请输入附加金额"
disabled
></c-input>
<el-form-item label="" label-width="5px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="待支付金额"
prop="brdgrp.rec.totcur"
>
<c-select
v-model="model.brdgrp.rec.totcur"
style="width: 100%"
placeholder="请选择币种"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-form-item label="待支付金额" prop="brdgrp.rec.totcur">
<c-select v-model="model.brdgrp.rec.totcur" style="width: 100%" placeholder="请选择币种" 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="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.rec.totamt"
>
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入"
disabled
></c-input>
<el-form-item label="" label-width="5px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '账户银行',
grp: 'brdgrp',
rol: 'acb',
}"
:disabled="true"
:disabled1="true"
>
<c-ptap1 :model="model" :argadr="{
title: '账户银行',
grp: 'brdgrp',
rol: 'acb',
}" :disabled="true" :disabled1="true">
</c-ptap1>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="已扣除费用" prop="brdgrp.blk.chaded">
<c-input
type="textarea"
v-model="model.brdgrp.blk.chaded"
maxlength="210"
:rows="4"
show-word-limit
placeholder="请输入已扣除费用"
disabled
></c-input>
<c-input type="textarea" v-model="model.brdgrp.blk.chaded" maxlength="210" :rows="4" show-word-limit
placeholder="请输入已扣除费用" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input
type="textarea"
v-model="model.brdgrp.blk.chaadd"
maxlength="210"
:rows="4"
show-word-limit
placeholder="请输入已添加费用"
disabled
></c-input>
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="210" :rows="4" show-word-limit
placeholder="请输入已添加费用" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点信息" prop="brdgrp.blk.docdis">
<c-input
type="textarea"
v-model="model.brdgrp.blk.docdis"
maxlength="3500"
:rows="8"
show-word-limit
placeholder="请输入不符点"
disabled
></c-input>
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="3500" :rows="8" show-word-limit
placeholder="请输入不符点" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="brdgrp.blk.docdisflg">
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled
>不符点修改</c-checkbox
>
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled>不符点修改</c-checkbox>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -199,8 +110,7 @@ export default {
return {};
},
methods: {},
created: function () {},
created: function () { },
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="接受不符点" name="acpp">
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="接受不符点" name="acpp">
<c-acpp :model="model" :codes="codes" />
<c-acpp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse-item>
<el-collapse-item title="不符点通知" name="mt750p">
<el-collapse-item title="不符点通知" name="mt750p">
<c-mt750p :model="model" :codes="codes" />
<c-mt750p :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse-item>
</el-collapse>
</div>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
......@@ -26,18 +26,17 @@ export default {
props: ["model", "codes"],
mixins: [event],
components: {
"c-acpp":Acpp,
"c-mt750p":Mt750p,
"c-acpp": Acpp,
"c-mt750p": Mt750p,
},
data() {
return {
activeNames:["acpp"],
activeNames: ["acpp"],
};
},
methods: {},
created: function () {},
created: function () { },
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eContainer">
<c-page title="进口信用证单据接受不符点">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" 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="right" 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"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<div class="eibs-tab">
<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"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" />
</div>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</div>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</c-page>
</div>
</template>
<script>
import event from '../event';
import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check'
import Brtacp from "../model"
import Acpp from "./Acpp"
import Ovwp from "./Ovwp"
import Mt750p from "./Mt750p"
import Addbcb from "./Addbcb";
import event from '../event';
import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check'
import Brtacp from "../model"
import Acpp from "./Acpp"
import Ovwp from "./Ovwp"
import Mt750p from "./Mt750p"
import Addbcb from "./Addbcb";
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views";
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 Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views";
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";
export default {
export default {
name: "Brtacp",
components:{
"m-acpp" : Acpp,
"m-mt750p" : Mt750p,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setmod": Setmod,
"m-glentry": Glentry,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-acpp" : Acpp,
"m-mt750p" : Mt750p,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setmod": Setmod,
"m-glentry": Glentry,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [event,commonFuncs],
data(){
return {
tabVal: "ovwp",
trnName: "brtacp",
model: new Brtacp().data,
rules: formRules,
codes: {
...CodeTable
},
activeNames: ["setpan"],
}
return {
tabVal: "ovwp",
trnName: "brtacp",
model: new Brtacp().data,
rules: formRules,
codes: {
...CodeTable
},
activeNames: ["setpan"],
}
},
methods:{
},
mounted () {
this.init()
},
}
this.init()
},
}
</script>
<style>
......
......@@ -182,7 +182,7 @@ export default {
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
......
......@@ -28,6 +28,11 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
brdgrp:{
rec:{
inr: "00000030",
},
}
});
if (!res.data) {
return
......
......@@ -18,11 +18,11 @@ export default {
{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位" }
],
// "lidgrp.cbs.opn1.amt":[
// {required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// //{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -40,11 +40,11 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max.amt":[
// {required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -53,11 +53,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.opn1.amt":[
// {required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
......@@ -366,7 +366,7 @@ export default {
"brdgrp.cbs.max2.amt":[
{type: "string", required: false, message: "必输项"},
{required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -188,7 +188,11 @@ export default {
}
},
methods: {},
created: async function () {},
// created: async function () {},
mounted () {
this.init()
// this.queryHndtypCodeTableList(this.trnName)
},
}
</script>
......
......@@ -19,42 +19,23 @@ export default {
},
buildCommonData (model, trnName) {
let ptsptaList = [];
// if (model.lidgrp.apl.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
// }
// if (model.lidgrp.adv.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
// }
// if (model.lidgrp.ben.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
// }
if (model.brdgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.apl));
}
if (model.brdgrp.prb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.prb));
}
if (model.brdgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
ownref:model.brdgrp.rec.ownref
},
cbsMap: {
MAX: model.lidgrp.cbs.max,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf,
MAX: model.brdgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1,
},
ptsList: ptsptaList,
transName: trnName,
......@@ -118,7 +99,6 @@ export default {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
......@@ -129,7 +109,6 @@ export default {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
......
......@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -54,10 +54,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: true, message: "输入正确的日期"}
{ required: true, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -65,10 +65,10 @@ export default {
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -85,7 +85,7 @@ export default {
],
"brdgrp.rec.predat":[
{type: "date", required: true, message: "输入正确的日期"}
{ required: true, message: "输入正确的日期"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
......@@ -153,7 +153,7 @@ export default {
],
"brtp.prechkdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
......@@ -164,10 +164,10 @@ export default {
"brdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.blk.comcon":[
{type: "string", required: false},
......@@ -190,10 +190,10 @@ export default {
],
"brdgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
......@@ -210,7 +210,7 @@ export default {
],
"brdgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
{ required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr":[
{type: "string", required: false, message: "必输项"},
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames" >
<el-collapse-item title="寄单" name="payp">
<m-payp :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -13,7 +13,7 @@
<c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期"></c-date-picker>
</el-form-item>
</c-col>
</div>
</div>
</template>
<script>
import event from "../event"
......
......@@ -374,7 +374,6 @@
<c-button
size="small"
type="primary"
@click="onPrbpDet"
icon="el-icon-info"
>
</c-button>
......@@ -426,7 +425,6 @@
<c-button
size="small"
type="primary"
@click="onOthpDet"
icon="el-icon-info"
>
</c-button>
......
......@@ -76,7 +76,7 @@
<script>
import CodeTable from "~/config/CodeTable"
import Brtsnd from "../model"
import commonFuncs from "~/mixin/commonFuncs"
import operationFunc from "~/mixin/operationFunc"
import Check from "../model/check"
import event from '../event'
import Payp from "./Payp"
......@@ -121,7 +121,7 @@ export default {
root: this
}
},
mixins: [ event,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [ event,operationFunc],
data() {
return {
tabVal: "ovwp",
......
......@@ -19,7 +19,14 @@ export default {
const res = await Api.post('/service/litcan/init', {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
gidInr: this.$route.query.inr
gidInr: this.$route.query.inr,
// lidInr:'00006832',
lidgrp:{
rec:{
// inr:this.$route.query.inr
inr:'00006829'
}
}
});
if (!res.data) {
return
......
......@@ -3,9 +3,9 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litcan{
constructor () {
this.data = {
litapll1blk:"",
litrmbl3blk:"",
litcanl1blk:"",
litapll1blk:'',
litrmbl3blk:'',
litcanl1blk:'',
trnmod:new Pub().data.Trnmod,
liaccv: new Pub().data.Liaccv,
setmod:new Pub().data.Setmod,
......@@ -14,25 +14,26 @@ export default class Litcan{
liaall:new Pub().data.Liaall,
lidgrp:{
rec:{
ownref:"", // 参考号 .lidgrp.rec.ownref
nam:"", // 名称 .lidgrp.rec.nam
avbby:"", // 兑付方式 .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // 开立日期 .lidgrp.rec.opndat
shpdat:"", // Shipment Date .lidgrp.rec.shpdat
expdat:"", // 到期日 .lidgrp.rec.expdat
expplc:"", // 到期日 .lidgrp.rec.expplc
lcrtyp:"", // 信用证类型 .lidgrp.rec.lcrtyp
revflg:"", // Revolving Flag .lidgrp.rec.revflg
ownref:'', // 参考号 .lidgrp.rec.ownref
nam:'', // 名称 .lidgrp.rec.nam
avbby:'', // 兑付方式 .lidgrp.rec.avbby
redclsflg:'', // Red/Green Clause .lidgrp.rec.redclsflg
opndat:'', // 开立日期 .lidgrp.rec.opndat
shpdat:'', // Shipment Date .lidgrp.rec.shpdat
expdat:'', // 到期日 .lidgrp.rec.expdat
expplc:'', // 到期日 .lidgrp.rec.expplc
lcrtyp:'', // 信用证类型 .lidgrp.rec.lcrtyp
revflg:'', // Revolving Flag .lidgrp.rec.revflg
advnam:'',
},
cbs:{
nom1:{
cur:"", // 开证金额 .lidgrp.cbs.nom1.cur
amt:"", // 开证金额 .lidgrp.cbs.nom1.amt
cur:'', // 开证金额 .lidgrp.cbs.nom1.cur
amt:'', // 开证金额 .lidgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
cur:'', // 信用证余额 .lidgrp.cbs.opn1.cur
amt:'', // Balance .lidgrp.cbs.opn1.amt
},
},
apl:{
......@@ -44,18 +45,18 @@ export default class Litcan{
adv:{
pts:new Pts().data,
},
avbnam:"", // 指定银行 .lidgrp.avbnam
avbnam:'', // 指定银行 .lidgrp.avbnam
},
litp0:{
aammod:{
addamtflg:"", // Add. Amount .litp0.aammod.addamtflg
addamtflg:'', // Add. Amount .litp0.aammod.addamtflg
},
},
litcanf:{
strinf:"", // Narrative .litcanf.strinf
strinf:'', // Narrative .litcanf.strinf
},
byinst:"", // On Applicant instruction .byinst
pageId: "" // ctx的key
byinst:'', // On Applicant instruction .byinst
pageId: '' // ctx的key
}
}
}
\ 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="addbcb">
<m-addbcb :model="model" :codes="codes" />
......
......@@ -41,8 +41,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.avbnam">
<c-input disabled v-model="model.lidgrp.avbnam" maxlength="40" placeholder="请输入可用银行"></c-input>
<el-form-item label="可用银行" prop="lidgrp.rec.advnam">
<c-input disabled v-model="model.lidgrp.rec.advnam" maxlength="40" placeholder="请输入可用银行"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -84,7 +84,7 @@
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select
disabled
:code="codes.lcrtyp"
:code="codes.lcrtyp1"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item>
......@@ -145,7 +145,6 @@
size="small"
type="primary"
icon="el-icon-search"
@click="onIlccanletButtxmsel"
></c-button>
</template>
</c-fullbox>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="基本信息" name="canp">
<m-canp :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -13,37 +13,42 @@
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<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="shisuan">
<c-content>
<m-shisuan :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>
......@@ -54,11 +59,13 @@
</template>
<script>
import event from '../event';
import operationFunc from '~/mixin/operationFunc';
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"
import Litcan from "../model"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "../model/check"
import event from "../event"
import Canp from "./Canp"
import Shisuan from "./Shisuan"
import Ovwp from "./Ovwp"
......@@ -69,6 +76,8 @@ import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Setpan from "~/components/business/setmod/views";
export default {
name: "Litcan",
components: {
......@@ -82,13 +91,14 @@ export default {
"m-limitbody": Limitbody,
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
"m-setpan": Setpan,
},
provide() {
return {
root: this
}
},
mixins: [event, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
......@@ -99,7 +109,7 @@ export default {
codes: {
...CodeTable
},
activeNames: [""],
activeNames: ["setpan"],
}
},
......
......@@ -151,7 +151,7 @@ export default {
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
......
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