diff --git a/cclqms-vue/src/i18n/locales/qc.cn.js b/cclqms-vue/src/i18n/locales/qc.cn.js
index 6e471e3..d2d4f6e 100644
--- a/cclqms-vue/src/i18n/locales/qc.cn.js
+++ b/cclqms-vue/src/i18n/locales/qc.cn.js
@@ -639,6 +639,7 @@ module.exports = {
exportInfoSheet: '导出信息',
addInspectionRecord: '新增检验记录',
tagNo: '标签号',
+ tagBatchNo: '标签/批次号',
tagNoSupplierBatch: '标签号/供应商批次',
noticeNo: '通知单号',
enterNoticeNo: '请输入通知单号',
@@ -816,6 +817,7 @@ module.exports = {
sendTime: '送检时间',
inspectionCycleH: '检验周期(h)',
tagBarcode: '标签条码',
+ tagBatchNo: '标签/批次号',
materialCode: '物料编码',
materialName: '物料名称',
spec: '规格型号',
diff --git a/cclqms-vue/src/i18n/locales/qc.en.js b/cclqms-vue/src/i18n/locales/qc.en.js
index a7befe0..e545219 100644
--- a/cclqms-vue/src/i18n/locales/qc.en.js
+++ b/cclqms-vue/src/i18n/locales/qc.en.js
@@ -639,6 +639,7 @@ module.exports = {
exportInfoSheet: 'Export info',
addInspectionRecord: 'Add inspection record',
tagNo: 'Tag No.',
+ tagBatchNo: 'Tag/Batch No.',
tagNoSupplierBatch: 'Tag No./Supplier Batch',
noticeNo: 'Notice No.',
enterNoticeNo: 'Please enter notice number',
@@ -817,6 +818,7 @@ module.exports = {
sendTime: 'Submission time',
inspectionCycleH: 'Inspection cycle (h)',
tagBarcode: 'Tag barcode',
+ tagBatchNo: 'Tag/Batch No.',
materialCode: 'Part code',
materialName: 'Part name',
spec: 'Specification',
diff --git a/cclqms-vue/src/mixins/qcItemObjectBatchDeviceMixin.js b/cclqms-vue/src/mixins/qcItemObjectBatchDeviceMixin.js
index e49416b..2d403c0 100644
--- a/cclqms-vue/src/mixins/qcItemObjectBatchDeviceMixin.js
+++ b/cclqms-vue/src/mixins/qcItemObjectBatchDeviceMixin.js
@@ -34,32 +34,21 @@ export default {
})
},
getRowDeviceOptions (row) {
- const classification = (row.equipmentClassification || '').trim()
- if (!classification) {
- return []
- }
- const list = this.itemObjectEquipmentList || []
- const options = list
- .filter(item => (item.equipmentClassification || '').trim() === classification)
- .map(item => ({
- objectID: item.equipmentNo,
- objectDesc: item.equipmentDesc || item.equipmentNo
- }))
+ const options = [...(row.objectList || [])]
if (row.equipmentNo && !options.some(opt => opt.objectID === row.equipmentNo)) {
- const selected = list.find(item => item.equipmentNo === row.equipmentNo)
+ const selected = (this.itemObjectEquipmentList || []).find(
+ item => item.equipmentNo === row.equipmentNo
+ )
if (selected) {
options.unshift({
objectID: selected.equipmentNo,
objectDesc: selected.equipmentDesc || selected.equipmentNo
})
} else {
- const fallback = (row.objectList || []).find(opt => opt.objectID === row.equipmentNo)
- if (fallback) {
- options.unshift({
- objectID: fallback.objectID,
- objectDesc: fallback.objectDesc || fallback.objectID
- })
- }
+ options.unshift({
+ objectID: row.equipmentNo,
+ objectDesc: row.equipmentNo
+ })
}
}
return options
diff --git a/cclqms-vue/src/views/modules/qc/OQCResultEntry.vue b/cclqms-vue/src/views/modules/qc/OQCResultEntry.vue
index 14dea46..9703fbe 100644
--- a/cclqms-vue/src/views/modules/qc/OQCResultEntry.vue
+++ b/cclqms-vue/src/views/modules/qc/OQCResultEntry.vue
@@ -321,18 +321,19 @@
fixed="right"
header-align="center"
align="center"
- width="100"
+ width="130"
:label="$t('qc.common.operation')">