Commit 72d8abdb110b557d4dc52c6abc12b4e40ebe9534
1 parent
b43e2ada
feat: 开票功能开发
Showing
2 changed files
with
10 additions
and
2 deletions
src/pages/Invoice/components/InvoiceRecordDetailModal.tsx
src/pages/Order/components/InvoicingDrawerForm.tsx
... | ... | @@ -155,7 +155,15 @@ export default ({ dataList, mainOrder, setVisible, onClose }) => { |
155 | 155 | placeholder="请选择是否加急" |
156 | 156 | rules={[{ required: true, message: '请选择是否加急!' }]} |
157 | 157 | /> |
158 | - <ProFormUploadDragger name="drag-pic" label="拖拽上传" /> | |
158 | + <ProFormUploadDragger | |
159 | + key="filePaths" | |
160 | + label="附件" | |
161 | + name="filePaths" | |
162 | + action="/api/service/order/fileProcess" | |
163 | + fieldProps={{ | |
164 | + headers: { Authorization: localStorage.getItem('token') }, | |
165 | + }} | |
166 | + /> | |
159 | 167 | <ProFormTextArea |
160 | 168 | name="applyInvoicingNotes" |
161 | 169 | label="备注" | ... | ... |