Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
7c89041f82
@ -1109,9 +1109,9 @@ public class SalesOrderUtils {
|
||||
for (DynamicObject destport : destports) {
|
||||
DynamicObject port = destport.getDynamicObject("fbasedataid");
|
||||
if (port == null) continue;
|
||||
port = BusinessDataServiceHelper.loadSingle(port.getPkValue(), port.getDataEntityType().getName(), "yem_factory");
|
||||
if (!port.getString("yem_factory").isEmpty()) {
|
||||
sb.append(port.getString("yem_factory")).append(";");
|
||||
port = BusinessDataServiceHelper.loadSingle(port.getPkValue(), port.getDataEntityType().getName(), "yem_namecn");
|
||||
if (!port.getString("yem_namecn").isEmpty()) {
|
||||
sb.append(port.getString("yem_namecn")).append(";");
|
||||
}
|
||||
}
|
||||
if (sb.lastIndexOf(";") == sb.length() - 1) {
|
||||
|
@ -32,7 +32,7 @@ public class XSalesOrderFromEdit extends AbstractBillPlugIn {
|
||||
splitContainer.setCollapse("yem_splitpanelap1", true);
|
||||
Object yemSigndate = this.getModel().getValue("yem_signdate");
|
||||
if (yemSigndate == null) {
|
||||
// this.getModel().setValue("yem_signdate", new Date());
|
||||
this.getModel().setValue("yem_signdate", this.getModel().getValue("createtime"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user