Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
1018ff34
Commit
1018ff34
authored
Mar 21, 2023
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化保函开立,抽离docpan公共组件
parent
27858548
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
807 additions
and
95 deletions
+807
-95
Content.vue
src/components/Content.vue
+2
-1
index.js
src/components/business/docpan/event/index.js
+0
-0
index.js
src/components/business/docpan/model/index.js
+35
-0
index.vue
src/components/business/docpan/views/index.vue
+657
-0
index.js
src/model/Gitopn/index.js
+1
-0
index.js
src/model/Public/index.js
+3
-0
index.js
src/views/Business/Gitopn1/event/index.js
+14
-0
Ovwp1.vue
src/views/Business/Gitopn1/views/Ovwp1.vue
+1
-3
Ptyp.vue
src/views/Business/Gitopn1/views/Ptyp.vue
+2
-2
index.vue
src/views/Business/Gitopn1/views/index.vue
+92
-89
No files found.
src/components/Content.vue
View file @
1018ff34
...
...
@@ -52,7 +52,7 @@
<
style
>
.c-content-scrollbar
.el-scrollbar__wrap
{
overflow-y
:
scroll
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
</
style
>
\ No newline at end of file
src/components/business/docpan/event/index.js
0 → 100644
View file @
1018ff34
src/components/business/docpan/model/index.js
0 → 100644
View file @
1018ff34
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
src/components/business/docpan/views/index.vue
0 → 100644
View file @
1018ff34
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
style=
""
>
<c-istream-table-docpan
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table-column
label=
"介质"
width=
"110px"
>
<template
slot-scope=
"scope"
>
<el-form-item
label-width=
"0"
:prop=
"'docpan.doceot.' + scope.$index + '.cortyp'"
>
<c-select
v-model=
"
scope.row.cortyp
"
style=
"width: 100%"
disabled
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.doceotCortyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"报文格式"
width=
"150px"
>
<
template
slot-scope=
"scope"
>
<c-select
v-model=
"
scope.row.docsnf
"
style=
"width: 100%"
placeholder=
"请选择"
@
change=
"executeDefault('docpan.doccur.docsnf')"
>
<el-option
v-for=
"item in codes.docsnf"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"语言"
width=
"150px"
>
<
template
slot-scope=
"scope"
>
<c-select
v-model=
"
scope.row.docuil
"
style=
"width: 100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.uiltxt1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</
template
>
</el-table-column>
<el-table-column
label=
"传送方式"
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"0"
:prop=
"'docpan.doceot.' + scope.$index + '.apf'"
>
<c-select
v-model=
"
scope.row.apf
"
disabled
style=
"width: 100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.apftxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"发送份数"
width=
"70"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"
scope.row.apfcpy1
"
:readonly=
"true"
style=
"width: 100%"
placeholder=
"请选择"
>
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
"抄送份数"
width=
"70"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"
scope.row.apfcpy2
"
style=
"width: 100%"
placeholder=
"请选择"
>
</c-input>
</
template
>
</el-table-column>
<el-table-column
label=
""
width=
"110px"
>
<
template
slot-scope=
"scope"
>
<el-form-item
label-width=
"0"
:prop=
"'docpan.doceot.' + scope.$index + '.staflg'"
>
<c-select
v-model=
"
scope.row.staflg
"
style=
"width: 100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.swttlx"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"200px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<c-button
type=
"primary"
size=
"small"
:disabled=
"
(scope.row
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y')||suppress
"
@
click=
"handleDisplay(scope.row.index, scope.row, model.docpan.doceot[scope.row.idx])"
style=
"margin-right:10px"
>
预览
</c-button
>
<c-button
size=
"small"
type=
"primary"
style=
"margin-left:0"
@
click=
"handleDetail(scope.row.index, scope.row)"
>
详情
</c-button
>
</
template
>
</el-table-column>
</c-istream-table-docpan>
</c-col>
<c-col
:span=
"12"
style=
"margin-top:20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"国内证落款"
prop=
"docpan.advnam"
v-if=
"root.trnName=='DITCAN' || root.trnName == 'BDTSET' || root.trnName == 'TRTAME' || root.trnName == 'TRTSET' || root.trnName == 'DETOPN' || root.trnName == 'DETAME' || root.trnName == 'BFTDRV' || root.trnName == 'BFTSND' || root.trnName == 'BPTOPN' || root.trnName == 'BPTAME' || root.trnName == 'BPTSET' || root.trnName == 'BFTACC' || root.trnName == 'DFTAME' || root.trnName == 'DFTSET'"
>
<c-input
v-model=
"model.docpan.advnam"
maxlength=
"50"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"修改申请人名称"
prop=
"docpan.amdapl"
v-if=
" root.trnName== 'detame' || root.trnName == 'bftsnd'"
>
<c-input
v-model=
"model.docpan.amdapl"
maxlength=
"100"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"国内证通知书"
prop=
"docpan.advdoc"
v-if=
" root.trnName== 'detopn' || root.trnName == 'detame'"
>
<c-select
v-model=
"model.docpan.advdoc"
placeholder=
"请选择"
style=
"width: 100%"
:code=
"codes.trndoc_advdoc"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<
template
>
<el-dialog
:title=
"title"
:visible
.
sync=
"centerDialogVisible"
width=
"60%"
center
>
<el-form
label-width=
"100px"
:model=
"dialog"
:disabled=
"suppress"
>
<c-row>
<c-col
:span=
"12"
>
<c-col>
<el-form-item
label=
"介质"
>
<c-select
disabled
v-model=
"dialog.cortyp"
:code=
"codes.doceotCortyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col>
<el-form-item
label=
"表单集合"
>
<!--
<el-input
disabled
v-model=
"dialog.cortyp"
/>
-->
<c-select
disabled
v-model=
"dialog.cortyp"
:code=
"codes.doceotCortyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col
v-if=
"title != 'elcs.101.001.01'"
>
<el-form-item>
<el-input
disabled
style=
"width: 150px"
value=
"Original"
/>
<el-input
v-model=
"dialog.apfcpy1"
style=
"width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style=
"width: 150px"
value=
"Customer Copy"
/>
<el-input
v-model=
"dialog.apfcpy2"
style=
"width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style=
"width: 150px"
value=
"File Copy"
/>
<el-input
v-model=
"dialog.apfcpy3"
style=
"width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style=
"width: 150px"
value=
"Internal Copy"
/>
<el-input
v-model=
"dialog.apfcpy4"
style=
"width: 100px; margin-left: 20px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"发送至"
label-width=
"150px"
>
<!--
<el-input
disabled
v-model=
"dialog.roladr"
/>
-->
<c-select
disabled
v-model=
"dialog.roladr"
:code=
"codes.payrol"
>
</c-select>
</el-form-item>
<el-form-item
label-width=
"150px"
v-if=
"title == 'elcs.101.001.01'"
>
<c-fullbox>
<c-input
v-model=
"dialog.rcv.pts.extkey"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('docpan.doccur.rcv.pts.extkey')
"
/>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
></c-button
>
<c-button
size=
"small"
type=
"primary"
>
详情
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
<el-form-item
v-else
label=
"BIC编码"
label-width=
"150px"
>
<el-input
v-model=
"dialog.rcv.pts.extkey"
/>
</el-form-item>
<el-form-item
v-if=
"title == 'elcs.101.001.01'||(title != 'elcs.101.001.01'&&dialog.rcv.pts.bankno!='')"
label=
"联行行号"
label-width=
"150px"
>
<el-input
v-model=
"dialog.rcv.pts.bankno"
/>
</el-form-item>
<el-form-item
label-width=
"30px"
>
<el-input
:value=
"
title == 'elcs.101.001.01'
? dialog.rcv.namelc
: dialog.rcv.pts.jigomc
"
:disabled=
"title != 'elcs.101.001.01'"
type=
"textarea"
:rows=
"2"
/>
<br
/>
<el-input
:value=
"
title == 'elcs.101.001.01'
? dialog.rcv.adrelc
: dialog.rcv.pts.dizzhii
"
:disabled=
"title == 'MT799'"
type=
"textarea"
:rows=
"2"
/>
</el-form-item>
<el-form-item
label=
"参考号"
label-width=
"100px"
>
<el-input
disabled
v-model=
"dialog.adrref"
/>
</el-form-item>
<el-form-item
label=
"介质"
label-width=
"100px"
>
<!-- <el-input
disabled
style="width: 40%"
v-model="dialog.cortyp"
/> -->
<c-select
disabled
style=
"width: 40%"
v-model=
"dialog.cortyp"
:code=
"codes.doceotCortyp"
>
</c-select>
<!-- <el-input
disabled
v-model="dialog.docuil"
style="width: 40%; margin-left: 20px"
/> -->
<c-select
disabled
style=
"width: 40%; margin-left: 20px"
v-model=
"dialog.docuil"
:code=
"codes.payuil"
>
</c-select>
</el-form-item>
</c-col>
<c-col>
</c-col>
<c-col
:span=
"12"
v-if=
"title != 'MT799'"
>
<el-form-item
label=
"地址修改"
label-width=
"120px"
>
<el-input
type=
"textarea"
v-model=
"dialog.adrblk"
:rows=
"4"
/>
</el-form-item>
</c-col>
<c-col
:span=
"12"
v-else
>
<el-form-item
label=
"BIC编码"
>
<el-input
disabled
v-model=
"dialog.adrbic"
/>
</el-form-item>
<el-form-item
label=
"Authenticator"
><el-input
disabled
v-model=
"dialog.adrbicaut"
/></el-form-item>
<el-form-item
label=
"优先级"
><el-input
disabled
v-model=
"dialog.msgpri"
/></el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label-width=
"30px"
>
<el-table
:data=
"dialog.rcv.ptyinftxt.rows"
size=
"mini"
stripe
:border=
"true"
empty-text=
" "
max-height=
"430px"
>
<el-table-column
label=
"报文类型"
sortable
>
</el-table-column>
<el-table-column
label=
"地址"
sortable
>
</el-table-column>
<el-table-column
label=
"Authentication"
sortable
>
</el-table-column>
</el-table>
</el-form-item>
</c-col>
<c-col
v-if=
"title != 'MT799'"
><el-form-item
label=
"面函日期"
>
<el-date-picker
type=
"date"
v-model=
"dialog.docdat"
>
</el-date-picker
></el-form-item>
</c-col>
<c-col
v-if=
"this.suppress!=true"
><el-form-item
label=
"Contact"
><el-input
v-model=
"dialog.ptcnam"
/></el-form-item>
</c-col>
<c-col
:span=
"22"
v-if=
"this.suppress!=true"
><el-form-item
:label=
"
title == 'MT799'
? 'Sender to Rec. information'
: 'Remark'
"
>
<div
v-if=
"title == 'MT799'"
>
<el-input
type=
"textarea"
:rows=
"10"
disabled
v-model=
"dialog.addtxt"
/>
</div>
<div
v-else
>
<el-input
type=
"textarea"
:rows=
"10"
v-model=
"dialog.addtxt"
/>
</div>
</el-form-item>
</c-col>
<c-col
:span=
"2"
v-if=
"this.suppress!=true"
>
<c-button
size=
"mini"
icon=
"el-icon-more"
>
</c-button>
</c-col>
</c-row>
</el-form>
<
template
#
footer
>
<span
class=
"dialog-footer"
>
<c-button
type=
"primary"
@
click=
"saveDialog"
>
确 定
</c-button
>
<c-button
type=
"primary"
@
click=
"activateDialog"
v-if=
"dialog.delflg=='D'"
>
应用
</c-button
>
<c-button
type=
"primary"
@
click=
"suppressDialog"
v-else-if=
"dialog.lev=='1'||dialog.mliflg!=''"
>
禁用
</c-button
>
<c-button
type=
"primary"
@
click=
"activateDialog"
v-else
>
删除
</c-button
>
<c-button
@
click=
"centerDialogVisible = false"
>
取 消
</c-button
>
</span>
</
template
>
</el-dialog>
</template>
</div>
</template>
<
script
>
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
;
import
DocUtils
from
"~/utils/DocUtils"
;
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
index
:
0
,
title
:
""
,
dialog
:
{
rcv
:
{
pts
:
{},
ptyinftxt
:
{},
},
},
centerDialogVisible
:
false
,
stmData
:
{
columns
:
[
//注释的已改成静态
"role 收报人 70px"
,
"pandsc 描述 250px"
,
//"cortyp 类型",
//"docsnf 报文格式",
//"docuil 语言",
//"apf 传送方式"
],
data
:
[],
},
suppress
:
false
,
};
},
watch
:
{
"model.docpan.doceot"
:
{
handler
(
val
,
oldVal
)
{
var
stm
=
[];
for
(
let
i
=
0
;
i
<
val
.
length
;
i
++
)
{
if
(
val
[
i
].
role
!=
""
)
{
val
[
i
][
'idx'
]
=
i
stm
.
push
(
val
[
i
]);
}
}
this
.
stmData
.
data
=
stm
},
immediate
:
true
}
},
methods
:
{
saveDialog
()
{
this
.
centerDialogVisible
=
false
;
this
.
model
.
docpan
.
doceot
.
splice
(
this
.
index
,
1
,
this
.
dialog
);
this
.
executeRule
(
"docpan.doccur.butaddok"
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
//TODO
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
activateDialog
()
{
this
.
executeRule
(
`docpan.doceot(
${
this
.
index
+
1
}
).butdel`
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
//TODO
this
.
updateModel
(
res
.
data
)
this
.
dialog
=
this
.
model
.
docpan
.
doceot
[
this
.
index
]
this
.
suppress
=
false
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
suppressDialog
()
{
this
.
executeRule
(
`docpan.doceot(
${
this
.
index
+
1
}
).butdel`
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
//TODO
this
.
updateModel
(
res
.
data
)
this
.
dialog
=
this
.
model
.
docpan
.
doceot
[
this
.
index
]
this
.
suppress
=
true
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
async
handleDisplay
(
index
,
row
,
doceot
){
//后续要根据快照模式切换请求方式
let
cortyp
=
row
.
cortyp
let
docuil
=
doceot
.
docuil
;
let
docnam
=
doceot
.
docnam
||
''
;
docnam
=
docnam
.
substr
(
docnam
.
indexOf
(
"
\
\"
)+1).toLowerCase().replaceAll("
\\
","
_
");
let rtnmsg
// if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
// // this.model.setmod.msgmod.doccod = row.id
// rtnmsg = await Api.post(`${this.requestPrefix}/msgmod_butshw`, this.wrapper())
// } else {
// // this.model.docpan.doccod = row.id
// // this.model.docpan.cortyp = cortyp
// }
const params = {
index: row.idx
}
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
// let viewurl = rtnmsg.data.setmod_msgmod_docpth;
let viewurl = "
/
#
/
docpan
/
swift
";
// this.viewurl = viewurl
// window.sessionStorage.docTXT = rtnmsg.data.lidgrp_blk_feetxt + rtnmsg.data.lidgrp_blk_insbnk ;
let doctxt = rtnmsg.data.trnmod_trndoc_doceot[index]['doctxt']
window.sessionStorage.docTXT = doctxt.rows.filter(d => d != '').join('
\
n')
this.title = "
报文
"
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if (cortyp == 'ELC') {
Modal.info({
title: '电证报文', content: <div style={{ height: 400, overflow: 'auto' }}><ELCMessage mty={row.id} message={rtnmsg.data["
\\
trnmod
\\
trndoc
\\
docinf
"]} /></div>,
width: 1000,
})
}
else {
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this.title = "
面函
"
let viewurl = "
/
#
/
docpan
/
show
";
let XMLdata;
if (row.pandsc.startsWith("
elcs
.
")) {
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[row.idx].doctxt.rows.forEach(element => {
window.sessionStorage.docTXT += element + "
\
r
\
n
"
});
}
else if (row.pandsc == "
MT799
") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
else{
//参考后台Doceot.butshw order=1000
let execution = 'P', structure = 'l'
let attr = DocUtils.getDocAttribute(docnam,structure,execution)
console.log(attr);
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data[attr];
window.sessionStorage.docuil = doceot.docuil;
}
// console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML);
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
this.dialogOpen = true
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
async handleDetail(index, row) {
const params = {
index: row.idx
}
let rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpanDetail`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc
this.centerDialogVisible = true,
this.updateModel(rtnmsg.data);
this.dialog = this.model.docpan.doceot[row.idx]
this.index = row.idx
}
}
},
created: function () {},
};
</
script
>
<
style
>
</
style
>
src/model/Gitopn/index.js
View file @
1018ff34
...
...
@@ -595,6 +595,7 @@ export default class Gitopn{
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
docpan
:
new
Pub
().
data
.
Docpan
,
pageId
:
""
,
// ctx的key,
sysmod
:{
wrkbch
:{
...
...
src/model/Public/index.js
View file @
1018ff34
...
...
@@ -2,6 +2,7 @@ import Trnmod from "./Trnmod";
import
Mtabut
from
'./Mtabut'
import
Setmod
from
'~/components/business/setmod/model'
import
Liaall
from
'~/components/business/engp/model'
import
Docpan
from
'~/components/business/docpan/model'
export
default
class
Publics
{
constructor
()
{
...
...
@@ -10,6 +11,7 @@ export default class Publics {
Mtabut
:
new
Mtabut
().
data
,
Setmod
:
new
Setmod
().
data
,
Liaall
:
new
Liaall
().
data
,
Docpan
:
new
Docpan
().
data
,
}
}
}
\ No newline at end of file
src/views/Business/Gitopn1/event/index.js
View file @
1018ff34
import
Api
from
"~/service/Api"
export
default
{
methods
:
{
// 改变form后更新数据统一方法
...
...
@@ -15,6 +16,19 @@ export default {
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
)
{
this
.
handleChangeForm
(
key
,
value
)
...
...
src/views/Business/Gitopn1/views/Ovwp1.vue
View file @
1018ff34
...
...
@@ -21,13 +21,11 @@
>
<i
class=
"el-icon-info"
style=
"font-size:15px"
></i>
</c-button>
<!-- 此处为自动拉取数据,此处修改需要前后端联调 -->
<c-button
style=
"margin: 0 0"
:disabled=
"flag"
size=
"small"
type=
"primary"
@
click=
"query
FormData
('gidgrp.rec.ownref')"
@
click=
"query
Ownref
('gidgrp.rec.ownref')"
>
获取
</c-button>
...
...
src/views/Business/Gitopn1/views/Ptyp.vue
View file @
1018ff34
...
...
@@ -609,13 +609,13 @@
<
script
>
import
event
from
'../event'
import
Ptap
from
'~/views/Public/Ptap'
import
Utils
from
'~/utils'
import
commonProcess
from
"~/mixin/commonProcess"
;
export
default
{
components
:
{
'c-ptap'
:
Ptap
},
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
event
],
mixins
:
[
commonProcess
,
event
],
data
()
{
return
{
ptsaddg
:
{
...
...
src/views/Business/Gitopn1/views/index.vue
View file @
1018ff34
<
template
>
<div
class=
"eContainer"
>
<c-page
title=
"进口保函开立"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
>
<!--PD000001 -->
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
>
<!--PD000001 -->
<el-tab-pane
label=
"保证金"
name=
"ccvpan
"
>
<c-content>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<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>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<c-content>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"会计分录"
name=
"glentry"
>
<c-content>
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"会计分录"
name=
"glentry"
>
<c-content>
<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>
</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>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane
label=
"申报信息"
name=
"cnyp"
>
<c-content>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane
label=
"申报信息"
name=
"cnyp"
>
<c-content>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</
template
>
...
...
@@ -134,7 +134,7 @@ import Ccvpan from "~/views/Public/Ccvpan";
import
Setmod
from
"~/components/business/setmod/views"
;
import
Glentry
from
"~/components/business/glentry/views"
;
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
Limitbody
from
"~/views/Public/Limitbody"
;
import
moment
from
"moment"
;
...
...
@@ -260,5 +260,8 @@ export default {
mounted
()
{},
};
</
script
>
<
style
>
<
style
scoped
>
.eContainer
{
padding-top
:
20px
!important
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment