原料废品库展示

This commit is contained in:
shijing 2025-12-08 14:16:18 +08:00
parent 8142fbf43a
commit c59c15167d
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ export default {
wmState, wmState,
apiObj: null, apiObj: null,
params: { params: {
state : 50, state : 10,
state_all: 1 state_all: 1
}, },
dialog: { dialog: {
@ -128,7 +128,7 @@ export default {
let that = this; let that = this;
that.route_code = that.$route.path.split("/")[2]; that.route_code = that.$route.path.split("/")[2];
if(that.route_code=='scrap'){ if(that.route_code=='scrap'){
that.params.material__type__in = 30; that.params.material__type = 30;
} }
that.apiObj = that.$API.wpm.wmaterial.list; that.apiObj = that.$API.wpm.wmaterial.list;
that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => { that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => {