wugg 3 years ago
parent
commit
d3e3a4e00f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      app/admin/controller/Purch.php

+ 4 - 4
app/admin/controller/Purch.php

@@ -192,10 +192,10 @@ class Purch extends \app\BaseController
         if($good_num!=""){
             $data['good_num'] = $good_num;
         }
-//        $good_price = isset($this->post['good_price'])&&$this->post['good_price']!=""?$this->post['good_price']:"";
-//        if($good_price!=""){
-//            $data['good_price'] = $good_price;
-//        }
+        $good_price = isset($this->post['good_price'])&&$this->post['good_price']!=""?$this->post['good_price']:"";
+        if($good_price!=""){
+            $data['good_price'] = $good_price;
+        }
 //        $total_fee = isset($this->post['total_fee'])&&$this->post['total_fee']!=""?$this->post['total_fee']:"";
 //        if($total_fee!=""){
 //            $data['total_fee'] = $total_fee;