Commit cd31faac by 宋祥

1.fixBug:修复日常巡检单保存数据丢失问题

parent fa33466c
......@@ -110,7 +110,12 @@ public class ServiceHGZL003 extends ServiceBase {
newZl003.setCheckCode(SequenceGenerator.getNextSequence(HGConstant.SequenceId.HGZL003_CHECK_CODE));
newZl003.setCheckBy(UserSessionUtils.getLoginName());
newZl003.setCheckName(UserSessionUtils.getLoginCName());
newZl003.setCheckDate(DateUtils.shortDate());
newZl003.setCheckDate(DateUtils.formatShort(fZl003.getCheckDate()));
newZl003.setQuantity(fZl003.getQuantity());
newZl003.setUnpassQuantity(fZl003.getUnpassQuantity());
newZl003.setPassQuantity(fZl003.getQuantity() - fZl003.getUnpassQuantity());
newZl003.setWorkBy(fZl003.getWorkBy());
newZl003.setWorkBy(fZl003.getWorkName());
DaoUtils.insert(HGZL003.INSERT, newZl003);
// 生成整改通知单
HGZLTools.HgZl004.addByHGZL003(newZl003);
......
......@@ -37,7 +37,7 @@
<EF:EFColumn ename="taskCode" cname="生产任务单号" width="130" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="checkCode" cname="质检单号" width="130" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="checkDate" cname="质检日期" width="120" align="center" editType="date"
dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" required="true"/>
dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd', 'yyyy-MM-dd']" required="true"/>
<EF:EFColumn ename="processName" cname="工序" width="100" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="productCode" cname="存货编码" width="90" enable="false" readonly="true" align="center"/>
<EF:EFColumn ename="productName" cname="存货名称" width="90" enable="false" readonly="true" align="center"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment