选择代码
This commit is contained in:
parent
c0b9831a9f
commit
144a40c38c
@ -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 = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user