Selaa lähdekoodia

fix: 更新版本显示逻辑,添加无版本时的提示,并修改牌号标签以包含材质信息

xieyong 2 viikkoa sitten
vanhempi
commit
1b78ddeb4f
1 muutettua tiedostoa jossa 11 lisäystä ja 2 poistoa
  1. 11 2
      src/views/material/BOMmanage/components/detailedList.vue

+ 11 - 2
src/views/material/BOMmanage/components/detailedList.vue

@@ -76,7 +76,10 @@
         </el-input>
       </template>
 
-      <template v-slot:versions="{ row }"> V{{ row.versions }}.0 </template>
+      <template v-slot:versions="{ row }"> 
+        <template v-if="row.versions">V{{ row.versions }}.0</template>
+        <template v-else>无</template>
+      </template>
 
       <template v-slot:rootCategoryLevelId="{ row }"
         >{{ rootCategoryLevelIdText(row.rootCategoryLevelId) }}
@@ -329,7 +332,8 @@
 
           {
             prop: 'brandNum',
-            label: '牌号'
+            label: '牌号/材质',
+            width: 100
           },
           {
             prop: 'imgCode',
@@ -459,6 +463,11 @@
             label: '创建日期',
             width: 160
           },
+          {
+            prop: 'updateTime',
+            label: '修改时间',
+            width: 160
+          },
           {
             action: 'action',
             slot: 'action',