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