Commit ed8e5348a708d80e9554b7d441ab343907763484
1 parent
9e85dc13
feat: 订单重新开票操作,原因没有必填bug修复
Showing
1 changed file
with
6 additions
and
0 deletions
src/pages/Order/components/ReissueModal.tsx
... | ... | @@ -105,6 +105,12 @@ export default ({ setVisible, mainOrder, onClose }) => { |
105 | 105 | <ProFormTextArea |
106 | 106 | width="lg" |
107 | 107 | name="notes" |
108 | + rules={[ | |
109 | + { | |
110 | + required: true, // 设置为必填 | |
111 | + message: '必须填写重新开票原因', // 当未填写时显示的提示信息 | |
112 | + }, | |
113 | + ]} | |
108 | 114 | placeholder="请填写订单重新开票的原因" |
109 | 115 | /> |
110 | 116 | </ModalForm> | ... | ... |