diff --git a/src/layout/components/sideM.vue b/src/layout/components/sideM.vue index 72997722..301a7eb3 100644 --- a/src/layout/components/sideM.vue +++ b/src/layout/components/sideM.vue @@ -3,11 +3,11 @@ - -
{{ baseName }}>
+
{{ baseName }}
diff --git a/src/style/fix.scss b/src/style/fix.scss index 58629f17..5b9b577a 100644 --- a/src/style/fix.scss +++ b/src/style/fix.scss @@ -352,7 +352,9 @@ body .tox-tinymce-aux { overflow: auto; padding: 8px 12px; } - +#mobileNavBox .el-drawer__body{ + padding: 0; +} .el-form--label-top .el-form-item__label { line-height: 16px; } diff --git a/src/views/inm/inmScrap.vue b/src/views/inm/inmScrap.vue index 5edb3cbb..3f34ea76 100644 --- a/src/views/inm/inmScrap.vue +++ b/src/views/inm/inmScrap.vue @@ -1,28 +1,11 @@ + diff --git a/src/views/qm/testItem.vue b/src/views/qm/testItem.vue new file mode 100644 index 00000000..860fcb88 --- /dev/null +++ b/src/views/qm/testItem.vue @@ -0,0 +1,190 @@ + + + diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue index 01761fb6..a2cb92c3 100644 --- a/src/views/wpm_gx/handover_form.vue +++ b/src/views/wpm_gx/handover_form.vue @@ -322,12 +322,16 @@ export default { .then((res) => { that.userList = res; }); + }else if(that.type==20&&that.mgroupName=='废品库'){//废品交接 + that.getCkUserList(); }else{ that.deptID = that.$TOOL.data.get('gx_deptID'); that.getUserList(); } - if(that.type==20||that.type==40){ + if((that.type==20&&that.mgroupName!=='废品库')||that.type==40){ that.getMaterialNotok(); + }else if(that.type==20&&that.mgroupName=='废品库'){ + that.getMaterialFP(); }else{ that.getMaterial(); } @@ -348,15 +352,15 @@ export default { let that = this; that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => { that.mgroupOptions = res; - if(that.type==40){ - res.forEach(item=>{ - if(item.name=="废品库"){ - that.form.recive_mgroup = item.id; - } - }) - that.getCkUserList();//废品库接收人 - } - }); + if(that.type==40){ + res.forEach(item=>{ + if(item.name=="废品库"){ + that.form.recive_mgroup = item.id; + } + }) + that.getCkUserList();//废品库接收人 + } + }); }, //获取车间物料 getMaterial() { @@ -366,6 +370,7 @@ export default { notok_sign__isnull : 1, count_xtest__isnull:1 }; + that.materialOptions = []; if(that.mgroupName=="size"){ that.$API.system.dept.list.req({name__contains:'尺寸',page:0}).then((res) => { if(res.length>0){ @@ -397,6 +402,7 @@ export default { //获取车间不合格物料 getMaterialNotok() { let that = this; + that.materialOptions = []; var req = { mgroupx: that.mgroupId, page: 0, @@ -408,6 +414,19 @@ export default { that.materialOptions = res; }); }, + //获取废品库物料 + getMaterialFP() { + let that = this; + that.materialOptions = []; + var obj = { + page: 0, + state : 50, + state_all: 1 + }; + that.$API.wpm.wmaterial.list.req(obj).then((res) => { + that.materialOptions = res; + }); + }, //获取交送工段人员 getUserList() { let that = this; @@ -420,7 +439,13 @@ export default { let that = this; this.$API.system.user.list.req({ page: 0, posts__code: "inm&check" }) .then((res) => { - that.userList2 = res; + if(that.type==40){ + that.userList2 = []; + that.userList2 = res; + }else if(that.type==20&&that.mgroupName=='废品库'){ + that.userList = []; + that.userList = res; + } }); }, //获取接收工段人员