Explorar el Código

产品信息展示优化

1004749546@qq.com hace 4 años
padre
commit
3eb0632edc
Se han modificado 1 ficheros con 12 adiciones y 3 borrados
  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: '终端采购价(¥)',