Merge pull request !27 from 打豆豆/master
This commit is contained in:
打豆豆 2024-04-09 08:47:44 +00:00 committed by Gitee
commit 28539e6e6f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -338,7 +338,7 @@
v-for="item in machineryList" v-for="item in machineryList"
:key="item.codeId" :key="item.codeId"
:label="item.codeName" :label="item.codeName"
:value="{ url: item.codeId, originalName: item.codeName }" :value="{ url: item.codeId, originalName: item.code }"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -379,10 +379,7 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col <el-col :span="12" v-if="this.form.code == 'CNC'">
:span="12"
v-if="this.form.code == 'CNC'"
>
<el-form-item label="安全门状态" prop="securityDoor"> <el-form-item label="安全门状态" prop="securityDoor">
<el-radio-group v-model="form.securityDoor"> <el-radio-group v-model="form.securityDoor">
<el-radio label="0">开启</el-radio> <el-radio label="0">开启</el-radio>
@ -652,32 +649,20 @@ export default {
handleNodeClick(data) { handleNodeClick(data) {
console.log(data); console.log(data);
if (data.code == "AGV") { if (data.code == "AGV") {
// this.TypeId = true;
// this.Typefile = false;
// this.warehousing = false;
this.form.originalName = ""; this.form.originalName = "";
this.form.url = ""; this.form.url = "";
this.form.exitType = ""; this.form.exitType = "";
} else if (data.code == "STORE") { } else if (data.code == "STORE") {
// this.TypeId = false;
// this.Typefile = false;
// this.warehousing = true;
this.form.lineId = ""; this.form.lineId = "";
this.form.pointId = ""; this.form.pointId = "";
this.form.exitType = "0"; this.form.exitType = "0";
this.form.originalName = ""; this.form.originalName = "";
this.form.url = ""; this.form.url = "";
} else if (data.code == "CNC" || data.code == "ROBOT") { } else if (data.code == "CNC" || data.code == "ROBOT") {
// this.TypeId = false;
// this.Typefile = false;
// this.warehousing = true;
this.form.lineId = ""; this.form.lineId = "";
this.form.pointId = ""; this.form.pointId = "";
this.form.exitType = ""; this.form.exitType = "";
} else { } else {
// this.TypeId = false;
// this.Typefile = false;
// this.warehousing = false;
this.form.lineId = ""; this.form.lineId = "";
this.form.pointId = ""; this.form.pointId = "";
this.form.exitType = ""; this.form.exitType = "";