dever 3 vuotta sitten
vanhempi
commit
a71dbfaff7
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      app/mshop/lib/Buy.php

+ 7 - 0
app/mshop/lib/Buy.php

@@ -1651,6 +1651,13 @@ class Buy
         # 获取门店分配的仓库和工厂
         $data = $source = array();
 
+        $source[] = array
+        (
+            'type' => -1,
+            'id' => -1,
+            'name' => '未分配供货商',
+        );
+
         $this->assign_store($data, $goods, $source, $order, $shop);
         $this->assign_factory($data, $goods, $source, $order, $shop);