李志伟 2 years ago
parent
commit
b231a6eb79

+ 4
- 3
src/components/Upload/UploadExcel.jsx View File

18
 
18
 
19
 
19
 
20
 export default (props) => {
20
 export default (props) => {
21
-  const { onChange, id ,refrash } = props;
21
+  const { onChange, id, refrash } = props;
22
 
22
 
23
   const [loading, setLoading] = useState(false);
23
   const [loading, setLoading] = useState(false);
24
 
24
 
25
   const handleChange = info => {
25
   const handleChange = info => {
26
     if (info.file.status === 'uploading') {
26
     if (info.file.status === 'uploading') {
27
-      setLoading(true); 
27
+      setLoading(true);
28
       return;
28
       return;
29
     }
29
     }
30
     if (info.file.status === 'error') {
30
     if (info.file.status === 'error') {
58
       beforeUpload={beforeUpload}
58
       beforeUpload={beforeUpload}
59
       onChange={handleChange}
59
       onChange={handleChange}
60
     >
60
     >
61
-      <Button type="primary" disabled={loading} icon={loading ? <LoadingOutlined /> : <UploadOutlined />}>上传</Button>
61
+      <Button type="primary" disabled={loading} icon={loading ?
62
+        <LoadingOutlined /> : <UploadOutlined />}>上传</Button>
62
     </Upload>
63
     </Upload>
63
   );
64
   );
64
 }
65
 }

+ 2
- 5
src/pages/invoiceFill/components/BasicInfo.jsx View File

29
 
29
 
30
 
30
 
31
   const qrcodeText = useMemo(() =>
31
   const qrcodeText = useMemo(() =>
32
-    // initialState.report_url + '#resume-work-form?org=' + 
33
-    'https://www.baidu.com/#resume-work-form?org=' +
32
+    'http://h5.njyunzhi.com/state-grid/invoice-filling-h5/index.html?invoiceId=' +
34
     invoiceId,
33
     invoiceId,
35
-    [invoiceId
36
-      // , initialState.report_url
37
-    ]
34
+    [invoiceId]
38
   )
35
   )
39
 
36
 
40
 
37