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
96441c77
Commit
96441c77
authored
Sep 20, 2022
by
liyixun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitopn 优化
parent
5b7f1d33
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
101 additions
and
36 deletions
+101
-36
index.js
src/model/Gitopn/index.js
+2
-2
Addbcb.vue
src/views/Business/Gitame/Addbcb.vue
+2
-2
Amedat20.vue
src/views/Business/Gitame/Amedat20.vue
+44
-8
Detp.vue
src/views/Business/Gitopn/Detp.vue
+7
-5
Gidtxtp.vue
src/views/Business/Gitopn/Gidtxtp.vue
+9
-8
Gidtxtpc.vue
src/views/Business/Gitopn/Gidtxtpc.vue
+4
-4
Opnp.vue
src/views/Business/Gitopn/Opnp.vue
+1
-1
Ovwp.vue
src/views/Business/Gitopn/Ovwp.vue
+29
-6
index.vue
src/views/Business/Gitopn/index.vue
+3
-0
No files found.
src/model/Gitopn/index.js
View file @
96441c77
...
...
@@ -64,7 +64,7 @@ export default class Gitopn{
chkast
:
""
,
// Allow * .gitp.covgod.chkast
},
aplnamtxt
:
""
,
// 申请人名称 .gitp.aplnamtxt
indirectswiadd
:
""
,
// InDirect Swift Add .gitp.indirectswiadd
indirectswiadd
:
{}
,
// InDirect Swift Add .gitp.indirectswiadd
labaddinfc
:
""
,
// Label for Additional Info in Sequence C .gitp.labaddinfc
covgodsrvcmodflg
:
""
,
// Modify Object of Contract Sequence C .gitp.covgodsrvcmodflg
covgodc
:{
...
...
@@ -341,7 +341,7 @@ export default class Gitopn{
orcplcc
:
""
,
// Original Contract Place - Local Undertaking Seq. C .gidgrp.blk.orcplcc
addinfc
:
""
,
// Additional Info - Local Undertaking Seq. C .gidgrp.blk.addinfc
atxcovgodsrvc
:
""
,
// Underly. Transact. Det. .gidgrp.blk.atxcovgodsrvc
gidtxt
:
""
,
// Guarantee Text .gidgrp.blk.gidtxt
gidtxt
:
{}
,
// Guarantee Text .gidgrp.blk.gidtxt
gtxgidtxt
:
""
,
// Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
gidtxtc
:
""
,
// Guarantee Text local undertaking .gidgrp.blk.gidtxtc
gtxgidtxtc
:
""
,
// Guarantee Text with Variables - Counter Undertaking .gidgrp.blk.gtxgidtxtc
...
...
src/views/Business/Gitame/Addbcb.vue
View file @
96441c77
...
...
@@ -35,7 +35,7 @@
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<el-form-item
label=
"以下两个选项二选一"
prop=
"addbcb.bccls4"
>
<c-select
:code=
"codes.bccls8"
...
...
@@ -45,7 +45,7 @@
>
</c-select>
</el-form-item>
</c-col>
</c-col>
-->
</c-col>
</c-col>
</c-row>
...
...
src/views/Business/Gitame/Amedat20.vue
View file @
96441c77
...
...
@@ -111,6 +111,7 @@
v-model=
"model.trnmod.swiadd.exptyp"
style=
"width: 100%"
placeholder=
"请选择"
@
change=
"exptypChange"
>
</c-select>
</el-form-item>
...
...
@@ -123,7 +124,7 @@
>
<c-date-picker
:disabled=
"
model.trnmod.swiadd.exptyp == 'OPEN'
&&
model.trnmod.swiadd.exptyp == 'OPEN'
||
model.oldgidgrp.rec.expdat == ''
"
type=
"date"
...
...
@@ -140,7 +141,7 @@
prop=
"trnmod.swiadd.exptxt"
>
<c-input
disabled
:disabled=
"this.flag"
type=
"textarea"
v-model=
"model.trnmod.swiadd.exptxt"
maxlength=
"65"
...
...
@@ -164,6 +165,7 @@
v-model=
"model.trnmod.swiadd.liatypc"
style=
"width: 100%"
placeholder=
"请选择"
@
change=
"liatypcChange"
>
</c-select>
</el-form-item>
...
...
@@ -175,7 +177,10 @@
prop=
"trnmod.swiadd.newliadat"
>
<c-date-picker
disabled
:disabled=
"
model.trnmod.swiadd.liatypc == 'OPEN' ||
model.oldgidgrp.rec.liadat == ''
"
type=
"date"
v-model=
"model.trnmod.swiadd.newliadat"
style=
"width: 100%"
...
...
@@ -190,7 +195,7 @@
prop=
"trnmod.swiadd.liatxtc"
>
<c-input
disabled
:disabled=
"this.flag1"
type=
"textarea"
v-model=
"model.trnmod.swiadd.liatxtc"
maxlength=
"65"
...
...
@@ -206,8 +211,10 @@
prop=
"trnmod.swiadd.newdtaappexpdat"
>
<c-date-picker
:disabled=
"model.trnmod.swiadd.exptyp != 'OPEN' &&
model.oldgidgrp.rec.exptyp != 'OPEN'"
:disabled=
"
model.trnmod.swiadd.exptyp != 'OPEN' &&
model.oldgidgrp.rec.exptyp != 'OPEN'
"
type=
"date"
v-model=
"model.trnmod.swiadd.newdtaappexpdat"
style=
"width: 100%"
...
...
@@ -232,9 +239,38 @@ export default {
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{};
return
{
flag
:
false
,
flag1
:
false
,
};
},
methods
:
{
...
Event
,
exptypChange
()
{
if
(
this
.
model
.
trnmod
.
swiadd
.
exptyp
!=
"COND"
)
{
this
.
flag
=
true
;
}
else
{
if
(
this
.
model
.
trnmod
.
swiadd
.
exptyp
==
""
&&
model
.
oldgidgrp
.
blk
.
exptxt
!=
""
)
{
this
.
flag
=
true
;
}
}
},
liatypcChange
()
{
if
(
this
.
model
.
trnmod
.
swiadd
.
liatypc
!=
"COND"
)
{
this
.
flag1
=
true
;
}
else
{
if
(
this
.
model
.
trnmod
.
swiadd
.
liatypc
==
""
&&
model
.
oldgidgrp
.
blk
.
liatxtc
!=
""
)
{
this
.
flag1
=
true
;
}
}
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Gitopn/Detp.vue
View file @
96441c77
...
...
@@ -503,15 +503,15 @@
label=
"InDirect Swift Add"
prop=
"gitp.indirectswiadd"
>
<c-input
disabled
<c-input-xml
type=
"textarea"
rows=
"4"
v-model=
"model.gitp.indirectswiadd"
:maxRows=
"10"
:model=
"model.gitp.indirectswiadd"
@
change=
"selectOrCheckboxRule('gitp.indirectswiadd')"
maxlength=
"9750"
show-word-limit
placeholder=
"请输入InDirect Swift Add"
></c-input>
></c-input
-xml
>
</el-form-item>
</c-col>
...
...
@@ -647,8 +647,10 @@ import Api from "~/service/Api";
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Gitopn/Event"
;
import
InputXml
from
"~/components/InputXml"
;
export
default
{
components
:
{
InputXml
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
src/views/Business/Gitopn/Gidtxtp.vue
View file @
96441c77
...
...
@@ -9,22 +9,23 @@
label=
"Guarantee Text with Variables"
prop=
"gidgrp.blk.gidtxt"
>
<
i-stream-input
<
c-input-xml
:disabled=
"model.gitp.gidtxtmodflg == ''"
type=
"textarea
"
rows=
"15
"
resize=
"none
"
:maxRows=
"10
"
:model=
"model.gidgrp.blk.gidtxt"
maxlength=
"32500"
show-word-limit
placeholder=
"请输入Guarantee Text with Variables"
></i-stream-input>
@
change=
"selectOrCheckboxRule('gidgrp.blk.gidtxt')"
></c-input-xml>
</el-form-item>
<el-form-item
v-if=
"model.gitp.gidtxtmodflg == 'X'"
label=
"Guarantee Text with Variables"
prop=
"gidgrp.blk.gtxgidtxt"
>
<
i-stream-input
<
c-input-xml
type=
"textarea"
:model=
"model.gidgrp.blk.gtxgidtxt"
rows=
"15"
...
...
@@ -32,7 +33,7 @@
show-word-limit
placeholder=
"请输入Guarantee Text with Variables"
@
change=
"gtxBlur"
></
i-stream-input
>
></
c-input-xml
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -130,12 +131,12 @@
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
I
StreamInput
from
"~/components/IStreamInput
"
;
import
I
nputXml
from
"~/components/InputXml
"
;
import
Event
from
"~/model/Gitopn/Event"
;
import
Utils
from
"~/utils"
;
export
default
{
components
:
{
I
StreamInput
},
components
:
{
I
nputXml
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
src/views/Business/Gitopn/Gidtxtpc.vue
View file @
96441c77
...
...
@@ -9,7 +9,7 @@
label=
"Guarantee Text with Variables"
prop=
"gidgrp.blk.gtxgidtxt"
>
<
i-stream-input
<
c-input-xml
:disabled=
"model.gitp.gidtxtmodflgc == ''"
type=
"textarea"
rows=
"15"
...
...
@@ -17,21 +17,21 @@
maxlength=
"32500"
show-word-limit
placeholder=
"请输入Guarantee Text with Variables"
></
i-stream-input
>
></
c-input-xml
>
</el-form-item>
<el-form-item
v-if=
"model.gitp.gidtxtmodflgc == 'X'"
label=
"Guarantee Text with Variables - Counter Undertaking"
prop=
"gidgrp.blk.gtxgidtxtc"
>
<
i-stream-input
<
c-input-xml
type=
"textarea"
:modle=
"model.gidgrp.blk.gtxgidtxtc"
rows=
"15"
maxlength=
"32500"
show-word-limit
placeholder=
"请输入Guarantee Text with Variables - Counter Undertaking"
></
i-stream-input
>
></
c-input-xml
>
</el-form-item>
</c-col>
</c-col>
...
...
src/views/Business/Gitopn/Opnp.vue
View file @
96441c77
...
...
@@ -18,7 +18,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"1
2
"
>
<c-col
:span=
"1
1"
:offset=
"1
"
>
<el-form-item
label=
"是否对外担保"
prop=
"gidgrp.rec.fingua"
>
<c-select
v-model=
"model.gidgrp.rec.fingua"
...
...
src/views/Business/Gitopn/Ovwp.vue
View file @
96441c77
...
...
@@ -205,7 +205,22 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
v-if=
"model.gitp.swiftflg == 'Y'"
>
<el-form-item
label=
"Outgoing Purpose"
prop=
"gidgrp.rec.purpos"
>
<c-select
v-model=
"model.gidgrp.rec.purpos"
style=
"width: 100%"
placeholder=
"请选择Outgoing Purpose"
:code=
"getValues('gidgrp.rec.purpos')"
>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == ''"
label="Outgoing Purpose"
...
...
@@ -225,9 +240,9 @@
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<
!-- <
c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ICCO'
...
...
@@ -249,9 +264,9 @@
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<
!-- <
c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ISCO'
...
...
@@ -297,7 +312,7 @@
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
...
...
@@ -325,6 +340,7 @@
v-model=
"model.gidgrp.rec.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
@
change=
"hndtypChange"
>
<el-option
v-for=
"item in codes.hndtyp8"
...
...
@@ -2088,6 +2104,13 @@ export default {
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
async
hndtypChange
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"gidgrp.rec.hndtyp"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
},
created
:
function
()
{},
};
...
...
src/views/Business/Gitopn/index.vue
View file @
96441c77
...
...
@@ -371,6 +371,9 @@ export default {
if
(
name
===
"ptypc"
){
rulePath
=
"gitp.ptypc"
}
if
(
name
===
"detp"
){
rulePath
=
"gitp.detp"
}
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
...
...
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