Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
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
platform
hg-smart
Commits
7bc9739f
Commit
7bc9739f
authored
Sep 18, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com:8800/platform/hg-smart
into dev-ly
parents
fad70131
8295c070
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
ServiceHGSC005A.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC005A.java
+2
-0
ServiceHGSC006A.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC006A.java
+2
-0
HGCG002.js
src/main/webapp/HG/CG/HGCG002.js
+1
-1
HGCG003.js
src/main/webapp/HG/CG/HGCG003.js
+2
-2
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC005A.java
View file @
7bc9739f
...
@@ -176,6 +176,8 @@ public class ServiceHGSC005A extends ServiceBase {
...
@@ -176,6 +176,8 @@ public class ServiceHGSC005A extends ServiceBase {
* @param dbSc005
* @param dbSc005
*/
*/
private
void
checkScheduleData
(
HGSC005
dbSc005
)
{
private
void
checkScheduleData
(
HGSC005
dbSc005
)
{
AssertUtils
.
isNotEquals
(
dbSc005
.
getCommitStatus
(),
CommonConstant
.
YesNo
.
NO_0
,
String
.
format
(
"生产计划已提交,不允许操作"
));
// AssertUtils.isEquals(hgsc005.getIsSchedule(), CommonConstant.YesNo.YES_1, "当前计划已排产,请手动调整计划!");
// AssertUtils.isEquals(hgsc005.getIsSchedule(), CommonConstant.YesNo.YES_1, "当前计划已排产,请手动调整计划!");
}
}
...
...
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC006A.java
View file @
7bc9739f
...
@@ -150,6 +150,8 @@ public class ServiceHGSC006A extends ServiceBase {
...
@@ -150,6 +150,8 @@ public class ServiceHGSC006A extends ServiceBase {
hgsc007
.
setFactoryCode
(
factoryCode
);
hgsc007
.
setFactoryCode
(
factoryCode
);
hgsc007
.
setFactoryName
(
factoryName
);
hgsc007
.
setFactoryName
(
factoryName
);
DaoUtils
.
update
(
HGSC007
.
UPDATE
,
hgsc007
);
DaoUtils
.
update
(
HGSC007
.
UPDATE
,
hgsc007
);
// 写入派工人员明细
HgScUtils
.
HgSc007B
.
addGroupUser
(
hgsc007
);
}
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
orderDetailIds
.
length
+
"]条数据分派成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
orderDetailIds
.
length
+
"]条数据分派成功!"
);
...
...
src/main/webapp/HG/CG/HGCG002.js
View file @
7bc9739f
...
@@ -318,7 +318,7 @@ let purUserIdChange = function (e) {
...
@@ -318,7 +318,7 @@ let purUserIdChange = function (e) {
let
userRecordRows
=
__eiInfo
.
blocks
.
user_block_id
.
rows
;
let
userRecordRows
=
__eiInfo
.
blocks
.
user_block_id
.
rows
;
for
(
let
k
=
0
;
k
<
resultGrid
.
getCheckedRowsIndex
()
+
1
;
k
++
)
{
for
(
let
k
=
0
;
k
<
resultGrid
.
getCheckedRowsIndex
()
+
1
;
k
++
)
{
for
(
let
i
=
0
;
i
<
userRecordRows
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
userRecordRows
.
length
;
i
++
)
{
if
(
userRecordRows
[
i
][
1
]
===
item
.
supCode
)
{
if
(
userRecordRows
[
i
][
1
]
===
item
.
purUserId
)
{
let
userName
=
userRecordRows
[
i
][
0
];
let
userName
=
userRecordRows
[
i
][
0
];
resultGrid
.
setCellValue
(
item
,
'purUserName'
,
userName
==
null
?
""
:
userName
);
resultGrid
.
setCellValue
(
item
,
'purUserName'
,
userName
==
null
?
""
:
userName
);
return
;
return
;
...
...
src/main/webapp/HG/CG/HGCG003.js
View file @
7bc9739f
...
@@ -160,7 +160,7 @@ $(function () {
...
@@ -160,7 +160,7 @@ $(function () {
// change事件
// change事件
grid
.
dataSource
.
bind
(
"change"
,
function
(
e
)
{
grid
.
dataSource
.
bind
(
"change"
,
function
(
e
)
{
supCodeChange
(
e
);
supCodeChange
(
e
);
supCode
Change
(
e
);
purUserId
Change
(
e
);
if
(
e
.
field
==
"companyCode"
)
{
if
(
e
.
field
==
"companyCode"
)
{
for
(
let
i
=
0
;
i
<
companyCodeBox
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
companyCodeBox
.
length
;
i
++
)
{
if
(
companyCodeBox
[
i
][
'companyCode'
]
===
e
.
items
[
0
][
'companyCode'
])
{
if
(
companyCodeBox
[
i
][
'companyCode'
]
===
e
.
items
[
0
][
'companyCode'
])
{
...
@@ -357,7 +357,7 @@ let purUserIdChange = function (e) {
...
@@ -357,7 +357,7 @@ let purUserIdChange = function (e) {
let
userRecordRows
=
__eiInfo
.
blocks
.
user_block_id
.
rows
;
let
userRecordRows
=
__eiInfo
.
blocks
.
user_block_id
.
rows
;
for
(
let
k
=
0
;
k
<
resultGrid
.
getCheckedRowsIndex
()
+
1
;
k
++
)
{
for
(
let
k
=
0
;
k
<
resultGrid
.
getCheckedRowsIndex
()
+
1
;
k
++
)
{
for
(
let
i
=
0
;
i
<
userRecordRows
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
userRecordRows
.
length
;
i
++
)
{
if
(
userRecordRows
[
i
][
1
]
===
item
.
supCode
)
{
if
(
userRecordRows
[
i
][
1
]
===
item
.
purUserId
)
{
let
userName
=
userRecordRows
[
i
][
0
];
let
userName
=
userRecordRows
[
i
][
0
];
resultGrid
.
setCellValue
(
item
,
'purUserName'
,
userName
==
null
?
""
:
userName
);
resultGrid
.
setCellValue
(
item
,
'purUserName'
,
userName
==
null
?
""
:
userName
);
return
;
return
;
...
...
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