diff --git a/src/views/pm/mtask.vue b/src/views/pm/mtask.vue index 1497cd72..ac8cb174 100644 --- a/src/views/pm/mtask.vue +++ b/src/views/pm/mtask.vue @@ -22,14 +22,14 @@ - + @@ -73,13 +73,14 @@ - + @@ -123,13 +124,14 @@ - + @@ -250,6 +252,10 @@ export default { dialog: { save: false, }, + apiUtask: this.$API.pm.utask.list, + paramsUtask7: { parent__isnull: true, mgroup__belong_dept__name: '7车间', material_out__is_hidden: true }, + paramsUtask8: { parent__isnull: true, mgroup__belong_dept__name: '8车间', material_out__is_hidden: true }, + paramsUtask10: { parent__isnull: true, mgroup__belong_dept__name: '10车间', material_out__is_hidden: true }, apiObj: this.$API.pm.mtask.list, query: { page:1, @@ -258,7 +264,7 @@ export default { }, tableHeight:null, hideDo:true, - activeName:'first', + activeName:'10车间', dataList:[ {number:'rwbh2023',name:'玻璃棒',xh:'',count:100,count1:100,start_date:'2023-10-15',end_date:'2023-10-15', count01:100, count02:200, count03:300 }, {number:'rwbh2023',name:'玻璃棒',xh:'',count:100,count1:100,start_date:'2023-10-15',end_date:'2023-10-15', count01:100, count02:250, count03:300 }, diff --git a/src/views/pm/mtask_form.vue b/src/views/pm/mtask_form.vue index 873a5953..bac3efed 100644 --- a/src/views/pm/mtask_form.vue +++ b/src/views/pm/mtask_form.vue @@ -35,7 +35,7 @@ :disabled="mode=='edit'" > { + this.options = res; + }); + }, getMaterial(){ - this.$API.mtm.material.list.req({page:0}).then(res=>{ + this.$API.mtm.material.list.req({page:0,type__in:'10,20'}).then(res=>{ this.materialOptions = res; }) }, diff --git a/src/views/wpm/worktask.vue b/src/views/wpm/worktask.vue index 8537b5a6..f97927d8 100644 --- a/src/views/wpm/worktask.vue +++ b/src/views/wpm/worktask.vue @@ -9,7 +9,7 @@ 导出 - +