first commit

This commit is contained in:
zhouc 2024-09-19 10:39:52 +08:00
parent a09e00a0a2
commit cfa5152cdf
3 changed files with 47 additions and 0 deletions

Binary file not shown.

View 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/");
}
}

View 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();
}
}