工艺流程
This commit is contained in:
parent
05943bc41b
commit
77876d5ac5
@ -304,8 +304,8 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<!-- <el-col :span="12"> -->
|
||||||
<!-- <el-col :span="12" v-if="Typefile">-->
|
<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"
|
||||||
@ -333,7 +333,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12" v-if="warehousing">
|
||||||
<el-form-item label="选择出入库类型" prop="exitType">
|
<el-form-item label="选择出入库类型" prop="exitType">
|
||||||
<el-radio-group v-model="form.exitType">
|
<el-radio-group v-model="form.exitType">
|
||||||
<el-radio label="0">出库</el-radio>
|
<el-radio label="0">出库</el-radio>
|
||||||
@ -471,7 +471,8 @@ export default {
|
|||||||
lineName: "",
|
lineName: "",
|
||||||
pointName: "",
|
pointName: "",
|
||||||
TypeId: false,
|
TypeId: false,
|
||||||
// Typefile: false,
|
Typefile: false,
|
||||||
|
warehousing: false,
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {
|
form: {
|
||||||
originalName: "",
|
originalName: "",
|
||||||
@ -568,14 +569,25 @@ 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.warehousing = false;
|
||||||
this.form.originalName = "";
|
this.form.originalName = "";
|
||||||
this.form.url = "";
|
this.form.url = "";
|
||||||
} else {
|
this.form.exitType = "";
|
||||||
|
} else if (data.machineryTypeId == 230) {
|
||||||
this.TypeId = false;
|
this.TypeId = false;
|
||||||
// this.Typefile = true;
|
this.Typefile = false;
|
||||||
|
this.warehousing = true;
|
||||||
this.form.lineId = "";
|
this.form.lineId = "";
|
||||||
this.form.pointId = "";
|
this.form.pointId = "";
|
||||||
|
this.form.exitType = "0";
|
||||||
|
} else {
|
||||||
|
this.TypeId = false;
|
||||||
|
this.Typefile = true;
|
||||||
|
this.warehousing = false;
|
||||||
|
this.form.lineId = "";
|
||||||
|
this.form.pointId = "";
|
||||||
|
this.form.exitType = "";
|
||||||
}
|
}
|
||||||
this.form.machineryTypeName = data.machineryTypeName;
|
this.form.machineryTypeName = data.machineryTypeName;
|
||||||
},
|
},
|
||||||
@ -693,7 +705,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 = "添加工艺组成";
|
||||||
@ -713,14 +725,28 @@ 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;
|
||||||
|
this.warehousing = false;
|
||||||
|
this.form.originalName = "";
|
||||||
|
this.form.url = "";
|
||||||
|
this.form.exitType = "";
|
||||||
|
} else if (row.machineryTypeId == 230) {
|
||||||
|
this.TypeId = false;
|
||||||
|
this.Typefile = false;
|
||||||
|
this.warehousing = true;
|
||||||
|
this.form.lineId = "";
|
||||||
|
this.form.pointId = "";
|
||||||
} else {
|
} else {
|
||||||
this.TypeId = false;
|
this.TypeId = false;
|
||||||
// this.Typefile = true;
|
this.Typefile = true;
|
||||||
|
this.warehousing = false;
|
||||||
|
this.form.lineId = "";
|
||||||
|
this.form.pointId = "";
|
||||||
|
this.form.exitType = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var name = {};
|
var name = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user