diff --git a/src/config/route.js b/src/config/route.js index dff3d0c5..80719e4b 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -1001,7 +1001,7 @@ const routes = [ name: "materials_gx", path: "/mtm/materials_gx", meta: { - title: "物料产品", + title: "物料清单", // icon: "el-icon-cellphone", perms: ["material_gx"], }, @@ -1062,7 +1062,7 @@ const routes = [ name: "routepack", path: "/mtm/routepack", meta: { - title: "加工工艺", + title: "工艺路线", // icon: "el-icon-share", perms: ["routepack"], }, @@ -1139,7 +1139,7 @@ const routes = [ name: "utask", path: "/pm/utask", meta: { - title: "车间任务", + title: "生产任务", // icon: "el-icon-cellphone", perms: ["utask_gx"], }, @@ -1380,12 +1380,30 @@ const routes = [ name: "chaoxi", path: "/wpm_gx/chaoxi", meta: { - title: "超洗", + title: "一次超洗", // icon: "el-icon-cellphone", perms: ["wpm_cx"], }, component: "wpm_gx/chaoxi", }, + { + name: "chaoxicc", + path: "/wpm_gx/chaoxi2", + meta: { + title: "二次超洗", + perms: ["wpm_cx2"], + }, + component: "wpm_gx/chaoxi2", + }, + { + name: "chaoxiwg", + path: "/wpm_gx/chaoxi3", + meta: { + title: "三次超洗", + perms: ["wpm_cx3"], + }, + component: "wpm_gx/chaoxi3", + }, ], }, //检验管理 qm @@ -1459,6 +1477,26 @@ const routes = [ }, component: "qm/product", }, + { + name: "products_cc", + path: "/qm/products_cc", + meta: { + title: "尺寸检验", + // icon: "el-icon-cellphone", + perms: ["productstest_cc"], + }, + component: "qm/products_cc", + }, + { + name: "products_wg", + path: "/qm/products_wg", + meta: { + title: "外观检验", + // icon: "el-icon-cellphone", + perms: ["productstest__wg"], + }, + component: "qm/products_wg", + }, { name: "productDetail", path: "/qm/productDetail", @@ -2142,7 +2180,7 @@ const routes = [ name: "wf", path: "/wf", meta: { - title: "审批", + title: "审批管理", icon: "el-icon-circle-check-filled", type: "menu", perms: ["wf"], diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index d0396b36..f52b004a 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -222,7 +222,7 @@ export default { getMaterialIn() { let that = this; this.$API.mtm.material.list - .req({ page: 0, type__in: "20,30" }) + .req({ page: 0, type__in: "10,20,30" }) .then((res) => { this.materialsIn = res; }); diff --git a/src/views/mtm/route_show.vue b/src/views/mtm/route_show.vue index 5f97145c..7a372c70 100644 --- a/src/views/mtm/route_show.vue +++ b/src/views/mtm/route_show.vue @@ -14,6 +14,9 @@ {{ form.name }} + {{ + form.material_name + }} diff --git a/src/views/qm/mlogs.vue b/src/views/qm/mlogs.vue new file mode 100644 index 00000000..17cf6594 --- /dev/null +++ b/src/views/qm/mlogs.vue @@ -0,0 +1,187 @@ + + + diff --git a/src/views/qm/products_cc.vue b/src/views/qm/products_cc.vue new file mode 100644 index 00000000..b8b58184 --- /dev/null +++ b/src/views/qm/products_cc.vue @@ -0,0 +1,53 @@ + + diff --git a/src/views/qm/products_form.vue b/src/views/qm/products_form.vue new file mode 100644 index 00000000..153c4f7a --- /dev/null +++ b/src/views/qm/products_form.vue @@ -0,0 +1,493 @@ + + + + diff --git a/src/views/qm/products_wg.vue b/src/views/qm/products_wg.vue new file mode 100644 index 00000000..6830ba5f --- /dev/null +++ b/src/views/qm/products_wg.vue @@ -0,0 +1,53 @@ + + diff --git a/src/views/wpm_gx/chaoxi.vue b/src/views/wpm_gx/chaoxi.vue index 2d0cd26b..1c2d1429 100644 --- a/src/views/wpm_gx/chaoxi.vue +++ b/src/views/wpm_gx/chaoxi.vue @@ -42,7 +42,7 @@ export default { tableHieght: 200, options: ["日志", "交接记录", "库存"], values: "日志", - mgroupName: "超洗", + mgroupName: "一次超洗", mgroupId: "", }; }, diff --git a/src/views/wpm_gx/chaoxi2.vue b/src/views/wpm_gx/chaoxi2.vue new file mode 100644 index 00000000..9a9f64ab --- /dev/null +++ b/src/views/wpm_gx/chaoxi2.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/views/wpm_gx/chaoxi3.vue b/src/views/wpm_gx/chaoxi3.vue new file mode 100644 index 00000000..03a62136 --- /dev/null +++ b/src/views/wpm_gx/chaoxi3.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue index bd8c4639..10a1f622 100644 --- a/src/views/wpm_gx/handover.vue +++ b/src/views/wpm_gx/handover.vue @@ -2,13 +2,6 @@
- 返工 + 检验
- + { if (res.length != 1) { @@ -254,6 +268,7 @@ export default { that.params.mgroup = that.mgroupId; that.apiObj = that.$API.wpm.handover.list; }); + } }, methods: { handoverPrint() { @@ -301,6 +316,7 @@ export default { }, //编辑 table_edit(row) { + this.type=row.type; this.dialog.save = true; this.$nextTick(() => { this.$refs.saveDialog.open("edit").setData(row); @@ -321,7 +337,6 @@ export default { selectionChange(selection) { this.selection = selection; }, - //搜索 handleQuery() { this.$refs.table.queryData(this.query); diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue index 407631a6..97b5cac1 100644 --- a/src/views/wpm_gx/handover_form.vue +++ b/src/views/wpm_gx/handover_form.vue @@ -85,7 +85,25 @@ - + + + + + + + + { + this.deptOptions = res; + }); + }, + //获取工段列表 getMgroupOptions() { this.$API.mtm.mgroup.list .req({ page: 0, type__in: "dept" }) @@ -245,12 +273,11 @@ export default { this.mgroupOptions = res; }); }, - //获取车间物料 getMaterial() { let that = this; this.$API.wpm.wmaterial.list - .req({ mgroup: that.mgroupId, page: 0 }) + .req({ mgroupx: that.mgroupId, page: 0 }) .then((res) => { that.materialOptions = res; }); @@ -273,7 +300,15 @@ export default { that.userList2 = res; }); }, - + //获取接收部门人员 + getUserList3() { + let that = this; + this.$API.system.user.list + .req({ depts: that.form.recive_dept, page: 0 }) + .then((res) => { + that.userList2 = res; + }); + }, //显示 open(mode = "add") { this.mode = mode; @@ -325,7 +360,8 @@ export default { //表单注入数据 setData(data) { Object.assign(this.form, data); - this.this.getUserList2(); + this.getUserList2(); + that.form.recive_dept(); }, //设置过滤项 setFilters(filters) { diff --git a/src/views/wpm_gx/inm.vue b/src/views/wpm_gx/inm.vue index d6b98c91..ffaac6ee 100644 --- a/src/views/wpm_gx/inm.vue +++ b/src/views/wpm_gx/inm.vue @@ -1,7 +1,7 @@