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
6400cb7a
Commit
6400cb7a
authored
Aug 06, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-06 采购入库状态提交不能保存bug
parent
a77e61d1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
HGConstant.java
src/main/java/com/baosight/hggp/hg/constant/HGConstant.java
+7
-0
ServiceHGKC001.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC001.java
+3
-0
HGKC001.js
src/main/webapp/HG/KC/HGKC001.js
+4
-0
No files found.
src/main/java/com/baosight/hggp/hg/constant/HGConstant.java
View file @
6400cb7a
...
...
@@ -383,4 +383,11 @@ public class HGConstant {
// 手动录入
public
static
final
Integer
SDLR
=
1
;
}
public
static
class
WhCodeStatus
{
// 采购计划
public
static
final
Integer
S_0
=
0
;
// 销售计划
public
static
final
Integer
S_1
=
1
;
}
}
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC001.java
View file @
6400cb7a
...
...
@@ -109,6 +109,9 @@ public class ServiceHGKC001 extends ServiceBase {
String
depositNo
=
fCg004
.
getDepositNo
();
HGKC001
dbCg004
=
dbCg004Map
.
get
(
depositNo
);
AssertUtils
.
isNull
(
dbCg004
,
String
.
format
(
"入库单[%s]不存在"
,
depositNo
));
if
(
fCg004
.
getSubmitStatus
().
equals
(
HGConstant
.
WhCodeStatus
.
S_1
)){
AssertUtils
.
isTrue
(
true
,
String
.
format
(
"入库单[%s]状态为已提交,不能修改"
,
fCg004
.
getDepositNo
()));
}
}
}
...
...
src/main/webapp/HG/KC/HGKC001.js
View file @
6400cb7a
...
...
@@ -136,6 +136,10 @@ let save = function () {
message
(
"勾选的第"
+
(
i
+
1
)
+
"行仓库不能为空"
);
return
;
}
if
(
rows
[
i
][
"submitStatus"
]
==
1
){
message
(
"第"
+
(
i
+
1
)
+
"行数据已提交,不能保存"
);
return
;
}
}
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
保存
\"
操作? "
,
{
ok
:
function
()
{
...
...
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