From 4f5e7cf7d2a53f13526475eb7ef03395b59cc0e9 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Wed, 3 Jun 2026 15:15:34 +0800 Subject: [PATCH] 1.询价状态增加/,现在三种状态 √,x号, /号 --- src/components/Common/CommonTable/index.js | 22 +++++++++++++++++++--- src/components/Common/CommonTable/index.less | 13 +++++++++++-- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/components/Common/CommonTable/index.js b/src/components/Common/CommonTable/index.js index a5fbc82..cffc435 100644 --- a/src/components/Common/CommonTable/index.js +++ b/src/components/Common/CommonTable/index.js @@ -2184,12 +2184,12 @@ class CommonTableRc extends React.Component { if (!bEnabled) return; let newValue = ""; - if (!value) { + if (!value || value ==='/') { newValue = "✓"; } else if (["1", "✓"].includes(value)) { newValue = "✗"; - } else { - newValue = "✓"; + }else if (["0", "✗"].includes(value)) { + newValue = "/"; } const dataNew = [...this.props.data]; @@ -2260,6 +2260,22 @@ class CommonTableRc extends React.Component { ✗ ); + } else if (value === "3" || value === '/') { + return ( +