Commit c9e15cb6 by xin.yang

some update

parent 24f43658
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
@click="materialchange(index)" @click="materialchange(index)"
:class="{ active: d == index }" :class="{ active: d == index }"
> >
{{ item.name + "【" + item.pn + "】" }} {{ item.name }}
</p> </p>
</div> </div>
</div> </div>
...@@ -672,7 +672,7 @@ export default { ...@@ -672,7 +672,7 @@ export default {
axios axios
.request({ .request({
url: url:
"/acc/AutomationOperate/GetloadStation" "http://localhost:8105/acc/SectionProperty/GetSections"
, ,
params, params,
method: "get", method: "get",
...@@ -730,10 +730,7 @@ export default { ...@@ -730,10 +730,7 @@ export default {
axios axios
.request({ .request({
url: url:
"/qms/ManufacturingMaterial/GetMaterialByCell?productId=" + "/acc/SectionProperty/GetRouteByProduct?productId=" + productid,
productid +
"&section=" +
sectionid,
method: "get", method: "get",
}) })
.then((res) => { .then((res) => {
......
...@@ -44,13 +44,13 @@ namespace Siger.ApiACC.Controllers ...@@ -44,13 +44,13 @@ namespace Siger.ApiACC.Controllers
return new ObjectResult(sections); 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 Select(q => new
{ {
q.id, q.id,
q.route_name, name = q.route_name,
q.route_number q.route_number
}).ToList(); }).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