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
fc811a7a
Commit
fc811a7a
authored
Dec 28, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitopn获取按钮disabled条件
parent
20956a03
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
44 deletions
+78
-44
index.js
src/model/Gitopn/index.js
+7
-1
Opnp.vue
src/views/Business/Gitopn/Opnp.vue
+42
-38
Ovwp1.vue
src/views/Business/Gitopn/Ovwp1.vue
+29
-5
No files found.
src/model/Gitopn/index.js
View file @
fc811a7a
...
...
@@ -595,7 +595,12 @@ export default class Gitopn{
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
pageId
:
""
// ctx的key
pageId
:
""
,
// ctx的key,
sysmod
:{
wrkbch
:{
bchref
:
""
}
}
}
}
}
\ No newline at end of file
src/views/Business/Gitopn/Opnp.vue
View file @
fc811a7a
<
template
>
<div
class=
"eibs"
>
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<el-form-item
label=
"是否SWIFT格式"
prop=
"gitp.swiftflg"
>
<c-select
v-model=
"model.gitp.swiftflg"
style=
"width: 100%"
placeholder=
"请选择是否SWIFT格式"
:code=
"codes.swiftflg"
@
change=
"eventFunction('gitp.swiftflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"是否SWIFT格式"
prop=
"gitp.swiftflg"
>
<c-select
v-model=
"model.gitp.swiftflg"
style=
"width: 100%"
placeholder=
"请选择是否SWIFT格式"
:code=
"codes.swiftflg"
@
change=
"eventFunction('gitp.swiftflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<el-form-item
label=
"是否对外担保"
prop=
"gidgrp.rec.fingua"
>
<c-select
v-model=
"model.gidgrp.rec.fingua"
style=
"width: 100%"
placeholder=
"请选择是否对外担保"
:code=
"codes.fingua"
@
change=
"eventFunction('gidgrp.rec.fingua')"
>
</c-select>
</el-form-item>
<c-col
:span=
"24"
>
<c-col
:span=
"model.gidgrp.cbs.max.cur == 'CNY'? 20 : 24"
>
<el-form-item
label=
"对外担保类型"
prop=
"gidgrp.rec.cfaguatyp"
>
<c-select
:disabled=
"
model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
"
v-model=
"model.gidgrp.rec.cfaguatyp"
:style=
"model.gidgrp.cbs.max.cur == 'CNY'? 'width: 90%' :'width: 100%'"
placeholder=
"请选择对外担保类型"
:code=
"codes.cfaguatyp"
@
change=
"cfaguatypChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"4"
class=
"centerLable"
v-if=
"model.gidgrp.cbs.max.cur == 'CNY'"
>
<c-checkbox
disabled
v-model=
"model.gidgrp.rec.cmtflg"
>
跨境人民币保函
</c-checkbox
>
</c-col>
</c-col>
</c-col>
<c-col
:span=
"12"
style=
"padding-
righ
t: 20px;"
>
<c-col
:span=
"
model.gidgrp.cbs.max.cur == 'CNY'? 20 :
24"
>
<el-form-item
label=
"
对外担保类型"
prop=
"gidgrp.rec.cfaguatyp
"
>
<c-col
:span=
"12"
style=
"padding-
lef
t: 20px;"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"
是否对外担保"
prop=
"gidgrp.rec.fingua
"
>
<c-select
:disabled=
"
model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
"
v-model=
"model.gidgrp.rec.cfaguatyp"
:style=
"model.gidgrp.cbs.max.cur == 'CNY'? 'width: 90%' :'width: 100%'"
placeholder=
"请选择对外担保类型"
:code=
"codes.cfaguatyp"
@
change=
"cfaguatypChange"
v-model=
"model.gidgrp.rec.fingua"
style=
"width: 100%"
placeholder=
"请选择是否对外担保"
:code=
"codes.fingua"
@
change=
"eventFunction('gidgrp.rec.fingua')"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"4"
class=
"centerLable"
v-if=
"model.gidgrp.cbs.max.cur == 'CNY'"
>
<c-checkbox
disabled
v-model=
"model.gidgrp.rec.cmtflg"
>
跨境人民币保函
</c-checkbox
>
</c-col>
</c-col>
</div>
</
template
>
...
...
src/views/Business/Gitopn/Ovwp1.vue
View file @
fc811a7a
...
...
@@ -25,7 +25,7 @@
<c-button
style=
"margin: 0 0"
:disabled=
"
this.flag && model.gidgrp.rec.ownref == ''? false:true
"
:disabled=
"
flag
"
size=
"small"
type=
"primary"
@
click=
"onGitpButgetref"
...
...
@@ -170,14 +170,15 @@
v-model=
"model.gidgrp.rec.gartyp"
style=
"width: 100%"
placeholder=
"请选择保函种类"
:code=
"getValues('gidgrp.rec.gartyp','typgar')"
>
<el-option
<
!-- <
el-option
v-for="item in codes.seagtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option>
-->
</c-select>
</el-form-item>
</c-col>
...
...
@@ -1392,8 +1393,31 @@ export default {
return
{};
},
computed
:
{
flag
()
{
return
this
.
model
.
gidgrp
.
apl
.
pts
.
extkey
!=
""
&&
this
.
model
.
gidgrp
.
rec
.
hndtyp
!=
""
&&
(
this
.
model
.
gidgrp
.
rec
.
hndtyp
==
"OL"
||
this
.
model
.
gidgrp
.
rec
.
hndtyp
==
"OC"
);
flag
(){
// return this.model.gidgrp.apl.pts.extkey != "" && this.model.gidgrp.rec.hndtyp !="" && (this.model.gidgrp.rec.hndtyp=="OL" || this.model.gidgrp.rec.hndtyp=="OC");
if
(
this
.
model
.
gidgrp
.
rec
.
ownref
==
''
){
if
(
this
.
model
.
sysmod
.
wrkbch
.
bchref
==
''
){
return
true
;
}
else
{
if
(
this
.
model
.
gidgrp
.
rec
.
hndtyp
==
'OT'
){
if
(
this
.
model
.
gidgrp
.
ben
.
pts
.
extkey
!=
''
){
return
false
;
}
else
{
return
true
;
}
}
else
if
(
this
.
model
.
gidgrp
.
rec
.
hndtyp
!=
''
){
if
(
this
.
model
.
gidgrp
.
apl
.
pts
.
extkey
!=
''
){
return
false
;
}
else
{
return
true
;
}
}
else
{
return
true
;
}
}
}
else
{
return
true
;
}
},
amtwidth
(){
return
this
.
model
.
gitp
.
swiftflg
!=
'Y'
?
'width:80%'
:
'width:100%'
;
...
...
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