Merge remote-tracking branch 'origin/master'

yangwl
mengjiao 4 months ago
commit 0096c95f9c

@ -17,6 +17,15 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="SAP资产号" prop="sapAsset">
<el-input
v-model="queryParams.sapAsset"
placeholder="请输入SAP资产号"
style="width: 200px"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="设备名称" prop="equipmentName"> <el-form-item label="设备名称" prop="equipmentName">
<el-input <el-input
v-model="queryParams.equipmentName" v-model="queryParams.equipmentName"
@ -189,8 +198,9 @@
label="设备编码" label="设备编码"
align="center" align="center"
prop="equipmentCode" prop="equipmentCode"
width="100" width="150"
fixed="left" fixed="left"
show-overflow-tooltip="true"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
@ -201,6 +211,12 @@
> >
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
label="SAP资产号"
align="center"
prop="sapAsset"
width="200"
/>
<el-table-column <el-table-column
label="设备名称" label="设备名称"
align="center" align="center"
@ -639,7 +655,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="备注" prop="remark"> <el-form-item label="备注" prop="remark">
@ -912,6 +928,9 @@
<el-descriptions-item label="设备编码">{{ <el-descriptions-item label="设备编码">{{
form.equipmentCode form.equipmentCode
}}</el-descriptions-item> }}</el-descriptions-item>
<el-descriptions-item label="SAP资产号">{{
form.sapAsset
}}</el-descriptions-item>
<el-descriptions-item label="设备名称">{{ <el-descriptions-item label="设备名称">{{
form.equipmentName form.equipmentName
}}</el-descriptions-item> }}</el-descriptions-item>
@ -1327,6 +1346,7 @@ export default {
hourlyUnitPrice: null, hourlyUnitPrice: null,
equipmentCategory: null, equipmentCategory: null,
factoryWorkshop: null, factoryWorkshop: null,
sapAsset: null,
}, },
queryEquipmentHeadParams: { queryEquipmentHeadParams: {
pageNum: 1, pageNum: 1,
@ -1552,6 +1572,7 @@ export default {
sapCode: null, sapCode: null,
sapName: null, sapName: null,
factoryWorkshop: null, factoryWorkshop: null,
sapAsset: null,
}; };
this.resetForm("form"); this.resetForm("form");
}, },
@ -1608,7 +1629,7 @@ export default {
getWorkCenterList().then((response) => { getWorkCenterList().then((response) => {
this.options1 = response.data; this.options1 = response.data;
}); });
this.repairRecordSteps = 0; this.repairRecordSteps = 0;
this.rightList = []; this.rightList = [];
this.auxiliaryEquipmentLeftList = []; this.auxiliaryEquipmentLeftList = [];
@ -1710,7 +1731,7 @@ export default {
this.rules.sapName.push({ this.rules.sapName.push({
required: true, required: true,
}); });
} }
this.form.workCenter = this.form.workshopCode; this.form.workCenter = this.form.workshopCode;
this.repairRecordSteps = 0; this.repairRecordSteps = 0;
this.queryAuxiliaryEquipmentParams.equipmentCode = null; this.queryAuxiliaryEquipmentParams.equipmentCode = null;

Loading…
Cancel
Save