From 49944c684bf75e1a90e85caf2c5d8523981916d6 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 01 四月 2025 11:22:17 +0800
Subject: [PATCH] 修改原辅料改成原辅材
---
src/components/Table/lims-table.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue
index 6bd9259..f3f3b41 100644
--- a/src/components/Table/lims-table.vue
+++ b/src/components/Table/lims-table.vue
@@ -15,7 +15,7 @@
:show-overflow-tooltip="item.dataType === 'action' || item.dataType === 'slot' ? false : true"
:min-width="item.dataType == 'action' ? btnWidth : getTitleWidth(item)" :sortable="item.sortable ? true : false"
:type="item.type"
- :width="item.dataType == 'action' ? btnWidth : (column.length < 6 ? 'auto' : getTitleWidth(item))"
+ :width="item.dataType == 'action' ? btnWidth : (column.length < 10 ? 'auto' : getTitleWidth(item))"
align="center">
<!-- <div class="123" v-if="item.type == ''"> -->
<template v-if="item.hasOwnProperty('colunmTemplate')" :slot="item.colunmTemplate" slot-scope="scope">
@@ -305,7 +305,7 @@
return count * 15 + 50 + "px";
},
getTitleWidth(row) {
- if (row.label.includes('鏃堕棿') || row.label.includes('缂栧彿') || row.label.includes('鏍峰搧鍚嶇О') || row.label.includes('闆朵欢')) {
+ if (row.label.includes('鏃堕棿') || row.label.includes('鍙�') || row.label.includes('鏍峰搧鍚嶇О') || row.label.includes('闆朵欢')) {
return 160
} else if (row.label.includes('浜у搧') || row.label.includes('妯℃澘鍚嶇О')) {
return 200
--
Gitblit v1.9.3