Browse Source

2024-12-11

优化
master
fengyuan_yang 1 year ago
parent
commit
a8756c980e
  1. 2
      src/api/qc/qc.js
  2. 2
      src/views/modules/qc/FQASResultEntry.vue
  3. 37
      src/views/modules/qc/IPQCResultEntry.vue
  4. 2
      src/views/modules/qc/IQCResultEntry.vue
  5. 2
      src/views/modules/qc/OQCResultEntry.vue

2
src/api/qc/qc.js

@ -144,6 +144,8 @@ export const boxNoEnter = data => createAPI(`/pms/qc/boxNoEnter`,'post',data)
export const queryPartList = data => createAPI(`/pms/qc/queryPartList`,'post',data)
export const umSearch = data => createAPI(`/pms/qc/umSearch`,'post',data)
export const getShiftList = data => createAPI(`/pms/qc/getShiftList`,'post',data)
// ===================================== IQC检验 =====================================
export const qcIQCInspectionSearch = data => createAPI(`/pms/qc/qcIQCInspectionSearch`,'post',data)
export const iqcDetailSearch = data => createAPI(`/pms/qc/iqcDetailSearch`,'post',data)

2
src/views/modules/qc/FQASResultEntry.vue

@ -2110,7 +2110,7 @@
rowDetailStyle ({row}) {
if (this.currentDetailRow.itemNo === row.itemNo) {
return { 'background-color': '#E8F7F6', cursor: 'pointer' };
return { 'background-color': '#50DCDC', cursor: 'pointer' };
}
},

37
src/views/modules/qc/IPQCResultEntry.vue

@ -61,14 +61,21 @@
<el-form-item :label="'派工单号'">
<el-input v-model="searchData.seqNo" clearable style="width: 173px"></el-input>
</el-form-item>
<el-form-item :label="'加工中心名称'">
<el-input v-model="searchData.workCenterDesc" clearable style="width: 120px"></el-input>
<el-form-item :label="'加工中心'">
<el-input v-model="searchData.workCenterNo" clearable style="width: 120px"></el-input>
</el-form-item>
<el-form-item :label="'工序'">
<el-input v-model="searchData.operationDesc" clearable style="width: 80px"></el-input>
</el-form-item>
<el-form-item :label="'班次'">
<el-input v-model="searchData.shiftDesc" clearable style="width: 80px"></el-input>
<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.states" multiple style="width: 340px">
@ -922,6 +929,7 @@
actionIPQCInspection, //
dataAcquisition, //
boxNoEnter, //
getShiftList, //
} from "@/api/qc/qc.js"
import {getTableDefaultListLanguage, getTableUserListLanguage} from "@/api/table.js"
import Chooselist from '@/views/modules/common/Chooselist_eam'
@ -1042,7 +1050,7 @@
seqNo: '',
states: ['未开始','待检验'],
createBy: '',
workCenterDesc: '',
workCenterNo: '',
shiftDesc: ''
},
pageIndex: 1,
@ -2325,6 +2333,7 @@
partModelFlag: false,
umList: [],
userBuList: [],
shiftList: [],
authSearch: false,
authSave: false,
authCheck: false,
@ -2426,6 +2435,8 @@
this.getButtonAuthData()
// site bu
this.getSiteAndBuByUserName()
//
this.getShiftList()
//
this.favoriteIsOk()
//
@ -2453,10 +2464,6 @@
}
},
activated () {
},
methods: {
//
getSummaries (param) {
@ -2713,6 +2720,18 @@
})
},
//
getShiftList () {
let tempData = {
site: this.$store.state.user.site,
}
getShiftList(tempData).then(({data}) => {
if (data.code === 0) {
this.shiftList = data.rows
}
})
},
// ======= =======
handleInput (value, type) {
// 04
@ -2908,7 +2927,7 @@
rowDetailStyle ({row}) {
if (this.currentDetailRow.itemNo === row.itemNo) {
return { 'background-color': '#E8F7F6', cursor: 'pointer' };
return { 'background-color': '#50DCDC', cursor: 'pointer' };
}
},

2
src/views/modules/qc/IQCResultEntry.vue

@ -2704,7 +2704,7 @@
rowDetailStyle ({row}) {
if (this.currentDetailRow.itemNo === row.itemNo) {
return { 'background-color': '#E8F7F6', cursor: 'pointer' };
return { 'background-color': '#50DCDC', cursor: 'pointer' };
}
},

2
src/views/modules/qc/OQCResultEntry.vue

@ -2084,7 +2084,7 @@
rowDetailStyle ({row}) {
if (this.currentDetailRow.itemNo === row.itemNo) {
return { 'background-color': '#E8F7F6', cursor: 'pointer' };
return { 'background-color': '#50DCDC', cursor: 'pointer' };
}
},

Loading…
Cancel
Save