bug修复
This commit is contained in:
parent
13654c1cb9
commit
fa60718ba3
|
|
@ -190,8 +190,6 @@ public class SamplesManageServiceImpl implements SamplesManageService {
|
|||
throw new RuntimeException("收样设备信息表添加失败");
|
||||
}
|
||||
}
|
||||
}else {
|
||||
throw new RuntimeException("未获取到数据");
|
||||
}
|
||||
return ServerResponse.createBySuccessMsg("上传成功");
|
||||
}else{
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ function pages(data) {
|
|||
devModule: data.devModule,
|
||||
devCode: dataString,
|
||||
});
|
||||
listLengthTwo = listLengthTwo + 1;
|
||||
}
|
||||
|
||||
devNumAll = num + devNumAll;
|
||||
|
|
@ -405,7 +406,7 @@ function cancel() {
|
|||
// });
|
||||
// }
|
||||
if(flagTemp==1){
|
||||
if(listLength == 0){
|
||||
if(listLengthTwo == 0){
|
||||
layer.alert("无法上传,请至少添加一条数据", {icon: 2})
|
||||
}else{
|
||||
let loadingMsg = layer.msg('数据上传中,请稍候...', {icon: 16, scrollbar: false, time: 0});
|
||||
|
|
|
|||
Loading…
Reference in New Issue