Commit 7be98c2e authored by 康振飞's avatar 康振飞

Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product

parents 8574fad5 330b2550
...@@ -406,8 +406,7 @@ export default { ...@@ -406,8 +406,7 @@ export default {
var url = var url =
`${designUrl}/routingheader/GetListSmall?approvalstatus=1&product_id=` + `${designUrl}/routingheader/GetListSmall?approvalstatus=1&product_id=` +
productid + productid +
'&routingType=' + '&routingType=0';
this.formValidate.routingType
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
this.RoutingList = response.result this.RoutingList = response.result
}) })
......
...@@ -526,7 +526,7 @@ export default { ...@@ -526,7 +526,7 @@ export default {
{ {
title: '主工艺', title: '工艺规程',
key: 'mainRoutingID', key: 'mainRoutingID',
width: 120, width: 120,
render: (h, params) => { render: (h, params) => {
...@@ -610,7 +610,7 @@ export default { ...@@ -610,7 +610,7 @@ export default {
key: 'materialbillID', key: 'materialbillID',
width: 120, width: 120,
render: (h, params) => { render: (h, params) => {
if (this.tabstatus == '1') { if (params.row.mainRoutingID == 0) {
h('div', '') h('div', '')
} else { } else {
let id = params.row.id let id = params.row.id
...@@ -1660,6 +1660,8 @@ export default { ...@@ -1660,6 +1660,8 @@ export default {
ld.orderids = orderids.toString(',') ld.orderids = orderids.toString(',')
ld.formValidate.routingHeaderId = params.row.mainRoutingID
ld.formValidate.id = params.row.materialbillID ld.formValidate.id = params.row.materialbillID
ld.loaddata() ld.loaddata()
......
...@@ -540,8 +540,7 @@ export default { ...@@ -540,8 +540,7 @@ export default {
var url = var url =
`${designUrl}/routingheader/GetListSmall?approvalstatus=1&product_id=` + `${designUrl}/routingheader/GetListSmall?approvalstatus=1&product_id=` +
productid + productid +
"&routingType=" + "&routingType=0";
this.formValidate.routingType;
service.get(`${url}`).then(response => { service.get(`${url}`).then(response => {
this.RoutingList = response.result; this.RoutingList = response.result;
}); });
......
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