|
|
|
@ -60,7 +60,7 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
<el-form-item label="设备类别" prop="equipmentStatus">
|
|
|
|
|
<el-form-item label="设备类别" prop="equipmentCategory">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.equipmentCategory"
|
|
|
|
|
placeholder="设备类别(组线/设备)"
|
|
|
|
@ -698,11 +698,20 @@
|
|
|
|
|
<el-button v-if="this.repairRecordSteps > 0" @click="stepLast"
|
|
|
|
|
>上一步</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button v-if="this.repairRecordSteps < 4" @click="stepNext"
|
|
|
|
|
<el-button v-if="this.repairRecordSteps < 4 && this.form.equipmentCategory == '1' " @click="stepNext"
|
|
|
|
|
>下一步</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button v-if="this.repairRecordSteps < 3 && this.form.equipmentCategory == '0' " @click="stepNext"
|
|
|
|
|
>下一步</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
v-if=" this.repairRecordSteps == 4 && this.form.equipmentCategory == '1' "
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="submitForm"
|
|
|
|
|
>提 交</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="this.repairRecordSteps == 4"
|
|
|
|
|
v-if=" this.repairRecordSteps == 3 && this.form.equipmentCategory == '0' "
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="submitForm"
|
|
|
|
|
>提 交</el-button
|
|
|
|
@ -1097,6 +1106,7 @@ export default {
|
|
|
|
|
workshopSection: null,
|
|
|
|
|
equipmentLocation: null,
|
|
|
|
|
hourlyUnitPrice: null,
|
|
|
|
|
equipmentCategory : null,
|
|
|
|
|
},
|
|
|
|
|
queryEquipmentHeadParams: {
|
|
|
|
|
pageNum: 1,
|
|
|
|
@ -1158,6 +1168,9 @@ export default {
|
|
|
|
|
status: [
|
|
|
|
|
{ required: true, message: "设备状态不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
equipmentCategory: [
|
|
|
|
|
{ required: true, message: "设备类别不能为空", trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
@ -1282,6 +1295,7 @@ export default {
|
|
|
|
|
equipmentLocation: null,
|
|
|
|
|
hourlyUnitPrice: null,
|
|
|
|
|
equipmentHead: null,
|
|
|
|
|
equipmentCategory : null,
|
|
|
|
|
};
|
|
|
|
|
this.resetForm("form");
|
|
|
|
|
},
|
|
|
|
@ -1478,6 +1492,10 @@ export default {
|
|
|
|
|
this.$message.error(
|
|
|
|
|
"【设备基础信息】设备类型为空,请选择设备类型!"
|
|
|
|
|
);
|
|
|
|
|
} else if (this.form.equipmentCategory == null) {
|
|
|
|
|
this.$message.error(
|
|
|
|
|
"【设备基础信息】设备类别为空,请选择设备类别!"
|
|
|
|
|
);
|
|
|
|
|
} else {
|
|
|
|
|
this.form.auxiliaryEquipmentRightData =
|
|
|
|
|
this.auxiliaryEquipmentRightList;
|
|
|
|
|