Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
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
鲁鑫
topsun-bpm
Commits
77d6885a
Commit
77d6885a
authored
Nov 15, 2024
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量异常评审表增加生产批次查询条件;ECN原材料变更选择时去掉前导0
parent
496bf3a1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
9 deletions
+23
-9
epMaterialChangeFormDetail.js
...webapp/biz/topsun/ep/change/epMaterialChangeFormDetail.js
+12
-2
unqualifiedMaterialsDetail.js
...un/mes/unqualifiedMaterials/unqualifiedMaterialsDetail.js
+0
-6
unqualifiedMaterialsList.jsp
...sun/mes/unqualifiedMaterials/unqualifiedMaterialsList.jsp
+1
-0
EpChangeFormApplicationImpl.java
.../change/application/impl/EpChangeFormApplicationImpl.java
+8
-1
UnqualifiedMaterialsQueryRequest.java
...erials/domain/query/UnqualifiedMaterialsQueryRequest.java
+1
-0
unqualifiedMaterials.xml
.../topsun/mes/unqualifiedMaterials/unqualifiedMaterials.xml
+1
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/ep/change/epMaterialChangeFormDetail.js
View file @
77d6885a
...
@@ -29,7 +29,12 @@ function bindEvent(){
...
@@ -29,7 +29,12 @@ function bindEvent(){
}
}
},
},
onChange
:
function
(
value
,
data
)
{
onChange
:
function
(
value
,
data
)
{
$
(
'#pd'
).
val
(
value
.
value
);
var
values
=
value
.
value
.
split
(
","
);
var
pds
=
[];
for
(
let
i
=
0
;
i
<
values
.
length
;
i
++
)
{
pds
.
push
(
values
[
i
].
replace
(
/^0+/g
,
""
));
}
$
(
'#pd'
).
val
(
pds
.
join
(
","
));
$
(
'#productName'
).
val
(
value
.
text
);
$
(
'#productName'
).
val
(
value
.
text
);
}
}
});
});
...
@@ -48,7 +53,12 @@ function bindEvent(){
...
@@ -48,7 +53,12 @@ function bindEvent(){
}
}
},
},
onChange
:
function
(
value
,
data
)
{
onChange
:
function
(
value
,
data
)
{
$
(
'#changedPd'
).
val
(
value
.
value
);
var
values
=
value
.
value
.
split
(
","
);
var
pds
=
[];
for
(
let
i
=
0
;
i
<
values
.
length
;
i
++
)
{
pds
.
push
(
values
[
i
].
replace
(
/^0+/g
,
""
));
}
$
(
'#changedPd'
).
val
(
pds
.
join
(
","
));
$
(
'#changedProductName'
).
val
(
value
.
text
);
$
(
'#changedProductName'
).
val
(
value
.
text
);
}
}
});
});
...
...
topsun-xt/src/main/webapp/biz/topsun/mes/unqualifiedMaterials/unqualifiedMaterialsDetail.js
View file @
77d6885a
...
@@ -6,15 +6,9 @@ function initialize(){
...
@@ -6,15 +6,9 @@ function initialize(){
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
$
(
'#fileList'
).
fileList
({
bizId
:
$
(
"#id"
).
val
()});
$
(
'#fileList'
).
fileList
({
bizId
:
$
(
"#id"
).
val
()});
}
}
function
bindEvent
(){
function
bindEvent
(){
// $("#result").combox({onChange:function(data){
// var handleOpinion = $("#handleOpinion").val();
// $("#handleOpinion").val(data.text + "-" + handleOpinion)
// }
// })
}
}
function
getExtendedData
(
processAction
)
{
function
getExtendedData
(
processAction
)
{
...
...
topsun-xt/src/main/webapp/biz/topsun/mes/unqualifiedMaterials/unqualifiedMaterialsList.jsp
View file @
77d6885a
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<form
class=
"hg-form ui-hide"
method=
"post"
action=
""
id=
"queryMainForm"
>
<form
class=
"hg-form ui-hide"
method=
"post"
action=
""
id=
"queryMainForm"
>
<x:inputC
name=
"billCode"
required=
"false"
label=
"申请单号"
labelCol=
"1"
/>
<x:inputC
name=
"billCode"
required=
"false"
label=
"申请单号"
labelCol=
"1"
/>
<x:inputC
name=
"pd"
required=
"false"
label=
"PD/YL编码"
labelCol=
"1"
/>
<x:inputC
name=
"pd"
required=
"false"
label=
"PD/YL编码"
labelCol=
"1"
/>
<x:inputC
name=
"batchNo"
required=
"false"
label=
"生产批次"
labelCol=
"1"
/>
<x:searchButtons/>
<x:searchButtons/>
</form>
</form>
<div
class=
"blank_div clearfix"
></div>
<div
class=
"blank_div clearfix"
></div>
...
...
topsun/src/main/java/com/huigou/topsun/ep/change/application/impl/EpChangeFormApplicationImpl.java
View file @
77d6885a
...
@@ -394,8 +394,15 @@ public class EpChangeFormApplicationImpl extends FlowBroker implements EpChangeF
...
@@ -394,8 +394,15 @@ public class EpChangeFormApplicationImpl extends FlowBroker implements EpChangeF
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
//日志记录
//日志记录
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
//成品变更
String
url
=
"pro/productionSolution/openEcn?pds="
+
epChangeForm
.
getPd
();
//String url = "pro/productionSolution/openEcn?pds="+epChangeForm.getPd()+"&changedPd="+"";
//原材料变更
// if (StringUtil.isNotBlank(epChangeForm.getMaterialReasonForChange())){
// url = url + epChangeForm.getChangedPd();
// }
try
{
try
{
String
execute
=
httpClient
.
executeForEp
(
map
,
"pro/productionSolution/openEcn?pds="
+
epChangeForm
.
getPd
()
);
String
execute
=
httpClient
.
executeForEp
(
map
,
url
);
EpResult
epResult
=
JSONObject
.
parseObject
(
execute
,
EpResult
.
class
);
EpResult
epResult
=
JSONObject
.
parseObject
(
execute
,
EpResult
.
class
);
resultMap
.
put
(
"TYPE"
,
epResult
.
getCode
());
resultMap
.
put
(
"TYPE"
,
epResult
.
getCode
());
resultMap
.
put
(
"message"
,
epResult
.
getMsg
());
resultMap
.
put
(
"message"
,
epResult
.
getMsg
());
...
...
topsun/src/main/java/com/huigou/topsun/mes/unqualifiedMaterials/domain/query/UnqualifiedMaterialsQueryRequest.java
View file @
77d6885a
...
@@ -12,4 +12,5 @@ import lombok.Data;
...
@@ -12,4 +12,5 @@ import lombok.Data;
public
class
UnqualifiedMaterialsQueryRequest
extends
QueryAbstractRequest
{
public
class
UnqualifiedMaterialsQueryRequest
extends
QueryAbstractRequest
{
private
String
billCode
;
private
String
billCode
;
private
String
pd
;
private
String
pd
;
private
String
batchNo
;
}
}
topsun/src/main/resources/config/topsun/mes/unqualifiedMaterials/unqualifiedMaterials.xml
View file @
77d6885a
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
</sql-query>
</sql-query>
<condition
column=
"bill_code"
name=
"billCode"
type=
"java.lang.String"
symbol=
"like"
alias=
"t"
/>
<condition
column=
"bill_code"
name=
"billCode"
type=
"java.lang.String"
symbol=
"like"
alias=
"t"
/>
<condition
column=
"pd"
name=
"pd"
type=
"java.lang.String"
symbol=
"like"
alias=
"t"
/>
<condition
column=
"pd"
name=
"pd"
type=
"java.lang.String"
symbol=
"like"
alias=
"t"
/>
<condition
column=
"batch_no"
name=
"batchNo"
type=
"java.lang.String"
symbol=
"like"
alias=
"t"
/>
<condition
column=
"id"
name=
"id"
type=
"java.lang.String"
symbol=
"="
alias=
"t"
/>
<condition
column=
"id"
name=
"id"
type=
"java.lang.String"
symbol=
"="
alias=
"t"
/>
</query>
</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