소스 검색

修改之前的批发价

shish 2 년 전
부모
커밋
fe327c8edf
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      app-ghs/controllers/PurchaseOrderItemController.php

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

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