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
c12621ad
Commit
c12621ad
authored
Jun 21, 2023
by
WF1020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
betacc前端修改
parent
b502a3f0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
806 additions
and
568 deletions
+806
-568
index.js
src/business/betacc/event/index.js
+7
-7
check.js
src/business/betacc/model/check.js
+313
-309
index.js
src/business/betacc/model/index.js
+116
-67
Accp.vue
src/business/betacc/views/Accp.vue
+257
-85
Ovwp.vue
src/business/betacc/views/Ovwp.vue
+36
-39
index.vue
src/business/betacc/views/index.vue
+66
-60
index.js
src/business/betset/model/index.js
+8
-1
business.js
src/routers/modules/business.js
+3
-0
No files found.
src/business/betacc/event/index.js
View file @
c12621ad
...
...
@@ -106,8 +106,8 @@ export default {
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
gidgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'L
G
'
,
tbl
:
'L
G
'
,
businessType
:
'L
C
'
,
tbl
:
'L
C
'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/betacc/getOwnRef'
,
params
);
...
...
@@ -137,7 +137,7 @@ export default {
};
let
res
=
await
Api
.
post
(
'/service/ptspta/fetch'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
model
.
gi
dgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
this
.
$set
(
this
.
model
.
be
dgrp
,
row
.
role
.
toLowerCase
(),
res
.
data
);
}
},
// 业务信息=》基本信息=》支出目的
...
...
@@ -147,12 +147,12 @@ export default {
// 初始化保函开立类型码表下拉列表
async
queryHndtypCodeTableList
(
trnName
)
{
let
params
=
{
gi
tp
:
{
swiftflg
:
this
.
model
.
gi
tp
.
swiftflg
,
be
tp
:
{
swiftflg
:
this
.
model
.
be
tp
.
swiftflg
,
},
gi
dgrp
:
{
be
dgrp
:
{
rec
:
{
purpos
:
this
.
model
.
gi
dgrp
.
rec
.
purpos
,
purpos
:
this
.
model
.
be
dgrp
.
rec
.
purpos
,
},
},
transName
:
trnName
.
toUpperCase
(),
...
...
src/business/betacc/model/check.js
View file @
c12621ad
export
default
{
'liaall.misamt'
:
null
,
'liaall.limmod.limpts.oth.pts.extkey'
:
null
,
'liaall.limmod.ownref'
:
null
,
'bedgrp.apl.pts.nam'
:
null
,
'liaall.limmod.ecifno'
:
null
,
'bedgrp.prb.pts.nam'
:
null
,
'liaall.limmod.limpts.oth.pts.nam'
:
null
,
'setmod.dspflg'
:
null
,
'setmod.redamt'
:
null
,
'aamset.utlamt2'
:
null
,
'liaall.limmod.limpts.wrk.pts.nam'
:
null
,
'liaall.limmod.limpts.wrk.pts.extkey'
:
null
,
'mtabut.coninf.conexedat'
:
null
,
'liaall.limmod.limpts.nonrevflg1'
:
null
,
'setmod.docamt'
:
null
,
'betp.furide'
:
null
,
'bedgrp.iss.pts.nam'
:
null
,
'betp.ledget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'ledgrp.rec.ownref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'betp.ledget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'ledgrp.cbs.opn1.cur'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'ledgrp.cbs.opn1.amt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'betp.recget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'bedgrp.rec.ownref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'betp.recget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'bedgrp.rec.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
}
],
'bedgrp.cbs.max.amt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'bedgrp.prb.pts.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'bedgrp.cbs.opn1.cur'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'bedgrp.cbs.opn1.amt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'bedgrp.prb.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
}
],
'bedgrp.iss.pts.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'bedgrp.iss.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
}
],
'bedgrp.rec.matdat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
}
],
'bedgrp.rec.rcvdat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
}
],
'bedgrp.rec.predat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
}
],
'bedgrp.apl.pts.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'bedgrp.rec.docsta'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
}
],
'bedgrp.apl.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
}
],
'trnmod.swiadd.strinf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
35
,
message
:
'长度不能超过35'
}
],
'bedgrp.rec.disdat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
}
],
'setmod.docamt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'setmod.redamt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'aamset.utlamt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'aamset.utlamt2'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'snadat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
}
],
'setmod.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'setmod.zmqacc'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
20
,
message
:
'长度不能超过20'
}
],
'liaall.outamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.outpct'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
6
,
message
:
'长度不能超过6'
}
],
'liaall.concur'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'liaall.misamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.exttotoldamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.exttotamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'trnmod.trndoc.advnam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
50
,
message
:
'长度不能超过50'
}
],
'trnmod.trndoc.amdapl'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
50
,
message
:
'长度不能超过50'
}
],
'trnmod.trndoc.advdoc'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
1
,
message
:
'长度不能超过1'
}
],
'trnmod.trndoc.filrecv'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'trnmod.trndoc.doctrestm'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
1
,
message
:
'长度不能超过1'
}
],
'trnmod.trndoc.condocstm'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
1
,
message
:
'长度不能超过1'
}
],
'trnmod.trndoc.rcvatt.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'mtabut.coninf.oitinf.oit.inftxt'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
60
,
message
:
'长度不能超过60'
}
],
'mtabut.coninf.oitset.oit.inftxt'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
60
,
message
:
'长度不能超过60'
}
],
'mtabut.coninf.conexedat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
}
],
'mtabut.coninf.usr.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
8
,
message
:
'长度不能超过8'
}
],
'liaall.limmod.ecifno'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
22
,
message
:
'长度不能超过22'
}
],
'liaall.limmod.ownref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'liaall.limmod.limpts.wrk.pts.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'liaall.limmod.limpts.oth.pts.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
}
],
'liaall.limmod.othp.ptsget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
}
],
'liaall.limmod.comamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.limmod.limpts.wrk.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
}
],
'liaall.limmod.limpts.oth.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
}
],
'liaall.limmod.ccvamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'liaall.limmod.limpts.pfcod1'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
14
,
message
:
'长度不能超过14'
}
],
'liaall.limmod.limpts.pfcod2'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
14
,
message
:
'长度不能超过14'
}
],
import
Utils
from
'~/utils'
;
/**
* Betacc Check规则
*/
let
checkObj
=
{
'liaall.misamt'
:
null
,
'liaall.limmod.limpts.oth.pts.extkey'
:
null
,
'liaall.limmod.ownref'
:
null
,
'bedgrp.apl.pts.nam'
:
null
,
'liaall.limmod.ecifno'
:
null
,
'bedgrp.prb.pts.nam'
:
null
,
'liaall.limmod.limpts.oth.pts.nam'
:
null
,
'setmod.dspflg'
:
null
,
'setmod.redamt'
:
null
,
'aamset.utlamt2'
:
null
,
'liaall.limmod.limpts.wrk.pts.nam'
:
null
,
'liaall.limmod.limpts.wrk.pts.extkey'
:
null
,
'mtabut.coninf.conexedat'
:
null
,
'liaall.limmod.limpts.nonrevflg1'
:
null
,
'setmod.docamt'
:
null
,
'betp.furide'
:
null
,
'bedgrp.iss.pts.nam'
:
null
,
'betp.ledget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'ledgrp.rec.ownref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'betp.ledget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'ledgrp.cbs.opn1.cur'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'ledgrp.cbs.opn1.amt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'betp.recget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'bedgrp.rec.ownref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'betp.recget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'bedgrp.rec.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'bedgrp.cbs.max.amt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'bedgrp.prb.pts.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'bedgrp.cbs.opn1.cur'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'bedgrp.cbs.opn1.amt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'bedgrp.prb.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'bedgrp.iss.pts.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'bedgrp.iss.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'bedgrp.rec.matdat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'bedgrp.rec.rcvdat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'bedgrp.rec.predat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'bedgrp.apl.pts.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'bedgrp.rec.docsta'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'bedgrp.apl.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'trnmod.swiadd.strinf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
35
,
message
:
'长度不能超过35'
},
],
'bedgrp.rec.disdat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'setmod.docamt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'setmod.redamt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'aamset.utlamt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
'aamset.utlamt2'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
],
snadat
:
[{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
}],
'setmod.ref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'setmod.zmqacc'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
20
,
message
:
'长度不能超过20'
},
],
'liaall.outamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
,
},
],
'liaall.outpct'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
6
,
message
:
'长度不能超过6'
},
],
'liaall.concur'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'liaall.misamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
,
},
],
'liaall.exttotoldamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
,
},
],
'liaall.exttotamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
,
},
],
'trnmod.trndoc.advnam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
50
,
message
:
'长度不能超过50'
},
],
'trnmod.trndoc.amdapl'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
50
,
message
:
'长度不能超过50'
},
],
'trnmod.trndoc.advdoc'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
1
,
message
:
'长度不能超过1'
},
],
'trnmod.trndoc.filrecv'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'trnmod.trndoc.doctrestm'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
1
,
message
:
'长度不能超过1'
},
],
'trnmod.trndoc.condocstm'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
1
,
message
:
'长度不能超过1'
},
],
'trnmod.trndoc.rcvatt.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'mtabut.coninf.oitinf.oit.inftxt'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
60
,
message
:
'长度不能超过60'
},
],
'mtabut.coninf.oitset.oit.inftxt'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
60
,
message
:
'长度不能超过60'
},
],
'mtabut.coninf.conexedat'
:
[
{
type
:
'date'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'mtabut.coninf.usr.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
8
,
message
:
'长度不能超过8'
},
],
'liaall.limmod.ecifno'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
22
,
message
:
'长度不能超过22'
},
],
'liaall.limmod.ownref'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'liaall.limmod.limpts.wrk.pts.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'liaall.limmod.limpts.oth.pts.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'liaall.limmod.othp.ptsget.sdamod.seainf'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
3
,
message
:
'长度不能超过3'
},
],
'liaall.limmod.comamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
,
},
],
'liaall.limmod.limpts.wrk.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'liaall.limmod.limpts.oth.pts.nam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
40
,
message
:
'长度不能超过40'
},
],
'liaall.limmod.ccvamt'
:
[
{
type
:
'number'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
,
},
],
'liaall.limmod.limpts.pfcod1'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
14
,
message
:
'长度不能超过14'
},
],
'liaall.limmod.limpts.pfcod2'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
14
,
message
:
'长度不能超过14'
},
],
};
for
(
const
key
in
checkObj
)
{
if
(
Object
.
hasOwnProperty
.
call
(
checkObj
,
key
))
{
checkObj
[
key
]
=
checkObj
[
key
]
?
checkObj
[
key
]
:
Utils
.
reflectCheck
(
key
);
}
}
export
default
checkObj
;
src/business/betacc/model/index.js
View file @
c12621ad
import
Pts
from
'~/components/business/commonModel/Pts'
;
import
Pub
from
'~/components/business/commonModel/index.js'
;
export
default
class
Betacc
{
constructor
()
{
this
.
data
=
{
betp
:
{
furide
:
''
,
adaflg
:
''
,
cre752flg
:
''
},
setmod
:
{
redamt
:
''
,
doccur
:
''
,
docamt
:
''
},
ledgrp
:
{
rec
:
{
ownref
:
''
constructor
()
{
this
.
data
=
{
betp
:
{
furide
:
''
,
adaflg
:
''
,
cre752flg
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
ledgrp
:
{
rec
:
{
ownref
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
}
}
}
},
aamset
:
{
utlamt
:
''
,
utlamt2
:
''
},
mtabut
:
{
coninf
:
{
usr
:
{
extkey
:
''
}
,
aamset
:
{
utlamt
:
''
,
utlamt2
:
''
},
mtabut
:
{
coninf
:
{
usr
:
{
extkey
:
''
}
}
}
},
snadat
:
''
,
bedgrp
:
{
rec
:
{
predat
:
''
,
rcvdat
:
''
,
doctypcod
:
''
,
docsta
:
''
,
ownref
:
''
,
matdat
:
''
,
disdat
:
''
,
nam
:
''
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
snadat
:
''
,
bedgrp
:
{
ini
:
{
pts
:
new
Pts
().
data
,
},
a2b
:
{
pts
:
new
Pts
().
data
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
atb
:
{
pts
:
new
Pts
().
data
,
},
avc
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
rmb
:
{
pts
:
new
Pts
().
data
,
},
drw
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
avb
:
{
pts
:
new
Pts
().
data
,
},
cmb
:
{
pts
:
new
Pts
().
data
,
},
own
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
prb
:
{
pts
:
new
Pts
().
data
,
},
rec
:
{
predat
:
''
,
rcvdat
:
''
,
doctypcod
:
''
,
docsta
:
''
,
ownref
:
''
,
matdat
:
''
,
disdat
:
''
,
nam
:
''
},
opn2
:
{
cur
:
''
},
max
:
{
cur
:
''
,
amt
:
''
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
},
opn2
:
{
cur
:
''
},
max
:
{
cur
:
''
,
amt
:
''
}
}
},
trnmod
:
{
swiadd
:
{
strinf
:
''
}
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
}
},
trnmod
:
{
swiadd
:
{
strinf
:
''
}
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
};
}
}
}
}
\ No newline at end of file
src/business/betacc/views/Accp.vue
View file @
c12621ad
...
...
@@ -3,16 +3,29 @@
<!-- left -->
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"出口信用证编号"
prop=
"ledgrp.rec.ownref"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.ledgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入出口信用证编号"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
<el-form-item
label=
"出口信用证编号"
prop=
"ledgrp.rec.ownref"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.ledgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入出口信用证编号"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 12px"
size=
"small"
type=
"primary"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
<!-- <c-col :span="2" :offset="1" style="text-align: right">
<c-button
style="margin: 0 0"
...
...
@@ -27,19 +40,32 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"出口单据编号"
prop=
"bedgrp.rec.ownref"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.bedgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入出口单据编号"
disabled
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="2" :offset="1" style="text-align: right">
<el-form-item
label=
"出口单据编号"
prop=
"bedgrp.rec.ownref"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.bedgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入出口单据编号"
disabled
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 12px"
size=
"small"
type=
"primary"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="2" :offset="1" style="text-align: right">
<c-button
style="margin: 0 0"
size="small"
...
...
@@ -54,12 +80,26 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"单据金额"
prop=
"bedgrp.cbs.max.cur"
>
<c-fullbox>
<c-input
v-model=
"model.bedgrp.cbs.max.cur"
maxlength=
"3"
style=
"width: 50%"
placeholder=
"请输入单据金额"
disabled
></c-input>
<c-input-currency
v-model=
"model.bedgrp.cbs.max.amt"
style=
"width: 50%"
placeholder=
"请输入金额"
disabled
></c-input-currency>
<c-input
v-model=
"model.bedgrp.cbs.max.cur"
maxlength=
"3"
style=
"width: 50%"
placeholder=
"请输入单据金额"
disabled
></c-input>
<c-input-currency
v-model=
"model.bedgrp.cbs.max.amt"
style=
"width: 50%"
placeholder=
"请输入金额"
disabled
></c-input-currency>
<
template
slot=
"footer"
>
<c-checkbox
v-model=
"model.betp.adaflg"
style=
"margin-left: 10px"
disabled
>
附加金额
</c-checkbox>
<c-checkbox
v-model=
"model.betp.adaflg"
style=
"margin-left: 10px"
disabled
>
附加金额
</c-checkbox
>
</
template
>
</c-fullbox>
</el-form-item>
...
...
@@ -67,47 +107,86 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"单据余额"
prop=
"bedgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.bedgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入金额"
disabled
></c-input>
<c-input
v-model=
"model.bedgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"bedgrp.cbs.opn1.amt"
>
<c-input-currency
v-model=
"model.bedgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
<c-input-currency
v-model=
"model.bedgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bedgrp.rec.doctypcod"
>
<c-select
v-model=
"model.bedgrp.rec.doctypcod"
style=
"width: 100%"
placeholder=
"请输入单据类型"
disabled
>
<el-option
v-for=
"item in codes.doctypcod1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<c-select
v-model=
"model.bedgrp.rec.doctypcod"
style=
"width: 100%"
placeholder=
"请输入单据类型"
disabled
>
<el-option
v-for=
"item in codes.doctypcod1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"到期日"
prop=
"bedgrp.rec.matdat"
>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.matdat"
style=
"width: 100%"
placeholder=
"请选择到期日"
disabled
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.matdat"
style=
"width: 100%"
placeholder=
"请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"收到日期"
prop=
"bedgrp.rec.rcvdat"
>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.rcvdat"
style=
"width: 100%"
placeholder=
"请选择收到日期"
disabled
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.rcvdat"
style=
"width: 100%"
placeholder=
"请选择收到日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"交单日期"
prop=
"bedgrp.rec.predat"
>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.predat"
style=
"width: 100%"
placeholder=
"请选择日期"
disabled
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.predat"
style=
"width: 100%"
placeholder=
"请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据状态"
prop=
"bedgrp.rec.docsta"
>
<c-select
v-model=
"model.bedgrp.rec.docsta"
style=
"width: 100%"
placeholder=
"请选择单据状态"
disabled
:code=
"codes.docsta"
>
<c-select
v-model=
"model.bedgrp.rec.docsta"
style=
"width: 100%"
placeholder=
"请选择单据状态"
disabled
:code=
"codes.docsta"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -118,42 +197,74 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证余额"
prop=
"ledgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.ledgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入信用证余额"
disabled
></c-input>
<c-input
v-model=
"model.ledgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.opn1.amt"
>
<c-input-currency-min
v-model=
"model.ledgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency-min>
<c-input-currency-min
v-model=
"model.ledgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据简略信息"
prop=
"bedgrp.rec.nam"
>
<c-input
v-model=
"model.bedgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入简略信息"
disabled
></c-input>
<c-input
v-model=
"model.bedgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}"
:disabled=
"true"
:enRef=
"false"
:enNam=
"false"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="24">
...
...
@@ -166,21 +277,38 @@
<!-- left -->
<c-col
:span=
"12"
style=
"padding-right: 20px;"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"到期日修订说明"
prop=
"trnmod.swiadd.strinf"
>
<c-input
type=
"textarea"
v-model=
"model.trnmod.swiadd.strinf"
maxlength=
"35"
show-word-limit
placeholder=
"请输入说明"
></c-input>
<el-form-item
label=
"到期日修订说明"
prop=
"trnmod.swiadd.strinf"
>
<c-input
type=
"textarea"
v-model=
"model.trnmod.swiadd.strinf"
maxlength=
"35"
show-word-limit
placeholder=
"请输入说明"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"承兑金额"
prop=
"setmod.doccur"
>
<c-input
v-model=
"model.setmod.doccur"
maxlength=
"3"
placeholder=
"请输入承兑金额"
disabled
></c-input>
<c-input
v-model=
"model.setmod.doccur"
maxlength=
"3"
placeholder=
"请输入承兑金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"setmod.docamt"
>
<c-input-currency
v-model=
"model.setmod.docamt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
<c-input-currency
v-model=
"model.setmod.docamt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -188,12 +316,21 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"单据部分金额"
prop=
"bedgrp.cbs.opn2.cur"
>
<c-input
v-model=
"model.bedgrp.cbs.opn2.cur"
maxlength=
"3"
placeholder=
"请输入单据部分金额"
disabled
></c-input>
<c-input
v-model=
"model.bedgrp.cbs.opn2.cur"
maxlength=
"3"
placeholder=
"请输入单据部分金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"aamset.utlamt"
>
<c-input-currency
v-model=
"model.aamset.utlamt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
<c-input-currency
v-model=
"model.aamset.utlamt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -201,19 +338,33 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"附加金额"
prop=
"bedgrp.cbs.opn2.cur"
>
<c-input
v-model=
"model.bedgrp.cbs.opn2.cur"
maxlength=
"3"
placeholder=
"请输入附加金额"
disabled
></c-input>
<c-input
v-model=
"model.bedgrp.cbs.opn2.cur"
maxlength=
"3"
placeholder=
"请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"aamset.utlamt2"
>
<c-input-currency
v-model=
"model.aamset.utlamt2"
placeholder=
"请输入金额"
disabled
></c-input-currency>
<c-input-currency
v-model=
"model.aamset.utlamt2"
placeholder=
"请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"发送索偿电日期"
prop=
"snadat"
>
<c-date-picker
type=
"date"
v-model=
"model.snadat"
style=
"width: 100%"
placeholder=
"请选择发送索偿电日期"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.snadat"
style=
"width: 100%"
placeholder=
"请选择发送索偿电日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -221,57 +372,77 @@
<!-- right -->
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<c-col
:span=
"18"
>
<el-form-item
label=
"进一步识别"
prop=
"betp.furide"
>
<c-select
v-model=
"model.betp.furide"
maxlength=
"10"
style=
"width: 100%"
placeholder=
"请选择进一步识别"
:disabled=
"!cre752flg"
:code=
"codes.furide"
></c-select>
<c-select
v-model=
"model.betp.furide"
maxlength=
"10"
style=
"width: 100%"
placeholder=
"请选择进一步识别"
:disabled=
"!cre752flg"
:code=
"codes.furide"
></c-select>
</el-form-item>
</c-col>
<c-col
:span=
"6"
>
<c-checkbox
v-model=
"cre752flg"
style=
"margin-left: 10px"
>
MT 752
</c-checkbox>
<c-checkbox
v-model=
"cre752flg"
style=
"margin-left: 10px"
>
MT 752
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"通知日期"
prop=
"bedgrp.rec.disdat"
>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.disdat"
style=
"width: 100%"
placeholder=
"请选择通知日期"
disabled
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.bedgrp.rec.disdat"
style=
"width: 100%"
placeholder=
"请选择通知日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"折扣金额"
prop=
"setmod.doccur"
>
<c-input
v-model=
"model.setmod.doccur"
maxlength=
"3"
placeholder=
"请输入折扣金额"
disabled
></c-input>
<c-input
v-model=
"model.setmod.doccur"
maxlength=
"3"
placeholder=
"请输入折扣金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"setmod.redamt"
>
<c-input-currency
v-model=
"model.setmod.redamt"
placeholder=
"请输入金额"
></c-input-currency>
<c-input-currency
v-model=
"model.setmod.redamt"
placeholder=
"请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Betacc/Event"
;
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
import
event
from
'../event'
export
default
{
components
:
{
"c-ptsmsg"
:
Ptsmsg
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
return
{};
},
...
...
@@ -289,8 +460,9 @@ export default {
return
this
.
model
.
mtabut
.
coninf
.
usr
.
extkey
==
""
;
},
},
methods
:
{
...
Event
},
created
:
function
()
{
},
methods
:
{
},
created
:
function
()
{},
};
</
script
>
<
style
></
style
>
<
style
>
</
style
>
src/business/betacc/views/Ovwp.vue
View file @
c12621ad
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse-item
title=
"承兑"
name=
"accp"
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"承兑"
name=
"accp"
>
<m-accp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Accp
from
"./Accp"
import
event
from
'../event'
<m-accp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Gitcrj/Event"
;
import
Accp
from
"./Accp"
export
default
{
components
:
{
"m-accp"
:
Accp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
activeNames
:
[
"accp"
],
};
},
methods
:
{
...
Event
},
created
:
function
()
{
},
};
</
script
>
<
style
></
style
>
export
default
{
components
:{
"m-accp"
:
Accp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{
activeNames
:
[
"accp"
],
};
},
methods
:
{
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/business/betacc/views/index.vue
View file @
c12621ad
<
template
>
<div
class=
"eContainer"
>
<c-page
title=
"出口信用证单据承兑"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<!--
<c-function-btn>
<!--
<c-function-btn>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
...
...
@@ -13,40 +13,47 @@
<!--
<el-button
size=
"small"
>
制裁信息
</el-button>
<el-button
size=
"small"
>
拆分报文
</el-button>
-->
<!--
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
-->
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000033 -->
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
</c-function-btn>
-->
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000033 -->
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<!--PD000027 -->
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"set
mod
"
>
<el-tab-pane
label=
"费用/账务"
name=
"set
pan
"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
@
changeSetmodModel=
"changeSetmodModel"
/>
</c-content>
</el-tab-pane>
...
...
@@ -54,74 +61,70 @@
<!--PD000027 -->
<el-tab-pane
label=
"会计分录"
name=
"glepan"
>
<c-content>
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
<div
class=
"eibs-tab"
>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</div>
<m-glentry
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<!--PD000000 -->
<el-tab-pane
label=
"备查/附言"
name=
"coninfp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
event
from
'../event'
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Betacc
from
"~/model/Betacc"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Betacc/Check"
;
import
Default
from
"~/model/Betacc/Default"
;
import
Pattern
from
"~/model/Betacc/Pattern"
;
import
Betacc
from
"../model"
;
import
operationFunc
from
"~/mixin/operationFunc"
;
import
Accp
from
"./Accp"
;
import
Engp
from
"~/views/Public/Engp"
;
import
Doctre
from
"~/views/Public/Doctre"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Engp
from
"~/components/business/engp/views"
;
import
Doctre
from
"~/components/business/doctre/views"
;
import
Coninfp
from
"~/components/business/coninfp/views"
;
import
Docpan
from
"~/components/business/docpan/views"
;
import
Limitbody
from
"~/components/business/limitbody/views"
;
import
Glentry
from
"~/components/business/glentry/views"
;
import
Setmod
from
"~/components/business/setmod/views"
;
import
Ovwp
from
"./Ovwp"
;
export
default
{
name
:
"Betacc"
,
components
:
{
"m-accp"
:
Accp
,
"m-set
pan"
:
Setpan
,
"m-set
mod"
:
Setmod
,
"m-engp"
:
Engp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-coninfp"
:
Coninfp
,
"m-limitbody"
:
Limitbody
,
"m-glentry"
:
Glentry
,
"m-ovwp"
:
Ovwp
,
},
provide
()
{
...
...
@@ -129,21 +132,24 @@ export default {
root
:
this
,
};
},
mixins
:
[
operationFunc
,
event
],
mixins
:
[
event
,
operationFunc
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"ovwp"
,
trnName
:
"betacc"
,
model
:
new
Betacc
().
data
,
rules
:
formRules
,
rules
:
null
,
codes
:
{
...
CodeTable
,
},
activeNames
:
[
"engp"
],
};
},
methods
:
{}
methods
:
{
},
};
</
script
>
<
style
>
</
style
>
<
style
>
</
style
>
src/business/betset/model/index.js
View file @
c12621ad
...
...
@@ -241,7 +241,14 @@ export default class Betset {
}
},
bptbck
:
{
bptbckg
:
''
bptbckg
:
[
{
ownref
:
''
,
opncur
:
''
,
opnamt
:
''
,
bckamt
:
''
},
]
,
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
src/routers/modules/business.js
View file @
c12621ad
...
...
@@ -62,6 +62,8 @@ const Business = [
{
path
:
'letdrw'
,
component
:
()
=>
import
(
'~/business/letdrw/views'
),
name
:
'letdrw'
,
meta
:
{
title
:
'出口信用证单据收单'
}
},
{
path
:
'letamc'
,
component
:
()
=>
import
(
'~/business/letamc/views'
),
name
:
'letamc'
,
meta
:
{
title
:
'出口信用证通知加保兑'
}
},
{
path
:
'betdrv'
,
component
:
()
=>
import
(
'~/business/betdrv/views'
),
name
:
'betdrv'
,
meta
:
{
title
:
'出口信用证单据修改单据金额'
}
},
{
path
:
'betset'
,
component
:
()
=>
import
(
'~/business/betset/views'
),
name
:
'betset'
,
meta
:
{
title
:
'出口信用证出口收汇'
}
},
{
path
:
'betacc'
,
component
:
()
=>
import
(
'~/business/betacc/views'
),
name
:
'betacc'
,
meta
:
{
title
:
'出口信用证单据承兑'
}
},
]
export
default
Business
\ No newline at end of file
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