Commit 97a7695f5c485f50e72470c8e1231d7bce2521bd
1 parent
aa50ec14
折让时间展示
Showing
1 changed file
with
3 additions
and
3 deletions
src/pages/stock/AllowanceConfirm/EditComfirm/components/WaitConfirmList.tsx
@@ -170,9 +170,9 @@ export default function WaitConfirmList(props: Props) { | @@ -170,9 +170,9 @@ export default function WaitConfirmList(props: Props) { | ||
170 | }, | 170 | }, |
171 | { | 171 | { |
172 | title: "折让时间", | 172 | title: "折让时间", |
173 | - dataIndex: " rebateTime", | ||
174 | - key: " rebateTime", | ||
175 | - render: (text: number) => moment(text).format("YYYY-MM-DD"), | 173 | + dataIndex: "rebateTime", |
174 | + key: "rebateTime", | ||
175 | + render: (text: number) => (text ? moment(text).format("YYYY-MM-DD") : '--'), | ||
176 | }, | 176 | }, |
177 | { | 177 | { |
178 | title: "应折让金额(元)", | 178 | title: "应折让金额(元)", |