Commit 1018ff34 by 李少勇

优化保函开立,抽离docpan公共组件

parent 27858548
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<style> <style>
.c-content-scrollbar .el-scrollbar__wrap{ .c-content-scrollbar .el-scrollbar__wrap{
overflow-y: scroll; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
} }
</style> </style>
\ No newline at end of file
export default class Docpan {
constructor() {
this.data = {
dtamod:{
dtatagm03:"", // Courier Service Name .trnmod.trndoc.dtamod.dtatagm03
},
dtemod:{
dtetagm06:"", // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07:"", // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08:"", // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ:"", // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam:"", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num:"", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
},
nar754: "", // Narrative :77A: .trnmod.trndoc.nar754
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
doceot: [],
addstr750:""//trnmod.trndoc.addstr750
}
}
}
\ No newline at end of file
...@@ -595,6 +595,7 @@ export default class Gitopn{ ...@@ -595,6 +595,7 @@ export default class Gitopn{
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, liaall: new Pub().data.Liaall,
docpan: new Pub().data.Docpan,
pageId: "", // ctx的key, pageId: "", // ctx的key,
sysmod:{ sysmod:{
wrkbch:{ wrkbch:{
......
...@@ -2,6 +2,7 @@ import Trnmod from "./Trnmod"; ...@@ -2,6 +2,7 @@ import Trnmod from "./Trnmod";
import Mtabut from './Mtabut' import Mtabut from './Mtabut'
import Setmod from '~/components/business/setmod/model' import Setmod from '~/components/business/setmod/model'
import Liaall from '~/components/business/engp/model' import Liaall from '~/components/business/engp/model'
import Docpan from '~/components/business/docpan/model'
export default class Publics { export default class Publics {
constructor() { constructor() {
...@@ -10,6 +11,7 @@ export default class Publics { ...@@ -10,6 +11,7 @@ export default class Publics {
Mtabut: new Mtabut().data, Mtabut: new Mtabut().data,
Setmod: new Setmod().data, Setmod: new Setmod().data,
Liaall: new Liaall().data, Liaall: new Liaall().data,
Docpan: new Docpan().data,
} }
} }
} }
\ No newline at end of file
import Api from "~/service/Api"
export default { export default {
methods: { methods: {
// 改变form后更新数据统一方法 // 改变form后更新数据统一方法
...@@ -15,6 +16,19 @@ export default { ...@@ -15,6 +16,19 @@ export default {
this.handleChangeForm(key, value) this.handleChangeForm(key, value)
} }
}, },
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref (key) {
let params = {
// ptainr: this.model.gidgrp.apl.pts.ptainr,
ptainr: '11593381',
businessType: 'LG',
tbl: 'LG'
}
let res = await Api.post('/service/gitopn/getOwnRef', params)
if (res.respCode == SUCCESS) {
console.log('queryOwnref', res)
}
},
// 业务信息=》基本信息=》支出目的 // 业务信息=》基本信息=》支出目的
purposChange (key, value) { purposChange (key, value) {
this.handleChangeForm(key, value) this.handleChangeForm(key, value)
......
...@@ -21,13 +21,11 @@ ...@@ -21,13 +21,11 @@
> >
<i class="el-icon-info" style="font-size:15px"></i> <i class="el-icon-info" style="font-size:15px"></i>
</c-button> </c-button>
<!-- 此处为自动拉取数据,此处修改需要前后端联调 -->
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
:disabled="flag"
size="small" size="small"
type="primary" type="primary"
@click="queryFormData('gidgrp.rec.ownref')" @click="queryOwnref('gidgrp.rec.ownref')"
> >
获取 获取
</c-button> </c-button>
......
...@@ -609,13 +609,13 @@ ...@@ -609,13 +609,13 @@
<script> <script>
import event from '../event' import event from '../event'
import Ptap from '~/views/Public/Ptap' import Ptap from '~/views/Public/Ptap'
import Utils from '~/utils' import commonProcess from "~/mixin/commonProcess";
export default { export default {
components: { 'c-ptap': Ptap }, components: { 'c-ptap': Ptap },
inject: ['root'], inject: ['root'],
props: ['model', 'codes'], props: ['model', 'codes'],
mixins: [event], mixins: [commonProcess, event],
data() { data() {
return { return {
ptsaddg: { ptsaddg: {
......
...@@ -134,7 +134,7 @@ import Ccvpan from "~/views/Public/Ccvpan"; ...@@ -134,7 +134,7 @@ import Ccvpan from "~/views/Public/Ccvpan";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views"; import Glentry from "~/components/business/glentry/views";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import moment from "moment"; import moment from "moment";
...@@ -260,5 +260,8 @@ export default { ...@@ -260,5 +260,8 @@ export default {
mounted () {}, mounted () {},
}; };
</script> </script>
<style> <style scoped>
.eContainer {
padding-top: 20px!important;
}
</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