Преглед на файлове

产品信息展示优化

1004749546@qq.com преди 4 години
родител
ревизия
3eb0632edc
променени са 1 файла, в които са добавени 12 реда и са изтрити 3 реда
  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: '终端采购价(¥)',