劳务班组系统插件二开:去除自动携带身份证号和联系电话逻辑

This commit is contained in:
xuhaihui 2025-08-13 10:40:35 +08:00
parent b208c7513b
commit 4a66d95a59
1 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,9 @@ import kd.bos.form.operate.FormOperate;
import kd.bos.list.ListShowParameter;
import kd.bos.orm.query.QFilter;
/**
* 劳务班组系统插件二开去除自动携带身份证号和联系电话逻辑
*/
public class LabourEditPluginExt extends AbstractBillPlugIn implements BeforeF7SelectListener {
public LabourEditPluginExt() {
}
@ -65,8 +68,8 @@ public class LabourEditPluginExt extends AbstractBillPlugIn implements BeforeF7S
contract = (DynamicObject) this.getModel().getValue("supplier");
if (null != contract) {
this.getModel().setValue("supplierman", contract.getString("linkman"));
this.getModel().setValue("supplieridcard", contract.getString("tx_register_no"));
this.getModel().setValue("suppliertel", contract.getString("bizpartner_phone"));
// this.getModel().setValue("supplieridcard", contract.getString("tx_register_no"));//二开注释掉的
// this.getModel().setValue("suppliertel", contract.getString("bizpartner_phone"));//二开注释掉的
}
} else if (StringUtils.equals(propertyName, "contract")) {
contract = (DynamicObject) this.getModel().getValue("contract");