支出合同结算单发票导入逻辑优化
This commit is contained in:
parent
b8792ce13c
commit
89723f8af0
|
@ -39,6 +39,7 @@ import java.util.stream.Collectors;
|
||||||
*/
|
*/
|
||||||
public class ContractFinaceConfirmeInvoicePlugin extends AbstractBillPlugIn implements Plugin {
|
public class ContractFinaceConfirmeInvoicePlugin extends AbstractBillPlugIn implements Plugin {
|
||||||
private static final Log log = LogFactory.getLog(ContractFinaceConfirmeInvoicePlugin.class);
|
private static final Log log = LogFactory.getLog(ContractFinaceConfirmeInvoicePlugin.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void beforeDoOperation(BeforeDoOperationEventArgs args) {
|
public void beforeDoOperation(BeforeDoOperationEventArgs args) {
|
||||||
super.beforeDoOperation(args);
|
super.beforeDoOperation(args);
|
||||||
|
@ -107,6 +108,7 @@ public class ContractFinaceConfirmeInvoicePlugin extends AbstractBillPlugIn impl
|
||||||
|
|
||||||
filter1.and(new QFilter("id", "not in", selectedInvIds));
|
filter1.and(new QFilter("id", "not in", selectedInvIds));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ListShowParameter param = ShowFormHelper.createShowListForm("ec_in_invoice_f7", true);
|
ListShowParameter param = ShowFormHelper.createShowListForm("ec_in_invoice_f7", true);
|
||||||
param.getListFilterParameter().setFilter(filter.or(filter1));
|
param.getListFilterParameter().setFilter(filter.or(filter1));
|
||||||
|
@ -115,7 +117,6 @@ public class ContractFinaceConfirmeInvoicePlugin extends AbstractBillPlugIn impl
|
||||||
param.getOpenStyle().setShowType(ShowType.Modal);
|
param.getOpenStyle().setShowType(ShowType.Modal);
|
||||||
this.getView().showForm(param);
|
this.getView().showForm(param);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
protected void invoiceCloseCallBack(ClosedCallBackEvent event) {
|
protected void invoiceCloseCallBack(ClosedCallBackEvent event) {
|
||||||
ListSelectedRowCollection rows = (ListSelectedRowCollection) event.getReturnData();
|
ListSelectedRowCollection rows = (ListSelectedRowCollection) event.getReturnData();
|
||||||
|
|
Loading…
Reference in New Issue