一些问题修复
This commit is contained in:
parent
9efec448d4
commit
67cc80eebb
@ -98,7 +98,7 @@
|
|||||||
|
|
||||||
<el-table v-loading="loading" :data="repairList" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" :data="repairList" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column label="维修单编号" width="100px" align="center" prop="repairCode" />
|
<el-table-column label="维修单编号" width="120px" align="center" prop="repairCode" />
|
||||||
<el-table-column label="维修单名称" width="150px" align="center" prop="repairName" :show-overflow-tooltip="true"/>
|
<el-table-column label="维修单名称" width="150px" align="center" prop="repairName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="设备编码" align="center" prop="machineryCode" />
|
<el-table-column label="设备编码" align="center" prop="machineryCode" />
|
||||||
<el-table-column label="设备名称" align="center" prop="machineryName" />
|
<el-table-column label="设备名称" align="center" prop="machineryName" />
|
||||||
|
@ -37,13 +37,15 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="工序名称" prop="processName">
|
<el-form-item label="所属工序" prop="processName">
|
||||||
<el-input
|
<el-select v-model="queryParams.processId" placeholder="请选择工序">
|
||||||
v-model="queryParams.processName"
|
<el-option
|
||||||
placeholder="请输入工序名称"
|
v-for="item in processOptions"
|
||||||
clearable
|
:key="item.processId"
|
||||||
@keyup.enter.native="handleQuery"
|
:label="item.processName"
|
||||||
/>
|
:value="item.processId"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
@ -371,6 +373,12 @@ export default {
|
|||||||
enableFlag: [
|
enableFlag: [
|
||||||
{ required: true, message: "是否启用不能为空", trigger: "blur" }
|
{ required: true, message: "是否启用不能为空", trigger: "blur" }
|
||||||
],
|
],
|
||||||
|
workshopId: [
|
||||||
|
{ required: true, message: "请选择所属车间", trigger: "blur" }
|
||||||
|
],
|
||||||
|
processId: [
|
||||||
|
{ required: true, message: "请选择所属工序", trigger: "blur" }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -466,6 +474,23 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
|
this.queryParams ={
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
workstationCode: null,
|
||||||
|
workstationName: null,
|
||||||
|
workstationAddress: null,
|
||||||
|
workshopId: null,
|
||||||
|
workshopCode: null,
|
||||||
|
workshopName: null,
|
||||||
|
processId: null,
|
||||||
|
processCode: null,
|
||||||
|
processName: null,
|
||||||
|
warehouseId: null,
|
||||||
|
locationId: null,
|
||||||
|
areaId: null,
|
||||||
|
enableFlag: null,
|
||||||
|
};
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
},
|
},
|
||||||
|
@ -111,7 +111,6 @@
|
|||||||
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
<el-table-column label="单位" align="center" prop="unitOfMeasure" />
|
||||||
<el-table-column label="工单数量" align="center" prop="quantity" />
|
<el-table-column label="工单数量" align="center" prop="quantity" />
|
||||||
<el-table-column label="调整数量" align="center" prop="quantityChanged" />
|
<el-table-column label="调整数量" align="center" prop="quantityChanged" />
|
||||||
<el-table-column label="已排产数量" align="center" width="100px" prop="quantityScheduled" />
|
|
||||||
<el-table-column label="已生产数量" align="center" width="100px" prop="quantityProduced" />
|
<el-table-column label="已生产数量" align="center" width="100px" prop="quantityProduced" />
|
||||||
<el-table-column label="客户编码" align="center" prop="clientCode" />
|
<el-table-column label="客户编码" align="center" prop="clientCode" />
|
||||||
<el-table-column label="客户名称" align="center" prop="clientName" :show-overflow-tooltip="true"/>
|
<el-table-column label="客户名称" align="center" prop="clientName" :show-overflow-tooltip="true"/>
|
||||||
|
@ -139,7 +139,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="生产时长" prop="duration">
|
<el-form-item label="生产时长" prop="duration">
|
||||||
<el-input v-model="form.duration" @change="calculateEndTime" placeholder="请输入生产时长" />
|
<el-input-number :precision="0" :step="1" v-model="form.duration" @change="calculateEndTime" placeholder="请输入生产时长" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
|
Loading…
Reference in New Issue
Block a user