Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
639aed0e
Commit
639aed0e
authored
Apr 29, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com/platform/hp-smart
into dev-ly
parents
9710629d
3ba118ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
HPMT002.xml
src/main/java/com/baosight/hpjx/hp/mt/sql/HPMT002.xml
+2
-0
HPCG002A.js
src/main/webapp/HP/CG/HPCG002A.js
+5
-5
No files found.
src/main/java/com/baosight/hpjx/hp/mt/sql/HPMT002.xml
View file @
639aed0e
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
PROJ_TYPE as "projType",
<!-- 项目类型 -->
PROJ_TYPE as "projType",
<!-- 项目类型 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PLAN_INFO_NO as "planInfoNo",
<!-- 生产计划单号 -->
PLAN_INFO_NO as "planInfoNo",
<!-- 生产计划单号 -->
PLAN_COMPLETION_DATE as "planCompletionDate",
<!-- 计划完成日期 -->
PLAN_COMPLETION_DATE as "planCompletionDate",
<!-- 计划完成日期 -->
STATUS as "status",
<!-- 状态 0-计划中,1-生产中 -->
STATUS as "status",
<!-- 状态 0-计划中,1-生产中 -->
...
@@ -55,6 +56,7 @@
...
@@ -55,6 +56,7 @@
PROJ_TYPE as "projType",
<!-- 项目类型 -->
PROJ_TYPE as "projType",
<!-- 项目类型 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PLAN_INFO_NO as "planInfoNo",
<!-- 生产计划单号 -->
PLAN_INFO_NO as "planInfoNo",
<!-- 生产计划单号 -->
PLAN_COMPLETION_DATE as "planCompletionDate",
<!-- 计划完成日期 -->
PLAN_COMPLETION_DATE as "planCompletionDate",
<!-- 计划完成日期 -->
STATUS as "status",
<!-- 状态 0-计划中,1-生产中 -->
STATUS as "status",
<!-- 状态 0-计划中,1-生产中 -->
...
...
src/main/webapp/HP/CG/HPCG002A.js
View file @
639aed0e
...
@@ -127,15 +127,15 @@ function save() {
...
@@ -127,15 +127,15 @@ function save() {
return
;
return
;
}
}
if
(
isBlank
(
rows
[
i
][
'custCode'
]))
{
if
(
isBlank
(
rows
[
i
][
'custCode'
]))
{
message
(
"勾选的第"
+
(
i
+
1
)
+
"行
供应商
不能为空"
);
message
(
"勾选的第"
+
(
i
+
1
)
+
"行
\"
供应商
\"
不能为空"
);
return
;
return
;
}
}
if
(
!
isPositiveInteger
(
rows
[
i
][
'planAmount'
]))
{
if
(
isBlank
(
rows
[
i
][
'planAmount'
]))
{
message
(
"勾选的第"
+
(
i
ndex
+
1
)
+
"行
\"
计划数量
\"
必须是大于0的整数
"
);
message
(
"勾选的第"
+
(
i
+
1
)
+
"行
\"
计划数量
\"
不能为空
"
);
return
;
return
;
}
}
if
(
!
isPositiveNumber
(
rows
[
i
][
'planWeight'
])){
if
(
isBlank
(
rows
[
i
][
'planWeight'
])){
message
(
"选中的第"
+
(
i
ndex
+
1
)
+
"行
\"
计划重量
\"
必须是大于0的数
"
);
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
计划重量
\"
不能为空
"
);
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