1.印章管理员逻辑优化(取消甲方类型条件)
2.待办逻辑优化(处理方法变更为已办) 3.定标生成合同携带采购方式,税率null,甲方,业务体系 S
This commit is contained in:
parent
9fd115b6ac
commit
ba63f77170
|
@ -7,16 +7,21 @@ import kd.bos.dataentity.metadata.IDataEntityType;
|
||||||
import kd.bos.entity.datamodel.IDataModel;
|
import kd.bos.entity.datamodel.IDataModel;
|
||||||
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
||||||
import kd.bos.form.IFormView;
|
import kd.bos.form.IFormView;
|
||||||
|
import kd.bos.logging.Log;
|
||||||
|
import kd.bos.logging.LogFactory;
|
||||||
import kd.bos.orm.query.QCP;
|
import kd.bos.orm.query.QCP;
|
||||||
import kd.bos.orm.query.QFilter;
|
import kd.bos.orm.query.QFilter;
|
||||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||||
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
||||||
|
import shkd.repc.rebm.formplugin.ImportPurchaseApplyBillPlugin;
|
||||||
|
|
||||||
import java.util.EventObject;
|
import java.util.EventObject;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class ContractProjectFormPlugin extends AbstractBillPlugIn {
|
public class ContractProjectFormPlugin extends AbstractBillPlugIn {
|
||||||
|
|
||||||
|
private static final Log logger = LogFactory.getLog(ContractProjectFormPlugin.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterCreateNewData(EventObject e) {
|
public void afterCreateNewData(EventObject e) {
|
||||||
super.afterCreateNewData(e);
|
super.afterCreateNewData(e);
|
||||||
|
@ -56,6 +61,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn {
|
||||||
if (null != bidproject) {
|
if (null != bidproject) {
|
||||||
DynamicObject bidmode = bidproject.getDynamicObject("bidmode");//采购方式
|
DynamicObject bidmode = bidproject.getDynamicObject("bidmode");//采购方式
|
||||||
if (null != bidmode) {
|
if (null != bidmode) {
|
||||||
|
logger.info("88");
|
||||||
contractbill.set("qeug_bidmode",bidmode);
|
contractbill.set("qeug_bidmode",bidmode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,6 +70,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn {
|
||||||
this.getView().invokeOperation("refresh");
|
this.getView().invokeOperation("refresh");
|
||||||
DynamicObject qeugBidmode = contractbill.getDynamicObject("qeug_bidmode");
|
DynamicObject qeugBidmode = contractbill.getDynamicObject("qeug_bidmode");
|
||||||
if (null == qeugBidmode) {
|
if (null == qeugBidmode) {
|
||||||
|
logger.info("99");
|
||||||
this.getView().updateView("qeug_bidmode");
|
this.getView().updateView("qeug_bidmode");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,7 +84,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn {
|
||||||
super.afterBindData(e);
|
super.afterBindData(e);
|
||||||
//根据组织携带项目
|
//根据组织携带项目
|
||||||
updateRenovationProject();
|
updateRenovationProject();
|
||||||
|
//转换规则
|
||||||
IFormView parentView = this.getView().getParentView();
|
IFormView parentView = this.getView().getParentView();
|
||||||
if (null != parentView) {
|
if (null != parentView) {
|
||||||
parentView = parentView.getParentView();
|
parentView = parentView.getParentView();
|
||||||
|
|
Loading…
Reference in New Issue