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
36c10839
Commit
36c10839
authored
Sep 14, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letnot指定银行/兑付方式事件及是否可填微调
parent
d57b4dad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
44 deletions
+50
-44
Pattern.js
src/model/Letnot/Pattern.js
+6
-6
Detp.vue
src/views/Business/Letnot/Detp.vue
+44
-38
No files found.
src/model/Letnot/Pattern.js
View file @
36c10839
...
...
@@ -206,7 +206,7 @@ export default {
],
"ledgrp.blk.mixdet"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"letp.avbp.ptsget.sdamod.dadsnd"
:[
...
...
@@ -231,7 +231,7 @@ export default {
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.avb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.avb.dbfadrblkcn"
:[
...
...
@@ -258,16 +258,16 @@ export default {
],
"ledgrp.blk.defdet"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.blk.feetxt"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ledgrp.blk.dftat"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
105
,
message
:
"长度不能超过105"
}
],
...
...
@@ -289,7 +289,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ledgrp.drw.pts.adrblk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
],
"ledgrp.drw.dbfadrblkcn"
:[
...
...
src/views/Business/Letnot/Detp.vue
View file @
36c10839
...
...
@@ -11,7 +11,6 @@
style=
"width: 100%"
placeholder=
"请选择指定银行"
:code=
"codes.avbwth"
@
change=
"avbwthEvent"
>
</c-select>
</el-form-item>
...
...
@@ -37,7 +36,25 @@
<!-- 名称地址 -->
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"ledgrp.blk.avbwthtxt"
>
<el-form-item
label=
""
prop=
"ledgrp.avb.pts.adrblk"
v-if=
"model.ledgrp.rec.avbwth != 'O'"
>
<c-input
type=
"textarea"
:rows=
"3"
v-model=
"model.ledgrp.avb.pts.adrblk"
maxlength=
"140"
show-word-limit
placeholder=
"请输入Address Block"
:disabled=
"model.ledgrp.rec.avbwth!=''"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"ledgrp.blk.avbwthtxt"
v-if=
"model.ledgrp.rec.avbwth == 'O'"
>
<c-input
type=
"textarea"
:rows=
"3"
...
...
@@ -45,21 +62,9 @@
maxlength=
"140"
show-word-limit
placeholder=
"请输入名称地址"
:disabled=
"model.ledgrp.rec.avbwth!='O'"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Address Block"
prop=
"ledgrp.avb.pts.adrblk"
>
<c-input
type=
"textarea"
v-model=
"model.ledgrp.avb.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
-->
<!-- 信用证兑付方式 Available by-->
<c-col
:span=
"24"
>
...
...
@@ -69,7 +74,6 @@
style=
"width: 100%"
placeholder=
"请选择兑付方式"
:code=
"codes.avbby0"
@
change=
"avbbykeyEvent"
>
</c-select>
</el-form-item>
...
...
@@ -131,6 +135,7 @@
:onlySearch=
"false"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onDrwpDet"
:disabledExtkey=
"blkDftatFlag"
:disabled=
"blkDftatFlag"
>
</c-ptap>
...
...
@@ -392,30 +397,30 @@ export default {
},
methods
:
{
...
Event
,
avbwthEvent
(){
if
(
this
.
model
.
ledgrp
.
rec
.
avbwth
!=
'A'
||
this
.
model
.
ledgrp
.
rec
.
avbwth
!=
'O'
)
{
this
.
model
.
ledgrp
.
avb
.
pts
.
extkey
=
''
this
.
model
.
ledgrp
.
blk
.
avbwthtxt
=
''
}
},
avbbykeyEvent
()
{
if
(
this
.
model
.
ledgrp
.
rec
.
avbby
==
'P'
)
{
this
.
model
.
ledgrp
.
rec
.
tenmaxday
=
0
this
.
model
.
ledgrp
.
blk
.
defdet
=
''
}
if
(
this
.
model
.
ledgrp
.
rec
.
avbby
==
'D'
||
this
.
model
.
ledgrp
.
rec
.
avbby
==
'M'
)
{
//
avbwthEvent(){
//
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
//
this.model.ledgrp.avb.pts.extkey = ''
//
this.model.ledgrp.blk.avbwthtxt = ''
//
}
//
},
//
avbbykeyEvent() {
//
if (this.model.ledgrp.rec.avbby == 'P') {
//
this.model.ledgrp.rec.tenmaxday = 0
//
this.model.ledgrp.blk.defdet = ''
//
}
//
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
this
.
model
.
ledgrp
.
blk
.
defdet
=
''
//汇票期限置空
this
.
model
.
ledgrp
.
drw
.
pts
.
extkey
=
''
//付款人置空
this
.
model
.
ledgrp
.
drw
.
pts
.
adrblk
=
''
//名称地址置空.pts.adrblk
//
this.model.ledgrp.blk.defdet = '' //汇票期限置空
//
this.model.ledgrp.drw.pts.extkey = ''//付款人置空
//
this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
}
this
.
executeCheck
(
'ledgrp.rec.avbby'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
})
},
//
}
//
this.executeCheck('ledgrp.rec.avbby').then((res) => {
//
if (res.respCode == SUCCESS) {
//
Utils.copyValueFromVO(this.model, res.data)
//
}
//
})
//
},
},
created
:
function
()
{},
computed
:
{
...
...
@@ -423,7 +428,8 @@ export default {
get
()
{
return
(
this
.
model
.
ledgrp
.
rec
.
avbwth
==
'A'
||
this
.
model
.
ledgrp
.
rec
.
avbwth
==
'S'
this
.
model
.
ledgrp
.
rec
.
avbwth
==
'S'
||
this
.
model
.
ledgrp
.
rec
.
avbwth
==
''
)
},
},
...
...
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