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
cb34191a
Commit
cb34191a
authored
Jun 10, 2022
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
界面资源优化
parent
e201b9b0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
3 deletions
+35
-3
Classic.Control.Kivii.Finances.Account.Pay.List.js
.../codes/Classic.Control.Kivii.Finances.Account.Pay.List.js
+0
-0
Classic.Control.Kivii.Finances.Payment.Used.List.js
...codes/Classic.Control.Kivii.Finances.Payment.Used.List.js
+0
-0
Classic.View.Kivii.Finances.Account.List.Deposit.js
...codes/Classic.View.Kivii.Finances.Account.List.Deposit.js
+0
-0
Classic.View.Kivii.Finances.Account.List.js
...Content/codes/Classic.View.Kivii.Finances.Account.List.js
+1
-1
Classic.Control.Kivii.Finances.Account.Pay.List.js
.../codet/Classic.Control.Kivii.Finances.Account.Pay.List.js
+29
-2
Classic.Control.Kivii.Finances.Payment.Used.List.js
...codet/Classic.Control.Kivii.Finances.Payment.Used.List.js
+5
-0
No files found.
Src/Content/codes/Classic.Control.Kivii.Finances.Account.Pay.List.js
View file @
cb34191a
This diff is collapsed.
Click to expand it.
Src/Content/codes/Classic.Control.Kivii.Finances.Payment.Used.List.js
View file @
cb34191a
This diff is collapsed.
Click to expand it.
Src/Content/codes/Classic.View.Kivii.Finances.Account.List.Deposit.js
View file @
cb34191a
This diff is collapsed.
Click to expand it.
Src/Content/codes/Classic.View.Kivii.Finances.Account.List.js
View file @
cb34191a
//Version:0.24
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
;}(
'd.3q(
\'
r.13.h
\'
);d.3h(
\'
r.1l.l.h.m.E
\'
,{1G:
\'
1K.D.1N
\'
,1Q:
\'
l.h.1p.m
\'
,j:
\'
r.1l.l.h.m.E
\'
,1R:
\'
/1T/l.h.1p.m/1A.1B
\'
,G:
\'
2o
\'
,q:
\'
x-8 8-2k
\'
,2i:{1v:z.B.1q,29:
\'
O,P,U,25,S
\'
},23:{K:{C:1t,22:1t}},I:{y:
\'
{C}
\'
},1U:{1W:7,1X:1Y},1Z:[{20:
\'
21
\'
}],24:[{j:
\'
26
\'
,X:
\'
27
\'
,28:
\'
2b
\'
,p:[{j:
\'
2p
\'
,W:1,16:2c,19:1c,2d:
\'
Y,2e,N
\'
,2f:
\'
2g、2h
\'
},{5:
\'
2j
\'
,q:
\'
x-8 8-1d-5-o
\'
,F:
\'
H
\'
,10:
\'
V
\'
,I:{2l:
\'
{!C}
\'
}}]},{j:
\'
2m
\'
,X:
\'
2n
\'
,1V:7,p:[{j:
\'
2a
\'
,19:1c,q:
\'
x-8 8-1z-1x-o
\'
,I:{5:
\'
1y{11}1D,1C
\'
,1S:
\'
{11==0}
\'
},10:
\'
1a
\'
}]}],1P:7,1O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:2F,1o:2G,1w:7,f:a,p:[i]});i.2I(k.y.K);u.1i();i.2X();i.2J({2K:k.y.K.1j});i.1e()},2L:g(t){c n=M;c k=n.A();c e={};e.1h=
\'
1k
\'
;e.1m=
\'
1n
\'
;e.N=z.B.2M;e.1v=z.B.1q;c s=d.w(
\'
r.D.l.h.m.2N
\'
);c u=d.w(
\'
d.1r.1u
\'
,{1g:
\'
1f
\'
,G:t.5,1s:7,q:
\'
x-8 8-2O
\'
,F:
\'
H
\'
,b:2P,1o:2Q,1w:7,f:a,p:[s]});u.1i();6(e.1j){s.2R(e,7)}2S{s.2T(e,a)}s.2U(
\'
2V
\'
,g(t,e){u.2W();k.1e()})}}});'
,
62
,
217
,
'|||return|_2206
091432190|text|if|true|fa|dataIndex|false|width|let|Ext|_2206091432191|resizable|function|Finances|_2206091432193|xtype|_2206091432192|Kivii|Account|_2206091432197||items|iconCls|App|_2206091432196|_2206091432195|_2206091432194|sortable|create||selection|KiviiContext|getView|CurrentMember|_2206091432198|Control|List|iconAlign|title|left|bind|renderer|data|align|this|OwnerName|Cash|Pos|_22060914321912|_22060914321910|Biz|_22060914321911|Discount|_2206091432199|flex|dock|Name|value|handler|selectionCount|right|Const|_22060914321913|90|minWidth|100|240|labelWidth|_22060914321915|_22060914321914|60|file|reload|fit|layout|Type|show|Kvid|Deposit|View|Currency|CNY|height|Entities|DepartmentKvid|window|autoScroll|null|Window|OwnerKvid|modal|square|已选择|check|QueryEx|json|点击清除|条记录|SerialNumber|账号|extend|账号名称|center|rownumberer|System|menuDisabled|defaults|EntityList|columns|columnLines|entityType|dataSource|hidden|Restful|store|displayInfo|autoLoad|pageSize|50|features|ftype|summary|lastOwnerKvid|viewModel|dockedItems|Refund|toolbar|top|overflowHandler|TypeIn|button|scroller|250|queryField|FullName|emptyText|模糊搜索所属单位|账户名称|filter|交易明细|users|disabled|pagingtoolbar|bottom|系统账户管理|searchField|账号所属|clearSelections|账户余额|优惠券|StoredCard|储值卡|业务账户|Balance|系统平衡|折扣账户|_22060914321917|getViewModel|toast|请先选择账户|AccountDetail|1200|700|Coupon|setOwner|setFilter|AccountKvid|_220609143219
16|DepartmentName|Form|user|600|300|readEntity|else|newEntity|on|entityCreated|close|clear|200|存款账户|Bank|Amount|120|summaryType|sum|summaryRenderer|summaryData|String|format|toFixed|授信额度|CreditLine|FinancesFunctionsMoneyToFmoney|币种单位|银行账户|摘要|账户类型|define|刷卡账户|现金账户|欧元|EUR|美元|USD|人民币|Summary|require|controller|Remark|备注|150'
.
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
;}(
'd.3q(
\'
r.13.h
\'
);d.3h(
\'
r.1l.l.h.m.E
\'
,{1G:
\'
1K.D.1N
\'
,1Q:
\'
l.h.1p.m
\'
,j:
\'
r.1l.l.h.m.E
\'
,1R:
\'
/1T/l.h.1p.m/1A.1B
\'
,G:
\'
2o
\'
,q:
\'
x-8 8-2k
\'
,2i:{1v:z.B.1q,29:
\'
O,P,U,25,S
\'
},23:{K:{C:1t,22:1t}},I:{y:
\'
{C}
\'
},1U:{1W:7,1X:1Y},1Z:[{20:
\'
21
\'
}],24:[{j:
\'
26
\'
,X:
\'
27
\'
,28:
\'
2b
\'
,p:[{j:
\'
2p
\'
,W:1,16:2c,19:1c,2d:
\'
Y,2e,N
\'
,2f:
\'
2g、2h
\'
},{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}6(4===
\'
2x
\'
){3
\'
2y
\'
}6(4===
\'
U
\'
){3
\'
2z
\'
}3 4},V:g(t){c n=M;c k=n.A();c 2A=n.2B();6(!k.y){d.2C(
\'
2D
\'
);3}c i=d.w(
\'
r.D.l.h.2E.E
\'
);c u=d.w(
\'
d.1r.1u
\'
,{1g:
\'
1f
\'
,G:t.5,1s:7,q:
\'
x-8 8-1d-5-o
\'
,F:
\'
H
\'
,b:2F,1o:2G,1w:7,f:a,p:[i]});i.2I(k.y.K);u.1i();i.2X();i.2J({2K:k.y.K.1j});i.1e()},2L:g(t){c n=M;c k=n.A();c e={};e.1h=
\'
1k
\'
;e.1m=
\'
1n
\'
;e.N=z.B.2M;e.1v=z.B.1q;c s=d.w(
\'
r.D.l.h.m.2N
\'
);c u=d.w(
\'
d.1r.1u
\'
,{1g:
\'
1f
\'
,G:t.5,1s:7,q:
\'
x-8 8-2O
\'
,F:
\'
H
\'
,b:2P,1o:2Q,1w:7,f:a,p:[s]});u.1i();6(e.1j){s.2R(e,7)}2S{s.2T(e,a)}s.2U(
\'
2V
\'
,g(t,e){u.2W();k.1e()})}}});'
,
62
,
217
,
'|||return|_2206
101455170|text|if|true|fa|dataIndex|false|width|let|Ext|_2206101455171|resizable|function|Finances|_2206101455173|xtype|_2206101455172|Kivii|Account|_2206101455177||items|iconCls|App|_2206101455176|_2206101455175|_2206101455174|sortable|create||selection|KiviiContext|getView|CurrentMember|_2206101455178|Control|List|iconAlign|title|left|bind|renderer|data|align|this|OwnerName|Cash|Pos|_22061014551712|_22061014551710|Biz|_22061014551711|Discount|_2206101455179|flex|dock|Name|value|handler|selectionCount|right|Const|_22061014551713|90|minWidth|100|240|labelWidth|_22061014551715|_22061014551714|60|file|reload|fit|layout|Type|show|Kvid|Deposit|View|Currency|CNY|height|Entities|DepartmentKvid|window|autoScroll|null|Window|OwnerKvid|modal|square|已选择|check|QueryEx|json|点击清除|条记录|SerialNumber|账号|extend|账号名称|center|rownumberer|System|menuDisabled|defaults|EntityList|columns|columnLines|entityType|dataSource|hidden|Restful|store|displayInfo|autoLoad|pageSize|50|features|ftype|summary|lastOwnerKvid|viewModel|dockedItems|Refund|toolbar|top|overflowHandler|TypeIn|button|scroller|250|queryField|FullName|emptyText|模糊搜索所属单位|账户名称|filter|交易明细|users|disabled|pagingtoolbar|bottom|系统账户管理|searchField|账号所属|clearSelections|账户余额|优惠券|StoredCard|储值卡|业务账户|Balance|系统平衡|折扣账户|_22061014551717|getViewModel|toast|请先选择账户|AccountDetail|1200|700|Coupon|setOwner|setFilter|AccountKvid|_220610145517
16|DepartmentName|Form|user|600|300|readEntity|else|newEntity|on|entityCreated|close|clear|200|存款账户|Bank|Amount|120|summaryType|sum|summaryRenderer|summaryData|String|format|toFixed|授信额度|CreditLine|FinancesFunctionsMoneyToFmoney|币种单位|银行账户|摘要|账户类型|define|刷卡账户|现金账户|欧元|EUR|美元|USD|人民币|Summary|require|controller|Remark|备注|150'
.
split
(
'|'
),
0
,{}))
Src/Content/codet/Classic.Control.Kivii.Finances.Account.Pay.List.js
View file @
cb34191a
...
...
@@ -186,13 +186,15 @@ Ext.define('App.Control.Kivii.Finances.Account.Pay.List', {
align
:
'center'
,
resizable
:
false
},
{
text
:
'
付款
单位'
,
text
:
'
对方
单位'
,
dataIndex
:
'PayerName'
,
renderer
:
'_renderPayer'
,
width
:
240
},
{
text
:
'
付款
金额'
,
text
:
'
发生
金额'
,
align
:
'right'
,
dataIndex
:
'AmountPayment'
,
renderer
:
'_renderAmountPayment'
,
width
:
110
,
summaryType
:
'sum'
,
summaryRenderer
:
function
(
value
,
summaryData
,
dataIndex
)
{
...
...
@@ -324,6 +326,11 @@ Ext.define('App.Control.Kivii.Finances.Account.Pay.List', {
flex
:
1
}]
},
},
//配置该方法,返回true时,可以展开,否则不能展开
haveRowExpander
:
function
(
_record
){
if
(
_record
.
data
.
Type
===
"Transfer"
)
return
true
;
return
false
;
}
}],
...
...
@@ -354,6 +361,26 @@ Ext.define('App.Control.Kivii.Finances.Account.Pay.List', {
var
_propertyName
=
_dataIndex
.
substr
(
_pos
+
1
);
return
_record
.
data
[
_objName
][
_propertyName
];
},
_renderPayer
:
function
(
_value
,
_meta
,
_record
,
_rowIndex
)
{
let
_controller
=
this
;
let
_vm
=
_controller
.
getViewModel
();
let
_owner
=
_vm
.
data
.
_owner
;
if
(
_record
.
data
.
PayerKvid
===
_owner
.
Kvid
)
{
_meta
.
style
=
'background-color:#F0E68C'
;
return
_record
.
data
.
PayeeName
;
}
return
_value
;
},
_renderAmountPayment
:
function
(
_value
,
_meta
,
_record
,
_rowIndex
)
{
let
_controller
=
this
;
let
_vm
=
_controller
.
getViewModel
();
let
_owner
=
_vm
.
data
.
_owner
;
if
(
_record
.
data
.
PayerKvid
===
_owner
.
Kvid
)
{
_meta
.
style
=
'background-color:#F0E68C'
;
return
0
-
_value
;
}
return
_value
;
},
_renderFromType
:
function
(
_value
,
_meta
,
_record
,
_rowIndex
)
{
if
(
_value
===
"Account"
)
{
return
"账户"
;
...
...
Src/Content/codet/Classic.Control.Kivii.Finances.Payment.Used.List.js
View file @
cb34191a
...
...
@@ -368,6 +368,11 @@ Ext.define('App.Control.Kivii.Finances.Payment.Used.List', {
flex
:
1
}]
}
},
//配置该方法,返回true时,可以展开,否则不能展开
haveRowExpander
:
function
(
_record
){
if
(
_record
.
data
.
Type
===
"DynamicPay"
)
return
true
;
return
false
;
}
}],
listeners
:
{
...
...
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