Commit 5e5e87b1 by nanrui

cltdav优化

parent 7644c663
...@@ -2,11 +2,53 @@ import Api from "~/service/Api" ...@@ -2,11 +2,53 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async handleSearch() {
// this.stmData.data = [];
let colflg = this.model.cldgrp.rec.colflg;
if (!colflg || colflg == '') {
this.$notify.error({ title: '错误', message: 'Payemnt Disposition必输!' });
return;
}
let cur = this.model.cur;
if (!cur || cur == '') {
this.$notify.error({ title: '错误', message: 'cur必输!' });
return;
}
let rtnmsg = await this.executeRule("butsea")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bptbckg.docgrd = rtnmsg.data.ccdbatg;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
console.log(this.model.bptbckg.docgrd);
},
async handleReset() {
// this.model.infcon.seaownref = ""
// this.model.infcon.opndatfrom = new Date();
// this.model.infcon.opndatto = new Date();
// this.model.infcon.searef = "";
// this.model.infcon.pty.extkey = "";
// this.model.infcon.usr.extkey = "";
// this.model.infcon.searol = "";
// this.model.infcon.pty.nam = "";
// this.model.infcon.seapty = "";
// this.model.infcon.curtxt1 = "";
// this.model.infcon.nam = "";
// this.model.infcon.seaamtfr = "";
// this.model.infcon.seaamtto = "";
// this.model.infcon.seasta = "";
// this.model.infcon.doctypcod = "";
},
async onCltpButgetref() { async onCltpButgetref() {
let rtnmsg = await this.executeRule("cltp.butgetref") let rtnmsg = await this.executeRule("cltp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.cldgrp.rec.ownref= rtnmsg.data.cldgrp_rec_ownref;
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" import Pub from "../Public"
export default class Cltdav{ export default class Cltdav {
constructor () { constructor() {
this.data = { this.data = {
cltdavl2blk:"",
cltdavl1blk:"",
bptbckg: [],
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
cldgrp:{ cldgrp: {
rec:{ rec: {
ownref:"", // Batch No. .cldgrp.rec.ownref ownref: "", // Batch No. .cldgrp.rec.ownref
valdat:"", // Value Date .cldgrp.rec.valdat valdat: "", // Value Date .cldgrp.rec.valdat
credat:"", // Date of creation .cldgrp.rec.credat credat: "", // Date of creation .cldgrp.rec.credat
colflg:"", // Payemnt Disposition .cldgrp.rec.colflg colflg: "", // Payemnt Disposition .cldgrp.rec.colflg
regref:"", // Register Ref. .cldgrp.rec.regref regref: "", // Register Ref. .cldgrp.rec.regref
count:"", // ITEM COUNT .cldgrp.rec.count count: "", // ITEM COUNT .cldgrp.rec.count
colref:"", // COLL BANK REF .cldgrp.rec.colref colref: "", // COLL BANK REF .cldgrp.rec.colref
nam:"", // Name of CC contract .cldgrp.rec.nam nam: "", // Name of CC contract .cldgrp.rec.nam
creact:"", // Credit to Account .cldgrp.rec.creact creact: "", // Credit to Account .cldgrp.rec.creact
acno:"", // A/C NO. .cldgrp.rec.acno acno: "", // A/C NO. .cldgrp.rec.acno
}, },
col:{ col: {
pts:new Pts().data, pts: new Pts().data,
}, },
blk:{ blk: {
setins:"", // Settlement Instructions .cldgrp.blk.setins setins: "", // Settlement Instructions .cldgrp.blk.setins
}, },
},
rowcntr: "", // Total Row Count .rowcntr
cur: "", // currency .cur
amount: "", // AMOUNT .amount
items: "", // Item Count .items
colbnk: "", // Collection Bank .colbnk
cltp: {
colp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .cltp.colp.ptsget.sdamod.dadsnd
seainf: "", // .cltp.colp.ptsget.sdamod.seainf
}, },
rowcntr:"", // Total Row Count .rowcntr },
cur:"", // currency .cur },
amount:"", // AMOUNT .amount },
items:"", // Item Count .items colmet: "", // Collection Method .colmet
colbnk:"", // Collection Bank .colbnk trnmod: new Pub().data.Trnmod,
cltp:{ // mtabut: {
colp:{ // coninf: {
ptsget:{ // oitinf: {
sdamod:{ // labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
dadsnd:"", // Drag Drop Sender .cltp.colp.ptsget.sdamod.dadsnd // oit: {
seainf:"", // .cltp.colp.ptsget.sdamod.seainf // inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
}, // inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
}, // },
}, // },
}, // oitset: {
colmet:"", // Collection Method .colmet // labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// trnmod:{ // oit: {
// trndoc:{ // inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // },
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // },
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam // conexedat: "", // 执行日期 .mtabut.coninf.conexedat
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // usr: {
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // extkey: "", // User ID .mtabut.coninf.usr.extkey
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // },
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // },
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // },
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm mtabut: new Pub().data.Mtabut,
// rcvatt:{ // setmod: {
// seainf:"", // .trnmod.trndoc.rcvatt.seainf // docamttyplab: "", // settled amount description as label .setmod.docamttyplab
// }, // retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv // ref: "", // our reference .setmod.ref
// }, // doccur: "", // document currency .setmod.doccur
// }, // docamt: "", // document amount .setmod.docamt
trnmod: new Pub().data.Trnmod, // dspflg: "", // Type of settlement .setmod.dspflg
mtabut:{ // xreflg: "", // Recalculate Rates .setmod.xreflg
coninf:{ // setglg: {
oitinf:{ // labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt // },
oit:{ // zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt // zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev // setfog: {
}, // setfol: []
}, // },
oitset:{ // setfeg: {
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt // setfel: []
oit:{ // },
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt // glemod: {
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev // gleshwstm: {}
}, // },
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat // },
usr:{ setmod: new Pub().data.Setmod,
extkey:"", // User ID .mtabut.coninf.usr.extkey modflg: "", // MODIFY .modflg
}, pageId: "" // ctx的key
}, }
}, }
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
},
},
modflg:"", // MODIFY .modflg
pageId: "" // ctx的key
}
}
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="11">
<el-form-item label="Credit to Account" prop="cldgrp.rec.creact"> <el-form-item label="Credit to Account" prop="cldgrp.rec.creact">
<c-select v-model="model.cldgrp.rec.creact" style="width:100%" placeholder="请选择Credit to Account"> <c-select v-model="model.cldgrp.rec.creact" style="width: 100%" placeholder="请选择Credit to Account"
</c-select> :code="codes.creact">
</el-form-item> </c-select>
</c-col> </el-form-item>
<c-col :span="12">
<el-form-item label="A/C NO." prop="cldgrp.rec.acno">
<c-input v-model="model.cldgrp.rec.acno" maxlength="20" placeholder="请输入A/C NO."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Settlement Instructions" prop="cldgrp.blk.setins">
<c-input type="textarea" v-model="model.cldgrp.blk.setins" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions" ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.modflg">修改</c-checkbox> <c-col :span="11" :offset="1">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> <el-form-item label="A/C NO." prop="cldgrp.rec.acno">
... <c-input v-model="model.cldgrp.rec.acno" maxlength="20" placeholder="请输入A/C NO.">
</c-button> </c-input>
</c-col> </el-form-item>
<!-- </c-col>
<c-col :span="11">
<el-form-item label="Settlement Instructions" prop="cldgrp.blk.setins">
<c-input type="textarea" v-model="model.cldgrp.blk.setins" maxlength="65" show-word-limit
placeholder="请输入Settlement Instructions"></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="">
<c-checkbox v-model="model.modflg" disabled>修改</c-checkbox>
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</el-form-item>
</c-col>
<!--
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
... ...
</c-button> </c-button>
</c-col> </c-col>
--> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -43,15 +48,15 @@ import Event from "~/model/Cltdav/Event" ...@@ -43,15 +48,15 @@ import Event from "~/model/Cltdav/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 () {
} }
} }
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-col :span="11"> <!-- 持续展示区 -->
<c-col :span="20"> <template v-slot="searchSlot">
<el-form-item label="Batch No." prop="cldgrp.rec.ownref"> <el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="right"
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled> label-width="110px" size="small">
</c-input> <c-row>
</el-form-item> <c-col :span="24">
</c-col> <c-col :span="11">
<c-col :span="4" style="text-align:right"> <c-col :span="20">
<c-button size="small" type="primary" @click="onCltpButgetref"> <el-form-item label="Batch No." prop="cldgrp.rec.ownref" style="width:100%">
获取 <c-input v-model="model.cldgrp.rec.ownref" maxlength="16"
</c-button> placeholder="请输入Reference" style="width:100%" disabled>
</c-col> </c-input>
</c-col> </el-form-item>
<c-col :span="11" :offset="1"> </c-col>
<el-form-item label="Name" prop="cldgrp.rec.nam"> <c-col :span="4" style="text-align:right">
<c-input v-model="model.cldgrp.rec.nam" maxlength="40" placeholder="请输入Name of CC contract"> <c-button size="small" type="primary" @click="onCltpButgetref">
</c-input> 获取
</el-form-item> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="11" :offset="1">
<c-col :span="11"> <el-form-item label="Name" prop="cldgrp.rec.nam" style="width:100%">
<el-form-item label="Payemnt Disposition" prop="cldgrp.rec.colflg" style="width:100%"> <c-input v-model="model.cldgrp.rec.nam" maxlength="40"
<c-select v-model="model.cldgrp.rec.colflg" style="width: 100%" maxlength="1" placeholder="请输入Name of CC contract">
placeholder="请输入Payemnt Disposition"> </c-input>
<el-option v-for="item in codes.colflg" :key="item.value" :label="item.label" </el-form-item>
:value="item.value"> </c-col>
</el-option> </c-col>
</c-select> <c-col :span="24">
</el-form-item> <c-col :span="11">
</c-col> <el-form-item label="Payment Disposition" prop="cldgrp.rec.colflg" style="width:100%">
<c-col :span="11" :offset="1"> <c-select v-model="model.cldgrp.rec.colflg" style="width: 100%" maxlength="1"
<el-form-item label="Value Date" prop="cldgrp.rec.valdat" label-width="150px"> placeholder="请输入Payment Disposition">
<c-col :span="11"> <el-option v-for="item in codes.colflg" :key="item.value" :label="item.label"
<c-date-picker type="date" v-model="model.cldgrp.rec.valdat" style="width:100%" :value="item.value">
placeholder="请选择Value Date"></c-date-picker> </el-option>
</c-col> </c-select>
<c-col :span="2" style="text-align: center"> </el-form-item>
<label style="display: inline-block; width: 100%">Date</label> </c-col>
</c-col> <c-col :span="11" :offset="1">
<c-col :span="11"> <el-form-item label="Value Date" prop="cldgrp.rec.valdat" style="width:100%">
<c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%" <c-col :span="11">
placeholder="请选择Date of creation"></c-date-picker> <c-date-picker type="date" v-model="model.cldgrp.rec.valdat" style="width:100%"
</c-col> placeholder="请选择Value Date"></c-date-picker>
</el-form-item> </c-col>
</c-col> <c-col :span="2" style="text-align: center">
</c-col> <label style="display: inline-block; width: 100%">Date</label>
<c-col :span="24"> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Total Row Count" prop="rowcntr" style="width:100%"> <c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%"
<c-input v-model="model.rowcntr" placeholder="请输入Total Row Count" disabled></c-input> placeholder="请选择Date of creation"></c-date-picker>
</el-form-item> </c-col>
</c-col> </el-form-item>
<c-col :span="11" :offset="1"> </c-col>
<el-form-item label="Currency" prop="cur" style="width:100%"> </c-col>
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种"> <c-col :span="24">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" <c-col :span="11">
:value="item.value"> <el-form-item label="Total Row Count" prop="rowcntr" style="width:100%">
</el-option> <c-input v-model="model.rowcntr" placeholder="请输入Total Row Count" disabled>
</c-select> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> <c-col :span="11" :offset="1">
<c-col :span="24"> <el-form-item label="Currency" prop="cur" style="width:100%">
<c-col :span="11"> <c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种">
<el-form-item label="Amount" prop="amount" style="width: 100%"> <el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label"
<c-input v-model="model.amount" placeholder="请输入AMOUNT" disabled></c-input> :value="item.value">
</el-form-item> </el-option>
</c-col> </c-select>
<c-col :span="11" :offset="1"> </el-form-item>
<el-form-item label="Register Ref." prop="cldgrp.rec.regref" style="width: 100%"> </c-col>
<c-input v-model="model.cldgrp.rec.regref" tyle="width: 100%" maxlength="16" </c-col>
placeholder="请输入Register Ref." disabled></c-input> <c-col :span="24">
</el-form-item> <c-col :span="11">
</c-col> <el-form-item label="Amount" prop="amount" style="width: 100%">
</c-col> <c-input v-model="model.amount" placeholder="请输入AMOUNT" disabled></c-input>
<c-col :span="24"> </el-form-item>
<c-col :span="11"> </c-col>
<el-form-item label="Item Count" prop="cldgrp.rec.count" style="width: 100%"> <c-col :span="11" :offset="1">
<c-input v-model="model.cldgrp.rec.count" placeholder="请输入ITEM COUNT" disabled></c-input> <el-form-item label="Register Ref." prop="cldgrp.rec.regref" style="width: 100%">
</el-form-item> <c-input v-model="model.cldgrp.rec.regref" tyle="width: 100%" maxlength="16"
</c-col> placeholder="请输入Register Ref." disabled></c-input>
<c-col :span="11" :offset="1"> </el-form-item>
<el-form-item label="Actual Items" prop="items"> </c-col>
<c-input v-model="model.items" placeholder="请输入Item Count"></c-input> </c-col>
</el-form-item> <c-col :span="24">
</c-col> <c-col :span="11">
</c-col> <el-form-item label="Item Count" prop="cldgrp.rec.count" style="width: 100%">
<c-input v-model="model.cldgrp.rec.count" placeholder="请输入ITEM COUNT" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Actual Items" prop="items" style="width:100%">
<c-input v-model="model.items" placeholder="请输入Item Count"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Collection Bank" prop="colbnk"> <el-form-item label="Collection Bank" prop="colbnk" style="width:100%">
<c-select v-model="model.colbnk" style="width:100%" placeholder="请选择Collection Bank"> <c-input v-model="model.colbnk" style="width:100%"
</c-select> placeholder="请选择Collection Bank" :disabled="model.cldgrp.rec.colflg == 'G'">
</el-form-item> </c-input>
</c-col> </el-form-item>
<c-col :span="4" style="text-align:right"> </c-col>
<c-button size="small" type="primary" @click="onGet"> <c-col :span="4" style="text-align:right">
Get Swt <c-button size="small" type="primary" @click="onGet" :disabled="model.cldgrp.rec.colflg == 'G'">
</c-button> Get Swt
</c-col> </c-button>
</c-col> </c-col>
<c-col :span="11" :offset="1"> </c-col>
<el-form-item label="Collection Method" prop="colmet"> <c-col :span="11" :offset="1">
<c-select v-model="model.colmet" style="width:100%" placeholder="请选择Collection Method"></c-select> <el-form-item label="Collection Method" prop="colmet" style="width:100%">
</el-form-item> <c-input v-model="model.colmet" style="width:100%"
</c-col> placeholder="请选择Collection Method" disabled></c-input>
</c-col> </el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Extkey" prop="cldgrp.col.pts.extkey"> <el-form-item label="Extkey" prop="cldgrp.col.pts.extkey" style="width:100%">
<c-input v-model="model.cldgrp.col.pts.extkey" maxlength="16" <c-input v-model="model.cldgrp.col.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address"> placeholder="请输入External Key of Address"
</c-input> @keyup.enter.native="showGridPromptDialog('cldgrp.col.pts.extkey')">
</el-form-item> </c-input>
</c-col> </el-form-item>
<c-col :span="4" style="text-align:right"> </c-col>
<!-- <el-form-item label="" label-width="15px" style="text-align:right"> --> <c-col :span="4" style="text-align:right">
<!-- <c-button size="small" type="primary;width:10%" @click="onSeainf('cldgrp.col.pts.extkey')">i</c-button> --> <!-- <el-form-item label="" label-width="15px" style="text-align:right"> -->
<c-button size="small" type="primary"> <!-- <c-button size="small" type="primary;width:10%" @click="onSeainf('cldgrp.col.pts.extkey')">i</c-button> -->
Details <c-button size="small" type="primary">
</c-button> Details
<!-- </el-form-item> --> </c-button>
</c-col> <!-- </el-form-item> -->
</c-col> </c-col>
</c-col> </c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Address Block" prop="cldgrp.col.pts.nam" style="width:100%">
<c-input type="textarea" :rows="4" v-model="model.cldgrp.col.pts.nam" maxlength="35"
disabled show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Coll Bank Ref" prop="cldgrp.rec.colref" style="width:100%">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16"
placeholder="请输入COLL BANK REF"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-edit-table :model="model" v-bind="docgrd">
<el-form-item label="Address Block" prop="cldgrp.col.pts.adrblk"> </c-edit-table>
<c-input type="textarea" :rows="4" v-model="model.cldgrp.col.pts.adrblk" maxlength="35" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Coll Bank Ref" prop="cldgrp.rec.colref">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" placeholder="请输入COLL BANK REF"></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="名称" prop="cldgrp.col.pts.namelc">
<c-input type="textarea" v-model="model.cldgrp.col.pts.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="地址" prop="cldgrp.col.pts.adrelc">
<c-input type="textarea" v-model="model.cldgrp.col.pts.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
-->
</div> </div>
</template> </template>
<script> <script>
...@@ -178,14 +180,62 @@ export default { ...@@ -178,14 +180,62 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
docgrd: {
columns: [
{
title: "Our Reference",
width: "150px",
dataIndex: "ownref",
show: "text",
},
{
title: "Description",
width: "200px",
dataIndex: "nam",
show: "text",
},
{
title: "Presenter",
width: "200px",
dataIndex: "prenam",
show: "text",
},
{
title: "cur",
width: "100px",
dataIndex: "cur",
show: "text",
},
{
title: "Amount",
width: "200px",
dataIndex: "amt",
show: "text",
},
{
title: "Select",
width: "50px",
dataIndex: "selflg",
show: "checkbox",
},
],
urls: "bptbckg.docgrd",
},
} }
}, },
methods: { ...Event }, methods: {
...Event,
multipleSelect() {
console.log(123);
}
},
created: function () { created: function () {
} }
} }
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
...@@ -19,27 +19,7 @@ ...@@ -19,27 +19,7 @@
<el-tab-pane label="内容" name="sel"> <el-tab-pane label="内容" name="sel">
<m-sel :model="model" :codes="codes" /> <m-sel :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000057 -->
<!-- <el-tab-pane label="关联账号" name="account">
<m-account :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外信息" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan"> <el-tab-pane label="面函及报文" name="docpan">
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
...@@ -54,8 +34,34 @@ ...@@ -54,8 +34,34 @@
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="关联账号" name="account">
<m-account :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<!-- <el-tab-pane label="表外信息" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000001 -->
<!-- <el-tab-pane label="分录信息" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane> -->
<!-- <el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</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>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -82,52 +88,53 @@ import Coninfp from "~/views/Public/Coninfp"; ...@@ -82,52 +88,53 @@ import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Cltdav", name: "Cltdav",
components: { components: {
"m-sel": Sel, "m-sel": Sel,
"m-account": Account, "m-account": Account,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-engp": Engp, "m-engp": Engp,
"m-glepan": Glepan, "m-glepan": Glepan,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "sel", tabVal: "sel",
trnName: "cltdav", trnName: "cltdav",
model: new Cltdav().data, model: new Cltdav().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
} }
}, },
methods: { methods: {
tabClick() { tabClick() {
} }
}, },
created: async function () { created: async function () {
console.log("进入cltdav交易"); console.log("进入cltdav交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
} }
} }
</script> </script>
<style> <style>
......
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