Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
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
鲁鑫
topsun-bpm
Commits
37062678
Commit
37062678
authored
Mar 01, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用报销金额控制
parent
60866d60
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
844 additions
and
270 deletions
+844
-270
advancePayment.js
...webapp/biz/topsun/sap/costReimbursement/advancePayment.js
+145
-22
advancePayment.jsp
...ebapp/biz/topsun/sap/costReimbursement/advancePayment.jsp
+34
-20
costReimbursement.js
...app/biz/topsun/sap/costReimbursement/costReimbursement.js
+217
-41
costReimbursement.jsp
...pp/biz/topsun/sap/costReimbursement/costReimbursement.jsp
+17
-3
employeeLoan.js
...n/webapp/biz/topsun/sap/costReimbursement/employeeLoan.js
+138
-54
employeeLoan.jsp
.../webapp/biz/topsun/sap/costReimbursement/employeeLoan.jsp
+30
-27
payApply.js
.../main/webapp/biz/topsun/sap/costReimbursement/payApply.js
+125
-43
payApply.jsp
...main/webapp/biz/topsun/sap/costReimbursement/payApply.jsp
+26
-22
refundApply.js
...in/webapp/biz/topsun/sap/costReimbursement/refundApply.js
+86
-16
refundApply.jsp
...n/webapp/biz/topsun/sap/costReimbursement/refundApply.jsp
+26
-22
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/advancePayment.js
View file @
37062678
...
...
@@ -33,7 +33,7 @@ var tableArray = [
},
{
display
:
"BP标识"
,
name
:
"zepBptype"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -46,14 +46,22 @@ var tableArray = [
ZEP_BPTYPENAME: "zepBptypename"
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"BP标识描述"
,
name
:
"zepBptypename"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP(合作伙伴)"
,
name
:
"partner"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -69,6 +77,10 @@ var tableArray = [
SWIFT: "swift",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -101,7 +113,7 @@ var tableArray = [
},
{
display
:
"采购订单号"
,
name
:
"ebeln"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -115,17 +127,29 @@ var tableArray = [
ZEKPO_ITEM: "zekpoItem"
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"采购订单行"
,
name
:
"ebelp"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"采购订单行信息"
,
name
:
"zekpoItem"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
display
:
"采购订单行信息"
,
name
:
"zekpoItem"
,
width
:
200
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"币别"
,
name
:
"waers"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -137,11 +161,15 @@ var tableArray = [
WAERS: "waers",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"汇率"
,
name
:
"kursf"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -153,27 +181,29 @@ var tableArray = [
KURSF: "kursf",
}
},
}
},
{
display
:
"含税金额"
,
name
:
"kzwi1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"
税码"
,
name
:
"mwskz
"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
display
:
"
含税金额"
,
name
:
"kzwi1
"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
{
display
:
"含税金额(本位币)"
,
name
:
"kzwi11"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
render
:
function
(
item
){
var
money
=
0
;
if
(
item
.
waers
===
"CNY"
){
money
=
item
.
kzwi1
;
}
else
{
money
=
MathUtil
.
mul
(
item
.
kzwi1
,
item
.
kursf
);
}
return
item
.
kzwi11
=
money
;
}
},
]
...
...
@@ -186,7 +216,7 @@ var tableArray = [
{
display
:
"EP流程子序号"
,
name
:
"zepItemno"
,
width
:
80
,
minwidth
:
80
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"原因代码"
,
name
:
"rstgr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -198,6 +228,10 @@ var tableArray = [
RSTGR: "rstgr",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -227,7 +261,7 @@ var tableArray = [
{
display
:
"是否付款"
,
name
:
"zepPay"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
tru
e
,
type
:
"select"
,
required
:
fals
e
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
...
...
@@ -242,7 +276,7 @@ var tableArray = [
},
{
display
:
"付款方式代码"
,
name
:
"zlsch"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -255,6 +289,10 @@ var tableArray = [
ZLSCH_TEXT1: "zlschText1",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -266,7 +304,7 @@ var tableArray = [
},
{
display
:
"直联付款标识"
,
name
:
"zepBank"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -278,6 +316,10 @@ var tableArray = [
ZEP_BANK: "zepBank",
}
},
}*/
editor
:
{
type
:
'text'
}
},
]
...
...
@@ -306,7 +348,7 @@ var tableArray = [
{
display
:
"EP流程子序号"
,
name
:
"zepItemno"
,
width
:
80
,
minwidth
:
80
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"付款银行账号"
,
name
:
"bankn1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -319,6 +361,10 @@ var tableArray = [
ZT012K_TEXT1: "zt012kText1",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -328,6 +374,10 @@ var tableArray = [
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"付款附言"
,
name
:
"zepTxt1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
...
...
@@ -384,7 +434,7 @@ function loadGrid(obj) {
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
function
()
{
tableArray
.
forEach
((
item
)
=>
{
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
()});
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
()
,
zepBptype
:
"K"
,
zepBptypename
:
"供应商"
});
});
},
deleteHandler
:
function
()
{
...
...
@@ -443,6 +493,25 @@ function loadGrid(obj) {
// })
// })
return
false
;
//阻止默认事件
},
onAfterEdit
:
function
(
item
)
{
if
(
item
.
column
.
name
==
"waers"
||
item
.
column
.
name
==
"kursf"
||
item
.
column
.
name
==
"kzwi1"
){
totalGrid
();
}
if
(
item
.
column
.
name
==
"zepPtdamount1"
||
item
.
column
.
name
==
"zepPtdamount"
){
var
_secondGrid
=
UICtrl
.
getGridManager
(
'#financialAuditGrid'
);
if
(
_secondGrid
!=
null
){
var
secondRows
=
_secondGrid
.
currentData
.
Rows
;
totalFinancialAuditGrid
(
secondRows
);
}
}
return
item
;
},
onAfterShowData
:
function
(){
initFinancialAuditGridData
();
}
});
UICtrl
.
setSearchAreaToggle
(
obj
.
gridManager
);
...
...
@@ -485,7 +554,7 @@ function bindQueryEvent() {
return
{
paramValue
:
"BUKRS"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#
kostl
'
).
val
(
data
.
BUKRS
);
$
(
'#
bukrs
'
).
val
(
data
.
BUKRS
);
$
(
'#butxt'
).
val
(
data
.
BUTXT
);
}
});
...
...
@@ -600,3 +669,57 @@ function nodeController(){
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
}
}
function
totalGrid
(
money
)
{
var
_grid
=
UICtrl
.
getGridManager
(
'#reimbursementApplierGrid'
);
if
(
_grid
!=
null
){
var
data
=
_grid
.
getData
(),
zepFtamount1
=
0
,
//申请总金额
zepFtamount
=
0
;
//申请总金额(本位币)
var
_kzwi1
=
0
;
var
_kzwi11
=
0
;
$
.
each
(
data
,
function
(
i
,
o
)
{
_kzwi1
=
o
[
'kzwi1'
]
+
''
;
_kzwi11
=
o
[
'kzwi11'
]
+
''
;
zepFtamount1
=
MathUtil
.
add
(
zepFtamount1
,
_kzwi1
);
zepFtamount
=
MathUtil
.
add
(
zepFtamount
,
_kzwi11
);
$
(
'#zepFtamount1'
).
val
(
zepFtamount1
);
$
(
'#zepFtamount'
).
val
(
zepFtamount
);
});
}
}
function
initFinancialAuditGridData
(){
var
_grid
=
UICtrl
.
getGridManager
(
'#reimbursementApplierGrid'
);
var
_secondGrid
=
UICtrl
.
getGridManager
(
'#financialAuditGrid'
);
if
(
_grid
!=
null
&&
_secondGrid
!=
null
){
var
datas
=
_grid
.
getData
();
if
(
datas
.
length
>
0
&&
_secondGrid
.
currentData
!=
null
){
var
secondRows
=
_secondGrid
.
currentData
.
Rows
;
$
.
each
(
datas
,
function
(
i
,
data
)
{
$
.
each
(
secondRows
,
function
(
i
,
row
)
{
if
(
data
.
zepItemno
===
row
.
zepItemno
&&
row
.
zepPtdamount1
===
0
){
_secondGrid
.
updateRow
(
row
,{
zepPtdamount1
:
data
.
kzwi1
,
zepPtdamount
:
data
.
kzwi11
})
}
});
});
totalFinancialAuditGrid
(
secondRows
);
}
}
}
function
totalFinancialAuditGrid
(
data
){
var
zepPtamount
=
0
,
//审批总金额(本位币)
zepPtamount1
=
0
;
//审批总金额
$
.
each
(
data
,
function
(
i
,
o
)
{
var
_zepPtdamount
=
o
[
'zepPtdamount'
]
+
''
;
var
_zepPtdamount1
=
o
[
'zepPtdamount1'
]
+
''
;
zepPtamount
=
MathUtil
.
add
(
zepPtamount
,
_zepPtdamount
);
zepPtamount1
=
MathUtil
.
add
(
zepPtamount1
,
_zepPtdamount1
);
$
(
'#zepPtamount'
).
val
(
zepPtamount
);
$
(
'#zepPtamount1'
).
val
(
zepPtamount1
);
});
}
\ No newline at end of file
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/advancePayment.jsp
View file @
37062678
...
...
@@ -31,17 +31,27 @@
<x:inputC
name=
"zepFtype"
required=
"false"
readonly=
"true"
label=
"EP付款申请类别"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFtypename"
required=
"false"
readonly=
"true"
label=
"EP付款申请类别名称"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"bukrs"
required=
"true"
label=
"公司代码"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"select"
/>
<x:inputC
name=
"butxt"
required=
"false"
readonly=
"true"
label=
"公司代码名称"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepDepart"
required=
"false"
readonly=
"true"
label=
"EP部门代码"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepDepartname"
required=
"false"
readonly=
"true"
label=
"EP部门名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepAppli"
required=
"false"
readonly=
"true"
label=
"EP流程申请人代码"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepAppliname"
required=
"false"
readonly=
"true"
label=
"EP流程申请人"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepTxt"
required=
"false"
label=
"付款申请内容"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFtamount"
required=
"false"
label=
"申请总金额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFtamount1"
required=
"false"
label=
"申请总金额"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepPtamount"
required=
"false"
label=
"审批总金额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepPtamount1"
required=
"false"
label=
"审批总金额"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
...
...
@@ -53,25 +63,29 @@
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"financialAudit"
>
<x:title
title=
"财务审核填写"
name=
"group"
/>
<div
id=
"financialAuditGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"financialAudit_sapReturn"
>
<x:title
title=
"财务已审核、sap回执"
name=
"group"
/>
<div
id=
"financialAudit_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"capitalPost"
>
<x:title
title=
"资金岗填写"
name=
"group"
/>
<div
id=
"capitalPostGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"paymentAccomplish_sapReturn"
>
<x:title
title=
"付款完成、sap回执"
name=
"group"
/>
<div
id=
"paymentAccomplish_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
</div>
</form>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/costReimbursement.js
View file @
37062678
...
...
@@ -34,7 +34,7 @@ var tableArray = [
{
display
:
"BP标识"
,
name
:
"zepBptype"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -47,14 +47,20 @@ var tableArray = [
ZEP_BPTYPENAME: "zepBptypename"
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"BP标识描述"
,
name
:
"zepBptypename"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP(合作伙伴)"
,
name
:
"partner"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -70,23 +76,38 @@ var tableArray = [
SWIFT: "swift",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"BP账号名称"
,
name
:
"koinh"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP联行号"
,
name
:
"bankl"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP银行账号"
,
name
:
"bankn"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"SWIFT/BIC"
,
name
:
"swift"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"费用类型代码"
,
name
:
"zepExtype"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -99,6 +120,9 @@ var tableArray = [
ZEP_EXTYPENAME: "zepExtypename"
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -108,6 +132,9 @@ var tableArray = [
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"费用会计科目"
,
name
:
"hkont"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
...
...
@@ -132,7 +159,7 @@ var tableArray = [
},
{
display
:
"成本中心"
,
name
:
"kostl"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -145,14 +172,20 @@ var tableArray = [
KTEXT1: "ktext1"
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"成本中心名称"
,
name
:
"ktext1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"内部订单"
,
name
:
"aufnr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -165,14 +198,20 @@ var tableArray = [
KTEXT: "ktext"
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"内部订单描述"
,
name
:
"ktext"
,
width
:
200
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
display
:
"内部订单描述"
,
name
:
"ktext"
,
width
:
200
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"币别"
,
name
:
"waers"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -184,11 +223,14 @@ var tableArray = [
WAERS: "waers",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"汇率"
,
name
:
"kursf"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -200,32 +242,21 @@ var tableArray = [
KURSF: "kursf",
}
},
}
},
{
display
:
"不含税金额"
,
name
:
"netwr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"税额"
,
name
:
"kwetr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"含税金额"
,
name
:
"kzwi1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
{
display
:
"税码"
,
name
:
"mwskz"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -237,27 +268,61 @@ var tableArray = [
MWSKZ: "mwskz",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"不含税金额(本位币)"
,
name
:
"netwr1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
display
:
"含税金额(本位币)"
,
name
:
"kzwi11"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
//"公司代码等于1000币别等于CNY时,默认等于含税金额;
// 公司代码等于1000币别不等于CNY时,等于含税金额*币别对应的汇率"
render
:
function
(
item
){
var
money
=
0
;
if
(
item
.
waers
===
"CNY"
){
money
=
item
.
kzwi1
;
}
else
{
money
=
MathUtil
.
mul
(
item
.
kzwi1
,
item
.
kursf
)
}
return
item
.
kzwi11
=
money
;
}
},
{
display
:
"税额(本位币)"
,
name
:
"kwetr1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
},
//等于(含税金额-本位币)/(1+税码对应的税率)*税码对应税率,可手工修改
render
:
function
(
item
){
var
value
=
MathUtil
.
div
(
item
.
kzwi11
,(
1
+
item
.
mwskz
)).
mul
(
item
.
mwskz
).
toFixed
(
2
)
return
item
.
kwetr1
=
value
;
}
},
{
display
:
"含税金额(本位币)"
,
name
:
"kzwi11"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
display
:
"不含税金额(本位币)"
,
name
:
"netwr1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
//等于含税金额(本位币)减去税额(本位币)
render
:
function
(
item
){
return
item
.
netwr1
=
MathUtil
.
sub
(
item
.
kzwi11
,
item
.
kwetr1
);
}
},
{
display
:
"税额"
,
name
:
"kwetr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
},
//等于含税金额/(1+税码对应的税率)*税码对应税率,可手工修改
render
:
function
(
item
){
var
value
=
MathUtil
.
div
(
item
.
kzwi1
,(
1
+
item
.
mwskz
)).
mul
(
item
.
mwskz
).
toFixed
(
2
)
return
item
.
kwetr
=
value
;
}
},
{
display
:
"不含税金额"
,
name
:
"netwr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
//等于含税金额减去税额
render
:
function
(
item
){
return
item
.
netwr
=
MathUtil
.
sub
(
item
.
kzwi1
,
item
.
kwetr
);
}
},
]
...
...
@@ -270,7 +335,7 @@ var tableArray = [
{
display
:
"EP流程子序号"
,
name
:
"zepItemno"
,
width
:
80
,
minwidth
:
80
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"原因代码"
,
name
:
"rstgr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -282,6 +347,9 @@ var tableArray = [
RSTGR: "rstgr",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -292,14 +360,14 @@ var tableArray = [
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
{
display
:
"税额(审批)"
,
name
:
"zepPdtax1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
...
...
@@ -311,7 +379,7 @@ var tableArray = [
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
...
...
@@ -323,7 +391,7 @@ var tableArray = [
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
...
...
@@ -335,7 +403,7 @@ var tableArray = [
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
...
...
@@ -347,7 +415,7 @@ var tableArray = [
type
:
"string"
,
align
:
"left"
,
editor
:
{
mask
:
'nnnnnnnnn.nn'
,
type
:
'text'
}
},
...
...
@@ -369,7 +437,7 @@ var tableArray = [
},
{
display
:
"付款方式代码"
,
name
:
"zlsch"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -382,14 +450,14 @@ var tableArray = [
ZLSCH_TEXT1: "zlschText1",
}
},
}
}
*/
},
{
display
:
"付款方式名称"
,
name
:
"zlschText1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
},
{
display
:
"直联付款标识"
,
name
:
"zepBank"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -401,7 +469,11 @@ var tableArray = [
ZEP_BANK: "zepBank",
}
},
}*/
editor
:
{
type
:
'text'
}
},
]
}
...
...
@@ -429,7 +501,7 @@ var tableArray = [
{
display
:
"EP流程子序号"
,
name
:
"zepItemno"
,
width
:
80
,
minwidth
:
80
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"付款银行账号"
,
name
:
"bankn1"
,
width
:
200
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: false, type: "select",
data: {
type: 'system',
...
...
@@ -442,6 +514,9 @@ var tableArray = [
ZT012K_TEXT1: "zt012kText1",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -566,6 +641,31 @@ function loadGrid(obj) {
// })
// })
return
false
;
//阻止默认事件
},
onAfterEdit
:
function
(
item
)
{
if
(
item
.
column
.
name
==
"waers"
||
item
.
column
.
name
==
"kursf"
||
item
.
column
.
name
==
"kzwi1"
||
item
.
column
.
name
==
"mwskz"
){
totalGrid
();
}
if
(
item
.
column
.
name
==
"zepPdamount1"
||
item
.
column
.
name
==
"zepPdtax1"
||
item
.
column
.
name
==
"zepPtdamount1"
||
item
.
column
.
name
==
"zepPdamount"
||
item
.
column
.
name
==
"zepPdtax"
||
item
.
column
.
name
==
"zepPtdamount"
){
var
_secondGrid
=
UICtrl
.
getGridManager
(
'#financialAuditGrid'
);
if
(
_secondGrid
!=
null
){
var
secondRows
=
_secondGrid
.
currentData
.
Rows
;
totalFinancialAuditGrid
(
secondRows
);
}
}
return
item
;
},
onAfterShowData
:
function
(){
initFinancialAuditGridData
();
}
});
UICtrl
.
setSearchAreaToggle
(
obj
.
gridManager
);
...
...
@@ -608,7 +708,7 @@ function bindQueryEvent() {
return
{
paramValue
:
"BUKRS"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#
kostl
'
).
val
(
data
.
BUKRS
);
$
(
'#
bukrs
'
).
val
(
data
.
BUKRS
);
$
(
'#butxt'
).
val
(
data
.
BUTXT
);
}
});
...
...
@@ -722,3 +822,79 @@ function nodeController(){
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
}
}
function
totalGrid
(
money
)
{
var
_grid
=
UICtrl
.
getGridManager
(
'#reimbursementApplierGrid'
);
if
(
_grid
!=
null
){
var
data
=
_grid
.
getData
(),
zepFtamount1
=
0
,
//申请总金额
zepFtamount
=
0
,
//申请总金额(本位币)
zepFttax
=
0
,
//申请总税额(本位币)
zepFttax1
=
0
;
//申请总税额
var
_kzwi1
=
0
;
var
_kzwi11
=
0
;
var
_kwetr1
=
0
;
var
_kwetr
=
0
;
$
.
each
(
data
,
function
(
i
,
o
)
{
_kzwi1
=
o
[
'kzwi1'
]
+
''
;
_kzwi11
=
o
[
'kzwi11'
]
+
''
;
_kwetr1
=
o
[
'kwetr1'
]
+
''
;
_kwetr
=
o
[
'kwetr'
]
+
''
;
zepFtamount1
=
MathUtil
.
add
(
zepFtamount1
,
_kzwi1
);
zepFtamount
=
MathUtil
.
add
(
zepFtamount
,
_kzwi11
);
zepFttax
=
MathUtil
.
add
(
zepFttax
,
_kwetr1
);
zepFttax1
=
MathUtil
.
add
(
zepFttax1
,
_kwetr
);
$
(
'#zepFtamount1'
).
val
(
zepFtamount1
);
$
(
'#zepFtamount'
).
val
(
zepFtamount
);
$
(
'#zepFttax'
).
val
(
zepFttax
);
$
(
'#zepFttax1'
).
val
(
zepFttax1
);
});
}
}
function
initFinancialAuditGridData
(){
var
_grid
=
UICtrl
.
getGridManager
(
'#reimbursementApplierGrid'
);
var
_secondGrid
=
UICtrl
.
getGridManager
(
'#financialAuditGrid'
);
if
(
_grid
!=
null
&&
_secondGrid
!=
null
){
var
datas
=
_grid
.
getData
();
if
(
datas
.
length
>
0
&&
_secondGrid
.
currentData
!=
null
){
var
secondRows
=
_secondGrid
.
currentData
.
Rows
;
$
.
each
(
datas
,
function
(
i
,
data
)
{
$
.
each
(
secondRows
,
function
(
i
,
row
)
{
if
(
data
.
zepItemno
===
row
.
zepItemno
&&
row
.
zepPdamount1
===
0
){
_secondGrid
.
updateRow
(
row
,{
zepPdamount1
:
data
.
netwr
,
zepPdtax1
:
data
.
kwetr
,
zepPtdamount1
:
data
.
kzwi1
,
zepPdamount
:
data
.
netwr1
,
zepPdtax
:
data
.
kwetr1
,
zepPtdamount
:
data
.
kzwi11
})
}
});
});
totalFinancialAuditGrid
(
secondRows
);
}
}
}
function
totalFinancialAuditGrid
(
data
){
var
zepPtamount
=
0
,
//审批总金额(本位币)
zepPttax
=
0
,
//审批总税额(本位币)
zepPtamount1
=
0
,
//zepPtamount1
zepPttax1
=
0
;
//审批总税额
$
.
each
(
data
,
function
(
i
,
o
)
{
var
_zepPtdamount
=
o
[
'zepPtdamount'
]
+
''
;
var
_zepPdtax
=
o
[
'zepPdtax'
]
+
''
;
var
_zepPtdamount1
=
o
[
'zepPtdamount1'
]
+
''
;
var
_zepPdtax1
=
o
[
'zepPdtax1'
]
+
''
;
zepPtamount
=
MathUtil
.
add
(
zepPtamount
,
_zepPtdamount
);
zepPttax
=
MathUtil
.
add
(
zepPttax
,
_zepPdtax
);
zepPtamount1
=
MathUtil
.
add
(
zepPtamount1
,
_zepPtdamount1
);
zepPttax1
=
MathUtil
.
add
(
zepPttax1
,
_zepPdtax1
);
$
(
'#zepPtamount'
).
val
(
zepPtamount
);
$
(
'#zepPttax'
).
val
(
zepPttax
);
$
(
'#zepPtamount1'
).
val
(
zepPtamount1
);
$
(
'#zepPttax1'
).
val
(
zepPttax1
);
});
}
\ No newline at end of file
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/costReimbursement.jsp
View file @
37062678
...
...
@@ -31,22 +31,36 @@
<x:inputC
name=
"zepFtype"
required=
"false"
readonly=
"true"
label=
"EP付款申请类别"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFtypename"
required=
"false"
readonly=
"true"
label=
"EP付款申请类别名称"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"bukrs"
required=
"true"
label=
"公司代码"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"select"
/>
<x:inputC
name=
"butxt"
required=
"false"
readonly=
"true"
label=
"公司代码名称"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepDepart"
required=
"false"
readonly=
"true"
label=
"EP部门代码"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepDepartname"
required=
"false"
readonly=
"true"
label=
"EP部门名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepAppli"
required=
"false"
readonly=
"true"
label=
"EP流程申请人代码"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepAppliname"
required=
"false"
readonly=
"true"
label=
"EP流程申请人"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepTxt"
required=
"false"
label=
"付款申请内容"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFtamount"
required=
"false"
label=
"申请总金额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFttax"
required=
"false"
label=
"申请总税额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFtamount1"
required=
"false"
label=
"申请总金额"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFttax1"
required=
"false"
label=
"申请总税额"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepPtamount"
required=
"false"
label=
"审批总金额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFttax"
required=
"false"
label=
"申请总税额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepPttax"
required=
"false"
label=
" 审批总税额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFtamount1"
required=
"false"
label=
"申请总金额"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepPtamount1"
required=
"false"
label=
"审批总金额"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFttax1"
required=
"false"
label=
"申请总税额"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepPttax1"
required=
"false"
label=
"审批总税额"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/employeeLoan.js
View file @
37062678
...
...
@@ -34,26 +34,20 @@ var tableArray = [
{
display
:
"BP标识"
,
name
:
"zepBptype"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
true
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"ZEP_BPTYPE"
}
},
back
:
{
ZEP_BPTYPE
:
"zepBptype"
,
ZEP_BPTYPENAME
:
"zepBptypename"
}
},
type
:
'text'
}
},
{
display
:
"BP标识描述"
,
name
:
"zepBptypename"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP(合作伙伴)"
,
name
:
"partner"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -69,35 +63,38 @@ var tableArray = [
SWIFT: "swift",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"BP账号名称"
,
name
:
"koinh"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP联行号"
,
name
:
"bankl"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP银行账号"
,
name
:
"bankn"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"SWIFT/BIC"
,
name
:
"swift"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
},
{
display
:
"费用类型代码"
,
name
:
"zepExtype"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
true
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"ZEP_EXTYPE"
}
},
back
:
{
ZEP_EXTYPE
:
"zepExtype"
,
ZEP_EXTYPENAME
:
"zepExtypename"
}
},
type
:
'text'
}
},
{
...
...
@@ -109,7 +106,7 @@ var tableArray = [
},
{
display
:
"币别"
,
name
:
"waers"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -121,11 +118,15 @@ var tableArray = [
WAERS: "waers",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"汇率"
,
name
:
"kursf"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -137,20 +138,52 @@ var tableArray = [
KURSF: "kursf",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
display
:
"含税金额"
,
name
:
"kzwi1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
type
:
'text'
,
required
:
true
},
render
:
function
(
item
){
var
gridManager
=
UICtrl
.
getGridManager
(
"#financialAuditGrid"
)
if
(
gridManager
!=
null
){
var
rows
=
gridManager
.
currentData
.
Rows
;
var
money
=
0
;
if
(
item
.
waers
===
"CNY"
){
money
=
item
.
kzwi1
;
}
else
{
money
=
item
.
kzwi1
*
item
.
kursf
;
}
if
(
rows
){
$
.
each
(
rows
,
function
(
i
,
row
)
{
if
(
row
.
zepItemno
===
item
.
zepItemno
){
gridManager
.
updateRow
(
row
,{
zepPtdamount1
:
item
.
kzwi1
,
zepPtdamount
:
money
,
})
}
});
}
//totalGrid();
}
return
item
.
kzwi1
;
}
},
{
display
:
"含税金额(本位币)"
,
name
:
"kzwi11"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
render
:
function
(
item
){
var
money
=
0
;
if
(
item
.
waers
===
"CNY"
){
money
=
item
.
kzwi1
;
}
else
{
money
=
MathUtil
.
mul
(
item
.
kzwi1
,
item
.
kursf
);
}
//totalGrid();
return
item
.
kzwi11
=
money
;
}
},
]
...
...
@@ -163,7 +196,7 @@ var tableArray = [
{
display
:
"EP流程子序号"
,
name
:
"zepItemno"
,
width
:
80
,
minwidth
:
80
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"原因代码"
,
name
:
"rstgr"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -175,6 +208,10 @@ var tableArray = [
RSTGR: "rstgr",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -184,10 +221,6 @@ var tableArray = [
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"含税金额(审批-本位币)"
,
...
...
@@ -196,10 +229,6 @@ var tableArray = [
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"是否付款"
,
name
:
"zepPay"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
...
...
@@ -219,7 +248,7 @@ var tableArray = [
},
{
display
:
"付款方式代码"
,
name
:
"zlsch"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -232,6 +261,10 @@ var tableArray = [
ZLSCH_TEXT1: "zlschText1",
}
},
}*/
editor
:
{
type
:
'text'
}
},
{
...
...
@@ -243,7 +276,7 @@ var tableArray = [
},
{
display
:
"直联付款标识"
,
name
:
"zepBank"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -255,6 +288,10 @@ var tableArray = [
ZEP_BANK: "zepBank",
}
},
}*/
editor
:
{
type
:
'text'
}
},
]
...
...
@@ -267,7 +304,7 @@ var tableArray = [
{
display
:
"EP流程子序号"
,
name
:
"zepItemno"
,
width
:
80
,
minwidth
:
80
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"付款银行账号"
,
name
:
"bankn1"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
/*
editor: {
required: true, type: "select",
data: {
type: 'system',
...
...
@@ -280,6 +317,10 @@ var tableArray = [
ZT012K_TEXT1: "zt012kText1",
}
},
}*/
editor
:
{
required
:
false
,
type
:
'text'
}
},
{
...
...
@@ -340,9 +381,9 @@ function loadGrid(obj) {
var
canDelay
=
false
;
//是否加载。不加载是为了隐藏的表格如果是必填,提交会校验是否填写。
var
isApply
=
isApplyProcUnit
();
if
(
isApply
){
if
(
obj
.
node
===
"reimbursementApplierGrid"
){
if
(
obj
.
node
===
"reimbursementApplierGrid"
||
obj
.
node
===
"financialAuditGrid"
){
canEdit
=
true
;
}
else
if
(
obj
.
node
===
"
financialAuditGrid"
||
obj
.
node
===
"
capitalPostGrid"
){
}
else
if
(
obj
.
node
===
"capitalPostGrid"
){
canDelay
=
true
;
}
}
...
...
@@ -360,11 +401,11 @@ function loadGrid(obj) {
if
(
"fundNode"
===
subProcUnitId
&&
obj
.
node
===
"capitalPostGrid"
){
canEdit
=
true
;
}
if
(
obj
.
node
===
"reimbursementApplierGrid"
)
{
//只有第一个表格含工具栏
if
(
obj
.
node
===
"reimbursementApplierGrid"
||
obj
.
no
===
"financialAuditGrid"
)
{
//只有第一个表格含工具栏
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
function
()
{
tableArray
.
forEach
((
item
)
=>
{
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
()});
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
()
,
zepBptype
:
"E"
,
zepBptypename
:
"员工"
});
});
},
deleteHandler
:
function
()
{
...
...
@@ -390,6 +431,7 @@ function loadGrid(obj) {
checkbox
:
true
,
fixedCellHeight
:
true
,
selectRowButtonOnly
:
true
,
autoApplyNextEditor
:
false
,
onBeforeCheckRow
:
function
(
checked
,
data
)
{
//同时选定或取消所有表格中的对应行
tableArray
.
forEach
((
item
)
=>
{
...
...
@@ -423,6 +465,14 @@ function loadGrid(obj) {
// })
// })
return
false
;
//阻止默认事件
},
onAfterEdit
:
function
(
item
)
{
if
(
item
.
column
.
name
==
"waers"
||
item
.
column
.
name
==
"kursf"
||
item
.
column
.
name
==
"kzwi1"
){
totalGrid
();
}
return
item
;
}
});
UICtrl
.
setSearchAreaToggle
(
obj
.
gridManager
);
...
...
@@ -465,7 +515,7 @@ function bindQueryEvent() {
return
{
paramValue
:
"BUKRS"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#
kostl
'
).
val
(
data
.
BUKRS
);
$
(
'#
bukrs
'
).
val
(
data
.
BUKRS
);
$
(
'#butxt'
).
val
(
data
.
BUTXT
);
}
});
...
...
@@ -553,7 +603,7 @@ function getZepItemNo() {
function
businessJudgmentUnit
()
{
var
isApply
=
isApplyProcUnit
();
if
(
isApply
)
{
$
(
"#financialAudit"
).
hide
();
//
$("#financialAudit").hide();
$
(
"#financialAudit_sapReturn"
).
hide
();
$
(
"#capitalPost"
).
hide
();
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
...
...
@@ -580,3 +630,37 @@ function nodeController(){
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
}
}
function
totalGrid
(
money
)
{
var
_grid
=
UICtrl
.
getGridManager
(
'#reimbursementApplierGrid'
);
var
_secondGrid
=
UICtrl
.
getGridManager
(
'#financialAuditGrid'
);
if
(
_grid
!=
null
&&
_secondGrid
!=
null
){
var
data
=
_grid
.
getData
(),
zepFtamount1
=
0
,
//申请总金额
zepFtamount
=
0
,
//申请总金额(本位币)
zepPtamount1
=
0
,
//审批总金额
zepPtamount
=
0
;
//审批总金额(本位币)
var
secondData
=
_secondGrid
.
getData
();
var
_kzwi1
=
0
;
var
_kzwi11
=
0
;
var
_zepPtdamount1
=
0
;
var
_zepPtdamount
=
0
;
$
.
each
(
data
,
function
(
i
,
o
)
{
_kzwi1
=
o
[
'kzwi1'
]
+
''
;
_kzwi11
=
o
[
'kzwi11'
]
+
''
;
zepFtamount1
=
MathUtil
.
add
(
zepFtamount1
,
_kzwi1
);
zepFtamount
=
MathUtil
.
add
(
zepFtamount
,
_kzwi11
);
$
(
'#zepFtamount1'
).
val
(
zepFtamount1
);
$
(
'#zepFtamount'
).
val
(
zepFtamount
);
});
$
.
each
(
secondData
,
function
(
i
,
o
)
{
_zepPtdamount1
=
o
[
'zepPtdamount1'
]
+
''
;
_zepPtdamount
=
o
[
'zepPtdamount'
]
+
''
;
zepPtamount1
=
MathUtil
.
add
(
zepPtamount1
,
_zepPtdamount1
);
zepPtamount
=
MathUtil
.
add
(
zepPtamount
,
_zepPtdamount
);
$
(
'#zepPtamount1'
).
val
(
zepPtamount1
);
$
(
'#zepPtamount'
).
val
(
zepPtamount
);
});
}
}
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/employeeLoan.jsp
View file @
37062678
...
...
@@ -25,23 +25,25 @@
<x:hidden
name=
"personMemberName"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepNo"
required=
"false"
readonly=
"true"
label=
"EP流程单号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFcrdate"
required=
"false"
readonly=
"true"
wrapper=
"date"
label=
"付款申请创建日期"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFtype"
required=
"false"
readonly=
"true"
label=
"EP付款申请类别"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFtypename"
required=
"false"
readonly=
"true"
label=
"EP付款申请类别名称"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"bukrs"
required=
"false"
label=
"公司代码"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"select"
/>
<x:inputC
name=
"butxt"
required=
"false"
readonly=
"true"
label=
"公司代码名称"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepDepart"
required=
"false"
readonly=
"true"
label=
"EP部门代码"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepDepartname"
required=
"false"
readonly=
"true"
label=
"EP部门名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepAppli"
required=
"false"
readonly=
"true"
label=
"EP流程申请人代码"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepAppliname"
required=
"false"
readonly=
"true"
label=
"EP流程申请人"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepTxt"
required=
"false"
label=
"付款申请内容"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepTxt"
required=
"false"
label=
"付款申请内容"
labelCol=
"2"
fieldCol=
"6"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepFtamount"
required=
"false"
label=
"申请总金额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepFtamount1"
required=
"false"
label=
"申请总金额"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"zepPtamount"
required=
"false"
label=
"审批总金额(本位币)"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepPtamount1"
required=
"false"
label=
"审批总金额"
labelCol=
"2"
fieldCol=
"2"
/>
</div>
...
...
@@ -53,25 +55,26 @@
</div>
<div
class=
"blank_div clearfix"
></div>
<x:title
title=
"财务审核填写"
name=
"group"
/>
<div
id=
"financialAuditGrid"
style=
"margin: 2px;"
>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"financialAudit_sapReturn"
>
<x:title
title=
"财务已审核、sap回执"
name=
"group"
/>
<div
id=
"financialAudit_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"capitalPost"
>
<x:title
title=
"资金岗填写"
name=
"group"
/>
<div
id=
"capitalPostGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"paymentAccomplish_sapReturn"
>
<x:title
title=
"付款完成、sap回执"
name=
"group"
/>
<div
id=
"paymentAccomplish_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
</div>
</form>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/payApply.js
View file @
37062678
...
...
@@ -9,8 +9,18 @@ var tableArray = [
{
display
:
"计划内外付款标识"
,
name
:
"zepPlan"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
required
:
true
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"ZEP_PLAN"
}
},
back
:
{
ZEP_PLAN
:
"zepPlan"
,
ZEP_PLANNAME
:
"zepPlanname"
}
},
}
},
{
...
...
@@ -20,10 +30,6 @@ var tableArray = [
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
}
},
{
display
:
"BP标识"
,
name
:
"zepBptype"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
...
...
@@ -170,8 +176,17 @@ var tableArray = [
{
display
:
"是否付款"
,
name
:
"zepPay"
,
width
:
120
,
minwidth
:
120
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
type
:
'text'
required
:
false
,
type
:
"select"
,
data
:
{
type
:
'system'
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"ZEP_PAY"
}
},
back
:
{
ZEP_PAY
:
"zepPay"
,
}
},
}
},
{
...
...
@@ -262,14 +277,35 @@ var tableArray = [
//创建表格(参数、列、插入的节点、数据源)
function
loadGrid
(
obj
)
{
var
toolbarOptions
=
null
;
// if(obj.node=="reimbursementApplierGrid") {//只有第一个表格含工具栏
var
canEdit
=
false
;
//是否可编辑
var
canDelay
=
false
;
//是否加载。不加载是为了隐藏的表格如果是必填,提交会校验是否填写。
var
isApply
=
isApplyProcUnit
();
if
(
isApply
){
if
(
obj
.
node
===
"reimbursementApplierGrid"
){
canEdit
=
true
;
}
else
if
(
obj
.
node
===
"financialAuditGrid"
||
obj
.
node
===
"capitalPostGrid"
){
canDelay
=
true
;
}
}
var
subProcUnitId
=
getSubProcUnitId
();
//财务审核
if
(
"financeNode"
===
subProcUnitId
){
if
(
obj
.
node
===
"financialAuditGrid"
){
canEdit
=
true
;
}
else
if
(
obj
.
node
===
"capitalPostGrid"
){
canDelay
=
true
;
}
}
//资金岗
if
(
"fundNode"
===
subProcUnitId
&&
obj
.
node
===
"capitalPostGrid"
){
canEdit
=
true
;
}
if
(
obj
.
node
===
"reimbursementApplierGrid"
)
{
//只有第一个表格含工具栏
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
function
()
{
tableArray
.
forEach
((
item
)
=>
{
// alert(item.node);
if
(
item
.
node
==
"reimbursementApplierGrid"
)
{
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
(),
zepBptype
:
"K"
});
}
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
()});
});
},
deleteHandler
:
function
()
{
...
...
@@ -278,7 +314,7 @@ function loadGrid(obj) {
});
}
});
//
}
}
obj
.
gridManager
=
UICtrl
.
grid
(
"#"
+
obj
.
node
,
{
columns
:
obj
.
columns
,
dataAction
:
"local"
,
...
...
@@ -287,16 +323,16 @@ function loadGrid(obj) {
pageSize
:
20
,
toolbar
:
toolbarOptions
,
usePager
:
false
,
enabledEdit
:
true
,
enabledEdit
:
canEdit
,
delayLoad
:
canDelay
,
// width: "100%",
// height: 300,
heightDiff
:
-
8
,
checkbox
:
true
,
fixedCellHeight
:
true
,
selectRowButtonOnly
:
true
,
onAfterEdit
:
totalMoney
,
onAfterEdit
:
totalMoney
,
onBeforeCheckRow
:
function
(
checked
,
data
)
{
debugger
//同时选定或取消所有表格中的对应行
tableArray
.
forEach
((
item
)
=>
{
let
rows
=
item
.
gridManager
.
rows
;
...
...
@@ -334,12 +370,13 @@ function loadGrid(obj) {
UICtrl
.
setSearchAreaToggle
(
obj
.
gridManager
);
}
function
totalMoney
(
data
)
{
// alert(data.column.name);
// debugger
// data=data.record;
var
totals
=
0
;
if
(
data
.
column
.
name
==
"kzwi1"
)
{
var
totals
=
0
;
if
(
data
.
column
.
name
==
"kzwi1"
)
{
var
rows
=
tableArray
[
0
].
gridManager
.
rows
;
if
(
rows
)
{
for
(
var
i
in
rows
)
{
...
...
@@ -355,6 +392,8 @@ function totalMoney(data) {
$
(
document
).
ready
(
function
()
{
initialize
();
bindQueryEvent
();
nodeController
();
});
...
...
@@ -384,6 +423,18 @@ function initialize() {
}
function
bindQueryEvent
()
{
$
(
'#bukrs'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"BUKRS"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#bukrs'
).
val
(
data
.
BUKRS
);
$
(
'#butxt'
).
val
(
data
.
BUTXT
);
}
});
}
/**
* 流程引擎回调设置打样的id
...
...
@@ -463,3 +514,34 @@ function getZepItemNo() {
}
return
zepItemNo
;
}
//UICtrl中校验是否允许编辑
function
businessJudgmentUnit
()
{
var
isApply
=
isApplyProcUnit
();
if
(
isApply
)
{
$
(
"#financialAudit"
).
hide
();
$
(
"#financialAudit_sapReturn"
).
hide
();
$
(
"#capitalPost"
).
hide
();
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
return
true
;
}
else
{
UICtrl
.
setDisable
(
$
(
"#submitForm"
));
}
return
true
;
}
function
nodeController
(){
var
subProcUnitId
=
getSubProcUnitId
();
//财务审核
if
(
"financeNode"
===
subProcUnitId
){
$
(
"#financialAudit_sapReturn"
).
hide
();
$
(
"#capitalPost"
).
hide
();
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
}
//资金岗
if
(
"fundNode"
===
subProcUnitId
){
$
(
"#financialAudit_sapReturn"
).
hide
();
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
}
}
\ No newline at end of file
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/payApply.jsp
View file @
37062678
...
...
@@ -35,8 +35,8 @@
/>
<x:inputC
name=
"zepFtypename"
required=
"false"
label=
"EP付款申请类别名称"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"bukrs"
required=
"false"
label=
"公司代码"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"butxt"
required=
"false"
label=
"公司代码名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"bukrs"
required=
"false"
label=
"公司代码"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"select"
/>
<x:inputC
name=
"butxt"
required=
"false"
readonly=
"true"
label=
"公司代码名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepDepart"
required=
"false"
label=
"EP部门代码"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepDepartname"
required=
"false"
label=
"EP部门名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepAppli"
required=
"false"
label=
"EP流程申请人代码"
labelCol=
"2"
fieldCol=
"2"
/>
...
...
@@ -57,25 +57,29 @@
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"financialAudit"
>
<x:title
title=
"财务审核填写"
name=
"group"
/>
<div
id=
"financialAuditGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"financialAudit_sapReturn"
>
<x:title
title=
"财务已审核、sap回执"
name=
"group"
/>
<div
id=
"financialAudit_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"capitalPost"
>
<x:title
title=
"资金岗填写"
name=
"group"
/>
<div
id=
"capitalPostGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"paymentAccomplish_sapReturn"
>
<x:title
title=
"付款完成、sap回执"
name=
"group"
/>
<div
id=
"paymentAccomplish_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
</div>
</form>
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/refundApply.js
View file @
37062678
...
...
@@ -280,13 +280,35 @@ var tableArray = [
//创建表格(参数、列、插入的节点、数据源)
function
loadGrid
(
obj
)
{
var
toolbarOptions
=
null
;
// if(obj.node=="reimbursementApplierGrid") {//只有第一个表格含工具栏
var
canEdit
=
false
;
//是否可编辑
var
canDelay
=
false
;
//是否加载。不加载是为了隐藏的表格如果是必填,提交会校验是否填写。
var
isApply
=
isApplyProcUnit
();
if
(
isApply
){
if
(
obj
.
node
===
"reimbursementApplierGrid"
){
canEdit
=
true
;
}
else
if
(
obj
.
node
===
"financialAuditGrid"
||
obj
.
node
===
"capitalPostGrid"
){
canDelay
=
true
;
}
}
var
subProcUnitId
=
getSubProcUnitId
();
//财务审核
if
(
"financeNode"
===
subProcUnitId
){
if
(
obj
.
node
===
"financialAuditGrid"
){
canEdit
=
true
;
}
else
if
(
obj
.
node
===
"capitalPostGrid"
){
canDelay
=
true
;
}
}
//资金岗
if
(
"fundNode"
===
subProcUnitId
&&
obj
.
node
===
"capitalPostGrid"
){
canEdit
=
true
;
}
if
(
obj
.
node
===
"reimbursementApplierGrid"
)
{
//只有第一个表格含工具栏
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
function
()
{
tableArray
.
forEach
((
item
)
=>
{
if
(
item
.
node
==
"reimbursementApplierGrid"
)
{
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
(),
zepBptype
:
"D"
});
}
UICtrl
.
addGridRow
(
item
.
gridManager
,
{
zepItemno
:
getZepItemNo
()});
});
},
deleteHandler
:
function
()
{
...
...
@@ -295,7 +317,7 @@ function loadGrid(obj) {
});
}
});
//
}
}
obj
.
gridManager
=
UICtrl
.
grid
(
"#"
+
obj
.
node
,
{
columns
:
obj
.
columns
,
dataAction
:
"local"
,
...
...
@@ -304,7 +326,8 @@ function loadGrid(obj) {
pageSize
:
20
,
toolbar
:
toolbarOptions
,
usePager
:
false
,
enabledEdit
:
true
,
enabledEdit
:
canEdit
,
delayLoad
:
canDelay
,
// width: "100%",
// height: 300,
heightDiff
:
-
8
,
...
...
@@ -373,6 +396,8 @@ function totalMoney(data) {
}
$
(
document
).
ready
(
function
()
{
initialize
();
bindQueryEvent
();
nodeController
();
});
...
...
@@ -401,6 +426,19 @@ function initialize() {
$
(
"#bukrs"
).
val
(
"1000"
);
}
function
bindQueryEvent
()
{
$
(
'#bukrs'
).
searchbox
({
type
:
"system"
,
name
:
"dictionary"
,
getParam
:
function
(
item
)
{
return
{
paramValue
:
"BUKRS"
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#bukrs'
).
val
(
data
.
BUKRS
);
$
(
'#butxt'
).
val
(
data
.
BUTXT
);
}
});
}
/**
* 流程引擎回调设置打样的id
...
...
@@ -480,3 +518,35 @@ function getZepItemNo() {
}
return
zepItemNo
;
}
//UICtrl中校验是否允许编辑
function
businessJudgmentUnit
()
{
var
isApply
=
isApplyProcUnit
();
if
(
isApply
)
{
$
(
"#financialAudit"
).
hide
();
$
(
"#financialAudit_sapReturn"
).
hide
();
$
(
"#capitalPost"
).
hide
();
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
return
true
;
}
else
{
UICtrl
.
setDisable
(
$
(
"#submitForm"
));
}
return
true
;
}
function
nodeController
(){
var
subProcUnitId
=
getSubProcUnitId
();
//财务审核
if
(
"financeNode"
===
subProcUnitId
){
$
(
"#financialAudit_sapReturn"
).
hide
();
$
(
"#capitalPost"
).
hide
();
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
}
//资金岗
if
(
"fundNode"
===
subProcUnitId
){
$
(
"#financialAudit_sapReturn"
).
hide
();
$
(
"#paymentAccomplish_sapReturn"
).
hide
();
}
}
\ No newline at end of file
topsun-xt/src/main/webapp/biz/topsun/sap/costReimbursement/refundApply.jsp
View file @
37062678
...
...
@@ -34,8 +34,8 @@
/>
<x:inputC
name=
"zepFtypename"
required=
"false"
label=
"EP付款申请类别名称"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"bukrs"
required=
"false"
label=
"公司代码"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"butxt"
required=
"false"
label=
"公司代码名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"bukrs"
required=
"false"
label=
"公司代码"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"select"
/>
<x:inputC
name=
"butxt"
required=
"false"
readonly=
"true"
label=
"公司代码名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepDepart"
required=
"false"
label=
"EP部门代码"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepDepartname"
required=
"false"
label=
"EP部门名称"
labelCol=
"2"
fieldCol=
"2"
/>
<x:inputC
name=
"zepAppli"
required=
"false"
label=
"EP流程申请人代码"
labelCol=
"2"
fieldCol=
"2"
/>
...
...
@@ -60,25 +60,29 @@
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"financialAudit"
>
<x:title
title=
"财务审核填写"
name=
"group"
/>
<div
id=
"financialAuditGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"financialAudit_sapReturn"
>
<x:title
title=
"财务已审核、sap回执"
name=
"group"
/>
<div
id=
"financialAudit_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"capitalPost"
>
<x:title
title=
"资金岗填写"
name=
"group"
/>
<div
id=
"capitalPostGrid"
style=
"margin: 2px;"
>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"paymentAccomplish_sapReturn"
>
<x:title
title=
"付款完成、sap回执"
name=
"group"
/>
<div
id=
"paymentAccomplish_sapReturnGrid"
style=
"margin: 2px;"
>
</div>
</div>
</div>
</form>
...
...
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