Commit c9e15cb6 by xin.yang

some update

parent 24f43658
......@@ -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 +
"&section=" +
sectionid,
"/acc/SectionProperty/GetRouteByProduct?productId=" + productid,
method: "get",
})
.then((res) => {
......
......@@ -44,13 +44,13 @@ namespace Siger.ApiACC.Controllers
return new ObjectResult(sections);
}
public IActionResult GetRouteByProduct(string productid)
public IActionResult GetRouteByProduct(string productId)
{
var list = _beatSetRepository.GetList(q => q.projectID == ProjectId && q.status == (int)RowState.Valid && q.product_name.ToInt() == productid.ToInt()).
var list = _beatSetRepository.GetList(q => q.projectID == ProjectId && q.status == (int)RowState.Valid && q.product_name.ToInt() == productId.ToInt()).
Select(q => new
{
q.id,
q.route_name,
name = q.route_name,
q.route_number
}).ToList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment