Commit 11117108f3e330ab2a8119b699a2a0455f42c2d6
Merge remote-tracking branch 'origin/bug_fix'
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 | 170 | }, |
171 | 171 | { |
172 | 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 | 178 | title: "应折让金额(元)", | ... | ... |