|
|
@@ -873,10 +873,13 @@ class CustomController extends BaseController
|
|
|
$get = Yii::$app->request->get();
|
|
|
$homeAmount = $get['homeAmount'] ?? 0;
|
|
|
$homeType = $get['homeType'] ?? 0;
|
|
|
+ $shopId = $this->shopId;
|
|
|
+ ShopClass::updateById($shopId, ['homeAmount' => $homeAmount, 'homeType' => $homeType]);
|
|
|
+
|
|
|
// 批量更新客户信息
|
|
|
CustomClass::updateByCondition(['ownMainId' => $this->mainId], ['homeAmount' => $homeAmount, 'homeType' => $homeType]);
|
|
|
//批量更新供货商信息
|
|
|
- GhsClass::updateByCondition(['shopId' => $this->shopId], ['homeAmount' => $homeAmount, 'homeType' => $homeType]);
|
|
|
+ GhsClass::updateByCondition(['shopId' => $shopId], ['homeAmount' => $homeAmount, 'homeType' => $homeType]);
|
|
|
util::complete('修改成功');
|
|
|
}
|
|
|
|