Commit dfbe00fb138691d83f61c2d75a875258a3ce9139
1 parent
5ccc84d4
feat: update 指标修改
Showing
1 changed file
with
3 additions
and
3 deletions
src/pages/Order/components/CheckModal.tsx
... | ... | @@ -83,19 +83,19 @@ export default ({ |
83 | 83 | </Col> |
84 | 84 | <Col span={18}> |
85 | 85 | {enumValueToLabel( |
86 | - res?.data[0].afterSalesPlan, | |
86 | + res?.data[0]?.afterSalesPlan, | |
87 | 87 | AFTE_SALES_PLAN_OPTIONS, |
88 | 88 | )} |
89 | 89 | </Col> |
90 | 90 | <Col span={6}> |
91 | 91 | <span className="className='text-[#333333]'">修改后总金额</span> |
92 | 92 | </Col> |
93 | - <Col span={18}>{res?.data[0].totalPayment}</Col> | |
93 | + <Col span={18}>{res?.data[0]?.totalPayment}</Col> | |
94 | 94 | |
95 | 95 | <Col span={6}> |
96 | 96 | <span className="className='text-[#333333]'">售后原因</span> |
97 | 97 | </Col> |
98 | - <Col span={18}>{res?.data[0].afterSalesNotes}</Col> | |
98 | + <Col span={18}>{res?.data[0]?.afterSalesNotes}</Col> | |
99 | 99 | <Col span={6}> |
100 | 100 | <span className="className='text-[#333333]'">附件</span> |
101 | 101 | </Col> | ... | ... |