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
2e584136
Commit
2e584136
authored
Jul 07, 2022
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内嵌资源优化
parent
0023e595
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
Classic.Control.Kivii.Finances.Payment.Import.Excel.List.js
...assic.Control.Kivii.Finances.Payment.Import.Excel.List.js
+2
-2
Classic.Control.Kivii.Finances.Payment.Import.Excel.List.js
...assic.Control.Kivii.Finances.Payment.Import.Excel.List.js
+8
-5
No files found.
Src/Content/codes/Classic.Control.Kivii.Finances.Payment.Import.Excel.List.js
View file @
2e584136
//Version:0.4
6
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.3
T(
\'
J.M.w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3g:v,3f:9(Z){3 O=5.3e(Z.3d);c(O.16.t<=0)5.P("3c,3b!");3a 5.P("39,38!");8.37(
\'
36
\'
,8,O.16);},35:9(Z){5.P("2G!");}})}}});'
,
62
,
248
,
'|||let|text|Ext|_2203311422290|dataIndex|_2203311422291|function|width|return|if||_2203311422292|_2203311422293|_2203311422294|fa||iconCls|_2203311422295|true||items||false|xtype|_2203311422297|_2203311422296|length|this|_2203311422298|Finances|||data|getViewModel|getView|_22033114222911|Payment|Kivii|handler|Control||_22033114222912|App|_22033114222910|_2203311422299|Const|align|_22033114222915|toast|_22033114222913|Items|Excel|getStore|Import|create|value|_22033114222914||_22033114222916|bind|setOwner|Amount|format|resizable|dock|Results|KiviiContext|FinancesFunctionsMoneyToFmoney|_22033114222918|_22033114222922|_22033114222926|_22033114222920|sortable|_22033114222919|menuDisabled|center|selectionCount|_22033114222917|_22033114222923|List|150|sum|_22033114222925|summaryRenderer|100|_22033114222927|summaryData|_22033114222924|getData|summaryType|left|iconAlign|window|_22033114222921|renderer|120|entityType|String|110|付款类型|Type|toFixed|OwnerName|edit|所属部门|right|发生金额|220|删除|合计|PayerName|trash|付款单位|操作|流水号|SerialNumber|编辑|80|autoLoad|rownumberer|bottom|pagingtoolbar|dockedItems|Entities|summary|ftype|viewModel|null|features|selection|extensible|pruneRemoved|checkboxSelect|checkboxmodel|selType|selModel|10000|pageSize|autoSync|EntityList|actioncolumn|displayInfo|labelWidth|defaults|extend|columns|upload|导入|scroller|overflowHandler|top|store|toolbar|_22033114222928|hidden|点击清除|条记录|已选择|square|System|check|60|button|新增失败|color|发生日期|destroy|closeAction|MessageBox|modifyEntity|close|entityModify|on|apply|confirm|var|modal|550|height|900|autoScroll|title|fit|layout|show|确认导入流水|n重复项会被忽略|for|failure|entityCreated|fireEvent|并跳过重复项|新增成功|else|已跳过重复项|暂无新增数据|responseText|decode|success|jsonData|json|Accept|Restful|url|request|Ajax|push|datecolumn|header|Window|Edit|add|Form|Remark|备注|180|PayerAccountSerialNumber|付款账号|280|PayerAccountName|付款银行|Summary|摘要|OperatorName|操作人|OperateTime|controller|_22033114222929|flex|WeChat|removeEntity|银行转账|Bank|微信|style|支付宝|AliPay|刷卡|require|现金|Pos|define|background|B4EEB4|Cash
'
.
split
(
'|'
),
0
,{}))
//Version:0.4
7
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.3
s(
\'
D.X.t
\'
);5.40(
\'
D.C.B.t.A.P.N.1B
\'
,{28:
\'
2f.C.2v
\'
,1A:
\'
B.t.2a.A
\'
,n:
\'
D.C.B.t.A.P.N.1B
\'
,1F:{w:{1C:1I}},1r:{1Z:
\'
{1C}
\'
},2e:{1H:h,1X:h,25:27},1E:{26:
\'
23
\'
,1R:k,1Q:h,1M:
\'
y
\'
},1Y:[{2q:
\'
2w
\'
}],2H:[{n:
\'
2C
\'
,1o:
\'
2D
\'
,2E:k,p:[{n:
\'
2F
\'
,2G:2j,l:
\'
x-j j-2o-2I-o
\'
,1r:{4:
\'
2m{14}2l,2k
\'
,2p:
\'
{14==0}
\'
},L:
\'
2i
\'
}]},{n:
\'
2g
\'
,1o:
\'
2d
\'
,2c:
\'
2b
\'
,p:[
\'
->
\'
,{4:
\'
2h
\'
,l:
\'
x-j j-2r
\'
,L:
\'
1z
\'
}]}],2z:{2s:{1l:k,15:k},p:[{n:
\'
2B
\'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G=6.I();3 K=5.O(
\'
D.C.B.t.A.P.N.3O.3N
\'
,{3t:h});3 U=5.O(
\'
5.1y.3w
\'
,{2K:
\'
3q
\'
,32:8.4,l:8.l,1w:
\'
1v
\'
,31:k,c:30,2Z:2Y,2X:k,13:h,p:[K]});U.2W();2V g={};5.33(g,q.w);K.12(g,z);K.2U(
\'
2S
\'
,a(8,1D){U.2R();b.2Q(1D)})},1z:a(8){3 6=v;3 b=6.F();3 G=6.I();3 r=b.10();3 g=r.1q().p;e(g.s<=0)7;3 1u=5.O(
\'
5.1y.2P
\'
,{l:8.l,1w:
\'
1v
\'
,2O:
\'
2N
\'
});1u.2M(8.4,
\'
2L?
\\
2T!
\'
,a(1t){e(1t!==
\'
34
\'
)7;6.1s(8)},6)},1s:a(8){3 6=v;3 b=6.F();3 G=6.I();3 r=b.10();3 g=r.1q().p;e(g.s<=0)7;3 u={};u.M=[];35(3 J=0;J<g.s;J++){3 z=g[J].w;u.M.36(z)}e(u.M.s<=0)7;8.Q(k);5.3p.3o({3n:
\'
/3m/
\'
+b.1A+
\'
/3l.3k
\'
,3j:u,3i:a(V){3 S=5.3h(V.3g);e(S.1x.s<=0)5.W("3f,3e!");3d 5.W("3c,3b!");b.3a(
\'
39
\'
,b,S.1x);8.Q(h)},38:a(V){5.W("37!");8.Q(h)}})}}});'
,
62
,
251
,
'|||let|text|Ext|_2207071636370|return|_2207071636371|dataIndex|function|_2207071636372|width||if|_2207071636373|_2207071636374|false||fa|true|iconCls||xtype||items|_2207071636375|_2207071636376|length|Finances|_2207071636377|this|data|||_2207071636378|Payment|Kivii|Control|App|_22070716363712|getView|_22070716363710||getViewModel|_22070716363711|_2207071636379|handler|Items|Excel|create|Import|setDisabled|value|_22070716363715|align|_22070716363714|_22070716363716|toast|Const||_22070716363713|getStore|summaryRenderer|setOwner|resizable|selectionCount|sortable|Amount|_22070716363717|FinancesFunctionsMoneyToFmoney|renderer|_22070716363718|sum|100|120|_22070716363727|150|summaryType|_22070716363720|_22070716363719|KiviiContext|center|menuDisabled|summaryData|_22070716363722|dock|format|getData|bind|_22070716363726|_22070716363725|_22070716363724|left|iconAlign|Results|window|_22070716363723|entityType|List|_22070716363728|_22070716363721|selModel|viewModel|trash|autoLoad|null|Type|流水号|SerialNumber|extensible|所属部门|付款类型|OwnerName|pruneRemoved|checkboxSelect|付款单位|110|PayerName|合计|toFixed|autoSync|features|selection|String|220|发生金额|checkboxmodel|right|pageSize|selType|10000|extend|编辑|Entities|scroller|overflowHandler|top|store|System|toolbar|导入|_22070716363729|60|点击清除|条记录|已选择|datecolumn|check|hidden|ftype|upload|defaults|删除|edit|EntityList|summary|操作|80|columns|actioncolumn|rownumberer|pagingtoolbar|bottom|displayInfo|button|labelWidth|dockedItems|square|B4EEB4|layout|确认导入流水|confirm|destroy|closeAction|MessageBox|modifyEntity|close|entityModify|n重复项会被忽略|on|var|show|modal|550|height|900|autoScroll|title|apply|yes|for|push|新增失败|failure|entityCreated|fireEvent|并跳过重复项|新增成功|else|已跳过重复项|暂无新增数据|responseText|decode|success|jsonData|json|Accept|Restful|url|request|Ajax|fit|发生日期|require|header|controller|add|Window|flex|Remark|备注|180|PayerAccountSerialNumber|付款账号|280|PayerAccountName|付款银行|Summary|摘要|OperatorName|_22070716363730|操作人|style|color|Form|Edit|removeEntity|银行转账|Bank|微信|WeChat|background|支付宝|刷卡|Pos|现金|Cash|define|AliPay|OperateTime
'
.
split
(
'|'
),
0
,{}))
Src/Content/codet/Classic.Control.Kivii.Finances.Payment.Import.Excel.List.js
View file @
2e584136
...
...
@@ -213,10 +213,13 @@ Ext.define('App.Control.Kivii.Finances.Payment.Import.Excel.List', {
iconAlign
:
'left'
,
closeAction
:
'destroy'
});
_msg
.
confirm
(
_ctrl
.
text
,
'确认导入流水?
\
n重复项会被忽略!'
,
_controller
.
_acceptData
,
_controller
);
_msg
.
confirm
(
_ctrl
.
text
,
'确认导入流水?
\
n重复项会被忽略!'
,
function
(
_optional
){
if
(
_optional
!==
'yes'
)
return
;
_controller
.
_acceptData
(
_ctrl
);
},
_controller
);
},
_acceptData
:
function
(
_ctrl
,
_item
)
{
_acceptData
:
function
(
_ctrl
)
{
let
_controller
=
this
;
let
_view
=
_controller
.
getView
();
let
_vm
=
_controller
.
getViewModel
();
...
...
@@ -230,7 +233,7 @@ Ext.define('App.Control.Kivii.Finances.Payment.Import.Excel.List', {
_jsonData
.
Items
.
push
(
_item
);
}
if
(
_jsonData
.
Items
.
length
<=
0
)
return
;
//
_ctrl.setDisabled(true);
_ctrl
.
setDisabled
(
true
);
Ext
.
Ajax
.
request
({
url
:
'/Restful/'
+
_view
.
entityType
+
'/Accept.json'
,
jsonData
:
_jsonData
,
...
...
@@ -239,11 +242,11 @@ Ext.define('App.Control.Kivii.Finances.Payment.Import.Excel.List', {
if
(
_rtns
.
Results
.
length
<=
0
)
Ext
.
toast
(
"暂无新增数据,已跳过重复项!"
);
else
Ext
.
toast
(
"新增成功,并跳过重复项!"
);
_view
.
fireEvent
(
'entityCreated'
,
_view
,
_rtns
.
Results
);
//
_ctrl.setDisabled(false);
_ctrl
.
setDisabled
(
false
);
},
failure
:
function
(
_response
)
{
Ext
.
toast
(
"新增失败!"
);
//
_ctrl.setDisabled(false);
_ctrl
.
setDisabled
(
false
);
}
});
}
...
...
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