fix: double payment data on update
This commit is contained in:
parent
323f5431a1
commit
d639e5d4bf
1 changed files with 1 additions and 0 deletions
|
|
@ -722,6 +722,7 @@ export class QuotationController extends Controller {
|
|||
quotationPaymentData:
|
||||
price && record.quotationStatus === "PaymentPending"
|
||||
? {
|
||||
deleteMany: {},
|
||||
create: rest.paySplit?.map((v) => ({
|
||||
paymentStatus: "PaymentWait",
|
||||
amount: v.amount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue