|
|
|
@ -18,11 +18,11 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
<br />
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div>生产车间:黑蚊香车间</div>
|
|
|
|
|
<br />
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div>
|
|
|
|
|
生产产线:
|
|
|
|
|
<el-select
|
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<br />
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div>
|
|
|
|
|
检查日期:
|
|
|
|
|
<el-date-picker
|
|
|
|
@ -58,6 +58,19 @@
|
|
|
|
|
</div>
|
|
|
|
|
<br />
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div>
|
|
|
|
|
班次:
|
|
|
|
|
<el-select v-model="headerParameters.shiftId" placeholder="请选择班次" clearable>
|
|
|
|
|
<el-option v-for="item in workShift" :key="item.shiftId" :label="item.shiftDesc"
|
|
|
|
|
:value="item.shiftId"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<br />
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<div>
|
|
|
|
|
产品名称:
|
|
|
|
@ -374,7 +387,7 @@ import {
|
|
|
|
|
updateTable,
|
|
|
|
|
getWorkList,
|
|
|
|
|
} from "@/api/mes/selfMutualInspection";
|
|
|
|
|
|
|
|
|
|
import { getProShifts } from '@/api/plan/order'
|
|
|
|
|
export default {
|
|
|
|
|
name: "Item",
|
|
|
|
|
dicts: ["device_item_type", "device_loop_type"],
|
|
|
|
@ -419,6 +432,7 @@ export default {
|
|
|
|
|
id: null, //主表ID
|
|
|
|
|
workorderId: null, //工单的id
|
|
|
|
|
reportName: "ConversionReportLeft", //表类型
|
|
|
|
|
shiftId: null,
|
|
|
|
|
productionWorkshop: null, //生产车间
|
|
|
|
|
lineCode: null, //生产产线编码
|
|
|
|
|
lineName: null, //生产产线名称
|
|
|
|
@ -434,10 +448,14 @@ export default {
|
|
|
|
|
form: {},
|
|
|
|
|
// 表单校验
|
|
|
|
|
rules: {},
|
|
|
|
|
// 班次
|
|
|
|
|
workShift: [],
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getLineCode();
|
|
|
|
|
this.getProShift();
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -555,7 +573,11 @@ export default {
|
|
|
|
|
this.lineCodeOption = response;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 获取班次信息
|
|
|
|
|
getProShift() {
|
|
|
|
|
getProShifts().then(response => {
|
|
|
|
|
this.workShift = response.data
|
|
|
|
|
})},
|
|
|
|
|
getProductList() {
|
|
|
|
|
getProductList(this.headerParameters).then((response) => {
|
|
|
|
|
this.productCodeOption = response;
|
|
|
|
@ -570,7 +592,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
if (!found) {
|
|
|
|
|
this.headerParameters.id = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
@ -603,7 +625,6 @@ export default {
|
|
|
|
|
this.tableTittle0 = [];
|
|
|
|
|
this.propertyNum = null;
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
|
|
getSelfMutualInspectionData(this.headerParameters).then((response) => {
|
|
|
|
|
this.headerParameters.createBy = response.createBy; //检查人
|
|
|
|
|
this.headerParameters.remark = response.remark; //备注
|
|
|
|
@ -889,4 +910,4 @@ export default {
|
|
|
|
|
border: 1px solid black;
|
|
|
|
|
padding: 2px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</style>
|
|
|
|
|