order.php
2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
return [
'labels' => [
'Order' => 'Order',
'order' => 'Order',
'edit_status_handle' => '修改状态',
'将该订单状态置为' => '将该订单状态置为',
],
'fields' => [
'order_sn' => '订单编号号',
'status' => '订单状态',
'order_remark' => '订单备注',
'company_name' => '公司名称',
'order_type' => '订单类型',
'order_source' => '订单来源',
'order_pay_type' => '付款类型',
'user_id' => '用户ID',
'order_amount' => '订单金额',
'advance_amount' => '预付款金额,预付款时默认订单金额30%',
'currency' => '币种1CNY 2USD',
'create_time' => '下单时间',
'update_time' => '更新时间',
'sale_id' => '业务员id',
'sale_name' => '业务员',
],
"return_msg"=>[
"50000"=>"操作成功",
"50001"=>"只能修改不是待审核的订单状态",
"50002"=>"取消订单失败",
"50003"=>"修改订单失败",
],
"validator"=>[
'order_id_required' => '订单id必填',
'order_items_required' => '订单明细数据错误',
'goods_price' => [
"gt"=>"商品单价不能小于0"
],
'goods_number' => [
"gt"=>"商品数量不能小于0"
],
'return_goods_price' => [
"gt"=>"售后单价不能小于0"
],
'return_goods_number' => [
"gt"=>"售后数量不能小于0"
],
'order_address_type' => [
"required"=>"订单地址类型是必须的"
],
],
'options' => [
"status"=>[
"-1"=>"已取消",
"-2"=>"审核不通过",
"1"=>"待审核",
"2"=>"待付款",
"3"=>"待付尾款",
"4"=>"待发货",
"7"=>"部分发货",
"8"=>"待收货",
"10"=>" 交易成功",
],
"order_pay_type"=>[
"1"=>"全款支付",
"2"=>"预付款支付",
"3"=>"账期支付",
"4"=>"预收自定义",
"5"=>"预收50%",
],
"edit_status"=>[
"4"=>"待发货",
"8"=>"待收货",
"10"=>" 交易成功",
"-1"=>"已取消",
],
],
];