Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Biz.Finances.V2.0
Project
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
陶然
Kivii.Biz.Finances.V2.0
Commits
03d600ee
Commit
03d600ee
authored
Sep 20, 2022
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化统计分析相关接口
parent
b8d5087d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
104 additions
and
46 deletions
+104
-46
Classic.Control.Kivii.Finances.Payment.Chart.Department.js
...lassic.Control.Kivii.Finances.Payment.Chart.Department.js
+2
-2
Classic.Control.Kivii.Finances.Payment.Chart.Month.js
...des/Classic.Control.Kivii.Finances.Payment.Chart.Month.js
+2
-2
Classic.View.Kivii.Finances.Statistic.Settlement.Group.js
...Classic.View.Kivii.Finances.Statistic.Settlement.Group.js
+0
-0
Classic.Control.Kivii.Finances.Payment.Chart.Department.js
...lassic.Control.Kivii.Finances.Payment.Chart.Department.js
+5
-5
Classic.Control.Kivii.Finances.Payment.Chart.Month.js
...det/Classic.Control.Kivii.Finances.Payment.Chart.Month.js
+6
-6
Classic.View.Kivii.Finances.Statistic.Settlement.Group.js
...Classic.View.Kivii.Finances.Statistic.Settlement.Group.js
+16
-9
Analysis.cs
Src/Entities/Analysis.cs
+20
-0
RestfulStatistic.cs
Src/Transforms/RestfulStatistic.cs
+53
-22
No files found.
Src/Content/codes/Classic.Control.Kivii.Finances.Payment.Chart.Department.js
View file @
03d600ee
//Version:0.7
0
//Version:0.7
2
eval
(
function
(
p
,
a
,
c
,
k
,
e
,
d
){
e
=
function
(
c
){
return
(
c
<
a
?
""
:
e
(
parseInt
(
c
/
a
)))
+
((
c
=
c
%
a
)
>
35
?
String
.
fromCharCode
(
c
+
29
):
c
.
toString
(
36
))};
if
(
!
''
.
replace
(
/^/
,
String
)){
while
(
c
--
)
d
[
e
(
c
)]
=
k
[
c
]
||
e
(
c
);
k
=
[
function
(
e
){
return
d
[
e
]}];
e
=
function
(){
return
'
\\
w+'
};
c
=
1
;};
while
(
c
--
)
if
(
k
[
c
])
p
=
p
.
replace
(
new
RegExp
(
'
\\
b'
+
e
(
c
)
+
'
\\
b'
,
'g'
),
k
[
c
]);
return
p
;}(
'5.2K(
\'
1I.U.J.X.Z.1H.1D
\'
,{2O:
\'
5.2d
\'
,e:
\'
1I.U.J.X.Z.1H.1D
\'
,2e:[
\'
2f.2g
\'
,
\'
2h.U.2i
\'
],2j:g,2k:[{e:
\'
2l
\'
,2m:
\'
2n
\'
,2b:
\'
2o
\'
,B:[{e:
\'
2p
\'
,3:
\'
2q
\'
,2r:{2s:
\'
2t
\'
}},
\'
->
\'
,{e:
\'
2H
\'
,2G:
\'
/1h/J.2F.1e.2E/2D.1s
\'
,w:
\'
1L
\'
,1i:
\'
1g-F 1f-F
\'
,2C:
\'
1N
\'
,2I:
\'
2B
\'
,1u:R.Q.1Q,3:R.Q.2z,S:h,n:2y,2x:g,M:{18:
\'
1P
\'
}},{e:
\'
1M
\'
,2w:
\'
2v
\'
,1j:
\'
Y-m-d
\'
,2u:2c,n:2A,w:
\'
N
\'
,S:h,3:c a(c a().1q(),c a().1r(),1),M:{18:
\'
14
\'
}},{e:
\'
1M
\'
,1j:
\'
Y-m-d
\'
,n:25,w:
\'
A
\'
,S:h,3:c a(c a().1q(),c a().1r(),c a().24()+1),M:{18:
\'
14
\'
}}]}],B:[{e:
\'
1X
\'
,w:
\'
11
\'
,2a:28,1Y:
\'
1Z
\'
,20:[
\'
21
\'
],29:{23:22},1R:{1c:[
\'
x
\'
,
\'
t
\'
,
\'
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1Q)},1P:f(1U,1O,17){2 6=K;2 l=6.C();2 4=6.P();2 8=4.N.3;2 b=4.A.3||c a();2 j=1O.12.1N;i(8===1K){5.H("1v!");9}i(8>b){5.H("1w!");9}6.I(8,b,j)},14:f(1U,38,17){2 6=K;2 l=6.C();2 4=6.P();2 8=4.N.3;2 b=4.A.3||c a();2 j=4.1L.1u;i(8===1K){5.H("1v!");9}i(8>b){5.H("1w!");9}6.I(8,b,j)},1x:f(39,G,1y){3a 3=1y.z(G);i(3>=y){9 5.o.p.q(3/y,
\'
1F
\'
)}9 5.o.p.q(3,
\'
1G
\'
)},1z:f(1b,19,1B){1b.3b(19.1A(
\'
x
\'
)+
\'
:
\'
+5.o.p.q(19.1A(1B.1C),
\'
0,1t (3c)
\'
))},1E:f(3){i(3>=y){9 5.o.p.q(3/y,
\'
1F
\'
)}9 5.o.p.q(3,
\'
1G
\'
)},3d:f(v){9 5.o.p.q(v,
\'
0,1t
\'
)}}});'
,
62
,
228
,
'||let|value|_220
6071539350|Ext|_2206071539351||_2206071539352|return|Date|_2206071539353|new||xtype|function|true|false|if|_2206071539354|_2206071539356|_2206071539355||width|util|Format|number|AmountUsed|AmountInvoice|Amount|_2206071539357||reference|Summary|10000|renderer|endTime|items|getView|_2206071539359|text|100|label|toast|_2206071539358|Kivii|this|Results|listeners|beginTime|dataIndex|getReferences|CurrentMember|KiviiContext|editable|_22060715393510|Control|_22060715393511|type|Finances||Payment||chart|data|getStore|_22060715393512|align|120|_22060715393513|select|record|right|tooltip|fields|grid|Entities|small|big|Restful|responsiveCls|format|title|已认领金额|removeAll|已分摊金额|已开票金额|detail|getFullYear|getMonth|json|000|key|请选择开始时间|开始日期不能大于结束日期|onAxisLabelRender|layoutContext|onTooltipRender|get|item|field|Department|onSeriesLabelRender|0万|0元|Chart|App|bottom|null|depart|datefield|Kvid|_22060715393516|_22060715393514|DepartmentKvid|store|_22060715393515|position|_22060715393517|add|legend|cartesian|theme|Muted|interactions|itemhighlight|200|duration|getDate|130|axes|docked|400|animation|height|overflowHandler|60|Panel|requires|Package|charts|System|ComboSelector|autoScroll|dockedItems|toolbar|dock|top|scroller|displayfield|部门到账统计|fieldStyle|fontSize|22px|labelWidth|时间范围|fieldLabel|allowBlank|300|DepartmentName|220|FullName|keyField|Query|Organization|Organizations|dataSource|comboSelector|valueField|numeric3d|define|category3d|230|flex|extend|boxready|controller|Ajax|request|url|SplitAnalysis|params|OwnerKvid|Type|Depart|left|BeginTime|success|decode|responseText|for|length|failure|_22060715393518|_220607153935
19|axis|var|setHtml|元|onGridColumnRender|EndTime|部门|minWidth|sortable|rotate|degrees|series|bar3d|stacked|xField|yField|display|insideEnd|highlight|style|rownumberer|trackMouse|inGroupGapWidth|pageSize|数据详情|collapsible|collapsed|menuDisabled|scrollable|fieldset|autoLoad|columns|defaults'
.
split
(
'|'
),
0
,{}))
eval
(
function
(
p
,
a
,
c
,
k
,
e
,
d
){
e
=
function
(
c
){
return
(
c
<
a
?
""
:
e
(
parseInt
(
c
/
a
)))
+
((
c
=
c
%
a
)
>
35
?
String
.
fromCharCode
(
c
+
29
):
c
.
toString
(
36
))};
if
(
!
''
.
replace
(
/^/
,
String
)){
while
(
c
--
)
d
[
e
(
c
)]
=
k
[
c
]
||
e
(
c
);
k
=
[
function
(
e
){
return
d
[
e
]}];
e
=
function
(){
return
'
\\
w+'
};
c
=
1
;};
while
(
c
--
)
if
(
k
[
c
])
p
=
p
.
replace
(
new
RegExp
(
'
\\
b'
+
e
(
c
)
+
'
\\
b'
,
'g'
),
k
[
c
]);
return
p
;}(
'5.2K(
\'
1I.U.J.X.Z.1H.1D
\'
,{2O:
\'
5.2d
\'
,e:
\'
1I.U.J.X.Z.1H.1D
\'
,2e:[
\'
2f.2g
\'
,
\'
2h.U.2i
\'
],2j:g,2k:[{e:
\'
2l
\'
,2m:
\'
2n
\'
,2b:
\'
2o
\'
,B:[{e:
\'
2p
\'
,3:
\'
2q
\'
,2r:{2s:
\'
2t
\'
}},
\'
->
\'
,{e:
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\'
,3g:2M,2N:1},{O:
\'
t
\'
,E:
\'
1l
\'
,n:16,15:
\'
1a
\'
},{O:
\'
r
\'
,E:
\'
1n
\'
,n:16,15:
\'
1a
\'
},{O:
\'
s
\'
,E:
\'
1o
\'
,n:16,15:
\'
1a
\'
}]}}]}],M:{2P:
\'
1S
\'
},2Q:{I:f(8,b,j){2 6=K;2 l=6.C();2 4=l.P();2 D=4.11.13();D.1m();2 V=4.1p.13();V.1m();5.2R.2S({2T:
\'
/1h/J.X.1e.Z/2U.1s
\'
,2V:{2W:j,2X:
\'
2Y
\'
,30:8,3e:b},31:f(T){2 k=5.32(T.33);i(!k||!k.L)9;34(2 u=0;u<k.L.35;u++){D.1V(k.L[u]);V.1V(k.L[u])}},36:f(T){}})},1S:f(37,17){2 6=K;2 l=6.C();2 4=l.P();2 D=4.11.13();2 8=4.N.3;2 b=4.A.3||c a();6.I(8,b,R.Q.1Q)},1P:f(1U,1O,17){2 6=K;2 l=6.C();2 4=6.P();2 8=4.N.3;2 b=4.A.3||c a();2 j=1O.12.1N;i(8===1K){5.H("1v!");9}i(8>b){5.H("1w!");9}6.I(8,b,j)},14:f(1U,38,17){2 6=K;2 l=6.C();2 4=6.P();2 8=4.N.3;2 b=4.A.3||c a();2 j=4.1L.1u;i(8===1K){5.H("1v!");9}i(8>b){5.H("1w!");9}6.I(8,b,j)},1x:f(39,G,1y){3a 3=1y.z(G);i(3>=y){9 5.o.p.q(3/y,
\'
1F
\'
)}9 5.o.p.q(3,
\'
1G
\'
)},1z:f(1b,19,1B){1b.3b(19.1A(
\'
x
\'
)+
\'
:
\'
+5.o.p.q(19.1A(1B.1C),
\'
0,1t (3c)
\'
))},1E:f(3){i(3>=y){9 5.o.p.q(3/y,
\'
1F
\'
)}9 5.o.p.q(3,
\'
1G
\'
)},3d:f(v){9 5.o.p.q(v,
\'
0,1t
\'
)}}});'
,
62
,
228
,
'||let|value|_220
9201503570|Ext|_2209201503571||_2209201503572|return|Date|_2209201503573|new||xtype|function|true|false|if|_2209201503574|_2209201503576|_2209201503575||width|util|Format|number|AmountUsed|AmountInvoice|AmountSplit|_2209201503577||reference|Summary|10000|renderer|endTime|items|getView|_2209201503579|text|100|label|toast|_2209201503578|Kivii|this|Results|listeners|beginTime|dataIndex|getReferences|CurrentMember|KiviiContext|editable|_22092015035710|Control|_22092015035711|type|Finances||Payment||chart|data|getStore|_22092015035712|align|120|_22092015035713|select|record|right|tooltip|fields|grid|Entities|small|big|Restful|responsiveCls|format|title|已认领金额|removeAll|已分摊金额|已开票金额|detail|getFullYear|getMonth|json|000|key|请选择开始时间|开始日期不能大于结束日期|onAxisLabelRender|layoutContext|onTooltipRender|get|item|field|Department|onSeriesLabelRender|0万|0元|Chart|App|bottom|null|depart|datefield|Kvid|_22092015035716|_22092015035714|DepartmentKvid|store|_22092015035715|position|_22092015035717|add|legend|cartesian|theme|Muted|interactions|itemhighlight|200|duration|getDate|130|axes|docked|400|animation|height|overflowHandler|60|Panel|requires|Package|charts|System|ComboSelector|autoScroll|dockedItems|toolbar|dock|top|scroller|displayfield|部门到账统计|fieldStyle|fontSize|22px|labelWidth|时间范围|fieldLabel|allowBlank|300|DepartmentName|220|FullName|keyField|Query|Organization|Organizations|dataSource|comboSelector|valueField|numeric3d|define|category3d|230|flex|extend|boxready|controller|Ajax|request|url|SplitAnalysis|params|OwnerKvid|Type|Depart|left|BeginTime|success|decode|responseText|for|length|failure|_22092015035718|_220920150357
19|axis|var|setHtml|元|onGridColumnRender|EndTime|部门|minWidth|sortable|rotate|degrees|series|bar3d|stacked|xField|yField|display|insideEnd|highlight|style|rownumberer|trackMouse|inGroupGapWidth|pageSize|数据详情|collapsible|collapsed|menuDisabled|scrollable|fieldset|autoLoad|columns|defaults'
.
split
(
'|'
),
0
,{}))
Src/Content/codes/Classic.Control.Kivii.Finances.Payment.Chart.Month.js
View file @
03d600ee
//Version:0.
49
//Version:0.
50
eval
(
function
(
p
,
a
,
c
,
k
,
e
,
d
){
e
=
function
(
c
){
return
(
c
<
a
?
""
:
e
(
parseInt
(
c
/
a
)))
+
((
c
=
c
%
a
)
>
35
?
String
.
fromCharCode
(
c
+
29
):
c
.
toString
(
36
))};
if
(
!
''
.
replace
(
/^/
,
String
)){
while
(
c
--
)
d
[
e
(
c
)]
=
k
[
c
]
||
e
(
c
);
k
=
[
function
(
e
){
return
d
[
e
]}];
e
=
function
(){
return
'
\\
w+'
};
c
=
1
;};
while
(
c
--
)
if
(
k
[
c
])
p
=
p
.
replace
(
new
RegExp
(
'
\\
b'
+
e
(
c
)
+
'
\\
b'
,
'g'
),
k
[
c
]);
return
p
;}(
'6.3E(
\'
1l.12.K.14.U.1m.R
\'
,{2Z:
\'
6.2l
\'
,e:
\'
1l.12.K.14.U.1m.R
\'
,2m:[
\'
2n.2o
\'
,
\'
2p.12.2r
\'
],2s:h,2t:[{e:
\'
2u
\'
,2v:
\'
2w
\'
,2x:
\'
2y
\'
,H:[{e:
\'
2z
\'
,3:
\'
2A
\'
,2B:{2C:
\'
2D
\'
}},
\'
->
\'
,{e:
\'
2E
\'
,2F:
\'
/1f/K.2G.1h.2H/2I.1A
\'
,y:
\'
1L
\'
,1u:
\'
1v-J 1w-J
\'
,2J:
\'
1G
\'
,2j:
\'
2K
\'
,1M:S.T.1J,3:S.T.2L,16:l,o:2k,2M:h,P:{18:
\'
1D
\'
}},{e:
\'
1n
\'
,1Z:
\'
21
\'
,1o:
\'
Y-m-d
\'
,24:2h,o:27,y:
\'
C
\'
,16:l,3:c g(c g().1p(),c g().1q(),1),P:{18:
\'
Z
\'
}},{e:
\'
1n
\'
,1o:
\'
Y-m-d
\'
,o:29,y:
\'
D
\'
,16:l,3:c g(c g().1p(),c g().1q(),c g().1Y()+1),P:{18:
\'
Z
\'
}}]}],H:[{e:
\'
2g
\'
,y:
\'
L
\'
,2f:2e,2d:[
\'
2c
\'
],2a:{28:26},1x:{1d:[
\'
z
\'
,
\'
j
\'
,
\'
i
\'
,
\'
k
\'
],W:[]},25:{23:
\'
1z
\'
},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();2 8=4.C.3;2 f=4.D.3||c g();2 t=1C.W.1G;n(8===1N){6.F("1E!");b}n(8>f){6.F("1T!");b}5.E(8,f,t)},Z:9(1H,2T,13){2 5=x;2 a=5.w();2 4=5.u();2 8=4.C.3;2 f=4.D.3||c g();2 t=4.1L.1M;n(8===1N){6.F("1E!");b}n(8>f){6.F("1T!");b}5.E(8,f,t)},3j:9(){2 5=x;2 a=5.w();2 4=a.u();2 1Q=4.L;1Q.3y([a.17(
\'
j
\'
,
\'
j
\'
),a.17(
\'
i
\'
,
\'
i
\'
),a.17(
\'
k
\'
,
\'
k
\'
)])},1P:9(3z,M,1W){3F 3=1W.N(M);n(3>=A){b 6.s.q.p(3/A,
\'
1K
\'
)}b 6.s.q.p(3,
\'
1R
\'
)},1V:9(1c,1a,1X){1c.2P(1a.1O(
\'
z
\'
)+
\'
:
\'
+6.s.q.p(1a.1O(1X.1F),
\'
0,1B (2b)
\'
))},1I:9(3){n(3>=A){b 6.s.q.p(3/A,
\'
1K
\'
)}b 6.s.q.p(3,
\'
1R
\'
)},2q:9(v){b 6.s.q.p(v,
\'
0,1B
\'
)}}});'
,
62
,
229
,
'||let|value|_220
6071540060|_2206071540061|Ext||_2206071540062|function|_2206071540063|return|new||xtype|_2206071540064|Date|true|AmountUsed|Amount|AmountInvoice|false||if|width|number|Format|_2206071540066|util|_2206071540065|getReferences||getView|this|reference|Summary|10000|_2206071540067|beginTime|endTime|_2206071540068|toast|text|items|dataIndex|100|Kivii|chart|label|renderer|_2206071540069|listeners|Results|Month|KiviiContext|CurrentMember|Payment|120|data|align||_22060715400611||_22060715400610|Control|_22060715400613|Finances|getStore|editable|getSeriesConfig|select|right|record|_22060715400612|tooltip|fields|type|Restful|detail|Entities|removeAll|grid|已分摊金额|App|Chart|datefield|format|getFullYear|getMonth|已开票金额|position|title|responsiveCls|big|small|store|已认领金额|bottom|json|000|_22060715400614|_22060715400615|请选择开始时间|field|Kvid|_22060715400618|onSeriesLabelRender|DepartmentKvid|0万|depart|key|null|get|onAxisLabelRender|_22060715400617|0元|_22060715400616|开始日期不能大于结束日期|add|onTooltipRender|layoutContext|item|getDate|fieldLabel|numeric3d|时间范围|axes|docked|labelWidth|legend|200|220|duration|130|animation|元|itemhighlight|interactions|400|height|cartesian|60|params|valueField|300|Panel|requires|Package|charts|System|onGridColumnRender|ComboSelector|autoScroll|dockedItems|toolbar|dock|top|overflowHandler|scroller|displayfield|到账月度统计|fieldStyle|fontSize|22px|comboSelector|dataSource|Organizations|Organization|Query|keyField|FullName|DepartmentName|allowBlank|left|degrees|setHtml|defaults|menuDisabled|sortable|_22060715400621|rownumberer|月份|minWidth|230|flex|extend|_22060715400619|failure|category3d|boxready|length|for|Ajax|request|url|responseText|decode|success|EndTime|BeginTime|SplitAnalysis|Type|controller|autoLoad|columns|_220607154006
20|rotate|OwnerKvid|series|bar3d|stacked|xField|yField|display|insideEnd|highlight|style|pageSize|inGroupGapWidth|collapsible|setSeries|axis|scrollable|collapsed|trackMouse|数据详情|define|var|fieldset'
.
split
(
'|'
),
0
,{}))
eval
(
function
(
p
,
a
,
c
,
k
,
e
,
d
){
e
=
function
(
c
){
return
(
c
<
a
?
""
:
e
(
parseInt
(
c
/
a
)))
+
((
c
=
c
%
a
)
>
35
?
String
.
fromCharCode
(
c
+
29
):
c
.
toString
(
36
))};
if
(
!
''
.
replace
(
/^/
,
String
)){
while
(
c
--
)
d
[
e
(
c
)]
=
k
[
c
]
||
e
(
c
);
k
=
[
function
(
e
){
return
d
[
e
]}];
e
=
function
(){
return
'
\\
w+'
};
c
=
1
;};
while
(
c
--
)
if
(
k
[
c
])
p
=
p
.
replace
(
new
RegExp
(
'
\\
b'
+
e
(
c
)
+
'
\\
b'
,
'g'
),
k
[
c
]);
return
p
;}(
'6.3E(
\'
1l.12.K.14.U.1m.R
\'
,{2Z:
\'
6.2l
\'
,e:
\'
1l.12.K.14.U.1m.R
\'
,2m:[
\'
2n.2o
\'
,
\'
2p.12.2r
\'
],2s:h,2t:[{e:
\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
\'
1g
\'
,1x:{3v:A,W:[],3h:l},3i:{2Q:{2R:h,2S:l},H:[{e:
\'
2U
\'
},{I:
\'
z
\'
,G:
\'
2V
\'
,2W:2X,2Y:1},{I:
\'
j
\'
,G:
\'
1y
\'
,o:V,X:
\'
19
\'
},{I:
\'
i
\'
,G:
\'
1k
\'
,o:V,X:
\'
19
\'
},{I:
\'
k
\'
,G:
\'
1r
\'
,o:V,X:
\'
19
\'
}]}}]}],P:{33:
\'
1S
\'
},3g:{E:9(8,f,t){2 5=x;2 a=5.w();2 4=a.u();2 O=4.L.15();O.1i();2 1b=4.1g.15();1b.1i();6.36.37({38:
\'
/1f/K.14.1h.U/3e.1A
\'
,2i:{3l:t,3f:
\'
R
\'
,3d:8,3c:f},3b:9(11){2 r=6.3a(11.39);n(!r||!r.Q)b;35(2 B=0;B<r.Q.34;B++){O.1U(r.Q[B]);1b.1U(r.Q[B])}},31:9(11){}})},1S:9(30,13){2 5=x;2 a=5.w();2 4=a.u();2 O=4.L.15();2 8=4.C.3;2 f=4.D.3||c g();5.E(8,f,S.T.1J)},1D:9(1H,1C,13){2 5=x;2 a=5.w();2 4=5.u();2 8=4.C.3;2 f=4.D.3||c g();2 t=1C.W.1G;n(8===1N){6.F("1E!");b}n(8>f){6.F("1T!");b}5.E(8,f,t)},Z:9(1H,2T,13){2 5=x;2 a=5.w();2 4=5.u();2 8=4.C.3;2 f=4.D.3||c g();2 t=4.1L.1M;n(8===1N){6.F("1E!");b}n(8>f){6.F("1T!");b}5.E(8,f,t)},3j:9(){2 5=x;2 a=5.w();2 4=a.u();2 1Q=4.L;1Q.3y([a.17(
\'
j
\'
,
\'
j
\'
),a.17(
\'
i
\'
,
\'
i
\'
),a.17(
\'
k
\'
,
\'
k
\'
)])},1P:9(3z,M,1W){3F 3=1W.N(M);n(3>=A){b 6.s.q.p(3/A,
\'
1K
\'
)}b 6.s.q.p(3,
\'
1R
\'
)},1V:9(1c,1a,1X){1c.2P(1a.1O(
\'
z
\'
)+
\'
:
\'
+6.s.q.p(1a.1O(1X.1F),
\'
0,1B (2b)
\'
))},1I:9(3){n(3>=A){b 6.s.q.p(3/A,
\'
1K
\'
)}b 6.s.q.p(3,
\'
1R
\'
)},2q:9(v){b 6.s.q.p(v,
\'
0,1B
\'
)}}});'
,
62
,
229
,
'||let|value|_220
9201504430|_2209201504431|Ext||_2209201504432|function|_2209201504433|return|new||xtype|_2209201504434|Date|true|AmountUsed|AmountSplit|AmountInvoice|false||if|width|number|Format|_2209201504436|util|_2209201504435|getReferences||getView|this|reference|Summary|10000|_2209201504437|beginTime|endTime|_2209201504438|toast|text|items|dataIndex|100|Kivii|chart|label|renderer|_2209201504439|listeners|Results|Month|KiviiContext|CurrentMember|Payment|120|data|align||_22092015044311||_22092015044310|Control|_22092015044313|Finances|getStore|editable|getSeriesConfig|select|right|record|_22092015044312|tooltip|fields|type|Restful|detail|Entities|removeAll|grid|已分摊金额|App|Chart|datefield|format|getFullYear|getMonth|已开票金额|position|title|responsiveCls|big|small|store|已认领金额|bottom|json|000|_22092015044314|_22092015044315|请选择开始时间|field|Kvid|_22092015044318|onSeriesLabelRender|DepartmentKvid|0万|depart|key|null|get|onAxisLabelRender|_22092015044317|0元|_22092015044316|开始日期不能大于结束日期|add|onTooltipRender|layoutContext|item|getDate|fieldLabel|numeric3d|时间范围|axes|docked|labelWidth|legend|200|220|duration|130|animation|元|itemhighlight|interactions|400|height|cartesian|60|params|valueField|300|Panel|requires|Package|charts|System|onGridColumnRender|ComboSelector|autoScroll|dockedItems|toolbar|dock|top|overflowHandler|scroller|displayfield|到账月度统计|fieldStyle|fontSize|22px|comboSelector|dataSource|Organizations|Organization|Query|keyField|FullName|DepartmentName|allowBlank|left|degrees|setHtml|defaults|menuDisabled|sortable|_22092015044321|rownumberer|月份|minWidth|230|flex|extend|_22092015044319|failure|category3d|boxready|length|for|Ajax|request|url|responseText|decode|success|EndTime|BeginTime|SplitAnalysis|Type|controller|autoLoad|columns|_220920150443
20|rotate|OwnerKvid|series|bar3d|stacked|xField|yField|display|insideEnd|highlight|style|pageSize|inGroupGapWidth|collapsible|setSeries|axis|scrollable|collapsed|trackMouse|数据详情|define|var|fieldset'
.
split
(
'|'
),
0
,{}))
Src/Content/codes/Classic.View.Kivii.Finances.Statistic.Settlement.Group.js
View file @
03d600ee
This diff is collapsed.
Click to expand it.
Src/Content/codet/Classic.Control.Kivii.Finances.Payment.Chart.Department.js
View file @
03d600ee
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
duration
:
200
duration
:
200
},
},
store
:
{
store
:
{
fields
:
[
'Summary'
,
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
fields
:
[
'Summary'
,
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
data
:
[]
data
:
[]
// data: [{
// data: [{
// Summary: '食品中心',
// Summary: '食品中心',
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
axes
:
[{
axes
:
[{
type
:
'numeric3d'
,
type
:
'numeric3d'
,
position
:
'left'
,
position
:
'left'
,
fields
:
[
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
fields
:
[
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
grid
:
true
,
grid
:
true
,
// title: 'Sales in USD',
// title: 'Sales in USD',
renderer
:
'onAxisLabelRender'
renderer
:
'onAxisLabelRender'
...
@@ -157,9 +157,9 @@
...
@@ -157,9 +157,9 @@
stacked
:
false
,
stacked
:
false
,
title
:
[
'已认领金额'
,
'已分摊金额'
,
'已开票金额'
],
title
:
[
'已认领金额'
,
'已分摊金额'
,
'已开票金额'
],
xField
:
'Summary'
,
xField
:
'Summary'
,
yField
:
[
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
yField
:
[
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
label
:
{
label
:
{
field
:
[
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
field
:
[
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
display
:
'insideEnd'
,
display
:
'insideEnd'
,
renderer
:
'onSeriesLabelRender'
renderer
:
'onSeriesLabelRender'
},
},
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
flex
:
1
flex
:
1
},
},
{
{
dataIndex
:
'Amount'
,
dataIndex
:
'Amount
Split
'
,
text
:
'已认领金额'
,
text
:
'已认领金额'
,
width
:
120
,
width
:
120
,
align
:
'right'
align
:
'right'
...
...
Src/Content/codet/Classic.Control.Kivii.Finances.Payment.Chart.Month.js
View file @
03d600ee
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
duration
:
200
duration
:
200
},
},
store
:
{
store
:
{
fields
:
[
'Summary'
,
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
fields
:
[
'Summary'
,
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
data
:
[]
data
:
[]
// data: [{
// data: [{
// Summary: '2022-01',
// Summary: '2022-01',
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
axes
:
[{
axes
:
[{
type
:
'numeric3d'
,
type
:
'numeric3d'
,
position
:
'left'
,
position
:
'left'
,
fields
:
[
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
fields
:
[
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
grid
:
true
,
grid
:
true
,
renderer
:
'onAxisLabelRender'
renderer
:
'onAxisLabelRender'
},
{
},
{
...
@@ -141,9 +141,9 @@
...
@@ -141,9 +141,9 @@
stacked
:
false
,
stacked
:
false
,
title
:
[
'已认领金额'
,
'已分摊金额'
,
'已开票金额'
],
title
:
[
'已认领金额'
,
'已分摊金额'
,
'已开票金额'
],
xField
:
'Summary'
,
xField
:
'Summary'
,
yField
:
[
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
yField
:
[
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
label
:
{
label
:
{
field
:
[
'Amount'
,
'AmountUsed'
,
'AmountInvoice'
],
field
:
[
'Amount
Split
'
,
'AmountUsed'
,
'AmountInvoice'
],
display
:
'insideEnd'
,
display
:
'insideEnd'
,
renderer
:
'onSeriesLabelRender'
renderer
:
'onSeriesLabelRender'
},
},
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
flex
:
1
flex
:
1
},
},
{
{
dataIndex
:
'Amount'
,
dataIndex
:
'Amount
Split
'
,
text
:
'已认领金额'
,
text
:
'已认领金额'
,
width
:
120
,
width
:
120
,
align
:
'right'
align
:
'right'
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
let
_chart
=
_refs
.
chart
;
let
_chart
=
_refs
.
chart
;
_chart
.
setSeries
([
_chart
.
setSeries
([
_view
.
getSeriesConfig
(
'Amount
'
,
'Amoun
t'
),
_view
.
getSeriesConfig
(
'Amount
Split'
,
'AmountSpli
t'
),
_view
.
getSeriesConfig
(
'AmountUsed'
,
'AmountUsed'
),
_view
.
getSeriesConfig
(
'AmountUsed'
,
'AmountUsed'
),
_view
.
getSeriesConfig
(
'AmountInvoice'
,
'AmountInvoice'
)
_view
.
getSeriesConfig
(
'AmountInvoice'
,
'AmountInvoice'
)
]);
]);
...
...
Src/Content/codet/Classic.View.Kivii.Finances.Statistic.Settlement.Group.js
View file @
03d600ee
...
@@ -158,25 +158,32 @@ Ext.define('App.View.Kivii.Finances.Statistic.Settlement.Group', {
...
@@ -158,25 +158,32 @@ Ext.define('App.View.Kivii.Finances.Statistic.Settlement.Group', {
minWidth
:
200
,
minWidth
:
200
,
flex
:
1
flex
:
1
},
{
},
{
dataIndex
:
'
Status
'
,
dataIndex
:
'
Quantity
'
,
text
:
'结算数量'
,
text
:
'结算数量'
,
width
:
2
00
width
:
1
00
},
{
},
{
dataIndex
:
'Amount'
,
dataIndex
:
'Amount'
,
align
:
'right'
,
align
:
'right'
,
text
:
'结算金额'
,
text
:
'结算金额'
,
width
:
200
width
:
150
},
{
dataIndex
:
'QuantityPayment'
,
text
:
'收款数量'
,
width
:
100
},
{
},
{
dataIndex
:
'AmountPayment'
,
dataIndex
:
'AmountPayment'
,
align
:
'right'
,
align
:
'right'
,
text
:
'已收款'
,
text
:
'已收款
金额
'
,
width
:
20
0
width
:
15
0
},
{
},
{
dataIndex
:
'Amount'
,
dataIndex
:
'QuantityUnpaid'
,
text
:
'未收数量'
,
width
:
100
},
{
dataIndex
:
'AmountUnpaid'
,
align
:
'right'
,
align
:
'right'
,
text
:
'未收款'
,
text
:
'未收款金额'
,
width
:
200
,
width
:
150
renderer
:
'_renderAmount'
// summaryType: 'sum',
// summaryType: 'sum',
// summaryRenderer: function(value, summaryData, dataIndex) {
// summaryRenderer: function(value, summaryData, dataIndex) {
// return Ext.String.format('¥{0}', value.toFixed(2));
// return Ext.String.format('¥{0}', value.toFixed(2));
...
...
Src/Entities/Analysis.cs
View file @
03d600ee
...
@@ -9,6 +9,8 @@ namespace Kivii.Finances.Entities
...
@@ -9,6 +9,8 @@ namespace Kivii.Finances.Entities
[
Api
(
Description
=
"分析"
)]
[
Api
(
Description
=
"分析"
)]
public
class
Analysis
public
class
Analysis
{
{
public
decimal
AmountPlan
{
get
;
set
;
}
public
decimal
Amount
{
get
;
set
;
}
public
decimal
Amount
{
get
;
set
;
}
public
decimal
AmountSettlement
{
get
;
set
;
}
public
decimal
AmountSettlement
{
get
;
set
;
}
...
@@ -17,10 +19,20 @@ namespace Kivii.Finances.Entities
...
@@ -17,10 +19,20 @@ namespace Kivii.Finances.Entities
public
decimal
AmountPayment
{
get
;
set
;
}
public
decimal
AmountPayment
{
get
;
set
;
}
public
decimal
AmountSplit
{
get
;
set
;
}
public
decimal
AmountRefund
{
get
;
set
;
}
public
decimal
AmountUnBiz
{
get
;
set
;
}
public
decimal
AmountUsed
{
get
;
set
;
}
public
decimal
AmountUnpaid
{
get
;
set
;
}
public
decimal
AmountUnpaid
{
get
;
set
;
}
public
decimal
AmountOffset
{
get
;
set
;
}
public
decimal
AmountOffset
{
get
;
set
;
}
public
int
QuantityPlan
{
get
;
set
;
}
public
int
Quantity
{
get
;
set
;
}
public
int
Quantity
{
get
;
set
;
}
public
int
QuantityInvoice
{
get
;
set
;
}
public
int
QuantityInvoice
{
get
;
set
;
}
...
@@ -29,6 +41,14 @@ namespace Kivii.Finances.Entities
...
@@ -29,6 +41,14 @@ namespace Kivii.Finances.Entities
public
int
QuantityPayment
{
get
;
set
;
}
public
int
QuantityPayment
{
get
;
set
;
}
public
int
QuantitySplit
{
get
;
set
;
}
public
int
QuantityRefund
{
get
;
set
;
}
public
int
QuantityUnBiz
{
get
;
set
;
}
public
int
QuantityUsed
{
get
;
set
;
}
public
int
QuantityUnpaid
{
get
;
set
;
}
public
int
QuantityUnpaid
{
get
;
set
;
}
public
int
QuantityOffset
{
get
;
set
;
}
public
int
QuantityOffset
{
get
;
set
;
}
...
...
Src/Transforms/RestfulStatistic.cs
View file @
03d600ee
This diff is collapsed.
Click to expand it.
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