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
578bcdf1
Commit
578bcdf1
authored
Aug 28, 2023
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtrad修改
parent
8cbea1f0
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
62 additions
and
73 deletions
+62
-73
buildCommons.js
src/business/botdcr/event/buildCommons.js
+5
-1
index.js
src/business/botdcr/event/index.js
+5
-0
check.js
src/business/botdcr/model/check.js
+0
-22
index.js
src/business/botdcr/model/index.js
+6
-0
index.vue
src/business/botdcr/views/index.vue
+17
-22
buildCommons.js
src/business/botrad/event/buildCommons.js
+4
-3
check.js
src/business/botrad/model/check.js
+7
-7
index.js
src/business/botrad/model/index.js
+10
-4
index.vue
src/business/botrad/views/index.vue
+8
-14
No files found.
src/business/botdcr/event/buildCommons.js
View file @
578bcdf1
...
@@ -31,10 +31,11 @@ export default {
...
@@ -31,10 +31,11 @@ export default {
let
dataObj
=
{
let
dataObj
=
{
rec
:
{
rec
:
{
objtyp
:
'BOD'
,
objtyp
:
'BOD'
,
objinr
:
model
.
bodgrp
.
rec
.
inr
,
ownref
:
model
.
bodgrp
.
rec
.
ownref
,
ownref
:
model
.
bodgrp
.
rec
.
ownref
,
opndat
:
model
.
bodgrp
.
rec
.
opndat
,
opndat
:
model
.
bodgrp
.
rec
.
opndat
,
expdat
:
model
.
bodgrp
.
rec
.
expdat
,
expdat
:
model
.
bodgrp
.
rec
.
expdat
,
branchInr
:
model
.
bodgrp
.
rec
.
branch
I
nr
,
branchInr
:
model
.
bodgrp
.
rec
.
branch
i
nr
,
hndtyp
:
model
.
bodgrp
.
rec
.
hndtyp
,
hndtyp
:
model
.
bodgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
bodgrp
.
rec
.
gartyp
,
gartyp
:
model
.
bodgrp
.
rec
.
gartyp
,
fingua
:
model
.
bodgrp
.
rec
.
fingua
,
fingua
:
model
.
bodgrp
.
rec
.
fingua
,
...
@@ -45,10 +46,13 @@ export default {
...
@@ -45,10 +46,13 @@ export default {
purpos
:
model
.
bodgrp
.
rec
.
purpos
,
purpos
:
model
.
bodgrp
.
rec
.
purpos
,
revflg
:
model
.
bodgrp
.
rec
.
revflg
,
revflg
:
model
.
bodgrp
.
rec
.
revflg
,
cnfsta
:
model
.
bodgrp
.
rec
.
cnfsta
,
cnfsta
:
model
.
bodgrp
.
rec
.
cnfsta
,
rejtypsel
:
model
.
rejtypsel
,
},
},
cbsMap
:
{
cbsMap
:
{
MAX
:
model
.
bodgrp
.
cbs
.
max
,
MAX
:
model
.
bodgrp
.
cbs
.
max
,
OPN1
:
model
.
bodgrp
.
cbs
.
opn1
,
OPN1
:
model
.
bodgrp
.
cbs
.
opn1
,
RSV
:
model
.
bodgrp
.
cbs
.
rsv
,
// MAC: model.bodgrp.cbs.mac,
// MAC: model.bodgrp.cbs.mac,
// MAC2: model.bodgrp.cbs.mac2,
// MAC2: model.bodgrp.cbs.mac2,
// OPC2: model.bodgrp.cbs.opc2,
// OPC2: model.bodgrp.cbs.opc2,
...
...
src/business/botdcr/event/index.js
View file @
578bcdf1
...
@@ -28,6 +28,11 @@ export default {
...
@@ -28,6 +28,11 @@ export default {
...
params
,
...
params
,
transName
:
this
.
trnName
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
bodgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
},
});
});
if
(
!
res
.
data
)
{
if
(
!
res
.
data
)
{
return
return
...
...
src/business/botdcr/model/check.js
View file @
578bcdf1
...
@@ -22,7 +22,6 @@ let checkObj = {
...
@@ -22,7 +22,6 @@ let checkObj = {
"bodgrp.blk.delins"
:
null
,
"bodgrp.blk.delins"
:
null
,
"bodgrp.drr.pts.nam"
:
null
,
"bodgrp.drr.pts.nam"
:
null
,
"bodgrp.blk.resrej"
:
null
,
"bodgrp.blk.resrej"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
"bodgrp.col.namelc"
:
null
,
"bodgrp.col.namelc"
:
null
,
"bodgrp.drr.adrelc"
:
null
,
"bodgrp.drr.adrelc"
:
null
,
"bodgrp.dre.namelc"
:
null
,
"bodgrp.dre.namelc"
:
null
,
...
@@ -35,7 +34,6 @@ let checkObj = {
...
@@ -35,7 +34,6 @@ let checkObj = {
"bodgrp.blk.othins"
:
null
,
"bodgrp.blk.othins"
:
null
,
"bodgrp.dre.pts.extkey"
:
null
,
"bodgrp.dre.pts.extkey"
:
null
,
"bodgrp.drr.pts.extkey"
:
null
,
"bodgrp.drr.pts.extkey"
:
null
,
"mtabut.clsflg"
:
null
,
"botp.recget.sdamod.dadsnd"
:[
"botp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
{
max
:
16
,
message
:
"长度不能超过16"
}
...
@@ -264,26 +262,6 @@ let checkObj = {
...
@@ -264,26 +262,6 @@ let checkObj = {
],
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"mtabut.coninf.oitset.oit.inftxt"
:[
{
type
:
"string"
,
required
:
false
,
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"
}
],
"trnmod.trndoc.advnam"
:[
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
{
max
:
50
,
message
:
"长度不能超过50"
}
...
...
src/business/botdcr/model/index.js
View file @
578bcdf1
...
@@ -10,6 +10,8 @@ export default class Botdcr {
...
@@ -10,6 +10,8 @@ export default class Botdcr {
botcoll1blk
:
""
,
botcoll1blk
:
""
,
bodgrp
:
{
bodgrp
:
{
rec
:
{
rec
:
{
inr
:
""
,
branchinr
:
""
,
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref
:
""
,
// Reference .bodgrp.rec.ownref
ownref
:
""
,
// Reference .bodgrp.rec.ownref
nam
:
""
,
// Name .bodgrp.rec.nam
nam
:
""
,
// Name .bodgrp.rec.nam
...
@@ -34,6 +36,10 @@ export default class Botdcr {
...
@@ -34,6 +36,10 @@ export default class Botdcr {
},
},
opn1
:
{
opn1
:
{
cur
:
""
,
// Warehouse/Insurance .bodgrp.cbs.opn1.cur
cur
:
""
,
// Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt
:
"0.00"
,
// Open Amount .bodgrp.cbs.opn1.amt
},
rsv
:
{
cur
:
""
,
// Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt
:
""
,
// Open Amount .bodgrp.cbs.opn1.amt
amt
:
""
,
// Open Amount .bodgrp.cbs.opn1.amt
},
},
},
},
...
...
src/business/botdcr/views/index.vue
View file @
578bcdf1
...
@@ -12,24 +12,18 @@
...
@@ -12,24 +12,18 @@
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"费用/账务"
name=
"engp,setpan,glepan"
>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<c-content>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"表外记账"
name=
"engp"
>
<!-- 表外记账 -->
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</c-content>
<el-collapse-item
title=
"结算"
name=
"setmod"
>
</el-tab-pane>
<!-- 结算 -->
<m-setmod
:model=
"model"
:codes=
"codes"
/>
<!--PD000027 -->
</el-collapse-item>
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<el-collapse-item
title=
"会计分录"
name=
"glepan"
>
<c-content>
<!-- 会计分录 -->
<m-setmod
:model=
"model"
:codes=
"codes"
/>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
...
@@ -78,13 +72,14 @@ import Inst from "./Inst"
...
@@ -78,13 +72,14 @@ import Inst from "./Inst"
import
Ptyp
from
"./Ptyp"
import
Ptyp
from
"./Ptyp"
import
Addbcb
from
"./Addbcb"
;
import
Addbcb
from
"./Addbcb"
;
import
Ovwp
from
"./Ovwp"
import
Ovwp
from
"./Ovwp"
import
Engp
from
"~/components/business/engp/views"
;
import
Setmod
from
"~/components/business/setmod/views"
;
import
Coninfp
from
"~/components/business/coninfp/views"
;
import
Docpan
from
"~/components/business/docpan/views"
;
import
Glepan
from
"~/components/business/glentry/views"
;
import
Doctre
from
"~/components/business/doctre/views"
;
import
Engp
from
"~/views/Public/Engp"
import
Setmod
from
"~/components/business/setmod/views"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Docpan
from
"~/views/Public/Docpan"
import
Glepan
from
"~/views/Public/Glepan"
import
Doctre
from
"~/views/Public/Doctre"
import
operationFunc
from
"@/mixin/operationFunc"
;
import
operationFunc
from
"@/mixin/operationFunc"
;
import
event
from
"../event"
;
import
event
from
"../event"
;
...
...
src/business/botrad/event/buildCommons.js
View file @
578bcdf1
...
@@ -20,17 +20,18 @@ export default {
...
@@ -20,17 +20,18 @@ export default {
buildCommonData
(
model
,
trnName
)
{
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
let
ptsptaList
=
[];
if
(
model
.
bodgrp
.
col
.
pts
.
extkey
)
{
if
(
model
.
bodgrp
.
col
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
ap
l
));
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
co
l
));
}
}
if
(
model
.
bodgrp
.
drr
.
pts
.
extkey
)
{
if
(
model
.
bodgrp
.
drr
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
adv
));
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
drr
));
}
}
if
(
model
.
bodgrp
.
dre
.
pts
.
extkey
)
{
if
(
model
.
bodgrp
.
dre
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
ben
));
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
dre
));
}
}
let
dataObj
=
{
let
dataObj
=
{
rec
:
{
rec
:
{
objtyp
:
'BOD'
,
objtyp
:
'BOD'
,
objinr
:
model
.
bodgrp
.
rec
.
inr
,
ownref
:
model
.
bodgrp
.
rec
.
ownref
,
ownref
:
model
.
bodgrp
.
rec
.
ownref
,
opndat
:
model
.
bodgrp
.
rec
.
opndat
,
opndat
:
model
.
bodgrp
.
rec
.
opndat
,
expdat
:
model
.
bodgrp
.
rec
.
expdat
,
expdat
:
model
.
bodgrp
.
rec
.
expdat
,
...
...
src/business/botrad/model/check.js
View file @
578bcdf1
...
@@ -236,13 +236,13 @@ let checkObj = {
...
@@ -236,13 +236,13 @@ let checkObj = {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
{
max
:
20
,
message
:
"长度不能超过20"
}
],
],
"mtabut.coninf.conexedat"
:[
//
"mtabut.coninf.conexedat":[
{
required
:
false
,
message
:
"输入正确的日期"
}
//
{ required: false, message: "输入正确的日期"}
],
//
],
"mtabut.coninf.usr.extkey"
:[
//
"mtabut.coninf.usr.extkey":[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//
{type: "string", required: false, message: "必输项"},
{
max
:
8
,
message
:
"长度不能超过8"
}
//
{max: 8,message:"长度不能超过8"}
],
//
],
"trnmod.trndoc.advnam"
:[
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
{
max
:
50
,
message
:
"长度不能超过50"
}
...
...
src/business/botrad/model/index.js
View file @
578bcdf1
...
@@ -3,12 +3,16 @@ import Pub from '~/components/business/commonModel/index.js';
...
@@ -3,12 +3,16 @@ import Pub from '~/components/business/commonModel/index.js';
export
default
class
Botacc
{
export
default
class
Botacc
{
constructor
()
{
constructor
()
{
this
.
data
=
{
botdrrl1blk
:
""
,
this
.
data
=
{
botdrrl1blk
:
""
,
botdrrl2blk
:
""
,
botdrrl2blk
:
""
,
botcoll1blk
:
""
,
botcoll1blk
:
""
,
liaall
:
new
Pub
().
data
.
Liaall
,
setmod
:
new
Pub
().
data
.
Setmod
,
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
mtabut
:
{
mtabut
:
{
clsflg
:
""
,
// Close Flag .mtabut.clsflg
clsflg
:
""
,
// Close Flag .mtabut.clsflg
...
@@ -36,6 +40,8 @@ export default class Botacc {
...
@@ -36,6 +40,8 @@ export default class Botacc {
bodgrp
:
{
bodgrp
:
{
rec
:
{
rec
:
{
inr
:
""
,
branchinr
:
""
,
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref
:
""
,
// Reference .bodgrp.rec.ownref
ownref
:
""
,
// Reference .bodgrp.rec.ownref
nam
:
""
,
// Name .bodgrp.rec.nam
nam
:
""
,
// Name .bodgrp.rec.nam
...
@@ -91,7 +97,7 @@ export default class Botacc {
...
@@ -91,7 +97,7 @@ export default class Botacc {
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
,
},
},
blk
:
{
blk
:
{
docpre
:
""
,
// bodgrp.blk.docpre
docpre
:
""
,
// bodgrp.blk.docpre
colinssnm
:
""
,
// Instructions for Second Mail .bodgrp.blk.colinssnm
colinssnm
:
""
,
// Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam
:
""
,
// Vessel Name .bodgrp.blk.vesselnam
vesselnam
:
""
,
// Vessel Name .bodgrp.blk.vesselnam
goddes
:
""
,
// Description of Goods .bodgrp.blk.goddes
goddes
:
""
,
// Description of Goods .bodgrp.blk.goddes
...
@@ -121,7 +127,7 @@ export default class Botacc {
...
@@ -121,7 +127,7 @@ export default class Botacc {
mattxtlab
:
""
,
// Label for MATTXT .botp.matp.mattxtlab
mattxtlab
:
""
,
// Label for MATTXT .botp.matp.mattxtlab
},
},
docgrdm
:
{
docgrdm
:
{
docgrd
:
""
,
docgrd
:
""
,
docdsclab
:
""
,
// Label of document description .botp.docgrdm.docdsclab
docdsclab
:
""
,
// Label of document description .botp.docgrdm.docdsclab
},
},
usr
:
{
usr
:
{
...
...
src/business/botrad/views/index.vue
View file @
578bcdf1
...
@@ -11,24 +11,18 @@
...
@@ -11,24 +11,18 @@
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"费用/账务"
name=
"engp,setpan,glepan"
>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<c-content>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"表外记账"
name=
"engp"
>
<!-- 表外记账 -->
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</c-content>
<el-collapse-item
title=
"结算"
name=
"setmod"
>
</el-tab-pane>
<!-- 结算 -->
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"会计分录"
name=
"glepan"
>
<!-- 会计分录 -->
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</c-content>
</el-tab-pane>
</el-tab-pane>
...
...
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