diff --git a/web/client/src/sections/business/containers/performanceReport/importBackModal.jsx b/web/client/src/sections/business/containers/performanceReport/importBackModal.jsx index 661c268..9b3f34f 100644 --- a/web/client/src/sections/business/containers/performanceReport/importBackModal.jsx +++ b/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);