Commit 0208f960 authored by renjintao's avatar renjintao

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

parents e30a3801 6df07bec
...@@ -255,7 +255,6 @@ export default { ...@@ -255,7 +255,6 @@ export default {
this.list = []; this.list = [];
this.list.push(obj); this.list.push(obj);
this.entity.shopId = this.list[0].value; this.entity.shopId = this.list[0].value;
this.multiple(this.entity.shopId); this.multiple(this.entity.shopId);
}, },
multiple(id) { multiple(id) {
...@@ -264,7 +263,7 @@ export default { ...@@ -264,7 +263,7 @@ export default {
//shop_id 班组ID 可以为0 //shop_id 班组ID 可以为0
Api.gettaskequips({ Api.gettaskequips({
part_task_pk: 0, part_task_pk: 0,
op_pk: this.entity.opTaskPk, op_pk: 0,
shop_id: id shop_id: id
}) })
.then(r => { .then(r => {
...@@ -407,5 +406,4 @@ export default { ...@@ -407,5 +406,4 @@ export default {
margin-top: 15px; margin-top: 15px;
} }
} }
</style> </style>
\ No newline at end of file
...@@ -84,4 +84,8 @@ export default { ...@@ -84,4 +84,8 @@ export default {
getEquiptypeList(params) { getEquiptypeList(params) {
return Api.get(`${apsUrl}/mes_equip_info/getequiptypelist`, params); return Api.get(`${apsUrl}/mes_equip_info/getequiptypelist`, params);
}, },
//获取任务工单相关设备
gettaskequips(params) {
return Api.get(`${apsUrl}/ser/gettaskequips`, params);
},
} }
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