From 79cec10102bbbbe83fa1b27727c936af277df7f3 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 14 Oct 2025 11:20:32 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=96=B0=E5=A2=9E=E8=BE=85?= =?UTF-8?q?=E6=96=99=E6=97=B6=E4=BC=A0=E5=8F=82type=EF=BC=9A40?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/materials.vue | 1 + src/views/mtm/materials_form_gx.vue | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/views/inm/materials.vue b/src/views/inm/materials.vue index 179885cf..33d7add8 100644 --- a/src/views/inm/materials.vue +++ b/src/views/inm/materials.vue @@ -130,6 +130,7 @@ diff --git a/src/views/mtm/materials_form_gx.vue b/src/views/mtm/materials_form_gx.vue index 1cdd75d4..4b5b1463 100644 --- a/src/views/mtm/materials_form_gx.vue +++ b/src/views/mtm/materials_form_gx.vue @@ -183,6 +183,12 @@ import { mCateEnum } from "@/utils/enum.js"; export default { emits: ["success", "closed"], + props: { + type: { + type: Number, + default: 10, + } + }, data() { return { mCateEnum, @@ -260,6 +266,7 @@ export default { if(this.project_code !== 'bxerp'){ this.options.push({ name: "辅助材料", id: 40 }); } + this.form.type = this.type; this.getProcessOptions(); }, methods: {