Browse Source

退回时【红冲发票】不修改状态

master
学 赵 1 year ago
parent
commit
bfdff01abf
  1. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/PD_SERVICE.cs

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/PD_SERVICE.cs

@ -185,10 +185,13 @@ namespace Win.Sfs.SettleAccount.Bases
itm.State = SettleBillState.; itm.State = SettleBillState.;
} }
else else
{
if (itm.State != SettleBillState.)
{ {
itm.State = SettleBillState.; itm.State = SettleBillState.;
} }
} }
}
await _repository.DbContext.BulkUpdateAsync(pdinvList);//更新发票为关联发票 await _repository.DbContext.BulkUpdateAsync(pdinvList);//更新发票为关联发票
} }
return "OK"; return "OK";

Loading…
Cancel
Save