|
|
@ -244,7 +244,8 @@ class MarketPercentageController extends ThinkController
|
|
|
|
$save = [
|
|
|
|
$save = [
|
|
|
|
'id'=>$id,
|
|
|
|
'id'=>$id,
|
|
|
|
'company_profit'=>$dbres['company_profit']-($other_amount-$dbres['other_amount']),
|
|
|
|
'company_profit'=>$dbres['company_profit']-($other_amount-$dbres['other_amount']),
|
|
|
|
'other_amount'=>$other_amount
|
|
|
|
'other_amount'=>$other_amount,
|
|
|
|
|
|
|
|
'is_tip'=>0
|
|
|
|
];
|
|
|
|
];
|
|
|
|
M("settleup_marketorder","tab_")->save($save);
|
|
|
|
M("settleup_marketorder","tab_")->save($save);
|
|
|
|
$this->ajaxReturn(['status'=>1,'msg'=>'其他扣款添加成功']);
|
|
|
|
$this->ajaxReturn(['status'=>1,'msg'=>'其他扣款添加成功']);
|
|
|
|