wugg před 2 roky
rodič
revize
99d4ed6b8c

+ 1 - 1
app/admin/controller/Orderback.php

@@ -442,7 +442,7 @@ class Orderback extends Base
                 return error_show(1004,"未找到销售单数据");
             }
             $spuCode= $info['good_code'];
-            if($sale['order_type']!==1){
+            if($sale['order_type']!=1){
               if($sale['order_type']==3){
 		          $goon = Db::name("good_zixun")->where(["spuCode"=>$sale['good_code'],"is_del"=>0])->find();
 		          $isZx=1;

+ 1 - 1
app/admin/controller/Reorder.php

@@ -912,7 +912,7 @@ class Reorder extends Base
                         }
                         //::todo 非库存品订单退货 采购单退货 虚拟仓如何减库存
 						$spuCode= $info['good_code'];
-				            if($orderinfo['order_type']!==1){
+				            if($orderinfo['order_type']!=1){
 				              if($orderinfo['order_type']==3){
 						          $goon = Db::name("good_zixun")->where(["spuCode"=>$orderinfo['good_code'],"is_del"=>0])->find();
 						          $isZx=1;