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
2df6c346
Commit
2df6c346
authored
Jun 11, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产入库逻辑功能提交修改校验问题处理
parent
5cfe7691
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
ServiceHGKC003.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC003.java
+1
-1
HGKC003.xml
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC003.xml
+1
-1
HGKC003.js
src/main/webapp/HG/KC/HGKC003.js
+12
-1
HGKC003.jsp
src/main/webapp/HG/KC/HGKC003.jsp
+3
-0
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC003.java
View file @
2df6c346
...
@@ -216,7 +216,7 @@ public class ServiceHGKC003 extends ServiceBase {
...
@@ -216,7 +216,7 @@ public class ServiceHGKC003 extends ServiceBase {
newKc003
.
setInvWeight
(
fKc003
.
getInvWeight
().
negate
());
newKc003
.
setInvWeight
(
fKc003
.
getInvWeight
().
negate
());
newKc003
.
setDepositNoOld
(
fKc003
.
getDepositNo
());
newKc003
.
setDepositNoOld
(
fKc003
.
getDepositNo
());
newKc003
.
setDepositNo
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
PROD_DEPOSIT_NO
));
newKc003
.
setDepositNo
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
PROD_DEPOSIT_NO
));
f
Kc003
.
setStorageType
(
HGConstant
.
StorageType
.
TH
);
new
Kc003
.
setStorageType
(
HGConstant
.
StorageType
.
TH
);
DaoUtils
.
insert
(
HGKC003
.
INSERT
,
newKc003
);
DaoUtils
.
insert
(
HGKC003
.
INSERT
,
newKc003
);
// 修改库存
// 修改库存
HGKCUtils
.
HgKc010
.
updateInv
(
newKc003
.
getCompanyCode
(),
newKc003
.
getWhCode
(),
newKc003
.
getPartSpecId
(),
HGKCUtils
.
HgKc010
.
updateInv
(
newKc003
.
getCompanyCode
(),
newKc003
.
getWhCode
(),
newKc003
.
getPartSpecId
(),
...
...
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC003.xml
View file @
2df6c346
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
$orderBy$
$orderBy$
</isNotEmpty>
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
<isEmpty
property=
"orderBy"
>
ID
a
sc
ID
de
sc
</isEmpty>
</isEmpty>
</dynamic>
</dynamic>
...
...
src/main/webapp/HG/KC/HGKC003.js
View file @
2df6c346
...
@@ -77,6 +77,11 @@ $(function () {
...
@@ -77,6 +77,11 @@ $(function () {
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
query
();
}
}
},
onSave
:
function
(
e
){
// 阻止默认请求,使用自定义删除
e
.
preventDefault
();
update
();
}
}
}
}
...
@@ -167,7 +172,7 @@ function updateSubmitStatus(id) {
...
@@ -167,7 +172,7 @@ function updateSubmitStatus(id) {
/**
/**
* 保存
* 保存
*/
*/
let
sav
e
=
function
()
{
let
updat
e
=
function
()
{
let
rows
=
resultGrid
.
getCheckedRows
();
let
rows
=
resultGrid
.
getCheckedRows
();
if
(
rows
.
length
<
1
)
{
if
(
rows
.
length
<
1
)
{
message
(
"请选择数据"
);
message
(
"请选择数据"
);
...
@@ -178,6 +183,12 @@ let save = function () {
...
@@ -178,6 +183,12 @@ let save = function () {
let
whCode
=
item
.
get
(
"whCode"
);
let
whCode
=
item
.
get
(
"whCode"
);
let
whName
=
item
.
get
(
"whName"
);
let
whName
=
item
.
get
(
"whName"
);
let
price
=
item
.
get
(
"price"
);
let
price
=
item
.
get
(
"price"
);
let
submitStatus
=
item
.
get
(
"submitStatus"
);
if
(
submitStatus
==
1
){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
提交状态
\"
,为已提交!"
);
flag
=
false
;
return
false
;
}
if
(
isBlank
(
whCode
)){
if
(
isBlank
(
whCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
仓库编码
\"
,不能为空!"
);
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
仓库编码
\"
,不能为空!"
);
flag
=
false
;
flag
=
false
;
...
...
src/main/webapp/HG/KC/HGKC003.jsp
View file @
2df6c346
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
<EF:EFColumn
ename=
"rectificationId"
cname=
"整改通知单ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"rectificationId"
cname=
"整改通知单ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"partSpecId"
cname=
"零件规格ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"partSpecId"
cname=
"零件规格ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFComboColumn
cname=
"入库类型"
ename=
"storageType"
width=
"90"
align=
"center"
required=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.kc.storageType"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
...
...
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