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
a75b4993
Commit
a75b4993
authored
Apr 02, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成本中心增加层次结构范围选择字段
parent
cab83b03
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
0 deletions
+43
-0
sapCostCenterDetail.js
...n/webapp/biz/topsun/sap/costCenter/sapCostCenterDetail.js
+21
-0
sapCostCenterDetail.jsp
.../webapp/biz/topsun/sap/costCenter/sapCostCenterDetail.jsp
+1
-0
CostCenter.java
...a/com/huigou/topsun/sap/costCenter/domain/CostCenter.java
+6
-0
CostCenterReturnVo.java
...u/topsun/sap/costCenter/domain/vo/CostCenterReturnVo.java
+14
-0
CostCenterVo.java
.../huigou/topsun/sap/costCenter/domain/vo/CostCenterVo.java
+1
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/costCenter/sapCostCenterDetail.js
View file @
a75b4993
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
initializateUI
();
initializateUI
();
bindEvent
();
});
});
function
initializateUI
()
{
function
initializateUI
()
{
...
@@ -16,6 +17,26 @@ function initializateUI() {
...
@@ -16,6 +17,26 @@ function initializateUI() {
}
}
}
}
function
bindEvent
(){
$
(
'#khinr'
).
treebox
({
name
:
'sapOrgDpt'
,
searchName
:
'sapOrgDpt'
,
searchType
:
'bsn'
,
hasSearch
:
true
,
minWidth
:
500
,
param
:{
treeViewMappingType
:
"bsn"
,
parentId
:
'ogn'
},
back
:{
//text:$('#queryDataManageName')
},
onChange
:
function
(
node
,
data
){
$
(
'#khinr'
).
val
(
data
.
id
);
}
});
}
function
getCostCenterDetail
(
CostCenterAction
)
{
function
getCostCenterDetail
(
CostCenterAction
)
{
//采购订单保存时数据不进行必填验证,提交时数据才进行必填验证
//采购订单保存时数据不进行必填验证,提交时数据才进行必填验证
var
op
=
{};
var
op
=
{};
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/costCenter/sapCostCenterDetail.jsp
View file @
a75b4993
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<x:inputC
name=
"datbi"
required=
"true"
label=
"有限期自"
labelCol=
"2"
wrapper=
"date"
fieldCol=
"4"
/>
<x:inputC
name=
"datbi"
required=
"true"
label=
"有限期自"
labelCol=
"2"
wrapper=
"date"
fieldCol=
"4"
/>
<x:inputC
name=
"datab"
required=
"true"
label=
"有限截止日"
labelCol=
"2"
wrapper=
"date"
fieldCol=
"4"
/>
<x:inputC
name=
"datab"
required=
"true"
label=
"有限截止日"
labelCol=
"2"
wrapper=
"date"
fieldCol=
"4"
/>
<x:inputC
name=
"verak"
required=
"true"
label=
"负责人"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"verak"
required=
"true"
label=
"负责人"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"khinr"
required=
"true"
label=
"层次结构范围"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
wrapper=
"select"
/>
<x:selectC
name=
"prctr"
required=
"true"
label=
"利润中心"
labelCol=
"2"
dictionary=
"PRCTR"
fieldCol=
"4"
/>
<x:selectC
name=
"prctr"
required=
"true"
label=
"利润中心"
labelCol=
"2"
dictionary=
"PRCTR"
fieldCol=
"4"
/>
<x:inputC
name=
"telePhone"
required=
"false"
label=
"联系方式"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"telePhone"
required=
"false"
label=
"联系方式"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"reason"
required=
"false"
label=
"原因"
labelCol=
"2"
maxLength=
"255"
fieldCol=
"4"
/>
<x:inputC
name=
"reason"
required=
"false"
label=
"原因"
labelCol=
"2"
maxLength=
"255"
fieldCol=
"4"
/>
...
...
topsun/src/main/java/com/huigou/topsun/sap/costCenter/domain/CostCenter.java
View file @
a75b4993
...
@@ -98,6 +98,12 @@ public class CostCenter extends FlowBillAbstractEntity {
...
@@ -98,6 +98,12 @@ public class CostCenter extends FlowBillAbstractEntity {
*/
*/
@Column
(
name
=
"tele_phone"
)
@Column
(
name
=
"tele_phone"
)
private
String
telePhone
;
private
String
telePhone
;
/**
* 层次结构范围
*/
@Column
(
name
=
"KHINR"
)
private
String
khinr
;
/**
/**
* ********************************返回接收数据***********************************
* ********************************返回接收数据***********************************
*/
*/
...
...
topsun/src/main/java/com/huigou/topsun/sap/costCenter/domain/vo/CostCenterReturnVo.java
View file @
a75b4993
...
@@ -78,6 +78,12 @@ public class CostCenterReturnVo implements Serializable {
...
@@ -78,6 +78,12 @@ public class CostCenterReturnVo implements Serializable {
@JsonProperty
(
"PRCTR"
)
@JsonProperty
(
"PRCTR"
)
private
String
prctr
;
private
String
prctr
;
/**
* 层次结构范围
*/
@JsonProperty
(
"KHINR"
)
private
String
khinr
;
public
String
getKostl
()
{
public
String
getKostl
()
{
return
kostl
;
return
kostl
;
}
}
...
@@ -164,6 +170,14 @@ public class CostCenterReturnVo implements Serializable {
...
@@ -164,6 +170,14 @@ public class CostCenterReturnVo implements Serializable {
this
.
prctr
=
prctr
;
this
.
prctr
=
prctr
;
}
}
public
String
getKhinr
()
{
return
khinr
;
}
public
void
setKhinr
(
String
khinr
)
{
this
.
khinr
=
khinr
;
}
public
CostCenterReturnVo
()
{
public
CostCenterReturnVo
()
{
}
}
}
}
topsun/src/main/java/com/huigou/topsun/sap/costCenter/domain/vo/CostCenterVo.java
View file @
a75b4993
...
@@ -72,6 +72,7 @@ public class CostCenterVo implements Serializable {
...
@@ -72,6 +72,7 @@ public class CostCenterVo implements Serializable {
private
int
isEnable
;
private
int
isEnable
;
private
int
isDelete
;
private
int
isDelete
;
private
String
khinr
;
/**
/**
* 创建原因 CHAR 100 手工输入
* 创建原因 CHAR 100 手工输入
...
...
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