Commit 63efebc7 by WH

botdcr

parent 6481695a
import Pub from "@/components/business/commonModel";
import Pts from '~/components/business/commonModel/Pts';
export default class Botdcr { export default class Botdcr {
constructor() { constructor() {
this.data = { this.data = {
...@@ -5,7 +8,6 @@ export default class Botdcr { ...@@ -5,7 +8,6 @@ export default class Botdcr {
botdrrl1blk: "", botdrrl1blk: "",
botdrrl2blk: "", botdrrl2blk: "",
botcoll1blk: "", botcoll1blk: "",
liaall: new Pub().data.Liaall,
bodgrp: { bodgrp: {
rec: { rec: {
matpertyp: "", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp matpertyp: "", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
...@@ -99,64 +101,12 @@ export default class Botdcr { ...@@ -99,64 +101,12 @@ export default class Botdcr {
}, },
}, },
rejtypsel: "", // .rejtypsel rejtypsel: "", // .rejtypsel
// mtabut: {
// clsflg: "", // Close Flag .mtabut.clsflg
// coninf: {
// oitinf: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat: "", // 执行日期 .mtabut.coninf.conexedat
// usr: {
// extkey: "", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// 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
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// 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
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
} }
} }
......
<template> <template>
<div class="eibs"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes"/>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import event from "../event" import event from "../event"
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["coninfp"], activeNames: ["coninfp"],
}; };
}, },
methods: {}, methods: {},
created: function () {}, created: function () {
},
}; };
</script> </script>
......
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="托收业务编号" prop="bodgrp.rec.ownref" style="width: 100%"> <el-form-item label="托收业务编号" prop="bodgrp.rec.ownref" style="width: 100%">
<c-fullbox> <c-fullbox>
<c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入托收业务编号" style="width: 100%" <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入托收业务编号"
style="width: 100%"
disabled></c-input> disabled></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin:0 0 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search"> <c-button style="margin:0 0 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search">
...@@ -14,17 +15,6 @@ ...@@ -14,17 +15,6 @@
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="22">-->
<!-- <el-form-item label="托收业务编号" prop="bodgrp.rec.ownref" style="width: 100%">-->
<!-- <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入托收业务编号" style="width: 95%"-->
<!-- disabled></c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<!-- <c-col :span="2">-->
<!-- <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search">-->
<!-- </c-button>-->
<!-- </c-col>-->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="托收金额" prop="bodgrp.cbs.max.cur"> <el-form-item label="托收金额" prop="bodgrp.cbs.max.cur">
<c-select disabled v-model="model.bodgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种"> <c-select disabled v-model="model.bodgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种">
...@@ -139,7 +129,8 @@ ...@@ -139,7 +129,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="拒绝付款或承兑的原因" prop="bodgrp.blk.resrej"> <el-form-item label="拒绝付款或承兑的原因" prop="bodgrp.blk.resrej">
<c-fullbox> <c-fullbox>
<c-input type="textarea" :autosize="{ minRows: 5, maxRows: 20 }" v-model="model.bodgrp.blk.resrej" maxlength="700" show-word-limit <c-input type="textarea" :autosize="{ minRows: 5, maxRows: 20 }" v-model="model.bodgrp.blk.resrej"
maxlength="700" show-word-limit
placeholder="请输入拒绝付款或承兑的原因"> placeholder="请输入拒绝付款或承兑的原因">
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
...@@ -166,7 +157,8 @@ ...@@ -166,7 +157,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款人参考号" prop="bodgrp.drr.pts.nam"> <el-form-item label="收款人参考号" prop="bodgrp.drr.pts.nam">
<c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入收款人参考号" disabled></c-input> <c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入收款人参考号"
disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -178,7 +170,8 @@ ...@@ -178,7 +170,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="代收行参考号" prop="bodgrp.col.pts.nam"> <el-form-item label="代收行参考号" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入代收行参考号" disabled></c-input> <c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入代收行参考号"
disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -188,7 +181,8 @@ ...@@ -188,7 +181,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人参考号" prop="bodgrp.dre.pts.nam"> <el-form-item label="付款人参考号" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入付款人参考号" disabled></c-input> <c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入付款人参考号"
disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -205,15 +199,11 @@ ...@@ -205,15 +199,11 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import event from "../event"
import event from "../event" import Ptap from "~/views/Public/Ptap";
import commonProcess from "~/mixin/commonProcess"; import Docpre from "~/views/Public/Docpre";
import CodeTable from "~/config/CodeTable"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
components: { components: {
"c-ptap": Ptap, "c-ptap": Ptap,
"c-docpre": Docpre, "c-docpre": Docpre,
...@@ -224,8 +214,8 @@ ...@@ -224,8 +214,8 @@
data() { data() {
return { return {
matpertyp: [ matpertyp: [
{ label: "天", value: "D" }, {label: "天", value: "D"},
{ label: "月", value: "M" }, {label: "月", value: "M"},
], ],
} }
}, },
...@@ -239,19 +229,15 @@ ...@@ -239,19 +229,15 @@
}, },
} }
}, },
methods: { methods: {},
...Event,
},
created: function () { created: function () {}
console.log(this.root); }
}
}
</script> </script>
<style> <style>
.messageLabel>>>.el-form-item__label { .messageLabel >>> .el-form-item__label {
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
} }
</style> </style>
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -18,15 +18,15 @@ ...@@ -18,15 +18,15 @@
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp"> <el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes"/>
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="结算" name="setmod"> <el-collapse-item title="结算" name="setmod">
<!-- 结算 --> <!-- 结算 -->
<m-setmod :model="model" :codes="codes" /> <m-setmod :model="model" :codes="codes"/>
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="会计分录" name="glepan"> <el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 --> <!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes"/>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
...@@ -35,26 +35,30 @@ ...@@ -35,26 +35,30 @@
<el-tab-pane label="备查/附言" name="addbcb"> <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附件信息" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="doxpDialog" :isPty="false" :promptData="promptData" <c-grid-ety-prompt-dialog
@select-ety="selectMsg"> ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
...@@ -65,15 +69,9 @@ ...@@ -65,15 +69,9 @@
</c-page> </c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Botdcr from "~/model/Botdcr" import Botdcr from "../model"
import commonProcess from "~/mixin/commonProcess" import formRules from '../model/check'
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdcr/Check"
import Default from "~/model/Botdcr/Default"
import Pattern from "~/model/Botdcr/Pattern"
import Botdcrp1 from "./Botdcrp1" import Botdcrp1 from "./Botdcrp1"
import Inst from "./Inst" import Inst from "./Inst"
...@@ -81,13 +79,14 @@ import Ptyp from "./Ptyp" ...@@ -81,13 +79,14 @@ import Ptyp from "./Ptyp"
import Addbcb from "./Addbcb"; import Addbcb from "./Addbcb";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp"
import Setmod from "~/components/business/setmod/views" import Setmod from "~/components/business/setmod/views"
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Glepan from "~/views/Public/Glepan" import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre"
import operationFunc from "@/mixin/operationFunc";
import event from "../event";
export default { export default {
...@@ -110,27 +109,64 @@ export default { ...@@ -110,27 +109,64 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "botdcr", trnName: "botdcr",
model: new Botdcr().data, model: new Botdcr().data,
checkRules: Check, rules: formRules,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames: ["engp"], activeNames: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
} }
],
data: []
}, },
methods: { }
// tabClick() {
// }
}, },
created: async function () {} methods: {},
created: async function () {
}
} }
</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