فهرست منبع

fix: 单位显示"-" 点击提示“客户ID必须”

outaozhen 4 سال پیش
والد
کامیت
ff71eca1fc
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/pages/Customer/Client/index.jsx

+ 2 - 2
src/pages/Customer/Client/index.jsx

@@ -153,10 +153,10 @@ const Client = props => {
       width: 200,
       // ellipsis: true,
       render: (companyName, record) =>
-        record.companyId !== consts.ENCRYPTION_ZERO ? (
+        record.companyId ? (
           <span
             onClick={() => {
-              if (record.companyId) {
+              if (record.companyId !== consts.ENCRYPTION_ZERO) {
                 dispatchModal('D_COMPANY_DETAIL', {
                   updateKey: 'client',
                   dataId: record.companyId,