cz 1 an în urmă
părinte
comite
5ed5684b5b

+ 3 - 1
src/views/salesMange/salesMange/profitSettlement/index.vue

@@ -621,7 +621,9 @@ const clickSettlement = (row) => {
 const clickCancelSettlement = (row) => {
   proxy
     .post("/saleStatement/update", {
-      id: row.contractId,
+      ...row,
+      grossGrofit: row.grossProfit,
+      grossRofitMargin: row.grossProfitMargin,
       settlementStatus: 0,
     })
     .then(() => {