@@ -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);