合同变更供应商变更
This commit is contained in:
parent
112474c20a
commit
48f9bfb69f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue