diff --git a/src/views/modules/dm/DMFAIResultEntry.vue b/src/views/modules/dm/DMFAIResultEntry.vue index 66165a4..e715200 100644 --- a/src/views/modules/dm/DMFAIResultEntry.vue +++ b/src/views/modules/dm/DMFAIResultEntry.vue @@ -382,7 +382,7 @@ :min-width="item.columnWidth" :label="item.columnLabel"> @@ -883,6 +883,7 @@ import comQcItemImageUploadFile from "../qc/com_qc_itemImage_upload_file" import subDetailUpload from "../qc/sub_detail_upload"; import QrCode from "../common/QrCode.vue"; + import IqcFileTable from './IQCFileTable.vue' /*上传文件的組件*/ export default { components: { @@ -890,7 +891,8 @@ Chooselist, qcFAIUploadFile, comQcItemImageUploadFile, - subDetailUpload + subDetailUpload, + IqcFileTable }, computed: { templateTableData () { @@ -1668,7 +1670,7 @@ fixed: '', columnWidth: 200, }, - { + /* { userId: this.$store.state.user.name, functionId: 301014, serialNumber: '301014Table2ObjectDesc', @@ -1685,7 +1687,7 @@ status: true, fixed: '', columnWidth: 120, - }, + }, */ /* { userId: this.$store.state.user.name, functionId: 301014, @@ -3314,28 +3316,12 @@ this.$message.warning('请选择BU!') return } - if (this.modalData.seqNo === '' || this.modalData.seqNo == null) { - this.$message.warning('请选择派工单!') - return - } - if (this.modalData.orderNo === '' || this.modalData.orderNo == null) { - this.$message.warning('请选择工单!') - return - } if (this.modalData.inspectionTypeNo === '' || this.modalData.inspectionTypeNo == null) { this.$message.warning('请选择检验类型!') return } if (this.modalData.specialTaskFlag !== 'Y' && (this.modalData.partNo === '' || this.modalData.partNo == null)) { - this.$message.warning('请选择物料!') - return - } - if (this.modalData.operationDesc === '' || this.modalData.operationDesc == null) { - this.$message.warning('请选择工序!') - return - } - if (this.modalData.specialTaskFlag !== 'Y' && (this.modalData.resourceId === '' || this.modalData.resourceId == null)) { - this.$message.warning('请选择机台!') + this.$message.warning('请选择工具ID!') return } if (this.modalData.rollQty === '' || this.modalData.rollQty == null) { @@ -3900,6 +3886,8 @@ if (row.maxValue == null && row.minValue == null) { if (row.numberValue!=row.defaultValue){ row.itemResult = 'N' + }else{ + row.itemResult = 'Y' } }else if (row.maxValue != null && row.minValue != null){ if (row.numberValue>row.maxValue ||row.numberValue { if (data.code === 0) { this.options = data.rows; - this.modalData.inspectionTypeNo = "822"; + this.modalData.inspectionTypeNo = "823"; } }); }, @@ -548,7 +548,7 @@ export default { async createExportData() { this.searchData.limit = -1; this.searchData.page = 1; - this.searchData.inspectionTypeNo = "822"; + this.searchData.inspectionTypeNo = "823"; await qcMethodSearch(this.searchData).then(({ data }) => { this.exportList = data.page.list; }); diff --git a/src/views/modules/dm/DMQcPartAttribute.vue b/src/views/modules/dm/DMQcPartAttribute.vue index f6f0959..bcd2178 100644 --- a/src/views/modules/dm/DMQcPartAttribute.vue +++ b/src/views/modules/dm/DMQcPartAttribute.vue @@ -74,7 +74,7 @@ 检验模板 编辑 删除 - SOP文件 + 图纸 @@ -181,7 +181,7 @@ - + 新增 @@ -196,9 +196,9 @@ - + 保存 @@ -371,7 +371,7 @@ - + 上传文件 @@ -1457,12 +1457,12 @@ export default { }, uploadSopFile() { const currentData = { - titleCon: "SOP文件上传", + titleCon: "图纸上传", site: this.sopData.site, buNo: this.sopData.buNo, createBy: this.$store.state.user.name, partNo: this.sopData.partNo, - inspectionTypeNo: "822", + inspectionTypeNo: "823", options: this.options, }; this.$nextTick(() => this.$refs.qcSOPUploadFile.init(currentData)); diff --git a/src/views/modules/dm/DMQcTemplate.vue b/src/views/modules/dm/DMQcTemplate.vue index 66c41a8..a6c99fe 100644 --- a/src/views/modules/dm/DMQcTemplate.vue +++ b/src/views/modules/dm/DMQcTemplate.vue @@ -365,7 +365,7 @@ export default { userName: this.$store.state.user.name, templateId: "", templateName: "", - inspectionTypeNo: "822", + inspectionTypeNo: "", buDesc: "RFID", page: 1, limit: 10 @@ -798,7 +798,7 @@ export default { templateVersion: "", samplingProgrammeNo: "", samplingProgrammeDesc: "", - inspectionTypeNo: "822", + inspectionTypeNo: "823", inspectionCycle: "", samplingLevelNo: "", samplingLevelDesc: "", diff --git a/src/views/modules/dm/DMResultEntry.vue b/src/views/modules/dm/DMResultEntry.vue index c288955..473ce15 100644 --- a/src/views/modules/dm/DMResultEntry.vue +++ b/src/views/modules/dm/DMResultEntry.vue @@ -1609,7 +1609,7 @@ fixed: '', columnWidth: 200, }, - { + /* { userId: this.$store.state.user.name, functionId: 301014, serialNumber: '301014Table2ObjectDesc', @@ -1626,7 +1626,7 @@ status: true, fixed: '', columnWidth: 120, - }, + }, */ /* { userId: this.$store.state.user.name, functionId: 301014, diff --git a/src/views/modules/dm/IQCFileTable.vue b/src/views/modules/dm/IQCFileTable.vue new file mode 100644 index 0000000..c0ec993 --- /dev/null +++ b/src/views/modules/dm/IQCFileTable.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/views/modules/dm/dm_SOP_upload_file.vue b/src/views/modules/dm/dm_SOP_upload_file.vue index 8d12a14..846bb5d 100644 --- a/src/views/modules/dm/dm_SOP_upload_file.vue +++ b/src/views/modules/dm/dm_SOP_upload_file.vue @@ -107,6 +107,8 @@ export default { this.$message.success(data.msg); this.$refs.uploadFile.clearFiles(); this.fileList = []; + this.$emit("refreshPageTables"); + this.visible = false; } else { this.$message.warning(data.msg); }