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
a2a93e3d
Commit
a2a93e3d
authored
Sep 01, 2023
by
liaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botdav 修改
parent
56507d6c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
38 deletions
+41
-38
buildCommons.js
src/business/bctdav/event/buildCommons.js
+12
-12
index.js
src/business/bctdav/event/index.js
+1
-2
check.js
src/business/bctdav/model/check.js
+23
-20
index.js
src/business/bctdav/model/index.js
+5
-4
No files found.
src/business/bctdav/event/buildCommons.js
View file @
a2a93e3d
...
...
@@ -38,7 +38,7 @@ export default {
ownref
:
model
.
bcdgrp
.
rec
.
ownref
,
opndat
:
model
.
bcdgrp
.
rec
.
opndat
,
expdat
:
model
.
bcdgrp
.
rec
.
expdat
,
branch
Inr
:
model
.
bcdgrp
.
rec
.
branchi
nr
,
branch
inr
:
model
.
bcdgrp
.
rec
.
branchI
nr
,
nam
:
model
.
bcdgrp
.
rec
.
nam
,
oridre
:
model
.
bcdgrp
.
rec
.
oridre
,
},
...
...
@@ -110,23 +110,23 @@ export default {
buildLimitbody
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'BCD'
,
objinr
:
model
.
bcdgrp
.
rec
.
inr
,
ownref
:
model
.
bcdgrp
.
rec
.
ownref
,
},
//
rec: {
//
objtyp: 'BCD',
//
objinr: model.bcdgrp.rec.inr,
//
ownref: model.bcdgrp.rec.ownref,
//
},
};
return
params
},
buildDoctre
(
model
,
trnName
)
{
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'BCD'
,
objinr
:
model
.
bcdgrp
.
rec
.
inr
,
ownref
:
model
.
bcdgrp
.
rec
.
ownref
,
// swiftflg: model.gitp.swiftflg,
},
//
rec: {
//
objtyp: 'BCD',
//
objinr: model.bcdgrp.rec.inr,
//
ownref: model.bcdgrp.rec.ownref,
//
// swiftflg: model.gitp.swiftflg,
//
},
};
return
params
},
...
...
src/business/bctdav/event/index.js
View file @
a2a93e3d
...
...
@@ -107,12 +107,11 @@ export default {
// 业务信息=》基本信息=》编号-----获取编号
async
queryOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
bcdgrp
.
dr
r
.
pts
.
ptainr
,
ptainr
:
this
.
model
.
bcdgrp
.
dr
e
.
pts
.
ptainr
,
businessType
:
'IC'
,
tbl
:
'IC'
,
};
const
loading
=
this
.
loading
();
debugger
;
let
res
=
await
Api
.
post
(
'/service/bctdav/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
...
...
src/business/bctdav/model/check.js
View file @
a2a93e3d
...
...
@@ -158,18 +158,21 @@ let checkObj = {
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bcdgrp.rec.matpercnt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
"bcdgrp.srm.djutyp"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必选项"
},
],
// "bcdgrp.rec.matpercnt":[
// {type: "number", required: false, message: "必输项"},
// {type: "number",max: 999,message:"长度不能超过3"}
// ],
"bcdgrp.rmi.adrelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bcdgrp.blk.bcgdet"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
45
,
message
:
"长度不能超过45"
}
],
//
"bcdgrp.blk.bcgdet":[
//
{type: "string", required: true, message: "必输项"},
//
{max: 45,message:"长度不能超过45"}
//
],
"bcdgrp.drr.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -222,11 +225,11 @@ let checkObj = {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"setmod.docamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
//
"setmod.docamt":[
//
{type: "number", required: false, message: "必输项"},
//
{max: 18,message:"整数位不能超过14位"},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
],
"setmod.zmqacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
...
...
@@ -261,16 +264,16 @@ let checkObj = {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
//
"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.oitset.oit.inftxt":[
//
{type: "string", required: true, message: "必输项"},
//
{max: 60,message:"长度不能超过60"}
//
],
"mtabut.coninf.conexedat"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"输入正确的日期"
}
...
...
src/business/bctdav/model/index.js
View file @
a2a93e3d
...
...
@@ -33,7 +33,7 @@ export default class Bctdav{
oridre
:
""
,
// Send Original Documents to Drawee .bcdgrp.rec.oridre
doctypcod
:
""
,
// Collection Condition .bcdgrp.rec.doctypcod
matdat
:
""
,
// Maturity Date .bcdgrp.rec.matdat
matpercnt
:
""
,
// Tenor Specification .bcdgrp.rec.matpercnt
matpercnt
:
"
0
"
,
// Tenor Specification .bcdgrp.rec.matpercnt
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bcdgrp.rec.matpertyp
matperbeg
:
""
,
// Tenor Starting from .bcdgrp.rec.matperbeg
stacty
:
""
,
// Country Code Risk Country .bcdgrp.rec.stacty
...
...
@@ -47,16 +47,16 @@ export default class Bctdav{
stagod
:
""
,
// Good's Code (for Statistics) .bcdgrp.rec.stagod
proins
:
""
,
// Protest Instructions .bcdgrp.rec.proins
inr
:
""
,
branch
i
nr
:
''
,
branch
I
nr
:
''
,
},
cbs
:{
max
:{
cur
:
""
,
// Document Amount .bcdgrp.cbs.max.cur
amt
:
""
,
// Document Amount .bcdgrp.cbs.max.amt
amt
:
"
0
"
,
// Document Amount .bcdgrp.cbs.max.amt
},
opn1
:{
cur
:
""
,
// Open Amount .bcdgrp.cbs.opn1.cur
amt
:
""
,
// Open Amount .bcdgrp.cbs.opn1.amt
amt
:
"
0
"
,
// Open Amount .bcdgrp.cbs.opn1.amt
},
},
blk
:{
...
...
@@ -137,6 +137,7 @@ export default class Bctdav{
},
outlen
:{
szflg
:
""
,
// 申报类型 .outlen.szflg
acttyp
:
""
,
// 款项去向
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
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