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
69dcffff
Commit
69dcffff
authored
May 19, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtlat暂存
parent
9b005c19
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
59 deletions
+41
-59
buildCommons.js
src/business/brtlat/event/buildCommons.js
+7
-25
index.js
src/business/brtlat/event/index.js
+2
-3
check.js
src/business/brtlat/model/check.js
+7
-17
index.js
src/business/brtlat/model/index.js
+8
-0
index.vue
src/business/brtlat/views/index.vue
+17
-14
No files found.
src/business/brtlat/event/buildCommons.js
View file @
69dcffff
...
...
@@ -28,29 +28,13 @@ export default {
let
dataObj
=
{
rec
:
{
objtyp
:
'LID'
,
// ownref: model.brdgrp.rec.ownref,
// expdat: model.lidgrp.rec.expdat,
// branchInr: model.brdgrp.rec.branchInr,
// hndtyp: model.brdgrp.rec.hndtyp,
// gartyp: model.brdgrp.rec.gartyp,
// fingua: model.brdgrp.rec.fingua,
// segtyp: model.brdgrp.ghd.segtyp,
// fromflg: model.brdgrp.rec.fromflg,
// othersno: model.brdgrp.rec.othersno,
// sndto: model.brdgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
// giduil: model.brdgrp.rec.giduil,
// purpos: model.brdgrp.rec.purpos,
// revflg: model.brdgrp.rec.revflg,
// cnfsta: model.brdgrp.rec.cnfsta,
// },
// cbsMap: {
// MAX: model.brdgrp.cbs.max,
// OPN1: model.brdgrp.cbs.opn1,
// MAC: model.brdgrp.cbs.mac,
// MAC2: model.brdgrp.cbs.mac2,
// OPC2: model.brdgrp.cbs.opc2,
// CNF: model.brdgrp.cbs.cnf,
ownref
:
model
.
brdgrp
.
rec
.
ownref
,
expdat
:
model
.
lidgrp
.
rec
.
expdat
,
},
cbsMap
:
{
MAX
:
model
.
brdgrp
.
cbs
.
max
,
OPN1
:
model
.
brdgrp
.
cbs
.
opn1
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
...
...
@@ -71,8 +55,6 @@ export default {
let
params
=
{
...
this
.
buildCommonData
(
model
,
trnName
),
setfeg
:
model
.
setmod
.
setfeg
,
liaall
:
model
.
liaall
,
liaccv
:
model
.
liaccv
,
};
return
params
},
...
...
src/business/brtlat/event/index.js
View file @
69dcffff
...
...
@@ -31,8 +31,7 @@ export default {
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
lidInr
:
'00000036'
,
brdInr
:
'00000028'
});
console
.
log
(
"测试"
)
});
if
(
!
res
.
data
)
{
return
}
...
...
@@ -69,7 +68,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/brtlat/model/check.js
View file @
69dcffff
...
...
@@ -16,17 +16,12 @@ 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
:
"必输项"
},
{
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位"
}
],
"brtp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -67,10 +62,10 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"brdgrp.rec.rcvdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.rec.advdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"brdgrp.ben.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -78,19 +73,17 @@ 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
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"brdgrp.rec.tenmaxday"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
],
"brdgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -114,10 +107,7 @@ export default {
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"brdgrp.blk.aplins"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"trnmod.docimm.ascin"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
...
...
src/business/brtlat/model/index.js
View file @
69dcffff
...
...
@@ -3,6 +3,14 @@ import Pub from '~/components/business/commonModel/index.js';
export
default
class
Brtlat
{
constructor
()
{
this
.
data
=
{
// gidgrp:{
// rec:{
// branchinr
// }
// },
// gitp:{
// },
brtapll1blk
:
""
,
// XMLPanel brtapll1的内置block .brtapll1blk
brdgrp
:{
shp
:{
...
...
src/business/brtlat/views/index.vue
View file @
69dcffff
<
template
>
<div
class=
"eContainer"
>
<c-page>
<el-form
:model=
"model"
:rules=
"rules"
...
...
@@ -33,16 +32,18 @@
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<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"
@
changeSetmodModel=
"changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
...
...
@@ -73,7 +74,6 @@
:handleStash=
"handleStash"
>
</c-function-btn>
</c-page>
</div>
</
template
>
<
script
>
...
...
@@ -81,7 +81,7 @@ import CodeTable from "~/config/CodeTable";
import
Brtlat
from
"../model"
;
import
event
from
'../event'
;
import
Addbcb
from
"./Addbcb"
;
import
commonFuncs
from
"~/mixin/commonFuncs
"
;
import
operationFunc
from
"~/mixin/operationFunc
"
;
import
Check
from
"../model/check"
;
import
Brtapll1
from
"./Brtapll1"
;
import
Prtswtr
from
"./Prtswtr"
;
...
...
@@ -97,7 +97,8 @@ import Setmod from "~/components/business/setmod/views";
import
Docpan
from
"~/components/business/docpan/views"
;
import
Doctre
from
"~/components/business/doctre/views"
;
import
Limitbody
from
"~/components/business/limitbody/views"
;
import
Total
from
"./Total"
import
Total
from
"./Total"
;
import
Engp
from
"~/components/business/engp/views"
;
export
default
{
name
:
"Brtlat"
,
...
...
@@ -117,20 +118,22 @@ export default {
"m-cmnsetl1"
:
Cmnsetl1
,
"m-syswrndisplay"
:
Syswrndisplay
,
"m-limitbody"
:
Limitbody
,
"m-total"
:
Total
"m-total"
:
Total
,
"m-engp"
:
Engp
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
event
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
event
,
operationFunc
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"total"
,
trnName
:
"brtlat"
,
model
:
new
Brtlat
().
data
,
rules
:
Check
,
activeNames
:
[
"engp"
],
codes
:
{
...
CodeTable
,
},
...
...
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