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
6e2c38b6
Commit
6e2c38b6
authored
Oct 25, 2023
by
WH
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110
parents
564001ff
cd112514
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
208 additions
and
107 deletions
+208
-107
buildCommons.js
src/business/litdav/event/buildCommons.js
+9
-0
check.js
src/business/litdav/model/check.js
+18
-11
index.js
src/business/litdav/model/index.js
+4
-3
Davp.vue
src/business/litdav/views/Davp.vue
+45
-16
Mt750p.vue
src/business/litdav/views/Mt750p.vue
+3
-1
Mt754p.vue
src/business/litdav/views/Mt754p.vue
+32
-4
Othadvtypp.vue
src/business/litdav/views/Othadvtypp.vue
+31
-5
Srmp.vue
src/business/litdck/views/Srmp.vue
+28
-28
buildCommons.js
src/business/litdla/event/buildCommons.js
+11
-11
index.js
src/business/litdla/event/index.js
+25
-25
check.js
src/business/litdla/model/check.js
+0
-0
index.js
src/business/litdla/model/index.js
+0
-0
check.js
src/business/litopn/model/check.js
+1
-1
Detp.vue
src/business/litopn/views/Detp.vue
+1
-2
No files found.
src/business/litdav/event/buildCommons.js
View file @
6e2c38b6
...
...
@@ -28,6 +28,15 @@ export default {
if
(
model
.
lidgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
ben
));
}
if
(
model
.
lidgrp
.
rmb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
rmb
));
}
if
(
model
.
lidgrp
.
acb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
acb
));
}
if
(
model
.
lidgrp
.
beb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
beb
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'BRD'
,
...
...
src/business/litdav/model/check.js
View file @
6e2c38b6
...
...
@@ -5,6 +5,7 @@ export default {
"liaall.limmod.limpts.nonrevflg1"
:
null
,
"brdgrp.rec.docprbrol"
:
null
,
"brdgrp.rec.totamt"
:
null
,
"brdgrp.cbs.max2.amt"
:
null
,
"brtp.lidget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -291,17 +292,23 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
// "brdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
// "brdgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.cbs.max.amt"
:[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
15
,
message
:
'整数位不能超过15位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
'小数位不能超过2位'
,
},
],
"brdgrp.cbs.max2.amt"
:[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
15
,
message
:
'整数位不能超过15位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
'小数位不能超过2位'
,
},
],
"brdgrp.blk.chaded"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
200
,
message
:
"长度不能超过200"
}
...
...
src/business/litdav/model/index.js
View file @
6e2c38b6
...
...
@@ -30,6 +30,7 @@ export default class Litdav {
docsta
:
''
,
orddat
:
''
,
disdat
:
''
,
advdat
:
''
,
invref
:
''
,
rptref
:
''
,
shpdat
:
''
,
...
...
@@ -47,7 +48,7 @@ export default class Litdav {
branchinr
:
''
,
invtyp
:
''
,
bchkeyinr
:
''
,
totamt
:
'0'
,
totamt
:
'0
.00
'
,
totcur
:
''
,
rtoaplflg
:
''
,
inr
:
''
,
...
...
@@ -62,11 +63,11 @@ export default class Litdav {
},
max
:
{
cur
:
''
,
amt
:
'0'
amt
:
'0
.00
'
},
max2
:
{
cur
:
''
,
amt
:
'0'
amt
:
'0
.00
'
}
},
rmb
:
{
...
...
src/business/litdav/views/Davp.vue
View file @
6e2c38b6
...
...
@@ -119,7 +119,12 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"通知类型"
prop=
"brdgrp.rec.advtyp"
>
<c-select
:code=
"codes.advtyp"
v-model=
"model.brdgrp.rec.advtyp"
style=
"width:100%"
placeholder=
"请选择通知类型"
>
<c-select
:code=
"codes.advtyp"
v-model=
"model.brdgrp.rec.advtyp"
style=
"width:100%"
placeholder=
"请选择通知类型"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -127,16 +132,26 @@
<c-col
:span=
"12"
>
<el-form-item
label=
"建议付款日期"
prop=
"brdgrp.rec.advdat"
>
<c-date-picker
:disabled=
" (this.model.brdgrp.rec.advtyp == '750' || this.model.brdgrp.rec.advtyp == 'OTH') "
type=
"date"
v-model=
"model.brdgrp.rec.advdat"
style=
"width:100%"
placeholder=
"请选择建议付款日期"
></c-date-picker>
:disabled=
" (this.model.brdgrp.rec.advtyp == '750' || this.model.brdgrp.rec.advtyp == 'oth') "
type=
"date"
v-model=
"model.brdgrp.rec.advdat"
style=
"width:100%"
placeholder=
"请选择建议付款日期"
value-format=
"yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"不符点通知日期"
prop=
"brdgrp.rec.disdat"
>
<c-date-picker
:disabled=
" (this.model.brdgrp.rec.advtyp == '754' || this.model.brdgrp.rec.advtyp == 'OTH') "
type=
"date"
v-model=
"model.brdgrp.rec.disdat"
style=
"width:100%"
placeholder=
"请选择不符点通知日期"
></c-date-picker>
:disabled=
" (this.model.brdgrp.rec.advtyp == '754' || this.model.brdgrp.rec.advtyp == 'oth') "
type=
"date"
v-model=
"model.brdgrp.rec.disdat"
style=
"width:100%"
placeholder=
"请选择不符点通知日期"
value-format=
"yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
...
...
@@ -176,19 +191,24 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
寄
单行参考号"
prop=
"brdgrp.prb.pts.ref"
>
<el-form-item
label=
"
交
单行参考号"
prop=
"brdgrp.prb.pts.ref"
>
<c-input
:disabled=
"true"
v-model=
"model.brdgrp.prb.pts.ref"
maxlength=
"16"
placeholder=
"请输入编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
prop=
"brdgrp.prb.pts.nam"
label=
"
寄
单行名称"
>
<el-form-item
prop=
"brdgrp.prb.pts.nam"
label=
"
交
单行名称"
>
<c-input
:disabled=
"true"
v-model=
"model.brdgrp.prb.pts.nam"
maxlength=
"40"
placeholder=
"请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"简略信息"
prop=
"brdgrp.rec.nam"
>
<c-input
:disabled=
"true"
v-model=
"model.brdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入简略信息"
></c-input>
<c-input
:disabled=
"true"
v-model=
"model.brdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -270,18 +290,27 @@ export default {
immediate
:
true
,
handler
(){
if
(
this
.
model
.
brdgrp
.
rec
.
advtyp
==
'750'
){
this
.
model
.
brdgrp
.
rec
.
advdat
=
' '
this
.
model
.
brdgrp
.
rec
.
advdat
=
""
this
.
model
.
brdgrp
.
blk
.
docdisflg
=
'X'
}
else
if
(
this
.
model
.
brdgrp
.
rec
.
advtyp
==
'754'
){
this
.
model
.
brdgrp
.
rec
.
disdat
=
' '
}
else
if
(
this
.
model
.
brdgrp
.
rec
.
advtyp
==
'
OTH
'
){
this
.
model
.
brdgrp
.
rec
.
advdat
=
' '
this
.
model
.
brdgrp
.
rec
.
disdat
=
' '
this
.
model
.
brdgrp
.
rec
.
disdat
=
""
}
else
if
(
this
.
model
.
brdgrp
.
rec
.
advtyp
==
'
oth
'
){
this
.
model
.
brdgrp
.
rec
.
advdat
=
""
this
.
model
.
brdgrp
.
rec
.
disdat
=
""
}
}
}
},
"model.brdgrp"
:{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldval
){
const
res
=
this
.
model
.
brdgrp
if
(
res
.
cbs
.
max
.
cur
!==
""
||
res
.
cbs
.
max
.
amt
!==
""
||
this
.
model
.
lidgrp
.
apl
.
pts
.
adrblk
!==
""
){
this
.
model
.
brdgrp
.
cbs
.
max
.
cur
=
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
;
this
.
model
.
brdgrp
.
rec
.
nam
=
`
${
res
.
cbs
.
max
.
cur
}
${
res
.
cbs
.
max
.
amt
}
${
this
.
model
.
lidgrp
.
apl
.
pts
.
adrblk
.
substring
(
0
,
16
)}
`
}
}
},
},
methods
:
{},
created
:
function
()
{}
...
...
src/business/litdav/views/Mt750p.vue
View file @
6e2c38b6
...
...
@@ -68,12 +68,14 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"账户
号地址编号
"
prop=
"brdgrp.acb.pts.extkey"
>
<el-form-item
label=
"账户
行
"
prop=
"brdgrp.acb.pts.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.brdgrp.acb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('ACB', 'B')"
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
>
...
...
src/business/litdav/views/Mt754p.vue
View file @
6e2c38b6
...
...
@@ -5,7 +5,7 @@
<el-form-item
label=
"单据金额"
prop=
"brdgrp.cbs.max.cur"
>
<c-input
disabled
v-model=
"m
odel.brdgrp.cbs.max.
cur"
v-model=
"m
ax
cur"
maxlength=
"3"
placeholder=
"请输入单据金额"
></c-input>
...
...
@@ -25,7 +25,7 @@
<el-form-item
label=
"提取附加金额"
prop=
"brdgrp.cbs.opn2.cur"
>
<c-select
disabled
v-model=
"
model.brdgrp.cbs.opn2.
cur"
v-model=
"
opn2
cur"
style=
"width: 100%"
placeholder=
"请选择附加金额"
>
...
...
@@ -72,7 +72,7 @@
<el-form-item
label=
"待支付金额"
prop=
"brdgrp.rec.totcur"
>
<c-input
disabled
v-model=
"
model.brdgrp.rec.
totcur"
v-model=
"
rec
totcur"
maxlength=
"3"
placeholder=
"请选择币种"
></c-input>
...
...
@@ -82,7 +82,7 @@
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"10px"
prop=
"brdgrp.rec.totamt"
>
<c-input
v-model=
"
model.brdgrp.rec.
totamt"
v-model=
"totamt"
placeholder=
"请输入金额"
></c-input>
</el-form-item>
...
...
@@ -94,6 +94,8 @@
v-model=
"model.brdgrp.rmb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编号"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('RMB', 'B')"
></c-input>
<template
slot=
"footer"
>
...
...
@@ -124,6 +126,8 @@
v-model=
"model.brdgrp.acb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编号"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('ACB', 'B')"
></c-input>
<
template
slot=
"footer"
>
...
...
@@ -182,6 +186,8 @@
v-model=
"model.brdgrp.beb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编号"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('BEB', 'B')"
></c-input>
<
template
slot=
"footer"
>
...
...
@@ -221,6 +227,28 @@ export default {
},
methods
:
{},
created
:
function
()
{},
computed
:
{
totamt
(){
const
maxAmt
=
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
const
max2Amt
=
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
this
.
model
.
brdgrp
.
rec
.
totamt
=
parseFloat
(
isNaN
(
maxAmt
)
||
!
maxAmt
?
0
:
maxAmt
)
+
parseFloat
(
isNaN
(
max2Amt
)
||
!
max2Amt
?
0
:
max2Amt
)
return
this
.
model
.
brdgrp
.
rec
.
totamt
}
,
maxcur
(){
this
.
model
.
brdgrp
.
cbs
.
max
.
cur
=
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
brdgrp
.
cbs
.
max
.
cur
},
opn2cur
(){
this
.
model
.
brdgrp
.
cbs
.
opn2
.
cur
=
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
brdgrp
.
cbs
.
opn2
.
cur
},
rectotcur
(){
this
.
model
.
brdgrp
.
rec
.
totcur
=
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
brdgrp
.
rec
.
totcur
}
}
};
</
script
>
<
style
></
style
>
src/business/litdav/views/Othadvtypp.vue
View file @
6e2c38b6
...
...
@@ -5,7 +5,7 @@
<el-form-item
label=
"单据金额"
prop=
"brdgrp.cbs.max.cur"
>
<c-input
disabled
v-model=
"m
odel.brdgrp.cbs.max.
cur"
v-model=
"m
ax
cur"
maxlength=
"3"
placeholder=
"请输入单据金额"
></c-input>
...
...
@@ -26,7 +26,7 @@
<el-form-item
label=
"提取附加金额"
prop=
"brdgrp.cbs.opn2.cur"
>
<c-select
disabled
v-model=
"
model.brdgrp.cbs.opn2.
cur"
v-model=
"
opn2
cur"
style=
"width: 100%"
placeholder=
"请选择附加金额"
>
...
...
@@ -69,7 +69,7 @@
<el-form-item
label=
"待支付总额"
prop=
"brdgrp.rec.totcur"
>
<c-input
disabled
v-model=
"
model.brdgrp.rec.
totcur"
v-model=
"
rec
totcur"
maxlength=
"3"
placeholder=
"请输入待支付总额"
></c-input>
...
...
@@ -79,7 +79,7 @@
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"10px"
prop=
"brdgrp.rec.totamt"
>
<c-input
v-model=
"
model.brdgrp.rec.
totamt"
v-model=
"totamt"
placeholder=
"请输入待支付总额"
></c-input>
</el-form-item>
...
...
@@ -87,12 +87,14 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"账户
银
行"
prop=
"brdgrp.acb.pts.extkey"
>
<el-form-item
label=
"账户行"
prop=
"brdgrp.acb.pts.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.brdgrp.acb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入账户银行"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('ACB', 'B')"
></c-input>
<template
slot=
"footer"
>
...
...
@@ -124,6 +126,8 @@
v-model=
"model.brdgrp.beb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入受益人银行"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('BEB', 'B')"
></c-input>
<
template
slot=
"footer"
>
...
...
@@ -162,6 +166,28 @@ export default {
},
methods
:
{},
created
:
function
()
{},
computed
:
{
totamt
(){
const
maxAmt
=
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
const
max2Amt
=
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
this
.
model
.
brdgrp
.
rec
.
totamt
=
parseFloat
(
isNaN
(
maxAmt
)
||
!
maxAmt
?
0
:
maxAmt
)
+
parseFloat
(
isNaN
(
max2Amt
)
||
!
max2Amt
?
0
:
max2Amt
)
return
this
.
model
.
brdgrp
.
rec
.
totamt
}
,
maxcur
(){
this
.
model
.
brdgrp
.
cbs
.
max
.
cur
=
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
brdgrp
.
cbs
.
max
.
cur
},
opn2cur
(){
this
.
model
.
brdgrp
.
cbs
.
opn2
.
cur
=
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
brdgrp
.
cbs
.
opn2
.
cur
},
rectotcur
(){
this
.
model
.
brdgrp
.
rec
.
totcur
=
this
.
model
.
lidgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
brdgrp
.
rec
.
totcur
}
}
};
</
script
>
<
style
>
...
...
src/business/litdck/views/Srmp.vue
View file @
6e2c38b6
...
...
@@ -45,36 +45,36 @@ export default {
typ1
:
true
}
},
//
watch:{
//
"model.brdgrp.srm.djutyp":{
//
immediate:true,
//
handler(val,oldval){
//
if(this.model.brdgrp.srm.djutyp == 'D'){
//
this.typ1 = true
//
// ommonProcess里的 changeFormItemRequired (property,Boolean)
//
this.changeFormItemRequired('brdgrp.srm.djuusr', false)
//
this.changeFormItemRequired('brdgrp.srm.djudat', false)
//
this.changeFormItemRequired('brdgrp.srm.djuref', false)
//
this.model.brdgrp.srm.djuusr =''
//
this.model.brdgrp.srm.djudat =''
//
this.model.brdgrp.srm.djuref =''
watch
:{
"model.brdgrp.srm.djutyp"
:{
immediate
:
true
,
handler
(
val
,
oldval
){
if
(
this
.
model
.
brdgrp
.
srm
.
djutyp
==
'D'
){
this
.
typ1
=
true
// ommonProcess里的 changeFormItemRequired (property,Boolean)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuusr'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djudat'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuref'
,
false
)
this
.
model
.
brdgrp
.
srm
.
djuusr
=
''
this
.
model
.
brdgrp
.
srm
.
djudat
=
''
this
.
model
.
brdgrp
.
srm
.
djuref
=
''
//
}else if(this.model.brdgrp.srm.djutyp == ''){
//
this.typ1 = true
//
this.changeFormItemRequired('brdgrp.srm.djuusr', false)
//
this.changeFormItemRequired('brdgrp.srm.djudat', false)
//
this.changeFormItemRequired('brdgrp.srm.djuref', false)
//
}
//
else{
//
this.typ1 = false
//
this.changeFormItemRequired('brdgrp.srm.djuusr', true)
//
this.changeFormItemRequired('brdgrp.srm.djudat', true)
//
this.changeFormItemRequired('brdgrp.srm.djuref', true)
//
}
//
}
//
}
}
else
if
(
this
.
model
.
brdgrp
.
srm
.
djutyp
==
''
){
this
.
typ1
=
true
this
.
changeFormItemRequired
(
'brdgrp.srm.djuusr'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djudat'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuref'
,
false
)
}
else
{
this
.
typ1
=
false
this
.
changeFormItemRequired
(
'brdgrp.srm.djuusr'
,
true
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djudat'
,
true
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuref'
,
true
)
}
}
}
//
},
},
methods
:{
},
}
</
script
>
...
...
src/business/litdla/event/buildCommons.js
View file @
6e2c38b6
export
default
{
buildPtspta
(
ptsptaObj
)
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
let
ptspta
=
{
rol
:
pts
.
rol
,
...
...
@@ -17,7 +17,7 @@ export default {
};
return
ptspta
;
},
buildCommonData
(
model
,
trnName
)
{
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
lidgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
lidgrp
.
avb
));
...
...
@@ -86,7 +86,7 @@ export default {
};
return
dataObj
},
buildSetfeg
(
model
,
trnName
)
{
buildSetfeg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaall
:
model
.
liaall
,
...
...
@@ -95,7 +95,7 @@ export default {
};
return
params
},
buildSetglg
(
model
,
trnName
)
{
buildSetglg
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setfeg
:
model
.
setmod
.
setfeg
,
...
...
@@ -104,7 +104,7 @@ export default {
};
return
params
},
buildGlentry
(
model
,
trnName
)
{
buildGlentry
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
...
...
@@ -114,20 +114,20 @@ export default {
};
return
params
},
buildEngp
(
model
,
trnName
)
{
buildEngp
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaallg
:
model
.
liaall
.
liaallg
,
};
return
params
},
buildDocpan
(
model
,
trnName
)
{
buildDocpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
};
return
params
},
buildCcvpan
(
model
,
trnName
)
{
buildCcvpan
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
liaccvg
:
model
.
liaccv
.
liaccvg
,
...
...
@@ -137,7 +137,7 @@ export default {
};
return
params
},
buildLimitbody
(
model
,
trnName
)
{
buildLimitbody
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -148,7 +148,7 @@ export default {
};
return
params
},
buildDoctre
(
model
,
trnName
)
{
buildDoctre
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
...
...
@@ -161,7 +161,7 @@ export default {
return
params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
buildSetgllAccts
(
model
,
trnName
,
setglg
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setglg
...
...
src/business/litdla/event/index.js
View file @
6e2c38b6
...
...
@@ -20,22 +20,22 @@ export default {
...
ccvpan
,
...
limitbody
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trninr
:
this
.
$route
.
query
.
trninr
,
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
)
{
params
.
spt
=
null
}
const
res
=
await
Api
.
post
(
'/service/litdla/init'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
lidgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
lidgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
}
}
});
...
...
@@ -49,7 +49,7 @@ export default {
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData
(
model
,
data
)
{
copyValueFromVoData
(
model
,
data
)
{
let
keysList
=
Object
.
keys
(
model
)
keysList
.
map
((
key
)
=>
{
if
(
data
[
key
])
{
...
...
@@ -148,7 +148,7 @@ export default {
purposChange
(
key
,
value
)
{
this
.
handleChangeForm
(
key
,
value
);
},
buildLiaccv
()
{
buildLiaccv
()
{
let
params
=
{
...
buildFn
.
buildCommonData
(
this
.
model
,
this
.
trnName
),
liaccvg
:
this
.
model
.
liaccv
.
liaccvg
,
...
...
@@ -156,11 +156,11 @@ export default {
chgamt
:
this
.
model
.
liaccv
.
chgamt
,
concur
:
this
.
model
.
liaccv
.
concur
,
};
return
params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel
(
emitParams
)
{
changeSetmodModel
(
emitParams
)
{
let
reqParams
=
{}
switch
(
emitParams
.
code
)
{
case
'processMethods'
:
...
...
@@ -170,29 +170,29 @@ export default {
case
'changeDsp'
:
let
index
=
emitParams
.
index
;
let
setglgRequest
=
buildFn
.
buildSetglg
(
this
.
model
,
this
.
trnName
);
setglgRequest
.
setglg
=
{
setgll
:
emitParams
.
list
};
setglgRequest
.
setglg
=
{
setgll
:
emitParams
.
list
};
this
.
setgllAccts
(
setglgRequest
,
index
);
break
default
:
return
}
},
onSeainf
()
{},
max2Amt
(){
onSeainf
()
{
},
max2Amt
()
{
this
.
executeDefault
(
"max2.amt"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
);
(
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
);
},
choose
(
row
){
this
.
model
.
amenbr
=
row
.
srcStr
.
split
(
'
\
t'
)[
0
]
this
.
model
.
amecur
=
row
.
srcStr
.
split
(
'
\
t'
)[
2
]
this
.
model
.
reduceamt
=
row
.
srcStr
.
split
(
'
\
t'
)[
3
]
this
.
model
.
amedat
=
row
.
srcStr
.
split
(
'
\
t'
)[
4
]
this
.
model
.
ameflg
=
'Y'
choose
(
row
)
{
this
.
model
.
amenbr
=
row
.
srcStr
.
split
(
'
\
t'
)[
0
]
this
.
model
.
amecur
=
row
.
srcStr
.
split
(
'
\
t'
)[
2
]
this
.
model
.
reduceamt
=
row
.
srcStr
.
split
(
'
\
t'
)[
3
]
this
.
model
.
amedat
=
row
.
srcStr
.
split
(
'
\
t'
)[
4
]
this
.
model
.
ameflg
=
'Y'
},
open
(
val
)
{
...
...
src/business/litdla/model/check.js
View file @
6e2c38b6
This diff is collapsed.
Click to expand it.
src/business/litdla/model/index.js
View file @
6e2c38b6
This diff is collapsed.
Click to expand it.
src/business/litopn/model/check.js
View file @
6e2c38b6
...
...
@@ -328,7 +328,7 @@ export default {
],
'lidgrp.cbs.max2.amt'
:
[
{
type
:
'string'
,
required
:
fals
e
,
message
:
'必输项'
},
{
type
:
'string'
,
required
:
tru
e
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过15位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
...
...
src/business/litopn/views/Detp.vue
View file @
6e2c38b6
...
...
@@ -323,10 +323,9 @@
label=
"远期汇票最大期限(天)"
prop=
"lidgrp.rec.tenmaxday"
:rules=
"[
{ required:flag8,pattern:/^((?!^-[1-9]\d*|0$).)*$/, message:'
必输项
'},
{ required:flag8,pattern:/^((?!^-[1-9]\d*|0$).)*$/, message:'
请输入大于0的整数
'},
{ type: 'number', message: '请输入数字' },
{ type: 'number', max: 999, message: '不能超过999' },
{ pattern: /(^-?[1-9][0-9]{0,2}$)|0/, message: '-999至999之间' },
]"
>
<c-input
...
...
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