1.外销合同签订日期默认当前时间
This commit is contained in:
ljw 2024-11-21 20:02:34 +08:00
parent e31660e995
commit 6c37b4beaf

View File

@ -36,6 +36,10 @@ public class XSalesOrderFromEdit extends AbstractBillPlugIn {
super.afterBindData(e);
SplitContainer splitContainer = this.getControl("yem_splitcontainerap");
splitContainer.setCollapse("yem_splitpanelap1", true);
Object yemSigndate = this.getModel().getValue("yem_signdate");
if (yemSigndate == null) {
this.getModel().setValue("yem_signdate", new Date());
}
}
@Override
@ -85,6 +89,7 @@ public class XSalesOrderFromEdit extends AbstractBillPlugIn {
}
}
}
@Override
public void beforeDeleteRow(BeforeDeleteRowEventArgs e) {
super.beforeDeleteRow(e);
@ -117,10 +122,6 @@ public class XSalesOrderFromEdit extends AbstractBillPlugIn {
}
}
}
// if(loadTargetRowIds.size() > 0) {
// e.setCancel(true);//阻断增行
// view.showTipNotification("该分录已存在下游,禁止删除。");
// }
}
}
}