工艺流程

This commit is contained in:
zhuzhilei 2024-01-12 14:55:45 +08:00
parent 5514b1a51b
commit 83f1628649

View File

@ -304,7 +304,8 @@
/>
</el-form-item>
</el-col>
<el-col :span="12" v-if="Typefile">
<el-col :span="12">
<!-- <el-col :span="12" v-if="Typefile">-->
<el-form-item label="代码上传" prop="">
<el-upload
ref="codeName"
@ -470,7 +471,7 @@ export default {
lineName: "",
pointName: "",
TypeId: false,
Typefile: false,
// Typefile: false,
//
form: {
originalName: "",
@ -567,12 +568,12 @@ export default {
handleNodeClick(data) {
if (data.machineryTypeId == 229) {
this.TypeId = true;
this.Typefile = false;
// this.Typefile = false;
this.form.originalName = "";
this.form.url = "";
} else {
this.TypeId = false;
this.Typefile = true;
// this.Typefile = true;
this.form.lineId = "";
this.form.pointId = "";
}
@ -692,7 +693,7 @@ export default {
this.reset();
if (this.form.machineryTypeId == null) {
this.TypeId = false;
this.Typefile = false;
// this.Typefile = false;
}
this.open = true;
this.title = "添加工艺组成";
@ -712,14 +713,14 @@ export default {
});
if (row.machineryTypeId == null) {
this.TypeId = false;
this.Typefile = false;
// this.Typefile = false;
} else {
if (row.machineryTypeId == 229) {
this.TypeId = true;
this.Typefile = false;
// this.Typefile = false;
} else {
this.TypeId = false;
this.Typefile = true;
// this.Typefile = true;
}
}
var name = {};