Browse Source

(*)回款明细导入 细节优化

master
wuqun 2 years ago
parent
commit
3eb9bfcbe4
  1. 8
      web/client/src/sections/business/containers/performanceReport/importBackModal.jsx

8
web/client/src/sections/business/containers/performanceReport/importBackModal.jsx

@ -189,9 +189,9 @@ const ImportBackModal = props => {
error(`${i + 2}行【年度】、【序号】、【编号】存在空值,请填写`)
return
}
//
//
if (obj.year && !yearPattern.test(obj.year)) {
error(`${i + 2}行【年】填写错误`)
error(`${i + 2}行【年】填写错误`)
return
}
//
@ -216,12 +216,12 @@ const ImportBackModal = props => {
//
let tValid = judgeTimeValid(obj.receivableDate);
if (!tValid) {
error(`${i + 2}行回款日期错误,请填写yyyy/mm/dd格式`)
error(`${i + 2}回款日期错误,请填写yyyy/mm/dd格式`)
return
}
let cValid = judgeTimeValid(obj.incomeConfirmdate);
if (!cValid) {
error(`${i + 2}行收入确认时间错误,请填写yyyy/mm/dd格式`)
error(`${i + 2}收入确认时间错误,请填写yyyy/mm/dd格式`)
return
}
postData.push(obj);

Loading…
Cancel
Save