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
fee21a3b
Commit
fee21a3b
authored
Aug 04, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letnot
parent
b4058a00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
12 deletions
+51
-12
check.js
src/business/letnot/model/check.js
+6
-6
Aamp.vue
src/business/letnot/views/Aamp.vue
+24
-4
Ovwp1.vue
src/business/letnot/views/Ovwp1.vue
+21
-2
No files found.
src/business/letnot/model/check.js
View file @
fee21a3b
...
...
@@ -88,9 +88,9 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ledgrp.rec.opndat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
//
"ledgrp.rec.opndat":[
//
{type: "date", required: false, message: "输入正确的日期"}
//
],
"ledgrp.rec.preadvdt"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
...
...
@@ -109,9 +109,9 @@ export default {
"ledgrp.rec.shpdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.rec.advdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
//
"ledgrp.rec.advdat":[
//
{type: "date", required: false, message: "输入正确的日期"}
//
],
"ledgrp.iss.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
...
...
src/business/letnot/views/Aamp.vue
View file @
fee21a3b
...
...
@@ -4,7 +4,7 @@
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"附加金额"
prop=
"ledgrp.cbs.max2.cur"
>
<c-select
v-model=
"m
odel.ledgrp.cbs.max2.
cur"
style=
"width:100%"
placeholder=
"请选择附加金额"
disabled
>
<c-select
v-model=
"m
ax2
cur"
style=
"width:100%"
placeholder=
"请选择附加金额"
disabled
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -18,19 +18,19 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"Open Add. Amount"
prop=
"ledgrp.cbs.opn2.cur"
>
<c-select
v-model=
"
model.ledgrp.cbs.opn2.
cur"
style=
"width:100%"
placeholder=
"请选择Open Add. Amount"
disabled
>
<c-select
v-model=
"
opn2
cur"
style=
"width:100%"
placeholder=
"请选择Open Add. Amount"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.opn2.amt"
>
<c-input-currency
v-model=
"
model.ledgrp.cbs.opn2.
amt"
placeholder=
"请输入Open Add. Amount"
disabled
></c-input-currency>
<c-input-currency
v-model=
"
opn2
amt"
placeholder=
"请输入Open Add. Amount"
disabled
></c-input-currency>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Covered"
prop=
"ledgrp.blk.addamtcov"
>
<c-input
type=
"textarea"
v-model=
"
model.ledgrp.blk.a
ddamtcov"
maxlength=
"140"
show-word-limit
<c-input
type=
"textarea"
v-model=
"
getBlkA
ddamtcov"
maxlength=
"140"
show-word-limit
placeholder=
"请输入Covered"
rows=
"4"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -50,6 +50,26 @@ export default {
}
},
computed
:{
max2cur
(){
this
.
model
.
ledgrp
.
cbs
.
max2
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
return
this
.
model
.
ledgrp
.
cbs
.
max2
.
cur
},
opn2cur
(){
this
.
model
.
ledgrp
.
cbs
.
opn2
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
return
this
.
model
.
ledgrp
.
cbs
.
opn2
.
cur
},
opn2amt
(){
this
.
model
.
ledgrp
.
cbs
.
opn2
.
amt
=
parseFloat
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
).
toFixed
(
3
)
return
this
.
model
.
ledgrp
.
cbs
.
opn2
.
amt
},
getBlkAddamtcov
(){
this
.
model
.
ledgrp
.
blk
.
addamtcov
=
this
.
model
.
ledgrp
.
cbs
.
opn2
.
cur
+
" "
+
this
.
model
.
ledgrp
.
cbs
.
opn2
.
amt
return
this
.
model
.
ledgrp
.
blk
.
addamtcov
}
}
}
</
script
>
<
style
>
...
...
src/business/letnot/views/Ovwp1.vue
View file @
fee21a3b
...
...
@@ -198,7 +198,7 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证最大金额"
prop=
"ledgrp.cbs.max.cur"
>
<c-select
v-model=
"m
odel.ledgrp.cbs.max.
cur"
v-model=
"m
ax
cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
...
...
@@ -211,7 +211,7 @@
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.max.amt"
>
<c-input-currency
disabled
v-model=
"m
odel.ledgrp.cbs.max.
amt"
v-model=
"m
ax
amt"
placeholder=
"请输入最大金额"
class=
"m-input-currency"
></c-input-currency>
...
...
@@ -445,6 +445,25 @@ export default {
data
()
{
return
{}
},
computed
:{
maxcur
(){
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
},
maxamt
()
{
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
parseFloat
(
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
*
(
1
+
this
.
model
.
ledgrp
.
rec
.
nomtop
/
100
)).
toFixed
(
2
)
return
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
},
max2cur
(){
this
.
model
.
ledgrp
.
cbs
.
max2
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
return
this
.
model
.
ledgrp
.
cbs
.
max2
.
cur
},
getBlkAddamtcov
(){
this
.
model
.
ledgrp
.
blk
.
addamtcov
=
this
.
model
.
ledgrp
.
cbs
.
opn2
.
cur
+
" "
+
this
.
model
.
ledgrp
.
cbs
.
opn2
.
amt
return
this
.
model
.
ledgrp
.
blk
.
addamtcov
}
}
}
</
script
>
<
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