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
529e2e8f
Commit
529e2e8f
authored
May 22, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产订单派工dev
parent
a3fd0b73
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
HGSC006A.js
src/main/webapp/HG/SC/HGSC006A.js
+16
-1
HGSC098.jsp
src/main/webapp/HG/SC/HGSC098.jsp
+1
-1
No files found.
src/main/webapp/HG/SC/HGSC006A.js
View file @
529e2e8f
...
...
@@ -49,9 +49,24 @@ function assign() {
message
(
"请至少选择一条需要分派的数据"
);
return
;
}
let
productType
=
rows
[
0
].
get
(
"productType"
);
let
flag
=
true
;
$
.
each
(
rows
,
function
(
index
,
item
)
{
let
compareProductType
=
item
.
get
(
"productType"
);
if
(
productType
!=
compareProductType
){
IPLAT
.
alert
({
message
:
"选中的生产订单不属于同一工种,无法分派!"
,
okFn
:
function
(
e
)
{
},
title
:
'错误'
});
flag
=
false
;
return
false
;
}
});
let
companyCode
=
rows
[
0
].
companyCode
;
JSColorbox
.
open
({
href
:
"HPSC098?methodName=initLoad&inqu_status-0-companyCode="
+
companyCode
,
href
:
"HPSC098?methodName=initLoad&inqu_status-0-companyCode="
+
companyCode
+
"&inqu_status-0-productType="
+
productType
,
title
:
"<div style='text-align: center;'>选择组织</div>"
,
width
:
"70%"
,
height
:
"70%"
,
...
...
src/main/webapp/HG/SC/HGSC098.jsp
View file @
529e2e8f
...
...
@@ -15,7 +15,7 @@ HPSC098.js<!DOCTYPE html>
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="factory_record_block_id" textField="factoryName" valueField="factoryCode"/>
</EF:EFSelect>
<EF:EFCascadeSelect cascadeFrom="
result-0-companyCode" cname="工作组" ename="result-0-de
pCode"
<EF:EFCascadeSelect cascadeFrom="
inqu_status-0-factoryCode" cname="工作组" ename="inqu_status-0-grou
pCode"
colWidth="4" required="true" filter="contains" defaultValue=""
serviceName="HGSC098" methodName="workGroupComboBox" resultId="workGroup"
textField="orgCname" valueField="orgEname" >
...
...
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