Explorar el Código

bugfix: EK-0524: 结算后台无法下载PDF订单.

kevinElken hace 7 meses
padre
commit
67a6705d23
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      common/models/ApproachOrder.php
  2. 1 1
      common/models/Order.php

+ 2 - 2
common/models/ApproachOrder.php

@@ -1,4 +1,4 @@
-<?php
+    <?php
 
 
 namespace common\models;
 namespace common\models;
 
 
@@ -83,7 +83,7 @@ class ApproachOrder extends \common\components\ActiveRecord
             [['FRONT_REMARK'], 'string', 'max' => 1000],
             [['FRONT_REMARK'], 'string', 'max' => 1000],
             [['REMARK', 'NOTE'], 'string', 'max' => 4000],
             [['REMARK', 'NOTE'], 'string', 'max' => 4000],
             [['CONSIGNEE'], 'string', 'max' => 120],
             [['CONSIGNEE'], 'string', 'max' => 120],
-            [['MOBILE'], 'string', 'max' => 11],
+            [['MOBILE'], 'string', 'max' => 15],
             [['ADDRESS'], 'string', 'max' => 255],
             [['ADDRESS'], 'string', 'max' => 255],
             [['SN'], 'unique'],
             [['SN'], 'unique'],
         ];
         ];

+ 1 - 1
common/models/Order.php

@@ -84,7 +84,7 @@ class Order extends \common\components\ActiveRecord
             [['FRONT_REMARK'], 'string', 'max' => 1000],
             [['FRONT_REMARK'], 'string', 'max' => 1000],
             [['REMARK', 'NOTE'], 'string', 'max' => 4000],
             [['REMARK', 'NOTE'], 'string', 'max' => 4000],
             [['CONSIGNEE'], 'string', 'max' => 120],
             [['CONSIGNEE'], 'string', 'max' => 120],
-            [['MOBILE'], 'string', 'max' => 11],
+            [['MOBILE'], 'string', 'max' => 15],
             [['ADDRESS'], 'string', 'max' => 255],
             [['ADDRESS'], 'string', 'max' => 255],
             [['SN'], 'unique'],
             [['SN'], 'unique'],
         ];
         ];