|
@@ -186,6 +186,9 @@ class Contract extends Base {
|
|
|
$nowsaff = Staff::info();
|
|
$nowsaff = Staff::info();
|
|
|
$params['order_staff_id'] = $nowsaff->id;
|
|
$params['order_staff_id'] = $nowsaff->id;
|
|
|
$params['flow_staff_ids'] = '1';
|
|
$params['flow_staff_ids'] = '1';
|
|
|
|
|
+ if(!isset($params['money'])){
|
|
|
|
|
+ $params['money'] = 0;
|
|
|
|
|
+ }
|
|
|
// 表单验证
|
|
// 表单验证
|
|
|
if (($result = $this->qingdongValidate($params, 'Contract', 'create')) !== true) {
|
|
if (($result = $this->qingdongValidate($params, 'Contract', 'create')) !== true) {
|
|
|
$this->error($result);
|
|
$this->error($result);
|