调整产品转换/完产清线点检表等报表

Signed-off-by: Yangwl <1726150332@qq.com>
master
Yangwl 2 months ago
parent a1a3e34509
commit e0f8ca0ed3

@ -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>

@ -19,7 +19,7 @@
<div class="formCode">表单编号:08GL05C001-014A</div>
<br />
<el-row>
<el-col :span="8">
<el-col :span="6">
<div>
生产产线:
<el-select
@ -40,7 +40,7 @@
</div>
<br />
</el-col>
<el-col :span="8">
<el-col :span="6">
<div>
检查日期:
<el-date-picker
@ -53,7 +53,20 @@
</el-date-picker>
</div>
</el-col>
<el-col :span="8">
<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="6">
<el-button
type="primary"
icon="el-icon-search"
@ -377,7 +390,7 @@ import {
getLineCodeList,
updatePointInspectionTable,
} from "@/api/mes/selfMutualInspection";
import { getProShifts } from '@/api/plan/order'
export default {
name: "Item",
dicts: ["device_item_type", "device_loop_type"],
@ -422,6 +435,7 @@ export default {
productionWorkshop: null, //
lineCode: null, //线
lineName: null, //线
shiftId: null,
createBy: null, //
productName: null, //
checkDate: null, //
@ -437,6 +451,7 @@ export default {
created() {
// this.getDate();
this.getLineCode();
this.getProShift();
this.getList();
},
methods: {
@ -548,7 +563,11 @@ export default {
this.lineCodeOption = response;
});
},
//
getProShift() {
getProShifts().then(response => {
this.workShift = response.data
})},
/** 重置按钮操作 */
resetQuery() {
(this.headerParameters.productionWorkshop = null), //
@ -766,4 +785,4 @@ export default {
.check-box {
font-size: 3px;
}
</style>
</style>

@ -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,7 +58,19 @@
</div>
<br />
</el-col>
<el-col :span="8">
<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="6">
<div>
产品名称:
<el-select
@ -99,7 +111,7 @@
</div>
<br />
</el-col> -->
<el-col :span="8">
<el-col :span="6">
<div>
:
<el-input
@ -374,7 +386,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"],
@ -421,6 +433,7 @@ export default {
reportName: "ConversionReport", //
productionWorkshop: null, //
lineCode: null, //线
shiftId: null,
lineName: null, //线
createBy: null, //
productName: null, //
@ -438,6 +451,7 @@ export default {
},
created() {
this.getLineCode();
this.getProShift();
this.getList();
},
@ -570,11 +584,15 @@ export default {
if (!found) {
this.headerParameters.id = null;
}
}
}
});
},
//
getProShift() {
getProShifts().then(response => {
this.workShift = response.data
})},
getWorkList() {
getWorkList(this.headerParameters).then((response) => {
this.workCodeOption = response;
@ -889,4 +907,4 @@ export default {
border: 1px solid black;
padding: 2px;
}
</style>
</style>

Loading…
Cancel
Save