fix:产品库存查询按工序统计
This commit is contained in:
parent
fb196d1d9e
commit
ba988d0fd1
|
|
@ -42,10 +42,10 @@ export default {
|
|||
methods: {
|
||||
getMgroup() {
|
||||
let that = this;
|
||||
that.$API.mtm.mgroup.list.req({ page: 0,query:'{name}' }).then(res => {
|
||||
let end = res.length-1;
|
||||
let arr = res.slice(13,end);
|
||||
that.mgroups = arr.forEach(item=>{
|
||||
that.$API.mtm.process.list.req({ page: 0,parent__isnull:true,query:'{name}' }).then(res => {
|
||||
let end = res.length;
|
||||
let arr = res.slice(14,end);
|
||||
that.process = arr.forEach(item=>{
|
||||
that.lists.push(item.name);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue