优化供应商画像显示字段
This commit is contained in:
parent
2849ca841f
commit
7fa6b622b5
|
@ -16,8 +16,8 @@ import java.util.EventObject;
|
|||
public class ControlFieldOnBizTypePlugin extends AbstractBillPlugIn implements Plugin {
|
||||
|
||||
/*
|
||||
* 采购需求单-根据业务类型控制字段和容器显隐
|
||||
* */
|
||||
* 采购需求单-根据业务类型控制字段和容器显隐
|
||||
* */
|
||||
|
||||
@Override
|
||||
public void afterBindData(EventObject e) {
|
||||
|
@ -48,8 +48,8 @@ public class ControlFieldOnBizTypePlugin extends AbstractBillPlugIn implements P
|
|||
Object newValue = changeData.getNewValue();
|
||||
IFormView view = this.getView();
|
||||
view.setVisible(false, "qeug_renovation_proj", "qeug_renovation_pur", "qeug_renovation_scop", "qeug_renovation_type",
|
||||
"qeug_softdecoration", "qeug_emt_bp", "qeug_proj_budget", "qeug_soft_budget", "qeug_purchase_type",
|
||||
"qeug_applyamount", "qeug_outline", "advconap");
|
||||
"qeug_softdecoration", "qeug_emt_bp", "qeug_proj_budget", "qeug_soft_budget", "qeug_purchase_type",
|
||||
"qeug_applyamount", "qeug_outline", "advconap");
|
||||
|
||||
if (newValue != null) {
|
||||
DynamicObject bizType = (DynamicObject) newValue;
|
||||
|
|
|
@ -6,6 +6,7 @@ import kd.bos.orm.query.QCP;
|
|||
import kd.bos.orm.query.QFilter;
|
||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.EventObject;
|
||||
|
||||
/**
|
||||
|
@ -30,6 +31,12 @@ public class PortraitBasicsFormPlugin extends AbstractFormPlugin {
|
|||
String qeug_regstatuses = supplier1.getString("qeug_regstatuses");//经营状态
|
||||
String qeug_linkman = supplier1.getString("qeug_linkman");//外部联系人
|
||||
String qeug_recommender = supplier1.getString("qeug_recommender");//内部推荐人
|
||||
String qeug_state = supplier1.getString("qeug_state");//供应商状态
|
||||
String qeug_purtext = supplier1.getString("qeug_purtext");//采购说明
|
||||
String qeug_purpose = supplier1.getString("qeug_purpose");//用途
|
||||
String qeug_source = supplier1.getString("qeug_source");//供应商来源
|
||||
Date qeug_begin = supplier1.getDate("qeug_begin");//营业期限(起始)
|
||||
Date qeug_end = supplier1.getDate("qeug_end");//营业期限(终止)
|
||||
|
||||
|
||||
this.getView().getModel().setValue("qeug_controllingperson", qeug_controllingperses);
|
||||
|
@ -38,12 +45,24 @@ public class PortraitBasicsFormPlugin extends AbstractFormPlugin {
|
|||
this.getView().getModel().setValue("qeug_regstatus", qeug_regstatuses);
|
||||
this.getView().getModel().setValue("qeug_linkman", qeug_linkman);
|
||||
this.getView().getModel().setValue("qeug_recommender", qeug_recommender);
|
||||
this.getView().getModel().setValue("qeug_states", qeug_state);
|
||||
this.getView().getModel().setValue("qeug_purtext", qeug_purtext);
|
||||
this.getView().getModel().setValue("qeug_purpose", qeug_purpose);
|
||||
this.getView().getModel().setValue("qeug_source", qeug_source);
|
||||
this.getView().getModel().setValue("qeug_begin", qeug_begin);
|
||||
this.getView().getModel().setValue("qeug_end", qeug_end);
|
||||
this.getView().updateView("qeug_controllingperson");
|
||||
this.getView().updateView("qeug_regnumber");
|
||||
this.getView().updateView("qeug_orgnumber");
|
||||
this.getView().updateView("qeug_regstatus");
|
||||
this.getView().updateView("qeug_linkman");
|
||||
this.getView().updateView("qeug_recommender");
|
||||
this.getView().updateView("qeug_states");
|
||||
this.getView().updateView("qeug_purtext");
|
||||
this.getView().updateView("qeug_purpose");
|
||||
this.getView().updateView("qeug_source");
|
||||
this.getView().updateView("qeug_begin");
|
||||
this.getView().updateView("qeug_end");
|
||||
|
||||
// this.getView().updateView();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue