ソースを参照

产品信息展示优化

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