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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
62 additions
and
79 deletions
+62
-79
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
+21
-26
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
+0
-0
index.vue
src/business/botrad/views/index.vue
+14
-20
No files found.
src/business/botdcr/event/buildCommons.js
View file @
578bcdf1
...
...
@@ -31,10 +31,11 @@ export default {
let
dataObj
=
{
rec
:
{
objtyp
:
'BOD'
,
objinr
:
model
.
bodgrp
.
rec
.
inr
,
ownref
:
model
.
bodgrp
.
rec
.
ownref
,
opndat
:
model
.
bodgrp
.
rec
.
opndat
,
expdat
:
model
.
bodgrp
.
rec
.
expdat
,
branchInr
:
model
.
bodgrp
.
rec
.
branch
I
nr
,
branchInr
:
model
.
bodgrp
.
rec
.
branch
i
nr
,
hndtyp
:
model
.
bodgrp
.
rec
.
hndtyp
,
gartyp
:
model
.
bodgrp
.
rec
.
gartyp
,
fingua
:
model
.
bodgrp
.
rec
.
fingua
,
...
...
@@ -45,10 +46,13 @@ export default {
purpos
:
model
.
bodgrp
.
rec
.
purpos
,
revflg
:
model
.
bodgrp
.
rec
.
revflg
,
cnfsta
:
model
.
bodgrp
.
rec
.
cnfsta
,
rejtypsel
:
model
.
rejtypsel
,
},
cbsMap
:
{
MAX
:
model
.
bodgrp
.
cbs
.
max
,
OPN1
:
model
.
bodgrp
.
cbs
.
opn1
,
RSV
:
model
.
bodgrp
.
cbs
.
rsv
,
// MAC: model.bodgrp.cbs.mac,
// MAC2: model.bodgrp.cbs.mac2,
// OPC2: model.bodgrp.cbs.opc2,
...
...
src/business/botdcr/event/index.js
View file @
578bcdf1
...
...
@@ -28,6 +28,11 @@ export default {
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
bodgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
},
});
if
(
!
res
.
data
)
{
return
...
...
src/business/botdcr/model/check.js
View file @
578bcdf1
...
...
@@ -22,7 +22,6 @@ let checkObj = {
"bodgrp.blk.delins"
:
null
,
"bodgrp.drr.pts.nam"
:
null
,
"bodgrp.blk.resrej"
:
null
,
"mtabut.coninf.conexedat"
:
null
,
"bodgrp.col.namelc"
:
null
,
"bodgrp.drr.adrelc"
:
null
,
"bodgrp.dre.namelc"
:
null
,
...
...
@@ -35,7 +34,6 @@ let checkObj = {
"bodgrp.blk.othins"
:
null
,
"bodgrp.dre.pts.extkey"
:
null
,
"bodgrp.drr.pts.extkey"
:
null
,
"mtabut.clsflg"
:
null
,
"botp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -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"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
...
...
src/business/botdcr/model/index.js
View file @
578bcdf1
...
...
@@ -10,6 +10,8 @@ export default class Botdcr {
botcoll1blk
:
""
,
bodgrp
:
{
rec
:
{
inr
:
""
,
branchinr
:
""
,
matpertyp
:
""
,
// Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref
:
""
,
// Reference .bodgrp.rec.ownref
nam
:
""
,
// Name .bodgrp.rec.nam
...
...
@@ -34,6 +36,10 @@ export default class Botdcr {
},
opn1
:
{
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
},
},
...
...
src/business/botdcr/views/index.vue
View file @
578bcdf1
...
...
@@ -12,26 +12,20 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"费用/账务"
name=
"engp,setpan,glepan"
>
<c-content>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"表外记账"
name=
"engp"
>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"结算"
name=
"setmod"
>
<!-- 结算 -->
<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>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
...
...
@@ -78,13 +72,14 @@ import Inst from "./Inst"
import
Ptyp
from
"./Ptyp"
import
Addbcb
from
"./Addbcb"
;
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
event
from
"../event"
;
...
...
src/business/botrad/event/buildCommons.js
View file @
578bcdf1
...
...
@@ -20,17 +20,18 @@ export default {
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
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
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
adv
));
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
drr
));
}
if
(
model
.
bodgrp
.
dre
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
ben
));
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bodgrp
.
dre
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'BOD'
,
objinr
:
model
.
bodgrp
.
rec
.
inr
,
ownref
:
model
.
bodgrp
.
rec
.
ownref
,
opndat
:
model
.
bodgrp
.
rec
.
opndat
,
expdat
:
model
.
bodgrp
.
rec
.
expdat
,
...
...
src/business/botrad/model/check.js
View file @
578bcdf1
...
...
@@ -236,13 +236,13 @@ let checkObj = {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"mtabut.coninf.conexedat"
:[
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
//
"mtabut.coninf.conexedat":[
//
{ required: false, message: "输入正确的日期"}
//
],
//
"mtabut.coninf.usr.extkey":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 8,message:"长度不能超过8"}
//
],
"trnmod.trndoc.advnam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
...
...
src/business/botrad/model/index.js
View file @
578bcdf1
This diff is collapsed.
Click to expand it.
src/business/botrad/views/index.vue
View file @
578bcdf1
...
...
@@ -11,26 +11,20 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"费用/账务"
name=
"engp,setpan,glepan"
>
<c-content>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"表外记账"
name=
"engp"
>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"结算"
name=
"setmod"
>
<!-- 结算 -->
<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>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
...
...
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