Bladeren bron

产品信息展示优化

1004749546@qq.com 4 jaren geleden
bovenliggende
commit
3eb0632edc
1 gewijzigde bestanden met toevoegingen van 12 en 3 verwijderingen
  1. 12 3
      src/views/storehouseManagement/productInfo/ProductList.vue

+ 12 - 3
src/views/storehouseManagement/productInfo/ProductList.vue

@@ -82,19 +82,28 @@ export default {
         title: '配件编码',
         dataIndex: 'code',
         align: 'center',
-        width: 150
+        width: 150,
+        customRender: (text) => {
+		  return text || '--'
+        }
       },
       {
         title: 'OE码',
         dataIndex: 'oe',
         align: 'center',
-        width: 150
+        width: 150,
+        customRender: (text) => {
+		  return text || '--'
+        }
       },
       {
         title: '单位',
         dataIndex: 'unit',
         align: 'center',
-        width: 150
+        width: 150,
+        customRender: (text) => {
+		  return text || '--'
+        }
       },
       {
         title: '终端采购价(¥)',