【物料变更】
This commit is contained in:
parent
965ecaf85f
commit
6e5ed2a502
|
|
@ -89,7 +89,7 @@ public class MaterialBillPlugin extends AbstractBillPlugIn {
|
|||
if (iDataEntityProperties.size() > 0) {
|
||||
for (IDataEntityProperty prop : iDataEntityProperties) {
|
||||
String name = prop.getName();//字段标识
|
||||
if ("status".equals(name) || "useorg".equals(name) || "modifytime".equals(name)) {
|
||||
if ("status".equals(name) || "useorg".equals(name) || "modifytime".equals(name) || "tqq9_changereason".equals(name)) {
|
||||
continue;
|
||||
}
|
||||
LocaleString displayNameLocaleStr = prop.getDisplayName();
|
||||
|
|
@ -319,7 +319,8 @@ public class MaterialBillPlugin extends AbstractBillPlugIn {
|
|||
// String copySrcBillName = this.getPageCache().get("copySrcBillName");
|
||||
// String copySrcBillNumber = this.getPageCache().get("copySrcBillNumber");
|
||||
DynamicObject dataEntity = this.getModel().getDataEntity(true);
|
||||
dataEntity.set("name", copySrcBillName + "_copy");
|
||||
dataEntity.set("number", copySrcBillNumber + "_copy");
|
||||
dataEntity.set("name", copySrcBillName);
|
||||
dataEntity.set("tqq9_srcnumber", copySrcBillNumber);
|
||||
this.getView().invokeOperation("save");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue