修改后台里程碑管理保存的时候如果实际结束日期没有数据保存的时候会自动填充数据,需要改成不填充

dev_xd
haha 2025-01-02 23:34:45 +08:00
parent 0ab4165788
commit 964a904cc1
2 changed files with 5 additions and 1 deletions

View File

@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="scheduledEnd != null or 1==1">scheduled_end = #{scheduledEnd},</if>
<if test="actualStart != null or 1==1">actual_start = #{actualStart},</if>
<if test="actualEnd != null or 1==1">actual_end = #{actualEnd},</if>
<if test="days != null">days = #{days},</if>
<if test="days != null or 1==1">days = #{days},</if>
<if test="explainInfo != null">explain_info = #{explainInfo},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="remark != null">remark = #{remark},</if>

View File

@ -136,6 +136,10 @@ function handleUpdate(row) {
objs.forEach(it => {
it.comId = userStore.currentComId;
it.projectId = userStore.currentPrjId;
it.actualEnd=it.actualEnd?proxy.$dt(it.actualEnd).format("YYYY-MM-DD"):'';
it.actualStart=it.actualStart?proxy.$dt(it.actualStart).format("YYYY-MM-DD"):'';
it.scheduledEnd=it.scheduledEnd?proxy.$dt(it.scheduledEnd).format("YYYY-MM-DD"):'';
it.scheduledStart=it.scheduledStart?proxy.$dt(it.scheduledStart).format("YYYY-MM-DD"):'';
})
if (objs.length == 0) {
proxy.$modal.msgError("请输入节点名称!");