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
a40695f9
Commit
a40695f9
authored
Jun 25, 2023
by
huxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letopn
parent
6c715799
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
28 deletions
+32
-28
index.js
src/business/letopn/event/index.js
+26
-24
index.js
src/business/letopn/model/index.js
+3
-0
Detp.vue
src/business/letopn/views/Detp.vue
+1
-0
Ovwp1.vue
src/business/letopn/views/Ovwp1.vue
+2
-4
No files found.
src/business/letopn/event/index.js
View file @
a40695f9
...
...
@@ -146,32 +146,34 @@ export default {
this
.
model
.
ledgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 初始化开立类型码表下拉列表
async
queryHndtypCodeTableList
(
trnName
)
{
//指定银行
async
avbwthFlg
()
{
let
ptsList
=
[]
ptsList
.
push
(
this
.
model
.
ledgrp
.
adv
)
ptsList
.
push
(
this
.
model
.
ledgrp
.
a2b
)
ptsList
.
push
(
this
.
model
.
ledgrp
.
iss
)
ptsList
.
push
(
this
.
model
.
ledgrp
.
own
)
let
params
=
{
letp
:
{
swiftflg
:
this
.
model
.
letp
.
swiftflg
,
},
ledgrp
:
{
rec
:
{
purpos
:
this
.
model
.
ledgrp
.
rec
.
purpos
,
},
},
transName
:
trnName
.
toUpperCase
(),
avbwth
:
this
.
model
.
ledgrp
.
rec
.
avbwth
,
ptsList
};
// let res = await Api.post('/service/litopn/initHndtyp', params);
// if (res.respCode == SUCCESS) {
// this.$set(this.codes, 'voHndtyp', res.data);
// }
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos
()
{
this
.
queryHndtypCodeTableList
(
this
.
root
.
trnName
);
let
res
=
await
Api
.
post
(
'/service/letopn/avbwthflg'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
avb
.
pts
.
extkey
=
res
.
data
.
avbwth
.
pts
.
extkey
;
this
.
model
.
ledgrp
.
avb
.
pts
.
adrblk
=
res
.
data
.
avbwth
.
pts
.
adrblk
;
}
},
async
cbsmax
()
{
let
params
=
{
nom1cur
:
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
,
nom1amt
:
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
,
nomtop
:
this
.
model
.
ledgrp
.
rec
.
nomtop
};
let
res
=
await
Api
.
post
(
'/service/letopn/cbsmax'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
=
res
.
data
.
maxcur
;
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
res
.
data
.
maxamt
;
}
}
},
};
src/business/letopn/model/index.js
View file @
a40695f9
...
...
@@ -119,6 +119,9 @@ export default class Letopn {
con
:
{
pts
:
new
Pts
().
data
,
},
own
:
{
pts
:
new
Pts
().
data
,
},
},
letp
:
{
usr
:
{
...
...
src/business/letopn/views/Detp.vue
View file @
a40695f9
...
...
@@ -9,6 +9,7 @@
style=
"width: 100%"
placeholder=
"请选择指定银行"
:code=
"codes.avbwth"
@
change=
"avbwthFlg"
>
</c-select>
</el-form-item>
...
...
src/business/letopn/views/Ovwp1.vue
View file @
a40695f9
...
...
@@ -105,7 +105,7 @@
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"$event.target.blur()
"
@
change=
"cbsmax
"
></c-input-currency>
</el-form-item>
</c-col>
...
...
@@ -127,7 +127,7 @@
maxlength=
"2"
style=
"width: 100%"
placeholder=
"0"
@
keyup
.
enter
.
native=
"$event.target.blur()
"
@
change=
"cbsmax
"
></c-input>
</c-form-item>
...
...
@@ -451,8 +451,6 @@ export default {
handler
(
val
,
oldval
){
const
res
=
this
.
model
.
ledgrp
if
(
res
.
cbs
.
nom1
.
cur
!==
""
||
res
.
cbs
.
nom1
.
amt
!==
""
||
res
.
apl
.
pts
.
adrblk
!==
""
||
rec
.
stacty
!==
""
){
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
;
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
;
this
.
model
.
ledgrp
.
rec
.
nam
=
(
res
.
cbs
.
nom1
.
cur
.
concat
(
" "
).
concat
(
res
.
cbs
.
nom1
.
amt
).
concat
(
" "
).
concat
(
res
.
rec
.
stacty
).
concat
(
"."
).
concat
(
res
.
apl
.
pts
.
adrblk
)).
substring
(
0
,
40
);
}
}
...
...
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