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
zhouqian
vue-gjjs
Commits
8f904279
Commit
8f904279
authored
Aug 30, 2022
by
liyixun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitame bug (675)
parent
965c33af
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
529 additions
and
350 deletions
+529
-350
Default.js
src/model/Gitame/Default.js
+2
-0
Preperp.vue
src/views/Business/Gitame/Preperp.vue
+6
-6
Ptyp.vue
src/views/Business/Gitame/Ptyp.vue
+137
-36
index.vue
src/views/Business/Gitame/index.vue
+38
-6
index.vue
src/views/Business/Gitopn/index.vue
+346
-302
No files found.
src/model/Gitame/Default.js
View file @
8f904279
...
...
@@ -249,5 +249,7 @@ export default {
"gitamep.plateflg"
:
Utils
.
defaultFunction
,
"gidgrp.rec.orddat"
:
Utils
.
defaultFunction
,
"setmod.glemod.glepan"
:
Utils
.
defaultFunction
,
"gidgrp.rec.sndto"
:
Utils
.
defaultFunction
,
"gidgrp.blk.deltoadr"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/views/Business/Gitame/Preperp.vue
View file @
8f904279
...
...
@@ -44,10 +44,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"Undertaking Send to"
prop=
"gidgrp.rec.sndto"
>
<c-select
:disabled=
"
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
disabled
v-model=
"model.gidgrp.rec.sndto"
style=
"width: 100%"
placeholder=
"请选择Undertaking Send to"
...
...
@@ -78,7 +75,7 @@
placeholder=
"请选择Deliv. To/Collection By"
>
<el-option
v-for=
"item in codes.delto"
v-for=
"item in codes.delto
1
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
@@ -94,8 +91,9 @@
prop=
"gidgrp.blk.deltoadr"
>
<c-input
:disabled=
"model.gidgrp.rec.delto == ''"
:disabled=
"model.gidgrp.rec.delto == ''
|| model.gidgrp.rec.delto != 'OTHR'
"
type=
"textarea"
rows=
"4"
v-model=
"model.gidgrp.blk.deltoadr"
maxlength=
"35"
show-word-limit
...
...
@@ -109,6 +107,7 @@
<c-input
disabled
type=
"textarea"
rows=
"4"
v-model=
"model.gidgrp.blk.trfcond"
maxlength=
"65"
show-word-limit
...
...
@@ -158,6 +157,7 @@
<c-fullbox>
<c-input
type=
"textarea"
rows=
"4"
v-model=
"model.gidgrp.blk.feetxt"
maxlength=
"35"
show-word-limit
...
...
src/views/Business/Gitame/Ptyp.vue
View file @
8f904279
...
...
@@ -48,7 +48,8 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"地址名称"
prop=
"gidgrp.apl.pts.adrblk"
>
<c-input
disabled
:disabled=
"model.gidgrp.apl.pts.adrblk != ''"
:rows=
"4"
type=
"textarea"
v-model=
"model.gidgrp.apl.pts.adrblk"
maxlength=
"35"
...
...
@@ -59,17 +60,73 @@
</c-col>
<c-col
:span=
"24"
>
<
c-ptap
<
el-form-item
v-if=
"model.gitp.swiftflg == 'Y'"
:model=
"model"
:argadr=
"{
title: 'Accountee/ObI.',
grp: 'gidgrp',
rol: 'ctr',
}"
@
onAplpDet=
"onConpDet"
label=
"Accountee/ObI. Ref."
prop=
"gidgrp.ctr.pts.ref"
>
</c-ptap>
<c-input
v-model=
"model.gidgrp.ctr.pts.ref"
maxlength=
"16"
placeholder=
"请输入Accountee/ObI. Ref."
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"model.gitp.swiftflg == 'Y'"
label=
"Accountee/ObI."
prop=
"gidgrp.ctr.pts.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.gidgrp.ctr.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"
></c-input>
<
template
slot=
"footer"
>
<c-button
v-if=
"model.gitp.swiftflg == 'Y'"
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
<c-button
v-if=
"model.gitp.swiftflg == 'Y'"
disabled
size=
"small"
type=
"primary"
@
click=
"onCtrpDet"
>
Details
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"model.gitp.swiftflg == 'Y'"
label=
"地址名称"
prop=
"gidgrp.ctr.pts.adrblk"
>
<c-input
:disabled=
"model.gidgrp.ctr.pts.adrblk != ''"
:rows=
"4"
type=
"textarea"
v-model=
"model.gidgrp.ctr.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -131,7 +188,7 @@
prop=
"gidgrp.con.pts.adrblk"
>
<c-input
disabled
:disabled=
"model.gidgrp.con.pts.adrblk != ''"
type=
"textarea"
rows=
"4"
v-model=
"model.gidgrp.con.pts.adrblk"
...
...
@@ -141,20 +198,6 @@
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='N'"
:model="model"
:argadr="{
title: 'Confirming Bank',
grp: 'gidgrp',
rol: 'con',
}"
:disabled="true"
@onAplpDet="onConpDet"
>
</c-ptap>
</c-col> -->
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
...
...
@@ -203,7 +246,10 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"地址名称"
prop=
"gidgrp.ben.pts.adrblk"
>
<c-input
:disabled=
"model.gidgrp.rec.hndtyp == 'OT'"
:disabled=
"
model.gidgrp.rec.hndtyp == 'OT' ||
model.gidgrp.ben.pts.adrblk != ''
"
rows=
"4"
type=
"textarea"
v-model=
"model.gidgrp.ben.pts.adrblk"
...
...
@@ -283,7 +329,7 @@
prop=
"gidgrp.iss.pts.adrblk"
>
<c-input
disabled
:disabled=
"model.gidgrp.iss.pts.adrblk != ''"
rows=
"4"
type=
"textarea"
v-model=
"model.gidgrp.iss.pts.adrblk"
...
...
@@ -295,17 +341,72 @@
</c-col>
<c-col
:span=
"24"
>
<c-ptap
<el-form-item
v-if=
"model.gitp.swiftflg == 'Y'"
label=
"Advising Bank ref."
prop=
"gidgrp.atb.pts.ref"
>
<c-input
v-model=
"model.gidgrp.atb.pts.ref"
maxlength=
"16"
placeholder=
"请输入Advising Bank Ref."
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"model.gitp.swiftflg == 'Y'"
label=
"Advising Bank"
prop=
"gidgrp.atb.pts.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.gidgrp.atb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog(`gidgrp.atb.pts.extkey`)
"
></c-input>
<
template
slot=
"footer"
>
<c-button
v-if=
"model.gitp.swiftflg == 'Y'"
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
<c-button
v-if=
"model.gitp.swiftflg == 'Y'"
size=
"small"
type=
"primary"
@
click=
"onAtbpDet"
>
Details
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"model.gitp.swiftflg == 'Y'"
:model=
"model"
:argadr=
"{
title: 'Advising Bank',
grp: 'gidgrp',
rol: 'atb',
}"
@
onAplpDet=
"onConpDet"
label=
"地址名称"
prop=
"gidgrp.atb.pts.adrblk"
>
</c-ptap>
<c-input
:disabled=
"model.gidgrp.atb.pts.adrblk != ''"
rows=
"4"
type=
"textarea"
v-model=
"model.gidgrp.atb.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
...
...
src/views/Business/Gitame/index.vue
View file @
8f904279
...
...
@@ -144,23 +144,55 @@
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Seq. C: History"
name=
"amephisc"
>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq. C: History"
name=
"amephisc"
>
<m-amephisc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Seq. C: Overview"
name=
"ovwpc"
>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq. C: Overview"
name=
"ovwpc"
>
<m-ovwpc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Seq. C: Parties"
name=
"ptypc"
>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq. C: Parties"
name=
"ptypc"
>
<m-ptypc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Seq. C: Presentation/ Delivery"
name=
"preperpc"
>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq. C: Presentation/ Delivery"
name=
"preperpc"
>
<m-preperpc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Seq. C: Details"
name=
"detpc"
>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq. C: Details"
name=
"detpc"
>
<m-detpc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -178,7 +210,7 @@
</el-tab-pane>
<el-tab-pane
v-if=
"model.trnmod.swiadd.addamtflg
c
== 'X'"
v-if=
"model.trnmod.swiadd.addamtflg == 'X'"
label=
"Seq. C: Add. Amounts"
name=
"aacp"
>
...
...
src/views/Business/Gitopn/index.vue
View file @
8f904279
<
template
>
<div
class=
"eContainer"
>
<c-function-btn
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
...
...
@@ -15,226 +15,275 @@
<!--
<el-button
size=
"small"
>
拆分报文
</el-button>
-->
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD001291 -->
<el-tab-pane
label=
"开立方式"
name=
"opnp"
>
<m-opnp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Overview"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000043 -->
<el-tab-pane
label=
"Parties"
name=
"ptyp"
>
<c-content>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD001291 -->
<el-tab-pane
label=
"开立方式"
name=
"opnp"
>
<m-opnp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Overview"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000043 -->
<el-tab-pane
label=
"Parties"
name=
"ptyp"
>
<c-content>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gitp.swiftflg == 'Y'"
label=
"Presentation/Delivery"
name=
"preperp"
>
<c-content>
<m-preperp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000389 -->
<el-tab-pane
label=
"Details"
name=
"detp"
>
<c-content>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000210 -->
<el-tab-pane
label=
"Undertaking Text"
name=
"gidtxtp"
>
<m-gidtxtp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gidgrp.rec.legfrm == 'STBY'"
label=
"Confirmation Details"
name=
"confp"
>
<m-confp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gitp.swiftflg=='Y'"
label=
"Presentation/Delivery"
name=
"preperp"
>
<c-content>
<m-preperp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000389 -->
<el-tab-pane
label=
"Details"
name=
"detp"
>
<c-content>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000210 -->
<el-tab-pane
label=
"Undertaking Text"
name=
"gidtxtp"
>
<m-gidtxtp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Liability"
name=
"liability"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gidgrp.rec.legfrm=='STBY'"
label=
"Confirmation Details"
name=
"confp"
>
<m-confp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Cash Cover"
name=
"Cash Cover"
>
<c-content>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Liability"
name=
"liability
"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Settlement"
name=
"setpan
"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Cash Cover"
name=
"Cash Cover
"
>
<c-content>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"this.flag"
label=
"Bookings"
name=
"glepan
"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Settlement"
name=
"setpa
n"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Completion"
name=
"Completio
n"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"this.flag"
label=
"Bookings"
name=
"glepan"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Messages"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Completion"
name=
"Completion
"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Attachments"
name=
"Attachments
"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Messages"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"备查表"
name=
"addbcb"
>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"Attachments"
name=
"Attachments"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"备查表"
name=
"addbcb"
>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane
label=
"跨境人民币申报"
name=
"cnyp"
>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane
label=
"跨境人民币申报"
name=
"cnyp"
>
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.cnybop.vouflg=='1'"
label=
"2122跨境担保登记业务信息"
name=
"voup"
>
<m-voup
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
v-if=
"model.gidgrp.rec.fingua=='Y'"
label=
"对外担保数据采集"
name=
"cfap"
>
<m-cfap
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.cnybop.vouflg == '1'"
label=
"2122跨境担保登记业务信息"
name=
"voup"
>
<m-voup
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.cfagit.cfaflg=='1'"
label=
"对外担保-签约信息1"
name=
"conp"
>
<m-conp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000727 -->
<!--
<el-tab-pane
label=
"PD000727"
name=
"preperp"
>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
v-if=
"model.gidgrp.rec.fingua == 'Y'"
label=
"对外担保数据采集"
name=
"cfap"
>
<m-cfap
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.cfagit.cfaflg == '1'"
label=
"对外担保-签约信息1"
name=
"conp"
>
<m-conp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000727 -->
<!--
<el-tab-pane
label=
"PD000727"
name=
"preperp"
>
<m-preperp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<el-tab-pane
v-if=
"model.cfagit.cfaflg=='1'"
label=
"对外担保-签约信息2"
name=
"conp1"
>
<m-conp1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
v-if=
"model.cfagit.cfaflg == '1'"
label=
"对外担保-签约信息2"
name=
"conp1"
>
<m-conp1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"对外担保-责任余额信息"
name=
"dclpp"
v-if=
"model.cfagit.cfaflg==1"
>
<c-content>
<m-dclpp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'"
label=
"Seq C : Overview"
name=
"ovwpc"
>
<c-content>
<m-ovwpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"对外担保-责任余额信息"
name=
"dclpp"
v-if=
"model.cfagit.cfaflg == 1"
>
<c-content>
<m-dclpp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'"
label=
"Seq C : Parties"
name=
"ptypc"
>
<c-content>
<m-ptypc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq C : Overview"
name=
"ovwpc"
>
<c-content>
<m-ovwpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'"
label=
"Seq C : Presentation/Delivery"
name=
"preperpc"
>
<c-content>
<m-preperpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq C : Parties"
name=
"ptypc"
>
<c-content>
<m-ptypc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'"
label=
"Seq C : Details"
name=
"detpc"
>
<c-content>
<m-detpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq C : Presentation/Delivery"
name=
"preperpc"
>
<c-content>
<m-preperpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'"
label=
"Seq C : Undertaking Text"
name=
"gidtxtpc"
>
<c-content>
<m-gidtxtpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq C : Details"
name=
"detpc"
>
<c-content>
<m-detpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gitp.aacp.aacmod.addamtflg=='X'"
label=
"Seq C : Add Amounts"
name=
"aacp"
>
<m-aacp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000749 -->
<!--
<el-tab-pane
label=
"PD000749"
name=
"ovwpc"
>
<m-ovwpc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000799 -->
<!--
<el-tab-pane
label=
"PD000799"
name=
"ptypc"
>
<m-ptypc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000838 -->
<!--
<el-tab-pane
label=
"PD000838"
name=
"detpc"
>
<m-detpc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000785 -->
<!--
<el-tab-pane
label=
"PD000785"
name=
"gidtxtpc"
>
<m-gidtxtpc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000761 -->
<!--
<el-tab-pane
label=
"PD000761"
name=
"preperpc"
>
<m-preperpc
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-tabs>
<el-tab-pane
v-if=
"
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
"
label=
"Seq C : Undertaking Text"
name=
"gidtxtpc"
>
<c-content>
<m-gidtxtpc
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
v-if=
"model.gitp.aacp.aacmod.addamtflg == 'X'"
label=
"Seq C : Add Amounts"
name=
"aacp"
>
<m-aacp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Gitopn
from
"~/model/Gitopn"
import
commonProcess
from
"~/mixin/commonProcess"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Gitopn
from
"~/model/Gitopn"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Gitopn/Check"
import
Default
from
"~/model/Gitopn/Default"
import
Pattern
from
"~/model/Gitopn/Pattern"
import
Opnp
from
"./Opnp"
import
Ovwp
from
"./Ovwp"
import
Ptyp
from
"./Ptyp"
import
Detp
from
"./Detp"
import
Gidtxtp
from
"./Gidtxtp"
import
Cnyp
from
"./Cnyp"
import
Addbcb
from
"./Addbcb"
import
Voup
from
"./Voup"
import
Cfap
from
"./Cfap"
import
Preperp
from
"./Preperp"
import
Ovwpc
from
"./Ovwpc"
import
Ptypc
from
"./Ptypc"
import
Detpc
from
"./Detpc"
import
Gidtxtpc
from
"./Gidtxtpc"
import
Preperpc
from
"./Preperpc"
import
Confp
from
"./Confp"
import
Conp
from
"./Conp"
import
Conp1
from
"./Conp1"
import
Aacp
from
"./Aacp"
import
Dclpp
from
"./Dclpp"
import
Check
from
"~/model/Gitopn/Check"
;
import
Default
from
"~/model/Gitopn/Default"
;
import
Pattern
from
"~/model/Gitopn/Pattern"
;
import
Opnp
from
"./Opnp"
;
import
Ovwp
from
"./Ovwp"
;
import
Ptyp
from
"./Ptyp"
;
import
Detp
from
"./Detp"
;
import
Gidtxtp
from
"./Gidtxtp"
;
import
Cnyp
from
"./Cnyp"
;
import
Addbcb
from
"./Addbcb"
;
import
Voup
from
"./Voup"
;
import
Cfap
from
"./Cfap"
;
import
Preperp
from
"./Preperp"
;
import
Ovwpc
from
"./Ovwpc"
;
import
Ptypc
from
"./Ptypc"
;
import
Detpc
from
"./Detpc"
;
import
Gidtxtpc
from
"./Gidtxtpc"
;
import
Preperpc
from
"./Preperpc"
;
import
Confp
from
"./Confp"
;
import
Conp
from
"./Conp"
;
import
Conp1
from
"./Conp1"
;
import
Aacp
from
"./Aacp"
;
import
Dclpp
from
"./Dclpp"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Ccvpan
from
"~/views/Public/Ccvpan"
;
...
...
@@ -245,120 +294,115 @@ import Docpan from "~/views/Public/Docpan";
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
export
default
{
name
:
"Gitopn"
,
components
:
{
"m-opnp"
:
Opnp
,
"m-ovwp"
:
Ovwp
,
"m-ptyp"
:
Ptyp
,
"m-detp"
:
Detp
,
"m-gidtxtp"
:
Gidtxtp
,
"m-cnyp"
:
Cnyp
,
"m-addbcb"
:
Addbcb
,
"m-voup"
:
Voup
,
"m-cfap"
:
Cfap
,
"m-preperp"
:
Preperp
,
"m-ovwpc"
:
Ovwpc
,
"m-ptypc"
:
Ptypc
,
"m-detpc"
:
Detpc
,
"m-gidtxtpc"
:
Gidtxtpc
,
"m-preperpc"
:
Preperpc
,
"m-confp"
:
Confp
,
"m-conp"
:
Conp
,
"m-conp1"
:
Conp1
,
"m-dclpp"
:
Dclpp
,
name
:
"Gitopn"
,
components
:
{
"m-opnp"
:
Opnp
,
"m-ovwp"
:
Ovwp
,
"m-ptyp"
:
Ptyp
,
"m-detp"
:
Detp
,
"m-gidtxtp"
:
Gidtxtp
,
"m-cnyp"
:
Cnyp
,
"m-addbcb"
:
Addbcb
,
"m-voup"
:
Voup
,
"m-cfap"
:
Cfap
,
"m-preperp"
:
Preperp
,
"m-ovwpc"
:
Ovwpc
,
"m-ptypc"
:
Ptypc
,
"m-detpc"
:
Detpc
,
"m-gidtxtpc"
:
Gidtxtpc
,
"m-preperpc"
:
Preperpc
,
"m-confp"
:
Confp
,
"m-conp"
:
Conp
,
"m-conp1"
:
Conp1
,
"m-dclpp"
:
Dclpp
,
"m-engp"
:
Engp
,
"m-ccvpan"
:
Ccvpan
,
"m-setpan"
:
Setpan
,
"m-glepan"
:
Glepan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-aacp"
:
Aacp
,
"m-engp"
:
Engp
,
"m-ccvpan"
:
Ccvpan
,
"m-setpan"
:
Setpan
,
"m-glepan"
:
Glepan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
"m-aacp"
:
Aacp
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"opnp"
,
trnName
:
"gitopn"
,
model
:
new
Gitopn
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
flag
:
false
,
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
const
name
=
tab
.
name
;
let
rulePath
;
if
(
name
===
"conp"
)
{
rulePath
=
"cfagit.recp.conp"
;
}
if
(
name
===
"voup"
)
{
rulePath
=
"cnybop.voup"
;
}
if
(
name
===
"setpan"
)
{
this
.
flag
=
true
;
}
if
(
name
===
"cfap"
)
{
rulePath
=
"cfagit.cfap"
;
}
if
(
name
===
"dclpp"
)
{
rulePath
=
"dclpp"
;
}
if
((
name
=
"docpan"
))
{
rulePath
=
"trnmod.trndoc.docpan"
;
}
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
});
}
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"opnp"
,
trnName
:
"gitopn"
,
model
:
new
Gitopn
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
flag
:
false
,
}
},
methods
:{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
const
name
=
tab
.
name
let
rulePath
;
if
(
name
===
"conp"
)
{
rulePath
=
"cfagit.recp.conp"
;
}
if
(
name
===
"voup"
){
rulePath
=
"cnybop.voup"
;
}
if
(
name
===
"setpan"
){
this
.
flag
=
true
;
}
if
(
name
===
'cfap'
){
rulePath
=
"cfagit.cfap"
;
}
if
(
name
===
'dclpp'
){
rulePath
=
"dclpp"
;
}
if
(
name
=
'docpan'
){
rulePath
=
"trnmod.trndoc.docpan"
;
}
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
)
}
})
}
},
// myTabClick(tab){
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
// myTabClick(tab){
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
// async gleClick(){
// this.flag=true;
// },
},
created
:
async
function
(){
console
.
log
(
"进入gitopn交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
created
:
async
function
()
{
console
.
log
(
"进入gitopn交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
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