|
@@ -70,10 +70,10 @@ export default function SearchDemandNote({ recordList, reloadFun }) { |
|
|
const doUploadFile = (event) => { |
|
|
const doUploadFile = (event) => { |
|
|
let file = event.target.files[0]; |
|
|
let file = event.target.files[0]; |
|
|
HttpUtils.postWithFiles({ |
|
|
HttpUtils.postWithFiles({ |
|
|
url:"", |
|
|
|
|
|
|
|
|
url:UrlUtils.DEMAND_NOTE_ATTACH, |
|
|
files:[file], |
|
|
files:[file], |
|
|
onSuccess() { |
|
|
onSuccess() { |
|
|
202222 |
|
|
|
|
|
|
|
|
if (reloadFun) reloadFun(); |
|
|
}, |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
document.getElementById("uploadFileBtn").value = ""; |
|
|
document.getElementById("uploadFileBtn").value = ""; |
|
|