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
92fccfb9
Commit
92fccfb9
authored
May 31, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtcan
parent
e99e62c4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
40 deletions
+29
-40
buildCommons.js
src/business/brtcan/event/buildCommons.js
+15
-31
index.js
src/business/brtcan/event/index.js
+1
-1
check.js
src/business/brtcan/model/check.js
+5
-5
index.js
src/business/brtcan/model/index.js
+2
-0
Addbcb.vue
src/business/brtcan/views/Addbcb.vue
+1
-1
Canp.vue
src/business/brtcan/views/Canp.vue
+3
-0
index.vue
src/business/brtcan/views/index.vue
+2
-2
No files found.
src/business/brtcan/event/buildCommons.js
View file @
92fccfb9
...
...
@@ -19,42 +19,26 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
// if (model.lidgrp.apl.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
// }
// if (model.lidgrp.adv.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
// }
// if (model.lidgrp.ben.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
// }
if
(
model
.
brdgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
apl
));
}
if
(
model
.
brdgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
ben
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'LID'
,
ownref
:
model
.
lidgrp
.
rec
.
ownref
,
opndat
:
model
.
lidgrp
.
rec
.
opndat
,
expdat
:
model
.
lidgrp
.
rec
.
expdat
,
branchInr
:
model
.
lidgrp
.
rec
.
branchInr
,
hndtyp
:
model
.
lidgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
lidgrp
.
rec
.
gartyp
,
fingua
:
model
.
lidgrp
.
rec
.
fingua
,
segtyp
:
model
.
lidgrp
.
ghd
.
segtyp
,
fromflg
:
model
.
lidgrp
.
rec
.
fromflg
,
othersno
:
model
.
lidgrp
.
rec
.
othersno
,
sndto
:
model
.
lidgrp
.
rec
.
sndto
,
swiftflg
:
model
.
gitp
.
swiftflg
,
giduil
:
model
.
lidgrp
.
rec
.
giduil
,
purpos
:
model
.
lidgrp
.
rec
.
purpos
,
revflg
:
model
.
lidgrp
.
rec
.
revflg
,
cnfsta
:
model
.
lidgrp
.
rec
.
cnfsta
,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
nam
:
model
.
brdgrp
.
rec
.
nam
,
rcvdat
:
model
.
brdgrp
.
rec
.
rcvdat
,
advdat
:
model
.
brdgrp
.
rec
.
advdat
,
docflg
:
model
.
brdgrp
.
rec
.
docflg
,
docsta
:
model
.
brdgrp
.
rec
.
docsta
,
matdat
:
model
.
brdgrp
.
rec
.
matdat
},
cbsMap
:
{
MAX
:
model
.
lidgrp
.
cbs
.
max
,
OPN1
:
model
.
lidgrp
.
cbs
.
opn1
,
MAC
:
model
.
lidgrp
.
cbs
.
mac
,
MAC2
:
model
.
lidgrp
.
cbs
.
mac2
,
OPC2
:
model
.
lidgrp
.
cbs
.
opc2
,
CNF
:
model
.
lidgrp
.
cbs
.
cnf
,
MAX
:
model
.
brdgrp
.
cbs
.
max
,
OPN1
:
model
.
brdgrp
.
cbs
.
opn1
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
src/business/brtcan/event/index.js
View file @
92fccfb9
...
...
@@ -69,7 +69,7 @@ export default {
let
engpRequest
=
buildFn
.
buildEngp
(
this
.
model
,
this
.
trnName
);
this
.
processLiaall
(
engpRequest
);
break
;
case
'set
pan
'
:
case
'set
mod
'
:
let
setfegRequest
=
buildFn
.
buildSetfeg
(
this
.
model
,
this
.
trnName
);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this
.
processSetpan
(
setfegRequest
,
()
=>
{
...
...
src/business/brtcan/model/check.js
View file @
92fccfb9
...
...
@@ -18,11 +18,11 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.cbs.opn1.amt"
:[
//{type: "string", required: false, message: "必输项"},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
//{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
//
"lidgrp.cbs.opn1.amt":[
//
//{type: "string", required: false, message: "必输项"},
//
{max: 18,message:"整数位不能超过14位"},
//
//{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
],
"brtp0.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
src/business/brtcan/model/index.js
View file @
92fccfb9
...
...
@@ -6,6 +6,7 @@ export default class Brtcan{
strinf
:
""
,
// Narrative .strinf
brdgrp
:{
rec
:{
inr
:
""
,
ownref
:
""
,
// 单据参考号 .brdgrp.rec.ownref
nam
:
""
,
// Name of Bill Contract .brdgrp.rec.nam
rcvdat
:
""
,
// 到单日期 .brdgrp.rec.rcvdat
...
...
@@ -38,6 +39,7 @@ export default class Brtcan{
rec
:{
ownref
:
""
,
// 参考号 .lidgrp.rec.ownref
expdat
:
""
,
// Date of Expiry .lidgrp.rec.expdat
branchinr
:
""
,
},
cbs
:{
opn1
:{
...
...
src/business/brtcan/views/Addbcb.vue
View file @
92fccfb9
<
template
>
<div
class=
"eibs"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse
v-model=
"activeNames"
>
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
...
...
src/business/brtcan/views/Canp.vue
View file @
92fccfb9
...
...
@@ -177,6 +177,9 @@ export default {
},
data
()
{
return
{
}
},
};
</
script
>
...
...
src/business/brtcan/views/index.vue
View file @
92fccfb9
...
...
@@ -51,7 +51,7 @@
import
CodeTable
from
"~/config/CodeTable"
import
Brtcan
from
"../model"
import
event
from
'../event'
import
commonFuncs
from
"~/mixin/commonFuncs"
import
operationFunc
from
"~/mixin/operationFunc"
;
import
Check
from
"../model/check"
import
Canp
from
"./Canp"
import
Ovwp
from
"./Ovwp"
...
...
@@ -78,7 +78,7 @@ export default {
root
:
this
}
},
mixins
:
[
event
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
,
operationFunc
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"ovwp"
,
...
...
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