|
@@ -49,7 +49,6 @@ $(document).ready(() => {
|
|
|
$('#bills').removeClass('first-bill-pane');
|
|
|
}
|
|
|
});
|
|
|
- console.log(auditList)
|
|
|
// 上传附件
|
|
|
$('#upload-file-btn').click(function () {
|
|
|
const files = $('#upload-file')[0].files;
|
|
@@ -74,7 +73,7 @@ $(document).ready(() => {
|
|
|
formData.append('size', filesize);
|
|
|
formData.append('file[]', file);
|
|
|
}
|
|
|
- if (auditList.findIndex(item => item.uid === accountId) === -1) {
|
|
|
+ if (auditList.findIndex(item => item.uid === parseInt(accountId)) === -1) {
|
|
|
return toastr.error('暂无权限上传!')
|
|
|
}
|
|
|
postDataWithFile(window.location.pathname + '/file/upload', formData, function (data) {
|