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
b29568b3
Commit
b29568b3
authored
Jan 25, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理计划与订单关联关系
parent
04c2a659
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
ServiceHPSC003.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
+1
-1
HPSC002.jsp
src/main/webapp/HP/SC/HPSC002.jsp
+1
-1
HPSC003.js
src/main/webapp/HP/SC/HPSC003.js
+2
-2
HPSC005.js
src/main/webapp/HP/SC/HPSC005.js
+7
-7
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
View file @
b29568b3
...
...
@@ -184,7 +184,7 @@ public class ServiceHPSC003 extends ServiceBase {
DaoUtils
.
update
(
"HPSC003.update"
,
HPSC003
.
toMap
());
//生成生产订单
HashMap
params
=
new
HashMap
();
params
.
put
(
"parentPrdtCode"
,
HPSC003
.
get
Id
());
params
.
put
(
"parentPrdtCode"
,
HPSC003
.
get
PlanInfoNo
());
List
list
=
dao
.
query
(
"HPSC004.queryDetail"
,
params
,
0
,-
999999
);
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++)
{
HPSC004
HPSC004
=
(
HPSC004
)
list
.
get
(
i
);
...
...
src/main/webapp/HP/SC/HPSC002.jsp
View file @
b29568b3
...
...
@@ -46,7 +46,7 @@
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目编码"
/>
<EF:EFColumn
enable=
"false"
ename=
"projName"
cname=
"项目名称"
/>
<EF:EFComboColumn
cname=
"产品类型"
ename=
"prdtType"
width=
"90"
align=
"center"
>
<EF:EFComboColumn
cname=
"产品类型"
ename=
"prdtType"
width=
"90"
align=
"center"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
condition=
"ITEM_CODE IN ('3','4')"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"prdtCode"
required=
"true"
cname=
"产品名称"
/>
...
...
src/main/webapp/HP/SC/HPSC003.js
View file @
b29568b3
...
...
@@ -49,8 +49,8 @@ $(function () {
detailGrid
.
setEiBlock
(
block
);
}
var
info
=
new
EiInfo
()
var
p
arentPrdtCode
=
e
.
model
[
'id
'
];
info
.
set
(
"parentPrdtCode"
,
p
arentPrdtCode
);
var
p
lanInfoNo
=
e
.
model
[
'planInfoNo
'
];
info
.
set
(
"parentPrdtCode"
,
p
lanInfoNo
);
EiCommunicator
.
send
(
"HPSC004"
,
"queryDetail"
,
info
,{
onSuccess
:
function
(
ei
){
//返回结果集
detailGrid
.
setEiInfo
(
ei
);
...
...
src/main/webapp/HP/SC/HPSC005.js
View file @
b29568b3
...
...
@@ -32,19 +32,19 @@ $(function () {
callbackName
:
assignCallback
});
//分派可修改,不做判断
/*
let num = 0;
let
num
=
0
;
rows
.
forEach
(
function
(
element
)
{
if
(
element
.
status
==
1
)
{
num
++
;
}
ids
.
push
(
element
.
id
)
});
if (num > 0) {
message("勾选的数据中有已经分派的数据!");
return;
} else {
}*/
//
if (num > 0) {
//
message("勾选的数据中有已经分派的数据!");
//
return;
//
} else {
//
// }
});
...
...
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