Browse Source

添加'期望服务费比例'字段

wufeng 2 years ago
parent
commit
2ed7d95841
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/abutment/controller/Filing.php

+ 2 - 2
app/abutment/controller/Filing.php

@@ -22,7 +22,7 @@ class Filing extends HomeBaseController
     //添加
     public function add()
     {
-        $param = $this->request->only(['customerCode','companyName', 'num', 'is_determine_price', 'price' => 0, 'service_proportion', 'expect_service', 'cgd_charge' => 0, 'brand_id', 'preservation_day', 'delivery_day', 'make_day', 'tax', 'unit_id', 'cat_id', 'spec_list' => [], 'good_name', 'origin_place', 'delivery_place', 'weight', 'supply_area', 'pay_way', 'gold_weight', 'noble_metal', 'config', 'other_config', 'remark', 'cost_desc', 'good_img'], 'post');
+        $param = $this->request->only(['customerCode','companyName', 'num', 'is_determine_price', 'price' => 0, 'expect_service_proportion', 'expect_service', 'cgd_charge' => 0, 'brand_id', 'preservation_day', 'delivery_day', 'make_day', 'tax', 'unit_id', 'cat_id', 'spec_list' => [], 'good_name', 'origin_place', 'delivery_place', 'weight', 'supply_area', 'pay_way', 'gold_weight', 'noble_metal', 'config', 'other_config', 'remark', 'cost_desc', 'good_img'], 'post');
 
         $val = Validate::rule([
             'customerCode|业务公司' => 'require|max:255',
@@ -30,7 +30,7 @@ class Filing extends HomeBaseController
             'num|销售数量' => 'require|number|gt:0|lt:999999999',
             'is_determine_price|是否确定售价' => 'require|number|in:1,0',
             'price|销售价' => 'requireIf:is_determine_price,1|float|max:99999999.99',
-            'service_proportion|服务费比例' => 'require|float|between:0,100',
+            'expect_service_proportion|期望服务费比例' => 'require|float|between:0,100',
             'expect_service|期望服务费' => 'require|float|max:99999999.99',
             'cgd_charge|采购价' => 'requireIf:is_determine_price,0|float|max:99999999.99',
             'brand_id|品牌' => 'require|number|gt:0',