产品名称:
@@ -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;
}
-
\ No newline at end of file
+
diff --git a/src/views/mes/pointInspection/index.vue b/src/views/mes/pointInspection/index.vue
index 41e33d2..d0c02a6 100644
--- a/src/views/mes/pointInspection/index.vue
+++ b/src/views/mes/pointInspection/index.vue
@@ -19,7 +19,7 @@
表单编号:08GL05C001-014A
-
+
生产产线:
-
+
检查日期:
-
+
+
+
+ 班次:
+
+
+
+
+
+
+
+
{
+ this.workShift = response.data
+ })},
/** 重置按钮操作 */
resetQuery() {
(this.headerParameters.productionWorkshop = null), //生产车间
@@ -766,4 +785,4 @@ export default {
.check-box {
font-size: 3px;
}
-
\ No newline at end of file
+
diff --git a/src/views/mes/selfMutualInspection/index.vue b/src/views/mes/selfMutualInspection/index.vue
index 0426872..e1f8f22 100644
--- a/src/views/mes/selfMutualInspection/index.vue
+++ b/src/views/mes/selfMutualInspection/index.vue
@@ -18,11 +18,11 @@
-
+
生产车间:黑蚊香车间
-
+
生产产线:
-
+
检查日期:
-
+
+
+
+ 班次:
+
+
+
+
+
+
+
产品名称:
-->
-
+
检 查 人 :
{
+ 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;
}
-
\ No newline at end of file
+