Commit 9aa99fcc by wangna

cctdav页面布局

parent 965c33af
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
"ccdgrp.pre.pts.adrblk":[ "ccdgrp.pre.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 150,message:"长度不能超过150"}
], ],
"ccdgrp.pre.dbfadrblkcn":[ "ccdgrp.pre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
], ],
"ccdgrp.dro.pts.adrblk":[ "ccdgrp.dro.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 150,message:"长度不能超过150"}
], ],
"ccdgrp.dro.dbfadrblkcn":[ "ccdgrp.dro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
], ],
"ccdgrp.cor.pts.adrblk":[ "ccdgrp.cor.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 150, message:"长度不能超过150"}
], ],
"ccdgrp.cor.dbfadrblkcn":[ "ccdgrp.cor.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
], ],
"ccdgrp.col.pts.adrblk":[ "ccdgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 150,message:"长度不能超过150"}
], ],
"ccdgrp.col.dbfadrblkcn":[ "ccdgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -268,7 +268,7 @@ export default { ...@@ -268,7 +268,7 @@ export default {
], ],
"ccdgrp.blk.setins":[ "ccdgrp.blk.setins":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 600,message:"长度不能超过600"}
], ],
} }
\ No newline at end of file
...@@ -108,6 +108,7 @@ export default class Cctdav{ ...@@ -108,6 +108,7 @@ export default class Cctdav{
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
} }
} }
} }
\ No newline at end of file
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag"
@click="onCctmodButgetref" @click="onCctmodButgetref"
:disabled="model.ccdgrp.rec.ownref!=''"
> >
获取 获取
</c-button> </c-button>
...@@ -206,243 +206,167 @@ ...@@ -206,243 +206,167 @@
v-model="model.cctp.usr.extkey" v-model="model.cctp.usr.extkey"
maxlength="8" maxlength="8"
placeholder="请输入User ID" placeholder="请输入User ID"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<el-form-item label="" label-width="15px"> <c-button
<c-button size="small" type="primary;width:10%" @click="onSeainf" style="margin: 0 12px 0 14px; padding: 0 12px"
>i</c-button size="small"
type="primary"
@click="onSeainf"
> >
</el-form-item> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</c-col> </c-col>
<c-col :span="20">
<el-form-item <c-col :span="24">
label="External Key of Address" <el-form-item label="Drawer" prop="ccdgrp.cor.pts.extkey">
prop="ccdgrp.cor.pts.extkey" <c-fullbox>
>
<c-input <c-input
v-model="model.ccdgrp.cor.pts.extkey" v-model="model.ccdgrp.cor.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" @keyup.enter.native="
showGridPromptDialog('ccdgrp.cor.pts.extkey')
"
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
<c-col :span="2"> style="margin: 0 10px 0 10px; padding: 0 12px"
<el-form-item label="" label-width="15px"> size="small"
<c-button size="small" type="primary;width:10%" @click="onSeainf" type="primary"
>i</c-button @click="onSeainf"
> >
</el-form-item> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" @click="onCorpDet">
Details
</c-button> </c-button>
</c-col> <c-button style="margin: 0 0" size="small" type="primary">
<c-col :span="24"> 详情
<el-form-item prop="ccdgrp.cor.namelc"> </c-button>
<c-input </template>
type="textarea" </c-fullbox>
v-model="model.ccdgrp.cor.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item prop="ccdgrp.cor.adrelc"> <el-form-item label="名称地址" prop="ccdgrp.cor.pts.adrblk">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ccdgrp.cor.adrelc" :rows="4"
maxlength="35" v-model="model.ccdgrp.cor.pts.adrblk"
maxlength="150"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入名称地址"
:disabled="this.flag1"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- 右边--> <!-- ====================右边======================= -->
<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 of CC contract" prop="ccdgrp.rec.nam"> <el-form-item label="Name" prop="ccdgrp.rec.nam">
<c-input <c-input
v-model="model.ccdgrp.rec.nam" v-model="model.ccdgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入Name of CC contract" placeholder="请输入Name"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Register Ref." prop="ccdgrp.rec.regref"> <el-form-item label="Register Ref." prop="ccdgrp.rec.regref">
<c-input <c-input
v-model="model.ccdgrp.rec.regref" v-model="model.ccdgrp.rec.regref"
maxlength="16" maxlength="16"
placeholder="请输入Register Ref." placeholder="请输入Register Ref."
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-row>
<c-row> <c-ptap
<c-col :span="11" :offset="1"> :model="model"
<c-col :span="24"> :argadr="{
<el-form-item label="Presenter Ref. No." prop="ccdgrp.pre.pts.ref"> title: 'Presenter',
<c-input grp: 'ccdgrp',
v-model="model.ccdgrp.pre.pts.ref" rol: 'pre',
maxlength="16" }"
placeholder="请输入Presenter Ref. No." disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item prop="ccdgrp.pre.pts.extkey">
<c-input
v-model="model.ccdgrp.pre.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
> >
</el-form-item> </c-ptap>
</c-col>
<c-col :span="2"> <c-ptap
<c-button size="small" type="primary" @click="onPrepDet"> :model="model"
Details :argadr="{
</c-button> title: 'Drawn on Bank',
</c-col> grp: 'ccdgrp',
<c-col :span="24"> rol: 'dro',
<el-form-item prop="ccdgrp.pre.namelc"> }"
<c-input :disabled="this.flag2"
type="textarea"
v-model="model.ccdgrp.pre.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="ccdgrp.pre.adrelc">
<c-input
type="textarea"
v-model="model.ccdgrp.pre.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawn on Bank Ref" prop="ccdgrp.dro.pts.ref">
<c-input
v-model="model.ccdgrp.dro.pts.ref"
maxlength="16"
placeholder="请输入Drawn on Bank Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item prop="ccdgrp.dro.pts.extkey">
<c-input
v-model="model.ccdgrp.dro.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
> >
</el-form-item> </c-ptap>
</c-col>
<c-col :span="2"> <!-- <c-ptap
<c-button size="small" type="primary" @click="onDropDet"> :model="model"
Details :argadr="{
</c-button> title: 'Coll. Bank',
</c-col> grp: 'ccdgrp',
<c-col :span="24"> rol: 'col',
<el-form-item prop="ccdgrp.dro.namelc"> }"
<c-input :disabled="true"
type="textarea" >
v-model="model.ccdgrp.dro.namelc" </c-ptap> -->
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="ccdgrp.dro.adrelc">
<c-input
type="textarea"
v-model="model.ccdgrp.dro.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Coll. Bank Ref No." prop="ccdgrp.col.pts.ref"> <el-form-item label="Coll. Bank参考号" prop="ccdgrp.col.pts.ref">
<c-input <c-input
v-model="model.ccdgrp.col.pts.ref" v-model="model.ccdgrp.col.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入Coll. Bank Ref No." placeholder="请输入Coll. Bank参考号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="20">
<el-form-item prop="ccdgrp.col.pts.extkey"> <c-col :span="24">
<el-form-item label="Coll. Bank" prop="ccdgrp.col.pts.extkey">
<c-fullbox>
<c-input <c-input
v-model="model.ccdgrp.col.pts.extkey" v-model="model.ccdgrp.col.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入Coll. Bank"
disabled
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
<c-col :span="2"> style="margin: 0 10px 0 10px; padding: 0 12px"
<el-form-item label="" label-width="15px"> size="small"
<c-button size="small" type="primary;width:10%" @click="onSeainf" type="primary"
>i</c-button @click="onSeainf"
> >
</el-form-item> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" @click="onColpDet">
Details
</c-button> </c-button>
</c-col> <c-button style="margin: 0 0" size="small" type="primary">
<c-col :span="24"> 详情
<el-form-item prop="ccdgrp.col.namelc"> </c-button>
<c-input </template>
type="textarea" </c-fullbox>
v-model="model.ccdgrp.col.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item prop="ccdgrp.col.adrelc"> <el-form-item label="名称地址" prop="ccdgrp.col.pts.adrblk">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ccdgrp.col.adrelc" :rows="4"
maxlength="35" v-model="model.ccdgrp.col.pts.adrblk"
maxlength="150"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入名称地址"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -455,13 +379,42 @@ import Api from "~/service/Api"; ...@@ -455,13 +379,42 @@ 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/Cctdav/Event"; import Event from "~/model/Cctdav/Event";
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: {
"c-ptap": Ptap,
},
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
flag1:false,
flag2:false,
};
},
watch:{
"model.ccdgrp.cor.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.ccdgrp.cor.pts.extkey!=''){
this.flag1=true;
}else{
this.flag1=false;
}
}
},
"model.ccdgrp.dro.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.ccdgrp.dro.pts.extkey!=''){
this.flag2=true;
}else{
this.flag2=false;
}
}
},
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000066 : Settlement Instructions -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="Settlement Instructions" prop="ccdgrp.blk.setins"> <c-form-item label="Settlement Instructions" prop="ccdgrp.blk.setins">
<c-input type="textarea" v-model="model.ccdgrp.blk.setins" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Settlement Instructions'" ></c-input> <c-input
type="textarea"
:rows="6"
v-model="model.ccdgrp.blk.setins"
maxlength="600"
show-word-limit
placeholder="请输入Settlement Instructions"
></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> <c-button
{{$t('cctp.C0000068')}} size="small"
type="primary"
@click="
showGridPromptDialog(
'cctp.setins.buttxmsel',
null,
null,
{ TXT: 'ccdgrp.blk.setins' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button> </c-button>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" 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/Cctdav/Event" import Event from "~/model/Cctdav/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -41,6 +41,10 @@ ...@@ -41,6 +41,10 @@
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--engp PD000000 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement --> <!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
...@@ -55,6 +59,21 @@ ...@@ -55,6 +59,21 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -67,11 +86,6 @@ import Check from "~/model/Cctdav/Check"; ...@@ -67,11 +86,6 @@ import Check from "~/model/Cctdav/Check";
import Default from "~/model/Cctdav/Default"; import Default from "~/model/Cctdav/Default";
import Pattern from "~/model/Cctdav/Pattern"; import Pattern from "~/model/Cctdav/Pattern";
import Cctdav1 from "./Cctdav1"; import Cctdav1 from "./Cctdav1";
// import Docpan from "./Docpan";
// import Doctre from "./Doctre";
// import Coninfp from "./Coninfp";
// import Setpan from "./Setpan";
// import Glepan from "./Glepan";
import Setinsp from "./Setinsp"; import Setinsp from "./Setinsp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
...@@ -79,6 +93,7 @@ import Doctre from "~/views/Public/Doctre"; ...@@ -79,6 +93,7 @@ import Doctre from "~/views/Public/Doctre";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
export default { export default {
name: "Cctdav", name: "Cctdav",
...@@ -90,6 +105,7 @@ export default { ...@@ -90,6 +105,7 @@ export default {
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan, "m-glepan": Glepan,
"m-setinsp": Setinsp, "m-setinsp": Setinsp,
"m-engp": Engp,
}, },
provide() { provide() {
return { return {
...@@ -124,6 +140,9 @@ export default { ...@@ -124,6 +140,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
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