shish 2 rokov pred
rodič
commit
e7fcd078e3

+ 2 - 0
app-ghs/controllers/PurchaseOrderItemController.php

@@ -110,6 +110,8 @@ class PurchaseOrderItemController extends BaseController
                 //修改之前的批发价
                 //修改之前的批发价
                 $beforeModifyPrice = $current['price'] ?? 0;
                 $beforeModifyPrice = $current['price'] ?? 0;
                 $list[$key]['beforeModifyPrice'] = $beforeModifyPrice;
                 $list[$key]['beforeModifyPrice'] = $beforeModifyPrice;
+                $beforeModifyStock = $current['stock'] ?? 0;
+                $list[$key]['beforeModifyStock'] = $beforeModifyStock;
             }
             }
         }
         }
         util::success(['list' => $list]);
         util::success(['list' => $list]);