fix:新增辅料时传参type:40

This commit is contained in:
shijing 2025-10-14 11:20:32 +08:00
parent 1c87245eb8
commit 79cec10102
2 changed files with 8 additions and 0 deletions

View File

@ -130,6 +130,7 @@
<save-dialog
v-if="dialog.save"
ref="saveDialog"
:type="40"
@success="handleSaveSuccess"
@closed="dialog.save = false"
></save-dialog>

View File

@ -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: {