工艺流程

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