parent
d80b3b9e8a
commit
d3ed34bdfa
|
@ -72,9 +72,6 @@ public class TycQzSupplierFormPlugin extends AbstractFormPlugin {
|
|||
this.getView().showMessage(ResManager.loadKDString("请先保存", "ImportRegSupplierList_2", "repc-resm-formplugin", new Object[0]));
|
||||
evt.setCancel(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -89,6 +86,10 @@ public class TycQzSupplierFormPlugin extends AbstractFormPlugin {
|
|||
if (this.checkIsCanDo(args)) {
|
||||
this.showPreaudit(args);
|
||||
}
|
||||
this.getView().invokeOperation("save");//调用保存
|
||||
}
|
||||
if ("query_tyc".equals(operateKey)) {
|
||||
this.getView().invokeOperation("save");//调用保存
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,12 +109,12 @@ public class TycQzSupplierFormPlugin extends AbstractFormPlugin {
|
|||
}
|
||||
DynamicObject resm_regsupplier = BusinessDataServiceHelper.loadSingle(pkValue, "resm_regsupplier");
|
||||
|
||||
if ("preaudit".equals(operateKey) && resm_regsupplier != null) {
|
||||
DynamicObjectCollection qeug_infocheckentry = resm_regsupplier.getDynamicObjectCollection("qeug_infocheckentry");
|
||||
if (qeug_infocheckentry.size() > 0) {
|
||||
return; // 如果存在核对项,直接返回
|
||||
}
|
||||
}
|
||||
// if ("preaudit".equals(operateKey) && resm_regsupplier != null) {
|
||||
// DynamicObjectCollection qeug_infocheckentry = resm_regsupplier.getDynamicObjectCollection("qeug_infocheckentry");
|
||||
// if (qeug_infocheckentry.size() > 0) {
|
||||
// return; // 如果存在核对项,直接返回
|
||||
// }
|
||||
// }
|
||||
showPreaudits(resm_regsupplier);//比对天眼查数据
|
||||
this.getView().invokeOperation("refresh");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue