Browse Source

库存成本修改outPrice逻辑

shensong 5 years ago
parent
commit
802420380e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/SyncMjWarehouse.php

+ 1 - 1
app/Console/Commands/SyncMjWarehouse.php

75
 //                    $up['realPrice'] = 0;
75
 //                    $up['realPrice'] = 0;
76
 //                    $up['outPrice'] = 0;
76
 //                    $up['outPrice'] = 0;
77
                 }
77
                 }
78
-                if(!$cost['outPrice']){
78
+                if(!$cost->outPrice){
79
                     if(isset($up['realPrice'])){
79
                     if(isset($up['realPrice'])){
80
                         $up['outPrice'] = ceil($up['realPrice']*1.15);
80
                         $up['outPrice'] = ceil($up['realPrice']*1.15);
81
                     }
81
                     }