@@ -82,6 +82,9 @@ class StockOutController extends BaseController
if (empty($list)) {
util::fail('没有花材');
}
+ if ($inShopId == $shopId) {
+ util::fail('不能出给自己');
+ }
$itemInfo = [];
foreach ($list as $item) {
if ($item->delStatus == 1) {