Pārlūkot izejas kodu

瑞都无工作量,生产动态调整字段显示

Zimo 5 dienas atpakaļ
vecāks
revīzija
e415527b74

+ 1 - 1
src/components/ZmTable/index.vue

@@ -420,7 +420,7 @@ defineExpose({
   --zm-table-hover-bg: #f5f9ff;
   --zm-table-current-bg: #eef6ff;
   --zm-table-cell-height: 38px;
-  --zm-table-cell-padding-x: 12px;
+  --zm-table-cell-padding-x: 8px;
   --zm-table-cell-first-padding-left: 0px;
   --zm-table-cell-last-padding-right: 0px;
   --zm-table-cell-line-height: 18px;

+ 4 - 1
src/views/pms/iotrddailyreport/index.vue

@@ -334,7 +334,7 @@ onMounted(() => {
                 prop="reportDetails"
                 label="生产动态"
                 width="320"
-                :show-overflow-tooltip="false"
+                :show-overflow-tooltip="true"
               >
                 <template #default="{ row }">
                   <div v-if="row.reportDetails && row.reportDetails.length > 0" class="py-2">
@@ -420,6 +420,9 @@ onMounted(() => {
                       </el-scrollbar>
                     </el-popover>
                   </div>
+                  <div class="truncate" v-else-if="row.productionStatus">{{
+                    row.productionStatus
+                  }}</div>
                   <span v-else class="text-gray-300">-</span>
                 </template>
               </zm-table-column>