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
257fc641
Commit
257fc641
authored
Nov 28, 2023
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工艺
parent
a0562e7c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
+19
-11
processDetail.jsp
...t/src/main/webapp/biz/topsun/technology/processDetail.jsp
+1
-1
processList.js
...n-xt/src/main/webapp/biz/topsun/technology/processList.js
+9
-5
technologyList.js
...t/src/main/webapp/biz/topsun/technology/technologyList.js
+9
-5
No files found.
topsun-xt/src/main/webapp/biz/topsun/technology/processDetail.jsp
View file @
257fc641
...
...
@@ -9,7 +9,7 @@
<x:inputC
name=
"processName"
required=
"true"
label=
"工序名称"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:selectC
name=
"processType"
required=
"true"
label=
"工序类别"
labelCol=
"2"
dictionary=
"processType"
fieldCol=
"4"
/>
<x:inputC
name=
"processContent"
required=
"true"
label=
"工序内容"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"4"
/>
<x:inputC
name=
"workHours"
required=
"true"
label=
"工时"
labelCol=
"2"
mask=
"nnnn"
dataOptions=
"min:0"
maxLength=
"32"
fieldCol=
"4"
/>
<x:inputC
name=
"workHours"
required=
"true"
label=
"工时"
labelCol=
"2"
mask=
"nnnn
.nn
"
dataOptions=
"min:0"
maxLength=
"32"
fieldCol=
"4"
/>
<x:inputC
name=
"processRemark"
required=
"false"
label=
"工序说明"
labelCol=
"2"
maxLength=
"32"
fieldCol=
"10"
/>
</div>
<div
class=
"blank_div clearfix"
></div>
...
...
topsun-xt/src/main/webapp/biz/topsun/technology/processList.js
View file @
257fc641
...
...
@@ -40,7 +40,7 @@ function loadProcessListGrid() {
fixedCellHeight
:
true
,
selectRowButtonOnly
:
true
,
onDblClickRow
:
function
(
data
,
rowindex
,
rowobj
)
{
updateHandler
(
data
.
id
);
updateHandler
(
data
);
}
});
UICtrl
.
setSearchAreaToggle
(
gridManager
);
...
...
@@ -76,14 +76,18 @@ function addHandler(){
});
}
function
updateHandler
(){
var
process
=
DataUtil
.
getUpdateRow
(
gridManager
);
if
(
!
process
){
return
;
}
function
updateHandler
(
row
){
if
(
!
row
)
{
row
=
DataUtil
.
getUpdateRow
(
gridManager
);
if
(
!
row
)
{
return
;
}
}
UICtrl
.
showAjaxDialog
({
url
:
web_app
.
name
+
'/process/showProcessDetail.load'
,
title
:
"修改工艺设置"
,
width
:
800
,
param
:{
processId
:
process
.
processId
},
param
:{
processId
:
row
.
processId
},
ok
:
function
(
div
){
var
_self
=
this
;
$
(
'#submitForm'
,
div
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/process/saveProcess.ajax'
,
...
...
topsun-xt/src/main/webapp/biz/topsun/technology/technologyList.js
View file @
257fc641
...
...
@@ -39,7 +39,7 @@ function loadTechnologyListGrid() {
fixedCellHeight
:
true
,
selectRowButtonOnly
:
true
,
onDblClickRow
:
function
(
data
,
rowindex
,
rowobj
)
{
updateHandler
(
data
.
id
);
updateHandler
(
data
);
}
});
UICtrl
.
setSearchAreaToggle
(
gridManager
);
...
...
@@ -78,14 +78,18 @@ function addHandler(){
});
}
function
updateHandler
(){
var
technology
=
DataUtil
.
getUpdateRow
(
gridManager
);
if
(
!
technology
){
return
;
}
function
updateHandler
(
row
){
if
(
!
row
)
{
row
=
DataUtil
.
getUpdateRow
(
gridManager
);
if
(
!
row
)
{
return
;
}
}
UICtrl
.
showAjaxDialog
({
url
:
web_app
.
name
+
'/technology/showTechnologyDetail.load'
,
title
:
"修改工艺设置"
,
width
:
1000
,
param
:{
technologyId
:
technology
.
technologyId
},
param
:{
technologyId
:
row
.
technologyId
},
ok
:
function
(
div
){
var
_self
=
this
;
$
(
'#submitForm'
,
div
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/technology/updateTechnology.ajax'
,
...
...
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