Browse Source

2026-01-13

机台工作台的【过程检验】
1、审核时要校验单据状态,必须是‘待审核’才可以
2、这个列表只展示“检验类型”是“首检件”或“巡检”的单据
master
fengyuan_yang 2 days ago
parent
commit
4cc3f4a5d4
  1. 9
      src/views/modules/yieldReport/com_process_inspection.vue

9
src/views/modules/yieldReport/com_process_inspection.vue

@ -1047,6 +1047,7 @@ export default {
partDesc: '',
inspectionResult: '',
inspectionTypeNo: '',
inspectionTypeNos: ['首件检', '巡检'], //
cinvSourceCode: '',
orderNo: '',
seqNo: '',
@ -2118,6 +2119,14 @@ export default {
})
return false
}
// ''
const invalidRecords = this.IPQCSelections.filter(item => item.state !== '待审核')
if (invalidRecords.length > 0) {
this.$alert('只能审核状态为"待审核"的检验单!', '提示', {
confirmButtonText: '确定'
})
return false
}
this.$confirm(`是否审核该 ${this.IPQCSelections.length} 条检验记录?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',

Loading…
Cancel
Save