瀏覽代碼

产品信息展示优化

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: '终端采购价(¥)',