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
02ebb521
Commit
02ebb521
authored
Jul 16, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EP ECN问题修改
parent
de24b3a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
26 deletions
+42
-26
epChangeFormDetail.js
...rc/main/webapp/biz/topsun/ep/change/epChangeFormDetail.js
+37
-23
epChangeFormDetail.jsp
...c/main/webapp/biz/topsun/ep/change/epChangeFormDetail.jsp
+1
-1
epChangeFormList.js
.../src/main/webapp/biz/topsun/ep/change/epChangeFormList.js
+3
-1
EpChangeFormApplicationImpl.java
.../change/application/impl/EpChangeFormApplicationImpl.java
+1
-1
No files found.
topsun-xt/src/main/webapp/biz/topsun/ep/change/epChangeFormDetail.js
View file @
02ebb521
var
gridManager
=
null
,
stockGridManager
=
null
;
var
gridManager
=
null
,
stockGridManager
=
null
,
orgRoot
=
null
;
$
(
document
).
ready
(
function
()
{
initialize
();
...
...
@@ -56,8 +56,8 @@ function bindEvent(){
},
onChange
:
function
(
value
,
data
)
{
$
(
'#process'
).
val
(
data
.
process
);
$
(
'#material'
).
val
(
value
.
material
);
$
(
'#productionSolutionId'
).
val
(
value
.
productionSolutionId
);
$
(
'#material'
).
val
(
data
.
material
);
$
(
'#productionSolutionId'
).
val
(
data
.
productionSolutionId
);
}
});
...
...
@@ -83,32 +83,43 @@ function loadGrid() {
});
gridManager
=
UICtrl
.
grid
(
"#maingrid"
,
{
columns
:
[
{
display
:
"部门"
,
name
:
"deptName"
,
width
:
200
,
minWidth
:
100
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
true
,
type
:
"dynamic"
,
getEditor
:
function
(
row
)
{
var
org
=
"return { type:'tree',data:{name:'org',filter:'ogn',getParam:function(){return {orgRoot:'orgRoot',orgKindId:'ogn'};}},textField:'deptName',valueField:'deptId' }"
;
org
=
(
new
Function
(
org
))();
return
org
;
}
}
},
//
{display : "部门",name : "deptName",width : 200,minWidth : 100,type : "string",align : "left",
//
editor: { required : true, type: "dynamic",
//
getEditor:function (row) {
//
var org = "return { type:'tree',data:{name:'org',filter:'ogn',getParam:function(){return {orgRoot:'orgRoot',orgKindId:'ogn'};}},textField:'deptName',valueField:'deptId' }";
//
org = (new Function(org))();
//
return org;
//
}
//
}
//
},
{
display
:
"部门"
,
name
:
"deptId"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
display
:
"部门"
,
name
:
"deptName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
// editor: {
// type: 'tree',
// required: true,
// data: {
// name: 'org',
// filter: 'dpt',
// minWidth: 250,
// getParam:function(){
// return {
// orgRoot: "orgRoot",
// orgKindId: "ogn,dpt"
// }
// },
// },
// textField: 'deptName'
// }
editor
:
{
type
:
'tree'
,
required
:
true
,
data
:
{
name
:
'org'
,
filter
:
'
ogn,
dpt'
,
filter
:
'dpt'
,
minWidth
:
250
,
getParam
:
function
(){
return
{
orgRoot
:
"orgRoot"
,
orgKindId
:
"ogn,dpt"
}
},
},
textField
:
'deptId'
},
textField
:
'deptName'
,
valueField
:
'deptId'
}
},
{
...
...
@@ -120,7 +131,10 @@ function loadGrid() {
data
:
{
name
:
'org'
,
filter
:
'psm'
,
minWidth
:
250
minWidth
:
250
,
param
:
{
orgRoot
:
"18FFF477AEEE4609B798015231B400C3"
}
},
textField
:
'executor'
,
valueField
:
'executorId'
...
...
topsun-xt/src/main/webapp/biz/topsun/ep/change/epChangeFormDetail.jsp
View file @
02ebb521
...
...
@@ -25,7 +25,7 @@
<x:hidden
name=
"statusId"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"fillinDate"
required=
"false"
readonly=
"true"
label=
"日期"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
/>
<x:inputC
name=
"fillinDate"
required=
"false"
readonly=
"true"
label=
"日期"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"2"
wrapper=
"dateTime"
/>
<x:inputC
name=
"brandName"
required=
"true"
label=
"品牌名称"
labelCol=
"2"
fieldCol=
"2"
wrapper=
"select"
/>
<x:hidden
name=
"brandCode"
/>
<x:inputC
name=
"deptNameAndPersonName"
required=
"false"
readonly=
"true"
label=
"变更申请部门/姓名"
labelCol=
"2"
fieldCol=
"2"
/>
...
...
topsun-xt/src/main/webapp/biz/topsun/ep/change/epChangeFormList.js
View file @
02ebb521
...
...
@@ -15,12 +15,14 @@ function loadGrid() {
gridManager
=
UICtrl
.
grid
(
"#maingrid"
,
{
columns
:
[
{
display
:
"单据编号"
,
name
:
"billCode"
,
width
:
150
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"创建日期"
,
name
:
"fillinDate"
,
width
:
120
,
minWidth
:
60
,
type
:
"
string
"
,
align
:
"left"
},
{
display
:
"创建日期"
,
name
:
"fillinDate"
,
width
:
120
,
minWidth
:
60
,
type
:
"
date
"
,
align
:
"left"
},
{
display
:
"申请人"
,
name
:
"personMemberName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"申请部门"
,
name
:
"deptName"
,
width
:
120
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"产品代号"
,
name
:
"pd"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"产品名称"
,
name
:
"productName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"审批状态"
,
name
:
"statusTextView"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"状态码"
,
name
:
"code"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"消息"
,
name
:
"msg"
,
width
:
300
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
],
dataAction
:
"server"
,
url
:
web_app
.
name
+
'/epChangeForm/slicedEpChangeFormList.ajax'
,
...
...
topsun/src/main/java/com/huigou/topsun/ep/change/application/impl/EpChangeFormApplicationImpl.java
View file @
02ebb521
...
...
@@ -171,7 +171,7 @@ public class EpChangeFormApplicationImpl extends FlowBroker implements EpChangeF
//日志记录
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
try
{
String
execute
=
httpClient
.
executeForEp
(
map
,
"
/api/
pro/productionSolution/openEcn?productionSolutionId="
+
epChangeForm
.
getProductionSolutionId
());
String
execute
=
httpClient
.
executeForEp
(
map
,
"pro/productionSolution/openEcn?productionSolutionId="
+
epChangeForm
.
getProductionSolutionId
());
EpResult
epResult
=
JSONObject
.
parseObject
(
execute
,
EpResult
.
class
);
resultMap
.
put
(
"TYPE"
,
epResult
.
getCode
());
resultMap
.
put
(
"message"
,
epResult
.
getMsg
());
...
...
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