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
6e9f8197
Commit
6e9f8197
authored
Sep 24, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default修改
parent
115e27b8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
46 deletions
+39
-46
Default.js
src/model/Cptopn/Default.js
+14
-21
Pattern.js
src/model/Cptopn/Pattern.js
+1
-1
Opnp1.vue
src/views/Business/Cptopn/Opnp1.vue
+24
-24
No files found.
src/model/Cptopn/Default.js
View file @
6e9f8197
...
...
@@ -211,26 +211,9 @@ function defaultTrdgrpRecPntref()
}
function
defaultCpdgrpCbsNom1Cur
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
executeDefault
(
"cpdgrp.rec.nam"
).
then
(
res
=>
{
that
.
model
.
cpdgrp
.
cbs
.
max
.
cur
=
value
;
that
.
model
.
cpdgrp
.
rec
.
nam
=
res
.
data
.
cpdgrp_rec_nam
;
callback
()
})
}
function
defaultCpdgrpCbsNom1Amt
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
executeDefault
(
"cpdgrp.cbs.max.amt"
).
then
(
res
=>
{
that
.
model
.
cpdgrp
.
rec
.
nam
=
res
.
data
.
cpdgrp_rec_nam
;
// // 信用证最大金额
// that.model.didgrp.cbs.max.amt = res.data.didgrp_cbs_max_amt;
callback
()
})
that
.
executeDefault
(
"cpdgrp.rec.nam"
).
then
(
res
=>
{
that
.
model
.
cpdgrp
.
rec
.
nam
=
res
.
data
.
cpdgrp_rec_nam
;
callback
()
})
}
function
defaultFinmodOvdintrat
()
{
...
...
@@ -424,9 +407,6 @@ function defaultFinmodIntdat()
function
defaultCpdgrpOriPtsExtkey
()
{
}
function
defaultCpdgrpCbsMaxAmt
()
{
}
function
defaultCpdgrpSndPtsExtkey
()
{
}
...
...
@@ -445,8 +425,21 @@ function defaultCpdgrpOrcDbfadrblkcn()
function
defaultCnybopLibflg
()
{
}
function
defaultCpdgrpCbsMaxCur
()
function
defaultCpdgrpCbsMaxCur
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
executeDefault
(
"cpdgrp.cbs.max.cur"
).
then
(
res
=>
{
that
.
model
.
cpdgrp
.
rec
.
nam
=
res
.
data
.
cpdgrp_rec_nam
;
callback
()
})
}
function
defaultCpdgrpCbsMaxAmt
(
rule
,
value
,
callback
)
{
const
that
=
this
;
that
.
executeDefault
(
"cpdgrp.cbs.max.amt"
).
then
(
res
=>
{
that
.
model
.
cpdgrp
.
rec
.
nam
=
res
.
data
.
cpdgrp_rec_nam
;
callback
()
})
}
function
defaultCpdgrpRecPrechkdat
()
{
...
...
src/model/Cptopn/Pattern.js
View file @
6e9f8197
...
...
@@ -34,7 +34,7 @@ export default {
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"cpdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
src/views/Business/Cptopn/Opnp1.vue
View file @
6e9f8197
...
...
@@ -77,9 +77,9 @@
<el-col
:span=
"24"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"汇款金额"
prop=
"c
nybop.cnyflg
"
>
<el-form-item
label=
"汇款金额"
prop=
"c
pdgrp.cbs.max.cur
"
>
<c-select
v-model=
"model.c
nybop.cnyflg
"
v-model=
"model.c
pdgrp.cbs.max.cur
"
style=
"width: 100%"
placeholder=
""
>
...
...
@@ -93,9 +93,9 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"cpdgrp.cbs.
nom1
.amt"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"cpdgrp.cbs.
max
.amt"
>
<c-input
v-model=
"model.cpdgrp.cbs.
nom1
.amt"
v-model=
"model.cpdgrp.cbs.
max
.amt"
placeholder=
"请输入汇款金额"
></c-input>
</el-form-item>
...
...
@@ -1332,26 +1332,26 @@ export default {
model2
:
''
,
model3
:
''
,
options1
:[
{
value
:
'
1
'
,
label
:
'AUD 澳大利亚元'
},
{
value
:
'
2
'
,
label
:
'CAD 加拿大元'
},
{
value
:
'
3
'
,
label
:
'CHF 瑞士法郎'
},
{
value
:
'
4
'
,
label
:
'CNY 人民币'
},
{
value
:
'
5
'
,
label
:
'DKK 丹麦克郎'
},
{
value
:
'
6
'
,
label
:
'EUR 欧元'
},
{
value
:
'
7
'
,
label
:
'FIM 芬兰马克'
},
{
value
:
'
8
'
,
label
:
'FRF 法国法郎'
},
{
value
:
'
9
'
,
label
:
'GBP 英镑'
},
{
value
:
'
10
'
,
label
:
'HKD 港币'
},
{
value
:
'
11
'
,
label
:
'JPY 日元'
},
{
value
:
'
12
'
,
label
:
'KRW 韩元'
},
{
value
:
'
13
'
,
label
:
'MOP 澳门元'
},
{
value
:
'
14
'
,
label
:
'NOK 挪威克郎'
},
{
value
:
'
15
'
,
label
:
'NZD 新西兰元'
},
{
value
:
'
16
'
,
label
:
'SEK 瑞典克郎'
},
{
value
:
'
17
'
,
label
:
'SGD 新加坡元'
},
{
value
:
'
18
'
,
label
:
'THB 泰国铢'
},
{
value
:
'
19
'
,
label
:
'TWD 新台湾元'
},
{
value
:
'
20
'
,
label
:
'USD 美元'
},
{
value
:
'
AUD
'
,
label
:
'AUD 澳大利亚元'
},
{
value
:
'
CAD
'
,
label
:
'CAD 加拿大元'
},
{
value
:
'
CHF
'
,
label
:
'CHF 瑞士法郎'
},
{
value
:
'
CNY
'
,
label
:
'CNY 人民币'
},
{
value
:
'
DKK
'
,
label
:
'DKK 丹麦克郎'
},
{
value
:
'
EUR
'
,
label
:
'EUR 欧元'
},
{
value
:
'
FIM
'
,
label
:
'FIM 芬兰马克'
},
{
value
:
'
FRF
'
,
label
:
'FRF 法国法郎'
},
{
value
:
'
GBP
'
,
label
:
'GBP 英镑'
},
{
value
:
'
HKD
'
,
label
:
'HKD 港币'
},
{
value
:
'
JPY
'
,
label
:
'JPY 日元'
},
{
value
:
'
KRW
'
,
label
:
'KRW 韩元'
},
{
value
:
'
MOP
'
,
label
:
'MOP 澳门元'
},
{
value
:
'
NOK
'
,
label
:
'NOK 挪威克郎'
},
{
value
:
'
NZD
'
,
label
:
'NZD 新西兰元'
},
{
value
:
'
SEK
'
,
label
:
'SEK 瑞典克郎'
},
{
value
:
'
SGD
'
,
label
:
'SGD 新加坡元'
},
{
value
:
'
THB
'
,
label
:
'THB 泰国铢'
},
{
value
:
'
TWD
'
,
label
:
'TWD 新台湾元'
},
{
value
:
'
USD
'
,
label
:
'USD 美元'
},
],
options2
:[
{
value
:
'1'
,
label
:
'Chinese'
},
...
...
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