Bläddra i källkod

物流数据字段修改

cz 11 månader sedan
förälder
incheckning
c9b256cb43
1 ändrade filer med 13 tillägg och 4 borttagningar
  1. 13 4
      src/views/WDLY/outInBound/logistics/index.vue

+ 13 - 4
src/views/WDLY/outInBound/logistics/index.vue

@@ -40,7 +40,11 @@
         <template #spec="{ item }">
           <div style="width:100%">
             <div v-for="row in item.logisticsProductInfoList" :key="row.id">
-              {{ row.productSpec }}
+              <el-tooltip class="box-item" effect="dark" placement="bottom" :content="row.productName">
+                <div class="statistics-text" style="cursor: pointer">
+                  {{ row.productName }}
+                </div>
+              </el-tooltip>
             </div>
           </div>
         </template>
@@ -335,14 +339,14 @@ const config = computed(() => {
       attrs: {
         label: "SKU",
         slot: "SKU",
-        width: 130,
+        width: 150,
       },
     },
     {
       attrs: {
-        label: "货物型号",
+        label: "货物名称",
         slot: "spec",
-        width: 160,
+        width: 200,
       },
     },
     {
@@ -887,4 +891,9 @@ const disabledFn = (date) => {
 .tenant {
   padding: 20px;
 }
+.statistics-text {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
 </style>