first commit
This commit is contained in:
parent
a09e00a0a2
commit
cfa5152cdf
BIN
font/fonts.properties/yxzg-topview-dev/simsun.ttc
Normal file
BIN
font/fonts.properties/yxzg-topview-dev/simsun.ttc
Normal file
Binary file not shown.
21
src/main/java/com/yem/wm/demo.java
Normal file
21
src/main/java/com/yem/wm/demo.java
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package com.yem.wm;
|
||||||
|
|
||||||
|
import kd.bos.bill.AbstractBillPlugIn;
|
||||||
|
import kd.bos.form.control.QRCode;
|
||||||
|
|
||||||
|
import java.util.EventObject;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zhouc
|
||||||
|
* @date 2024/8/30 19:04
|
||||||
|
* @className demo
|
||||||
|
* @description
|
||||||
|
*/
|
||||||
|
public class demo extends AbstractBillPlugIn {
|
||||||
|
@Override
|
||||||
|
public void afterBindData(EventObject e) {
|
||||||
|
super.afterBindData(e);
|
||||||
|
QRCode code = this.getView().getControl("yem_qrcodeap");
|
||||||
|
code.setUrl("https://www.baidu.com/");
|
||||||
|
}
|
||||||
|
}
|
26
src/main/java/com/yem/wm/rpt/PaymentDetailsFormPlugIn.java
Normal file
26
src/main/java/com/yem/wm/rpt/PaymentDetailsFormPlugIn.java
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
package com.yem.wm.rpt;
|
||||||
|
|
||||||
|
import kd.bos.bill.AbstractBillPlugIn;
|
||||||
|
import kd.bos.dataentity.entity.DynamicObject;
|
||||||
|
import kd.bos.form.FormShowParameter;
|
||||||
|
|
||||||
|
import java.util.EventObject;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zhouc
|
||||||
|
* @date 2024/6/18 12:15
|
||||||
|
* @className PaymentDetailsFormPlugIn
|
||||||
|
* @description 外汇来款明细表单插件
|
||||||
|
*/
|
||||||
|
public class PaymentDetailsFormPlugIn extends AbstractBillPlugIn {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void afterBindData(EventObject e) {
|
||||||
|
super.afterBindData(e);
|
||||||
|
FormShowParameter showParameter = this.getView().getFormShowParameter();
|
||||||
|
Map<String, Object> customParas = showParameter.getCustomParams();
|
||||||
|
DynamicObject dataEntity = this.getModel().getDataEntity(true);
|
||||||
|
Object pkValue = dataEntity.getPkValue();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user