|
|
|
@ -377,8 +377,12 @@ class PartnerController extends ThinkController
|
|
|
|
|
if (empty($data)) {
|
|
|
|
|
$this->error('数据异常', U('lists'));
|
|
|
|
|
}
|
|
|
|
|
$data['contract_start_time'] = date('Y-m-d', $data['contract_start_time']);
|
|
|
|
|
$data['contract_end_time'] = date('Y-m-d', $data['contract_end_time']);
|
|
|
|
|
if ($data['contract_start_time']) {
|
|
|
|
|
$data['contract_start_time'] = date('Y-m-d', $data['contract_start_time']);
|
|
|
|
|
}
|
|
|
|
|
if ($data['contract_end_time']) {
|
|
|
|
|
$data['contract_end_time'] = date('Y-m-d', $data['contract_end_time']);
|
|
|
|
|
}
|
|
|
|
|
$data['channel_rate'] *= 100;//存的是小数,显示百分比
|
|
|
|
|
$data['invoice_rate'] *= 100;//存的是小数,显示百分比
|
|
|
|
|
// dd($data);
|
|
|
|
|