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
daeafb44
Commit
daeafb44
authored
Apr 24, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
cc5dcfc2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
ServiceHPKC004.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC004.java
+1
-1
ServiceHPKC013.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC013.java
+3
-3
HPKC004.js
src/main/webapp/HP/KC/HPKC004.js
+2
-1
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC004.java
View file @
daeafb44
...
@@ -169,7 +169,7 @@ public class ServiceHPKC004 extends ServiceBase {
...
@@ -169,7 +169,7 @@ public class ServiceHPKC004 extends ServiceBase {
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
删除
成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据
申请退货
成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"删除失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"删除失败"
);
}
}
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC013.java
View file @
daeafb44
...
@@ -92,12 +92,12 @@ public class ServiceHPKC013 extends ServiceBase {
...
@@ -92,12 +92,12 @@ public class ServiceHPKC013 extends ServiceBase {
HPKC010
hpkc010
=
null
;
HPKC010
hpkc010
=
null
;
HPKC013
fKc013
=
new
HPKC013
();
HPKC013
fKc013
=
new
HPKC013
();
fKc013
.
fromMap
(
resultRows
.
get
(
i
));
fKc013
.
fromMap
(
resultRows
.
get
(
i
));
HPKC013
dbKc013
=
mapKc013
.
get
(
fKc013
.
getReturnNo
());
if
(!
fKc013
.
getSubInventCode
().
equals
(
" "
))
{
if
(!
fKc013
.
getSubInventCode
().
equals
(
" "
))
{
hpkc011
=
HPKCTools
.
HpKc011
.
listById
(
f
Kc013
.
getKcId
());
hpkc011
=
HPKCTools
.
HpKc011
.
listById
(
db
Kc013
.
getKcId
());
}
else
{
}
else
{
hpkc010
=
HPKCTools
.
HpKc010
.
listById
(
f
Kc013
.
getKcId
());
hpkc010
=
HPKCTools
.
HpKc010
.
listById
(
db
Kc013
.
getKcId
());
}
}
HPKC013
dbKc013
=
mapKc013
.
get
(
fKc013
.
getReturnNo
());
if
(
dbKc013
.
getReturnStatus
().
compareTo
(
ReturnStatusEnum
.
RETURNING
.
getCode
())==
0
)
{
if
(
dbKc013
.
getReturnStatus
().
compareTo
(
ReturnStatusEnum
.
RETURNING
.
getCode
())==
0
)
{
dbKc013
.
setReturnStatus
(
ReturnStatusEnum
.
RETURNED
.
getCode
());
dbKc013
.
setReturnStatus
(
ReturnStatusEnum
.
RETURNED
.
getCode
());
DaoUtils
.
update
(
HPKC013
.
UPDATE
,
dbKc013
);
DaoUtils
.
update
(
HPKC013
.
UPDATE
,
dbKc013
);
...
...
src/main/webapp/HP/KC/HPKC004.js
View file @
daeafb44
...
@@ -139,9 +139,10 @@ function returnApply(){
...
@@ -139,9 +139,10 @@ function returnApply(){
}
}
});
});
if
(
flag
)
{
if
(
flag
)
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
退货
\"
操作? "
,
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
申请
退货
\"
操作? "
,
{
ok
:
function
()
{
ok
:
function
()
{
JSUtils
.
submitGridsData
(
"result"
,
"HPKC004"
,
"returnApply"
,
true
);
JSUtils
.
submitGridsData
(
"result"
,
"HPKC004"
,
"returnApply"
,
true
);
query
();
}
}
});
});
}
}
...
...
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