cqp 2 сар өмнө
parent
commit
db2f1ae23d

+ 1 - 1
app/Model/QuantizationCreate.php

@@ -10,7 +10,7 @@ class QuantizationCreate extends UseScopeBaseModel
     protected $dateFormat = 'U';
     const employee_column = "crt_id";
 
-    public static $field = ['customer_supply_id','id','crt_time','crt_id','type','score','start_time','end_time','quantization_id'];
+    public static $field = ['customer_supply_id','id','crt_time','crt_id','type','products','score','start_time','end_time','quantization_id'];
 
     const type_one = 1;
     const type_two = 2;

+ 2 - 0
app/Service/QuantizationService.php

@@ -285,6 +285,7 @@ class QuantizationService extends Service
             $model->quantization_id = $data['quantization_id'];
             $model->start_time = $data['start_time'] ?? 0;
             $model->end_time = $data['end_time'] ?? 0;
+            $model->products = $data['products'] ?? '';
             $model->score = $data['score'] ?? 0;
             $model->save();
 
@@ -316,6 +317,7 @@ class QuantizationService extends Service
             $model->quantization_id = $data['quantization_id'];
             $model->start_time = $data['start_time'] ?? 0;
             $model->end_time = $data['end_time'] ?? 0;
+            $model->products = $data['products'] ?? '';
             $model->score = $data['score'] ?? 0;
             $model->type = $data['type'] ?? 0;
             $model->crt_id = $user['id'];

+ 4 - 0
config/header/69.php

@@ -18,6 +18,10 @@ return [
         'key' =>'organization_title',
         'value' => '组织名称',
     ],
+    [
+        'key' =>'products',
+        'value' => '拟合作产品',
+    ],
     [
         'key' =>'score',
         'value' => '得分',