From 083248cba2634f7effc935bc914441aa76a2a063 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 25 Jul 2024 17:28:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=85=89=E8=8A=AF=E5=B7=A5?= =?UTF-8?q?=E8=89=BA=E8=B7=AF=E7=BA=BF=E4=BA=A7=E5=93=81=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=92=8C=E4=B8=BB=E8=A6=81=E8=BE=93=E5=85=A5=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E7=9A=84=E5=8F=98=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mtm/route_form.vue | 18 +++--------------- src/views/mtm/routepack_form.vue | 2 +- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index 73492851..1ad22cc9 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -90,7 +90,7 @@ font-size: 13px; " v-if="item.is_hidden" - >{{ item.process_name }}-隐隐 @@ -111,19 +111,7 @@ :label="item.full_name" :value="item.id" > - {{ - item.full_name - }} - {{ item.process_name }}-隐 + @@ -235,7 +223,7 @@ export default { getMaterialOut() { let that = this; this.$API.mtm.material.list - .req({ page: 0, type__in: "10,20" }) + .req({ page: 0, type__in: "10,20", is_hidden: false }) .then((res) => { this.materialsOut = res; }); diff --git a/src/views/mtm/routepack_form.vue b/src/views/mtm/routepack_form.vue index b19a5f06..bee00e4e 100644 --- a/src/views/mtm/routepack_form.vue +++ b/src/views/mtm/routepack_form.vue @@ -223,7 +223,7 @@ export default { getMaterials() { let that = this; this.$API.mtm.material.list - .req({ page: 0, type__in: "10,20" }) + .req({ page: 0, type__in: "10,20", is_hidden: false }) .then((res) => { this.materials = res; });