|
@@ -7,7 +7,6 @@ import { getInvoicePersonList, saveInvoicePerson, deleteInvoicePerson } from '@/
|
7
|
7
|
|
8
|
8
|
const FormItem = Form.Item;
|
9
|
9
|
const formItemLayout = { labelCol: { span: 6 }, wrapperCol: { span: 14 } };
|
10
|
|
-const modelUrl='https://h5.njyunzhi.com/assets/%E6%8A%A5%E9%94%80%E4%BA%BA%E5%91%98%E6%A8%A1%E6%9D%BF.xlsx'
|
11
|
10
|
|
12
|
11
|
export default (props) => {
|
13
|
12
|
const { invoiceId } = props
|
|
@@ -51,7 +50,7 @@ export default (props) => {
|
51
|
50
|
}
|
52
|
51
|
const downloadExcel=()=>{
|
53
|
52
|
const link=document.createElement('a')
|
54
|
|
- link.href=modelUrl
|
|
53
|
+ link.href=MODEL_URL
|
55
|
54
|
link.click()
|
56
|
55
|
}
|
57
|
56
|
const actions = () => [
|