配件出库-取消附件必填项
This commit is contained in:
parent
52a9e4775e
commit
3c88eb730f
|
|
@ -104,9 +104,9 @@ $(document).on("click", ".file-iteme .handle", function (event) {
|
|||
function submitApply() {
|
||||
// 校验出库附件是否上传
|
||||
let length = $('.file-iteme').length;
|
||||
if (length === 0) {
|
||||
return layer.msg('请上传附件证明', { icon: 7 });
|
||||
}
|
||||
// if (length === 0) {
|
||||
// return layer.msg('请上传附件证明', { icon: 7 });
|
||||
// }
|
||||
let formData = new FormData();
|
||||
//遍历最终文件集合
|
||||
for (let i = 0; i < fileList.length; i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue