合同变更供应商变更

This commit is contained in:
xiaoshi 2024-12-09 19:00:16 +08:00
parent 112474c20a
commit 48f9bfb69f
1 changed files with 15 additions and 0 deletions

View File

@ -20,6 +20,21 @@ import java.util.EventObject;
*/
public class ContractSettleBillPlugin extends AbstractBillPlugIn implements Plugin {
@Override
public void afterCreateNewData(EventObject e) {
super.afterCreateNewData(e);
Object changetype = this.getModel().getValue("changetype");
if(changetype!=null){
if(changetype.toString().equals("03")){
this.getView().setVisible(true,"zcgj_parta");
this.getView().setVisible(true,"zcgj_otherpart");
}else {
this.getView().setVisible(false,"zcgj_parta");
this.getView().setVisible(false,"zcgj_otherpart");
}
}
}
@Override
public void registerListener(EventObject e) {
super.registerListener(e);