支出合同结算优化入库运费结算逻辑
This commit is contained in:
parent
d57550085c
commit
d7e6a066db
|
|
@ -262,6 +262,7 @@ public class OutContractSettleEditPluginExt extends AbstractBillPlugIn implement
|
||||||
Boolean zcgj_transset = (Boolean) this.getModel().getValue("zcgj_transset");//按入库运费结算
|
Boolean zcgj_transset = (Boolean) this.getModel().getValue("zcgj_transset");//按入库运费结算
|
||||||
if (zcgj_transset) {
|
if (zcgj_transset) {
|
||||||
qFilter.and(new QFilter("zcgj_contract", "=", contract.getPkValue()));//入库单运输合同
|
qFilter.and(new QFilter("zcgj_contract", "=", contract.getPkValue()));//入库单运输合同
|
||||||
|
qFilter.and(new QFilter("zcgj_notraninvoice", "=", true));//入库单无运费发票
|
||||||
} else {
|
} else {
|
||||||
qFilter.and(new QFilter("contract", "=", contract.getPkValue()));//入库单合同编号
|
qFilter.and(new QFilter("contract", "=", contract.getPkValue()));//入库单合同编号
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue