Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
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
jiawei.su
Laisi_AutoMES2
Commits
c9e15cb6
Commit
c9e15cb6
authored
Jan 22, 2021
by
xin.yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some update
parent
24f43658
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
collection.vue
Html/src/view/qms/manual/collection.vue
+3
-6
SectionPropertyController.cs
...pis/Siger.ApiACC/Controllers/SectionPropertyController.cs
+3
-3
No files found.
Html/src/view/qms/manual/collection.vue
View file @
c9e15cb6
...
...
@@ -54,7 +54,7 @@
@
click=
"materialchange(index)"
:class=
"
{ active: d == index }"
>
{{
item
.
name
+
"【"
+
item
.
pn
+
"】"
}}
{{
item
.
name
}}
</p>
</div>
</div>
...
...
@@ -672,7 +672,7 @@ export default {
axios
.
request
({
url
:
"
/acc/AutomationOperate/GetloadStation
"
"
http://localhost:8105/acc/SectionProperty/GetSections
"
,
params
,
method
:
"get"
,
...
...
@@ -730,10 +730,7 @@ export default {
axios
.
request
({
url
:
"/qms/ManufacturingMaterial/GetMaterialByCell?productId="
+
productid
+
"§ion="
+
sectionid
,
"/acc/SectionProperty/GetRouteByProduct?productId="
+
productid
,
method
:
"get"
,
})
.
then
((
res
)
=>
{
...
...
Server/Apis/Siger.ApiACC/Controllers/SectionPropertyController.cs
View file @
c9e15cb6
...
...
@@ -44,13 +44,13 @@ namespace Siger.ApiACC.Controllers
return
new
ObjectResult
(
sections
);
}
public
IActionResult
GetRouteByProduct
(
string
product
i
d
)
public
IActionResult
GetRouteByProduct
(
string
product
I
d
)
{
var
list
=
_beatSetRepository
.
GetList
(
q
=>
q
.
projectID
==
ProjectId
&&
q
.
status
==
(
int
)
RowState
.
Valid
&&
q
.
product_name
.
ToInt
()
==
product
i
d
.
ToInt
()).
var
list
=
_beatSetRepository
.
GetList
(
q
=>
q
.
projectID
==
ProjectId
&&
q
.
status
==
(
int
)
RowState
.
Valid
&&
q
.
product_name
.
ToInt
()
==
product
I
d
.
ToInt
()).
Select
(
q
=>
new
{
q
.
id
,
q
.
route_name
,
name
=
q
.
route_name
,
q
.
route_number
}).
ToList
();
...
...
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