Browse Source

2024-12-25

优化
master
fengyuan_yang 1 year ago
parent
commit
6cfb642ac2
  1. 46
      src/views/modules/qc/DoInspectionBySeqNo.vue

46
src/views/modules/qc/DoInspectionBySeqNo.vue

@ -50,6 +50,16 @@
<el-form-item label="派工单创建人">
<el-input v-model="searchData.operatorName" clearable style="width: 100px"></el-input>
</el-form-item>
<el-form-item :label="'班次'">
<el-select v-model="searchData.shiftDesc" placeholder="请选择" clearable style="width: 80px">
<el-option
v-for = "i in shiftList"
:key = "i.shiftDesc"
:label = "i.shiftDesc"
:value = "i.shiftDesc">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="检验类型">
<el-select v-model="searchData.inspectionTypeNo" style="width: 100px" clearable placeholder="请选择">
<el-option label="IPQC首检" value="首件检"></el-option>
@ -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 () {

Loading…
Cancel
Save