1.印章管理员逻辑优化(取消甲方类型条件)

2.待办逻辑优化(处理方法变更为已办)
3.定标生成合同携带采购方式,税率null,甲方,业务体系

S
This commit is contained in:
weiyunlong 2025-01-07 20:00:59 +08:00
parent 9fd115b6ac
commit ba63f77170
1 changed files with 8 additions and 1 deletions

View File

@ -7,16 +7,21 @@ import kd.bos.dataentity.metadata.IDataEntityType;
import kd.bos.entity.datamodel.IDataModel;
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
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.QFilter;
import kd.bos.servicehelper.BusinessDataServiceHelper;
import kd.bos.servicehelper.operation.SaveServiceHelper;
import shkd.repc.rebm.formplugin.ImportPurchaseApplyBillPlugin;
import java.util.EventObject;
import java.util.List;
public class ContractProjectFormPlugin extends AbstractBillPlugIn {
private static final Log logger = LogFactory.getLog(ContractProjectFormPlugin.class);
@Override
public void afterCreateNewData(EventObject e) {
super.afterCreateNewData(e);
@ -56,6 +61,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn {
if (null != bidproject) {
DynamicObject bidmode = bidproject.getDynamicObject("bidmode");//采购方式
if (null != bidmode) {
logger.info("88");
contractbill.set("qeug_bidmode",bidmode);
}
}
@ -64,6 +70,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn {
this.getView().invokeOperation("refresh");
DynamicObject qeugBidmode = contractbill.getDynamicObject("qeug_bidmode");
if (null == qeugBidmode) {
logger.info("99");
this.getView().updateView("qeug_bidmode");
}
}
@ -77,7 +84,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn {
super.afterBindData(e);
//根据组织携带项目
updateRenovationProject();
//转换规则
IFormView parentView = this.getView().getParentView();
if (null != parentView) {
parentView = parentView.getParentView();