|
|
@ -35,16 +35,6 @@ use Yii; |
|
|
|
* @property string $insurer2_begin_date |
|
|
|
* @property string $insurer2_begin_date |
|
|
|
* @property string $insurer2_end_date |
|
|
|
* @property string $insurer2_end_date |
|
|
|
* @property string $send_date |
|
|
|
* @property string $send_date |
|
|
|
* @property string $direction_id |
|
|
|
|
|
|
|
* @property string $range1_id |
|
|
|
|
|
|
|
* @property string $city1_id |
|
|
|
|
|
|
|
* @property string $district1_id |
|
|
|
|
|
|
|
* @property string $send_address1 |
|
|
|
|
|
|
|
* @property string $direction2_id |
|
|
|
|
|
|
|
* @property string $range2_id |
|
|
|
|
|
|
|
* @property string $city2_id |
|
|
|
|
|
|
|
* @property string $district2_id |
|
|
|
|
|
|
|
* @property string $send_address2 |
|
|
|
|
|
|
|
* @property integer $pay_type_id |
|
|
|
* @property integer $pay_type_id |
|
|
|
* @property string $pay_no |
|
|
|
* @property string $pay_no |
|
|
|
* @property string $remark |
|
|
|
* @property string $remark |
|
|
@ -110,9 +100,9 @@ class OrderT extends \common\models\Base |
|
|
|
public function rules() |
|
|
|
public function rules() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return [ |
|
|
|
return [ |
|
|
|
[['car_id', 'user_id', 'company_id', 'company2_id', 'status_id', 'pay_type_id','lock_id','range1_id','send_city_id','send_district_id','direction2_id','range2_id','city2_id','district2_id','success_id','return_status_id','return_time','first_send','send_times','check_gift','gift_type1_id','gift_type8_id','gift_type2_id','gift_type3_id','gift_type4_id','gift_type5_id','gift_type6_id','gift_type7_id','business_group_id','op1_id','op2_id','shoufei_id','payer','payee_id','hk_status','payment_id','account_status','insurance_status','el_insurance','ord_scheme_id','non_num','addr_id'], 'integer'], |
|
|
|
[['car_id', 'user_id', 'company_id', 'company2_id', 'status_id', 'pay_type_id','lock_id','send_city_id','send_district_id','success_id','return_status_id','return_time','first_send','send_times','check_gift','gift_type1_id','gift_type8_id','gift_type2_id','gift_type3_id','gift_type4_id','gift_type5_id','gift_type6_id','gift_type7_id','business_group_id','op1_id','op2_id','shoufei_id','payer','payee_id','hk_status','payment_id','account_status','insurance_status','el_insurance','ord_scheme_id','non_num','addr_id'], 'integer'], |
|
|
|
[['submit_date', 'insurer1_begin_date', 'insurer1_end_date', 'insurer2_begin_date', 'insurer2_end_date', 'send_date','print_date','zhifu_date', 'created_at', 'updated_at','insurer_date_start','insurer_date_end'], 'safe'], |
|
|
|
[['submit_date', 'insurer1_begin_date', 'insurer1_end_date', 'insurer2_begin_date', 'insurer2_end_date', 'send_date','print_date','zhifu_date', 'created_at', 'updated_at','insurer_date_start','insurer_date_end'], 'safe'], |
|
|
|
[['gift_other', 'id_man', 'id_man_number', 'id_man_type', 'id_man_phone', 'link_man', 'link_man_phone', 'link_man_type', 'link_man_number', 'send_address','send_address2','car_frame_no','car_man','total1','total1_clear','total1_real','total1_dis','total1_percent','total1_rate','total2','total2_clear','total2_rate','total3','total_all','total_real','price_remark','money_no','money_bank','email','return_remark','piao_header','photo_back','photo_face','tijiang'], 'string', 'max' => 100], |
|
|
|
[['gift_other', 'id_man', 'id_man_number', 'id_man_type', 'id_man_phone', 'link_man', 'link_man_phone', 'link_man_type', 'link_man_number', 'send_address','car_frame_no','car_man','total1','total1_clear','total1_real','total1_dis','total1_percent','total1_rate','total2','total2_clear','total2_rate','total3','total_all','total_real','price_remark','money_no','money_bank','email','return_remark','piao_header','photo_back','photo_face','tijiang'], 'string', 'max' => 100], |
|
|
|
[['car_no','engine_no','pay_no','insurer1_no','insurer2_no','identifying_code','money_man','insurer_non_no'], 'string', 'max' => 50], |
|
|
|
[['car_no','engine_no','pay_no','insurer1_no','insurer2_no','identifying_code','money_man','insurer_non_no'], 'string', 'max' => 50], |
|
|
|
[['remark'], 'string', 'max' => 200], |
|
|
|
[['remark'], 'string', 'max' => 200], |
|
|
|
]; |
|
|
|
]; |
|
|
@ -153,7 +143,6 @@ class OrderT extends \common\models\Base |
|
|
|
'range2_id' => 'Range 2 ID', |
|
|
|
'range2_id' => 'Range 2 ID', |
|
|
|
'city2_id' => 'City 2 ID', |
|
|
|
'city2_id' => 'City 2 ID', |
|
|
|
'district2_id' => 'District 2 ID', |
|
|
|
'district2_id' => 'District 2 ID', |
|
|
|
'send_address2' => 'Send Address 2', |
|
|
|
|
|
|
|
'pay_type_id' => 'Pay Type ID', |
|
|
|
'pay_type_id' => 'Pay Type ID', |
|
|
|
'pay_no' => 'Pay No', |
|
|
|
'pay_no' => 'Pay No', |
|
|
|
'remark' => 'Remark', |
|
|
|
'remark' => 'Remark', |
|
|
|