Bladeren bron

编辑合同判断合同金额

moonsflyer 9 maanden geleden
bovenliggende
commit
4b155c0072
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      application/admin/controller/qingdong/customer/Contract.php

+ 4 - 0
application/admin/controller/qingdong/customer/Contract.php

@@ -256,6 +256,10 @@ class Contract extends Base {
 //                $this->error('合同审核中或已审核通过无法修改');
 //            }
             $params['flow_staff_ids'] = '1';
+            if(!isset($params['money'])){
+                $params['money'] = 0;
+            }
+
             // 表单验证
             if (($result = $this->qingdongValidate($params, 'Contract', 'create')) !== true) {
                 $this->error($result);