|
|
@@ -114,13 +114,13 @@ Ext.define('saas.view.purchase.purchaseOut.FormPanelController', {
|
|
|
// 单据状态为录入状态(未审核)
|
|
|
main[form._statusCodeField] = auditTexts.unAuditCode;
|
|
|
main[form._statusField] = auditTexts.unAuditText;
|
|
|
- //录入人,录入日期,审核人,审核日期清空
|
|
|
- main['creatorId'] = undefined;
|
|
|
- main['creatorName'] = undefined;
|
|
|
- main['createTime'] = undefined;
|
|
|
- main['updaterId'] = undefined;
|
|
|
- main['updaterName'] = undefined;
|
|
|
- main['updateTime'] = undefined;
|
|
|
+ //重设录入人,录入日期,审核人,审核日期
|
|
|
+ main['creatorId'] = saas.util.BaseUtil.getCurrentUser().id;
|
|
|
+ main['creatorName'] = saas.util.BaseUtil.getCurrentUser().realname;
|
|
|
+ main['createTime'] = Ext.Date.format(new Date(), 'Y-m-d H:i:s');
|
|
|
+ main['updaterId'] = saas.util.BaseUtil.getCurrentUser().id;
|
|
|
+ main['updaterName'] = saas.util.BaseUtil.getCurrentUser().realname;
|
|
|
+ main['updateTime'] = Ext.Date.format(new Date(), 'Y-m-d H:i:s');
|
|
|
main[form._auditmanField] = undefined;
|
|
|
main[form._auditdateField] = undefined;
|
|
|
|