diff --git a/src/views/modules/qc/DoInspectionBySeqNo.vue b/src/views/modules/qc/DoInspectionBySeqNo.vue
index d2e37e7..65eeb19 100644
--- a/src/views/modules/qc/DoInspectionBySeqNo.vue
+++ b/src/views/modules/qc/DoInspectionBySeqNo.vue
@@ -50,6 +50,16 @@
+
+
+
+
+
+
@@ -271,6 +281,7 @@
queryTemplateList, // 获取检验模板列表
saveOsInspection, // 新增检验记录
inspectionTypeSearch, // 搜索所有检验类型
+ getShiftList, // 获取班次
} from "@/api/qc/qc.js"
import {getTableDefaultListLanguage, getTableUserListLanguage} from "@/api/table.js"
import {userFavoriteList, saveUserFavorite, removeUserFavorite} from '@/api/userFavorite.js'
@@ -301,6 +312,7 @@
operatorName: '',
departmentID: '',
inspectionTypeNo: '',
+ shiftDesc: '',
page: 1,
limit: 10
},
@@ -786,6 +798,24 @@
status: true,
columnWidth: 80,
},
+ {
+ userId: this.$store.state.user.name,
+ functionId: 3010005001,
+ serialNumber: '3010005001Table1ShiftDesc',
+ tableId: "3010005001Table1",
+ tableName: "派工单号表",
+ fixed: '',
+ columnProp: 'shiftDesc',
+ headerAlign: "center",
+ align: "center",
+ columnLabel: '班次',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ columnWidth: 80,
+ },
],
templateDetailList: [
{
@@ -837,7 +867,8 @@
templateModelFlag: false,
saveLoading: false,
typeOptions: [],
- currentRow: {}
+ currentRow: {},
+ shiftList: [],
}
},
@@ -852,6 +883,8 @@
this.getButtonAuthData()
// 获取用户的 site 和 bu
this.getSiteAndBuByUserName()
+ // 获取班次
+ this.getShiftList()
// 校验用户是否收藏
this.favoriteIsOk()
// 检验类型
@@ -869,6 +902,17 @@
},
methods: {
+ // 获取班次
+ getShiftList () {
+ let tempData = {
+ site: this.$store.state.user.site,
+ }
+ getShiftList(tempData).then(({data}) => {
+ if (data.code === 0) {
+ this.shiftList = data.rows
+ }
+ })
+ },
// 查询检验类型
inspectionTypeSearch () {