Commit be2a9fb6 by liyixun

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents ea6085dd 6d2a3907
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
"bedgrp.oth.pts.adrblk": [ "bedgrp.oth.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { type: "string", max: 999, message: "长度不能超过35" }
], ],
"bedgrp.oth.dbfadrblkcn": [ "bedgrp.oth.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
], ],
"bedgrp.prb.pts.adrblk": [ "bedgrp.prb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { type: "string", max: 999, message: "长度不能超过35" }
], ],
"bedgrp.prb.dbfadrblkcn": [ "bedgrp.prb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
...@@ -159,22 +159,22 @@ export default { ...@@ -159,22 +159,22 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"bedgrp.blk.intdis": [ "bedgrp.blk.intdis": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 65, message: "长度不能超过65" }
], ],
"bedgrp.blk.docins": [ "bedgrp.blk.docins": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"bedgrp.blk.disdoc": [ "bedgrp.blk.disdoc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"bedgrp.blk.docdis": [ "bedgrp.blk.docdis": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 50, message: "长度不能超过50" } { max: 50, message: "长度不能超过50" }
], ],
......
...@@ -98,6 +98,7 @@ export default class Betdcr { ...@@ -98,6 +98,7 @@ export default class Betdcr {
docdisflg: "", // Discrepancies modified .bedgrp.blk.docdisflg docdisflg: "", // Discrepancies modified .bedgrp.blk.docdisflg
docins: "", // Reasons for Rejection .bedgrp.blk.docins docins: "", // Reasons for Rejection .bedgrp.blk.docins
disdoc: "", // Disposal of Documents .bedgrp.blk.disdoc disdoc: "", // Disposal of Documents .bedgrp.blk.disdoc
prsdoc: "", //.bedgrp.blk.prsdoc
}, },
}, },
advrefflg: "", // Advice of Refusal MT734 .advrefflg advrefflg: "", // Advice of Refusal MT734 .advrefflg
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left --> <!-- left -->
<c-col :span="12"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Internal Discrepancies" label="Internal Discrepancies"
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- right --> <!-- right -->
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Reasons for Rejection" label="Reasons for Rejection"
...@@ -130,7 +130,20 @@ ...@@ -130,7 +130,20 @@
</c-col> </c-col>
<!-- next part --> <!-- next part -->
<c-col :span="24" style="height: 24px; margin-top: -10px"> <c-col :span="24">
<c-docpre
:model="model"
:argadr="{
path:'bedgrp.blk.prsdoc',
grp:'betp',
code:'docpre'
}"
>
</c-docpre>
</c-col>
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.betp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.betp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary" <c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button >新增单据</c-button
...@@ -160,7 +173,7 @@ ...@@ -160,7 +173,7 @@
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{scope.row.docnam}} --> {{scope.row.docnam}}
<c-select <c-select
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
...@@ -184,7 +197,7 @@ ...@@ -184,7 +197,7 @@
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis"> <el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis">
<c-input type="textarea" v-model="model.bedgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input> <c-input type="textarea" v-model="model.bedgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
...@@ -251,8 +264,11 @@ import Api from "~/service/Api"; ...@@ -251,8 +264,11 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betdcr/Event"; import Event from "~/model/Betdcr/Event";
import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
export default { export default {
components:{"c-docpre":Docpre},
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -310,10 +326,15 @@ export default { ...@@ -310,10 +326,15 @@ export default {
computed: { computed: {
docdisflg: { docdisflg: {
get() { get() {
return this.model.bedgrp.blk.docdisflg != "X"; if(this.model.bedgrp.blk.docdis==""){
return this.model.bedgrp.blk.docdisflg != "X";
}else{
return this.model.bedgrp.blk.docdisflg != "";
}
}, },
set(val) { set(val) {
this.model.bedgrp.blk.docdisflg = val ? "X" : ""; this.model.bedgrp.blk.docdisflg = val ? "X" : "";
this.model.bedgrp.blk.docdis = "";
}, },
}, },
rejpenins: { rejpenins: {
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left --> <!-- left -->
<c-col :span="12"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
type="primary" type="primary"
:disabled="this.flag" :disabled="this.flag"
> >
获取 Get
</c-button> </c-button>
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> </c-col>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
type="primary" type="primary"
:disabled="this.flag" :disabled="this.flag"
> >
获取 Get
</c-button> </c-button>
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> </c-col>
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
</c-col> </c-col>
<!-- right --> <!-- right -->
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Open Amt. L/C" prop="ledgrp.cbs.opn1.cur"> <el-form-item label="Open Amt. L/C" prop="ledgrp.cbs.opn1.cur">
...@@ -258,6 +258,9 @@ ...@@ -258,6 +258,9 @@
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="true"
:enname="true"
:enRef="true"
:enNam="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -269,6 +272,8 @@ ...@@ -269,6 +272,8 @@
rol: 'iss', rol: 'iss',
}" }"
:disabled="true" :disabled="true"
:enRef="true"
:enNam="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -280,6 +285,8 @@ ...@@ -280,6 +285,8 @@
rol: 'apl', rol: 'apl',
}" }"
:disabled="true" :disabled="true"
:enRef="true"
:enNam="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
</c-col> </c-col>
...@@ -291,7 +298,7 @@ ...@@ -291,7 +298,7 @@
<!-- next part --> <!-- next part -->
<!-- left --> <!-- left -->
<c-col :span="12"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px" <c-checkbox v-model="advrefflg" style="margin-left: 150px"
>Receive advice of refusal</c-checkbox >Receive advice of refusal</c-checkbox
...@@ -332,7 +339,7 @@ ...@@ -332,7 +339,7 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- right --> <!-- right -->
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Payer" prop="bedgrp.rec.payrol"> <el-form-item label="Payer" prop="bedgrp.rec.payrol">
<c-select <c-select
......
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
</el-table-column> </el-table-column>
<el-table-column label="2nd" width="auto"> <el-table-column label="2nd" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input> <c-input v-model="scope.row.cmail2" @change="prsdoc"></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" prop="docnam" width="auto">
...@@ -870,17 +870,7 @@ export default { ...@@ -870,17 +870,7 @@ export default {
// } // }
},//表格输入传入数据库 },//表格输入传入数据库
async prsdoc() { async prsdoc() {
let rtnmsg = await this.executeRule("bfdgrp.blk.prsdoc") let rtnmsg = await this.executeDefault("bfdgrp.blk.prsdoc")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async matdat() {
let rtnmsg = await this.executeDefault("bfdgrp.blk.matper")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="this.flag"
@click="onDitpButgetref" @click="onGitpButgetref"
> >
获取 获取
</c-button> </c-button>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
v-model="model.gidgrp.rec.ownref" v-model="model.gidgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent" @keyup.enter.native="nom1CurEvent"
disabled
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -53,6 +55,7 @@ ...@@ -53,6 +55,7 @@
prop="gidgrp.cbs.max.amt" prop="gidgrp.cbs.max.amt"
> >
<c-input-currency <c-input-currency
disabled
v-model="model.gidgrp.cbs.max.amt" v-model="model.gidgrp.cbs.max.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="" placeholder=""
...@@ -66,6 +69,7 @@ ...@@ -66,6 +69,7 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Open Amount" prop="gidgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="gidgrp.cbs.opn1.cur">
<c-select <c-select
disabled
v-model="model.gidgrp.cbs.opn1.cur" v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
...@@ -89,6 +93,7 @@ ...@@ -89,6 +93,7 @@
prop="gidgrp.cbs.opn1.amt" prop="gidgrp.cbs.opn1.amt"
> >
<c-input-currency <c-input-currency
disabled
v-model="model.gidgrp.cbs.opn1.amt" v-model="model.gidgrp.cbs.opn1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="" placeholder=""
...@@ -101,26 +106,26 @@ ...@@ -101,26 +106,26 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Incoming Purpose" prop="gidgrp.rec.purposin"> <el-form-item label="Incoming Purpose" prop="gidgrp.rec.purposin">
<c-input v-model="model.gidgrp.rec.purposin" placeholder="请输入Incoming Purpose"></c-input> <c-input disabled v-model="model.gidgrp.rec.purposin" placeholder="请输入Incoming Purpose"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Purpose of Message" prop="gidgrp.rec.purpos"> <el-form-item label="Purpose of Message" prop="gidgrp.rec.purpos">
<c-input v-model="model.gidgrp.rec.purpos" placeholder="请输入Purpose of Message"></c-input> <c-input disabled v-model="model.gidgrp.rec.purpos" placeholder="请输入Purpose of Message"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Undertaking Type" prop="gidgrp.rec.gartyp"> <el-form-item label="Undertaking Type" prop="gidgrp.rec.gartyp">
<c-select v-model="model.gidgrp.rec.gartyp" style="width:100%" placeholder="请选择Undertaking Type"> <c-select disabled v-model="model.gidgrp.rec.gartyp" style="width:100%" placeholder="请选择Undertaking Type">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="Valid until" prop="gidgrp.rec.expdat"> <el-form-item label="Valid until" prop="gidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.expdat" style="width:100%" placeholder="请选择Valid until"></c-date-picker> <c-date-picker disabled type="date" v-model="model.gidgrp.rec.expdat" style="width:100%" placeholder="请选择Valid until"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
...@@ -130,6 +135,7 @@ ...@@ -130,6 +135,7 @@
prop="gidgrp.rec.expdat" prop="gidgrp.rec.expdat"
> >
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.gidgrp.rec.expdat" v-model="model.gidgrp.rec.expdat"
style="width:100%" style="width:100%"
...@@ -145,6 +151,7 @@ ...@@ -145,6 +151,7 @@
prop="gidgrp.rec.exptyp" prop="gidgrp.rec.exptyp"
> >
<c-input-currency <c-input-currency
disabled
v-model="model.gidgrp.rec.exptyp" v-model="model.gidgrp.rec.exptyp"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="" placeholder=""
...@@ -157,7 +164,7 @@ ...@@ -157,7 +164,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Reference Date " prop="setmod.refdat"> <el-form-item label="Reference Date " prop="setmod.refdat">
<c-date-picker type="date" v-model="model.setmod.refdat" style="width:100%" placeholder="请选择Reference Date "></c-date-picker> <c-date-picker disabled type="date" v-model="model.setmod.refdat" style="width:100%" placeholder="请选择Reference Date "></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -167,37 +174,37 @@ ...@@ -167,37 +174,37 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name" prop="gidgrp.rec.nam"> <el-form-item label="Name" prop="gidgrp.rec.nam">
<c-input v-model="model.gidgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> <c-input disabled v-model="model.gidgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apl.pts.nam"> <el-form-item label="Applicant" prop="gidgrp.apl.pts.nam">
<c-input v-model="model.gidgrp.apl.pts.nam" maxlength="40" placeholder="请输入Applicant"></c-input> <c-input disabled v-model="model.gidgrp.apl.pts.nam" maxlength="40" placeholder="请输入Applicant"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Beneficiary" prop="gidgrp.ben.pts.nam"> <el-form-item label="Beneficiary" prop="gidgrp.ben.pts.nam">
<c-input v-model="model.gidgrp.ben.pts.nam" maxlength="40" placeholder="请输入Beneficiary"></c-input> <c-input disabled v-model="model.gidgrp.ben.pts.nam" maxlength="40" placeholder="请输入Beneficiary"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Accountee" prop="gidgrp.ctr.pts.nam"> <el-form-item label="Accountee" prop="gidgrp.ctr.pts.nam">
<c-input v-model="model.gidgrp.ctr.pts.nam" maxlength="40" placeholder="请输入Accountee"></c-input> <c-input disabled v-model="model.gidgrp.ctr.pts.nam" maxlength="40" placeholder="请输入Accountee"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.nam"> <el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.nam">
<c-input v-model="model.gidgrp.iss.pts.nam" maxlength="40" placeholder="请输入Issuing Bank"></c-input> <c-input disabled v-model="model.gidgrp.iss.pts.nam" maxlength="40" placeholder="请输入Issuing Bank"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="model.gitp0.gitp0s20"> <el-form-item label="" prop="model.gitp0.gitp0s20">
<c-checkbox v-model="model.gitp0.gitp0s20">Add.Amount</c-checkbox> <c-checkbox disabled v-model="model.gitp0.gitp0s20">Add.Amount</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -317,7 +324,12 @@ export default { ...@@ -317,7 +324,12 @@ export default {
} }
}, },
methods:{...Event}, methods:{
...Event,
onSeainf(data) {
this.$emit("onSeainf", data);
},
},
created:function(){ created:function(){
} }
......
...@@ -36,6 +36,7 @@ import Pattern from "~/model/Infled/Pattern" ...@@ -36,6 +36,7 @@ import Pattern from "~/model/Infled/Pattern"
import Infsea from "./Infsea" import Infsea from "./Infsea"
export default { export default {
name: "Infled",
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
......
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