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
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000066 : Settlement Instructions --> <c-col :span="12">
<c-form-item label="Settlement Instructions" prop="ccdgrp.blk.setins">
<c-col :span="12"> <c-input
<c-form-item label="Settlement Instructions" prop="ccdgrp.blk.setins"> type="textarea"
<c-input type="textarea" v-model="model.ccdgrp.blk.setins" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Settlement Instructions'" ></c-input> :rows="6"
</c-form-item> v-model="model.ccdgrp.blk.setins"
</c-col> maxlength="600"
show-word-limit
<c-col :span="12"> placeholder="请输入Settlement Instructions"
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> ></c-input>
{{$t('cctp.C0000068')}} </c-form-item>
</c-button> </c-col>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
@click="
showGridPromptDialog(
'cctp.setins.buttxmsel',
null,
null,
{ TXT: 'ccdgrp.blk.setins' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
</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 },
}, created: function () {},
methods:{...Event}, };
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