fix:新增辅料时传参type:40
This commit is contained in:
parent
1c87245eb8
commit
79cec10102
|
@ -130,6 +130,7 @@
|
|||
<save-dialog
|
||||
v-if="dialog.save"
|
||||
ref="saveDialog"
|
||||
:type="40"
|
||||
@success="handleSaveSuccess"
|
||||
@closed="dialog.save = false"
|
||||
></save-dialog>
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue