无合同付款申请单 冲预付/借款 改成 冲预付
This commit is contained in:
parent
1078ea7592
commit
d046818fb5
|
@ -10,8 +10,10 @@ import kd.bos.dataentity.resource.ResManager;
|
|||
import kd.bos.entity.datamodel.IDataModel;
|
||||
import kd.bos.entity.datamodel.events.ChangeData;
|
||||
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
||||
import kd.bos.form.ClientProperties;
|
||||
import kd.bos.form.FormShowParameter;
|
||||
import kd.bos.form.control.AttachmentPanel;
|
||||
import kd.bos.form.control.EntryGrid;
|
||||
import kd.bos.form.events.AfterDoOperationEventArgs;
|
||||
import kd.bos.form.events.PreOpenFormEventArgs;
|
||||
import kd.bos.form.events.SetFilterEvent;
|
||||
|
@ -28,9 +30,7 @@ import kd.bos.servicehelper.BusinessDataServiceHelper;
|
|||
import kd.bos.servicehelper.QueryServiceHelper;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.EventObject;
|
||||
import java.util.List;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* 对公报销单无合同列表插件
|
||||
|
@ -61,6 +61,17 @@ public class PublicreimbursebillNoContractPlugin extends AbstractBillPlugIn impl
|
|||
boolean isec=(boolean)this.getModel().getValue("zcgj_isec");
|
||||
if(isec){
|
||||
this.getView().setFormTitle(new LocaleString("无合同付款申请单"));
|
||||
this.getModel().setValue("zcgj_nocontract","NOCONTRACT");
|
||||
this.getView().setEnable(false,"zcgj_nocontract");
|
||||
|
||||
//修改单据体高级面板字段名称
|
||||
Map<String, Object> cyf = new HashMap<String, Object>();
|
||||
Map<String, Object>cyf1 = new HashMap<String, Object>();
|
||||
cyf.put("zh_CN", "冲预付");
|
||||
cyf1.put("text", cyf);
|
||||
this.getView().updateControlMetadata("advconap", cyf1);//参数1:单据体标识
|
||||
this.getView().updateView("advconap");
|
||||
|
||||
}
|
||||
BillShowParameter bsp=(BillShowParameter)this.getView().getFormShowParameter();
|
||||
if(bsp.getStatus()!=OperationStatus.ADDNEW){
|
||||
|
@ -76,6 +87,9 @@ public class PublicreimbursebillNoContractPlugin extends AbstractBillPlugIn impl
|
|||
}
|
||||
}
|
||||
}
|
||||
/* EntryGrid entryGrid = this.getControl("writeoffmoney");
|
||||
entryGrid.setColumnProperty("advconap",
|
||||
ClientProperties.Header, new LocaleString("冲预付"));*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue