Commit c12621ad by WF1020

betacc前端修改

parent b502a3f0
...@@ -106,8 +106,8 @@ export default { ...@@ -106,8 +106,8 @@ export default {
async queryOwnref() { async queryOwnref() {
let params = { let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr, ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG', businessType: 'LC',
tbl: 'LG', tbl: 'LC',
}; };
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/service/betacc/getOwnRef', params); let res = await Api.post('/service/betacc/getOwnRef', params);
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}; };
let res = await Api.post('/service/ptspta/fetch', params); let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data); this.$set(this.model.bedgrp, row.role.toLowerCase(), res.data);
} }
}, },
// 业务信息=》基本信息=》支出目的 // 业务信息=》基本信息=》支出目的
...@@ -147,12 +147,12 @@ export default { ...@@ -147,12 +147,12 @@ export default {
// 初始化保函开立类型码表下拉列表 // 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) { async queryHndtypCodeTableList(trnName) {
let params = { let params = {
gitp: { betp: {
swiftflg: this.model.gitp.swiftflg, swiftflg: this.model.betp.swiftflg,
}, },
gidgrp: { bedgrp: {
rec: { rec: {
purpos: this.model.gidgrp.rec.purpos, purpos: this.model.bedgrp.rec.purpos,
}, },
}, },
transName: trnName.toUpperCase(), transName: trnName.toUpperCase(),
......
import Pts from '~/components/business/commonModel/Pts'; import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js'; import Pub from '~/components/business/commonModel/index.js';
export default class Betacc { export default class Betacc {
constructor() { constructor() {
this.data = { this.data = {
betp: { betp: {
furide: '', furide: '',
adaflg: '', adaflg: '',
cre752flg: '' cre752flg: ''
},
setmod: {
redamt: '',
doccur: '',
docamt: ''
},
ledgrp: {
rec: {
ownref: ''
}, },
cbs: {
opn1: { ledgrp: {
cur: '', rec: {
amt: '' ownref: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
} }
} },
}, aamset: {
aamset: { utlamt: '',
utlamt: '', utlamt2: ''
utlamt2: '' },
}, mtabut: {
mtabut: { coninf: {
coninf: { usr: {
usr: { extkey: ''
extkey: '' }
} }
}
},
snadat: '',
bedgrp: {
rec: {
predat: '',
rcvdat: '',
doctypcod: '',
docsta: '',
ownref: '',
matdat: '',
disdat: '',
nam: ''
}, },
cbs: { snadat: '',
opn1: { bedgrp: {
cur: '', ini: {
amt: '' pts: new Pts().data,
},
a2b: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
rmb: {
pts: new Pts().data,
},
drw: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
},
cmb: {
pts: new Pts().data,
},
own: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
prb: {
pts: new Pts().data,
},
rec: {
predat: '',
rcvdat: '',
doctypcod: '',
docsta: '',
ownref: '',
matdat: '',
disdat: '',
nam: ''
}, },
opn2: { cbs: {
cur: '' opn1: {
}, cur: '',
max: { amt: ''
cur: '', },
amt: '' opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
}
} }
},
trnmod: {
swiadd: {
strinf: ''
}
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
} }
}, }
trnmod: { }
swiadd: { \ No newline at end of file
strinf: ''
}
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="承兑" name="accp"> <el-collapse-item title="承兑" name="accp">
<m-accp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Accp from "./Accp"
import event from '../event'
<m-accp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcrj/Event";
import Accp from "./Accp"
export default {
components: {
"m-accp": Accp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["accp"],
};
},
methods: { ...Event },
created:
function () { },
};
</script>
<style></style>
export default {
components:{
"m-accp" : Accp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["accp"],
};
},
methods: { },
created:
function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="出口信用证单据承兑"> <c-page title="出口信用证单据承兑">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<!-- <c-function-btn> <!-- <c-function-btn>
<el-button size="small">流程附言</el-button> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button> <el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
...@@ -13,40 +13,47 @@ ...@@ -13,40 +13,47 @@
<!-- <el-button size="small">制裁信息</el-button> <!-- <el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button> --> <el-button size="small">拆分报文</el-button> -->
<!-- <el-button size="small">智能提示</el-button> <!-- <el-button size="small">智能提示</el-button>
</c-function-btn> --> </c-function-btn> -->
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" <el-form
:validate-on-rule-change="false"> :model="model"
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :rules="rules"
<!--PD000033 --> ref="modelForm"
<el-tab-pane label="业务信息" name="ovwp"> label-width="120px"
<c-content> label-position="right"
<m-ovwp :model="model" :codes="codes" /> size="small"
</c-content> :validate-on-rule-change="false"
</el-tab-pane> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 --> <!--PD000033 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content> <c-content>
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setpan">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
:codes="codes" :codes="codes"
@changeSetmodModel="changeSetmodModel"
/> />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -54,74 +61,70 @@ ...@@ -54,74 +61,70 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane label="会计分录" name="glepan">
<c-content> <c-content>
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" />
</div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<!--PD000529 --> <c-content>
<el-tab-pane label="报文/面函" name="docpan"> <m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<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>
<!--PD000546 --> <!--PD000546 -->
<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-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn> </c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import event from '../event';
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Betacc from "~/model/Betacc"; import Betacc from "../model";
import commonProcess from "~/mixin/commonProcess"; import operationFunc from "~/mixin/operationFunc";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betacc/Check";
import Default from "~/model/Betacc/Default";
import Pattern from "~/model/Betacc/Pattern";
import Accp from "./Accp"; import Accp from "./Accp";
import Engp from "~/views/Public/Engp"; import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/components/business/doctre/views";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/components/business/coninfp/views"; import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Limitbody from "~/components/business/limitbody/views"; import Limitbody from "~/components/business/limitbody/views";
import Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
export default { export default {
name: "Betacc", name: "Betacc",
components: { components: {
"m-accp": Accp, "m-accp": Accp,
"m-setpan": Setpan, "m-setmod": Setmod,
"m-engp": Engp, "m-engp": Engp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-glentry": Glentry,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
}, },
provide() { provide() {
...@@ -129,21 +132,24 @@ export default { ...@@ -129,21 +132,24 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [operationFunc, event], mixins: [event,operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "betacc", trnName: "betacc",
model: new Betacc().data, model: new Betacc().data,
rules: formRules, rules: null,
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
activeNames: ["engp"], activeNames: ["engp"],
}; };
}, },
methods: {} methods: {
},
}; };
</script> </script>
<style></style> <style>
</style>
...@@ -241,7 +241,14 @@ export default class Betset { ...@@ -241,7 +241,14 @@ export default class Betset {
} }
}, },
bptbck: { bptbck: {
bptbckg: '' bptbckg:
[
{ownref:'',
opncur:'',
opnamt:'',
bckamt:''},
]
,
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
...@@ -62,6 +62,8 @@ const Business = [ ...@@ -62,6 +62,8 @@ const Business = [
{ path: 'letdrw', component: () => import('~/business/letdrw/views'), name: 'letdrw', meta: { title: '出口信用证单据收单' } }, { path: 'letdrw', component: () => import('~/business/letdrw/views'), name: 'letdrw', meta: { title: '出口信用证单据收单' } },
{ path: 'letamc', component: () => import('~/business/letamc/views'), name: 'letamc', meta: { title: '出口信用证通知加保兑' } }, { path: 'letamc', component: () => import('~/business/letamc/views'), name: 'letamc', meta: { title: '出口信用证通知加保兑' } },
{ path: 'betdrv', component: () => import('~/business/betdrv/views'), name: 'betdrv', meta: { title: '出口信用证单据修改单据金额' } }, { path: 'betdrv', component: () => import('~/business/betdrv/views'), name: 'betdrv', meta: { title: '出口信用证单据修改单据金额' } },
{ path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } }, { path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } },
{ path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } },
] ]
export default Business export default Business
\ No newline at end of file
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