|
@@ -503,7 +503,8 @@ function DemandPoolPanel() {
|
|
|
dataIndex: "reason",
|
|
dataIndex: "reason",
|
|
|
width: 140,
|
|
width: 140,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- render: (v) => v ?? "",
|
|
|
|
|
|
|
+ render: (v, record) =>
|
|
|
|
|
+ (record.strategy ?? "").trim() === HOT_DEMAND_POOL_STRATEGY ? (v ?? "") : "",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: "操作",
|
|
title: "操作",
|
|
@@ -517,7 +518,8 @@ function DemandPoolPanel() {
|
|
|
const demandName = (record.demand_name ?? "").trim();
|
|
const demandName = (record.demand_name ?? "").trim();
|
|
|
const demandType = (record.type ?? "").trim();
|
|
const demandType = (record.type ?? "").trim();
|
|
|
const dt = (record.dt ?? "").trim();
|
|
const dt = (record.dt ?? "").trim();
|
|
|
- if (!demandName || !demandType || !dt) {
|
|
|
|
|
|
|
+ const reason = (record.reason ?? "").trim();
|
|
|
|
|
+ if (!demandName || !demandType || !dt || reason) {
|
|
|
return "-";
|
|
return "-";
|
|
|
}
|
|
}
|
|
|
return (
|
|
return (
|