diff --git a/src/views/modules/sampleTracking/projectProofTracking.vue b/src/views/modules/sampleTracking/projectProofTracking.vue
index 668748a..a340690 100644
--- a/src/views/modules/sampleTracking/projectProofTracking.vue
+++ b/src/views/modules/sampleTracking/projectProofTracking.vue
@@ -23,7 +23,7 @@
-
+
@@ -350,7 +350,7 @@
- 修改
+ 修改
详情
删除
@@ -2061,7 +2061,14 @@ export default {
if (this.normalizeTrackingColumnBoolean(column.status, true) === false) {
return false
}
- return this.normalizeTrackingColumnBoolean(column.columnHidden, false) === false
+ if (this.normalizeTrackingColumnBoolean(column.columnHidden, false) !== false) {
+ return false
+ }
+ // 分类列只服务 RFID;其他 BU 或未选 BU 时即使用户列配置勾选了也不展示。
+ if (column.columnProp === 'dryWetType' && !this.isRfidBuNo(this.getSelectedSearchBuNo())) {
+ return false
+ }
+ return true
},
// 同步图标只展示在项目编码、项目物料与打样单号三列,避免整列变色影响可读性。
isSyncIconTrackingColumn (columnProp) {
@@ -2774,6 +2781,11 @@ export default {
handleSearchBuChange () {
this.ensureSearchBuNoSelected()
this.resetSearchCustomerOptions()
+ // 分类列仅 RFID 可见,切走时清空避免隐藏条件继续过滤。
+ if (!this.isRfidBuNo(this.searchData.buNo)) {
+ this.searchData.dryWetType = ''
+ }
+ this.refreshTrackingTableLayout()
// BU筛选变化后立即重新查询,并回到第一页。
this.queryProcessColumns().then(() => {
this.getDataList('Y')
@@ -4058,6 +4070,10 @@ export default {
inData.sampleMakingMonth = this.normalizeSearchInteger(inData.sampleMakingMonth)
inData.pmInqueryTimeStart = this.isBlankValue(inData.pmInqueryTimeStart) ? null : inData.pmInqueryTimeStart
inData.pmInqueryTimeEnd = this.isBlankValue(inData.pmInqueryTimeEnd) ? null : inData.pmInqueryTimeEnd
+ // 非 RFID 查询不带分类条件,避免筛选项隐藏后仍按旧值过滤。
+ if (!this.isRfidBuNo(inData.buNo || this.searchData.buNo)) {
+ inData.dryWetType = ''
+ }
return inData
},
getDataList (flag) {