@@ -817,14 +817,8 @@ class CustomController extends BaseController
util::fail('没有找到供货商');
}
$ghs->home = $home;
- if ($home == 0) {
- $ghs->homeAmount = 0;
- }
$ghs->save();
$custom->home = $home;
- $custom->homeAmount = 0;
$custom->save();
util::complete();