Commit 7f353f0c authored by 佟礼's avatar 佟礼

料单

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