|
|
@@ -128,9 +128,8 @@ class CheckOrderController extends BaseController
|
|
|
//判断花材格式,是否属于当前门店
|
|
|
ProductClass::valid($ghsItemInfo, $this->mainId);
|
|
|
|
|
|
- $post = Yii::$app->request->post();
|
|
|
- $changeType = $post['changeType'] ?? 'modify';
|
|
|
//分配库存时用到添加方式的盘点
|
|
|
+ $changeType = $post['changeType'] ?? 'modify';
|
|
|
if ($changeType == 'add') {
|
|
|
$ids = array_column($ghsItemInfo, 'productId');
|
|
|
$infoList = ProductClass::getByIds($ids, null, 'id');
|