fix:产品库存查询按工序统计

This commit is contained in:
shijing 2026-02-09 13:14:20 +08:00
parent fb196d1d9e
commit ba988d0fd1
1 changed files with 4 additions and 4 deletions

View File

@ -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);
});
});