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
c3aba608
Commit
c3aba608
authored
Mar 05, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0f1d4c10
3b0d348e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
HPBI001.xml
src/main/java/com/baosight/hpjx/hp/bi/sql/HPBI001.xml
+0
-0
ServiceHPSC005A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
+2
-1
HPKC005A.js
src/main/webapp/HP/KC/HPKC005A.js
+6
-1
No files found.
src/main/java/com/baosight/hpjx/hp/bi/sql/HPBI001.xml
View file @
c3aba608
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
View file @
c3aba608
...
...
@@ -265,7 +265,8 @@ public class ServiceHPSC005A extends ServiceBase {
*/
private
void
setBaseInfo
(
HPSC005A
fSc005a
)
{
// 厂区名称
fSc005a
.
setFactoryName
(
HPPZTools
.
HpPz011
.
getFactoryName
(
fSc005a
.
getFactoryCode
()));
//fSc005a.setFactoryName(HPPZTools.HpPz011.getFactoryName(fSc005a.getFactoryCode()));
fSc005a
.
setFactoryName
(
HPXSTools
.
XsOrg
.
get
(
fSc005a
.
getFactoryCode
()).
getOrgCname
());
// 生产组名称
fSc005a
.
setOrgName
(
HPXSTools
.
XsOrg
.
get
(
fSc005a
.
getOrgNo
()).
getOrgCname
());
}
...
...
src/main/webapp/HP/KC/HPKC005A.js
View file @
c3aba608
...
...
@@ -66,8 +66,13 @@ let select = function () {
}
for
(
let
i
=
0
;
i
<
rows
.
length
;
i
++
)
{
let
entityAmount
=
rows
[
i
][
'entityAmount'
];
let
amount
=
rows
[
i
][
'amount'
];
if
(
!
isPositiveInteger
(
entityAmount
))
{
message
(
"勾选的第"
+
(
i
+
1
)
+
"行数量必须是大于0的整数"
);
message
(
"勾选的第"
+
(
i
+
1
)
+
"行实物数量必须是大于0的整数"
);
return
;
}
if
(
parseFloat
(
entityAmount
)
>
parseFloat
(
amount
))
{
message
(
"第"
+
(
i
+
1
)
+
"行实物数量不能大于库存数量"
);
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