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
5f149087
Commit
5f149087
authored
May 24, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtsnd
parent
44906d0b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
51 deletions
+28
-51
buildCommons.js
src/business/brtsnd/event/buildCommons.js
+12
-33
check.js
src/business/brtsnd/model/check.js
+12
-12
Ovwp.vue
src/business/brtsnd/views/Ovwp.vue
+1
-1
Ovwp1.vue
src/business/brtsnd/views/Ovwp1.vue
+1
-1
Payp.vue
src/business/brtsnd/views/Payp.vue
+0
-2
index.vue
src/business/brtsnd/views/index.vue
+2
-2
No files found.
src/business/brtsnd/event/buildCommons.js
View file @
5f149087
...
...
@@ -19,42 +19,23 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
// if (model.li
dgrp.apl.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.li
dgrp.apl));
//
}
// if (model.lidgrp.adv
.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.lidgrp.adv
));
//
}
// if (model.li
dgrp.ben.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.li
dgrp.ben));
//
}
if
(
model
.
br
dgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
br
dgrp
.
apl
));
}
if
(
model
.
brdgrp
.
prb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
brdgrp
.
prb
));
}
if
(
model
.
br
dgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
br
dgrp
.
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
},
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
,
...
...
@@ -118,7 +99,6 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'LID'
,
objinr
:
model
.
lidgrp
.
rec
.
objinr
,
ownref
:
model
.
lidgrp
.
rec
.
ownref
,
},
};
...
...
@@ -129,7 +109,6 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'LID'
,
objinr
:
model
.
lidgrp
.
rec
.
objinr
,
ownref
:
model
.
lidgrp
.
rec
.
ownref
,
swiftflg
:
model
.
gitp
.
swiftflg
,
},
...
...
src/business/brtsnd/model/check.js
View file @
5f149087
...
...
@@ -12,7 +12,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.rec.expdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"lidgrp.cbs.opn1.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -54,10 +54,10 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"brdgrp.rec.rcvdat"
:[
{
type
:
"date"
,
required
:
true
,
message
:
"输入正确的日期"
}
{
required
:
true
,
message
:
"输入正确的日期"
}
],
"brdgrp.rec.advdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.ben.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -65,10 +65,10 @@ export default {
],
"brdgrp.rec.matdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.rec.stadat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.ben.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -85,7 +85,7 @@ export default {
],
"brdgrp.rec.predat"
:[
{
type
:
"date"
,
required
:
true
,
message
:
"输入正确的日期"
}
{
required
:
true
,
message
:
"输入正确的日期"
}
],
"brtp.prbp.ptsget.sdamod.dadsnd"
:[
...
...
@@ -153,7 +153,7 @@ export default {
],
"brtp.prechkdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
...
...
@@ -164,10 +164,10 @@ export default {
"brdgrp.rec.totdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.rec.disdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.blk.comcon"
:[
{
type
:
"string"
,
required
:
false
},
...
...
@@ -190,10 +190,10 @@ export default {
],
"brdgrp.rec.relgoddat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.rec.expdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.blk.carnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -210,7 +210,7 @@ export default {
],
"brdgrp.rec.tradat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.blk.relstoadr"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/business/brtsnd/views/Ovwp.vue
View file @
5f149087
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"寄单"
name=
"payp"
>
<m-payp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
...
...
src/business/brtsnd/views/Ovwp1.vue
View file @
5f149087
...
...
@@ -13,7 +13,7 @@
<c-date-picker
type=
"date"
v-model=
"model.brtp.prechkdat"
style=
"width:100%"
placeholder=
"请选择预计核验日期"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</div>
</
template
>
<
script
>
import
event
from
"../event"
...
...
src/business/brtsnd/views/Payp.vue
View file @
5f149087
...
...
@@ -374,7 +374,6 @@
<c-button
size=
"small"
type=
"primary"
@
click=
"onPrbpDet"
icon=
"el-icon-info"
>
</c-button>
...
...
@@ -426,7 +425,6 @@
<c-button
size=
"small"
type=
"primary"
@
click=
"onOthpDet"
icon=
"el-icon-info"
>
</c-button>
...
...
src/business/brtsnd/views/index.vue
View file @
5f149087
...
...
@@ -76,7 +76,7 @@
<
script
>
import
CodeTable
from
"~/config/CodeTable"
import
Brtsnd
from
"../model"
import
commonFuncs
from
"~/mixin/commonFuncs
"
import
operationFunc
from
"~/mixin/operationFunc
"
import
Check
from
"../model/check"
import
event
from
'../event'
import
Payp
from
"./Payp"
...
...
@@ -121,7 +121,7 @@ export default {
root
:
this
}
},
mixins
:
[
event
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
,
operationFunc
],
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