|
@@ -51,33 +51,40 @@
|
51
|
51
|
<thead>
|
52
|
52
|
<tr class="text-c">
|
53
|
53
|
<th width="4%"><!--input type="checkbox" id="selected-all"-->订单编号</th>
|
|
54
|
+ <th width="4%">卖家云订单编号</th>
|
54
|
55
|
<th width="4%">买家名称</th>
|
55
|
56
|
<th width="4%">收货人</th>
|
56
|
57
|
<th width="4%">收货人手机号</th>
|
57
|
|
- <th width="6%">收货地址</th>
|
58
|
|
- <th width="9%">商品信息</th>
|
|
58
|
+ <th width="5%">收货地址</th>
|
|
59
|
+ <th width="8%">商品信息</th>
|
59
|
60
|
<th width="4%">预发货时间</th>
|
60
|
|
- <th width="6%">物流单号</th>
|
|
61
|
+ <th width="5%">物流单号</th>
|
|
62
|
+ <th width="4%">发货时间</th>
|
61
|
63
|
@if($self_role !='销售' )
|
62
|
64
|
<th width="3%">货品成本</th>
|
63
|
65
|
<th width="3%">运费成本</th>
|
64
|
66
|
@endif
|
65
|
67
|
<th width="4%">发货仓库</th>
|
66
|
68
|
<th width="4%">付款金额</th>
|
|
69
|
+ <th width="4%">付款方式</th>
|
67
|
70
|
<th width="5%">下单时间</th>
|
68
|
71
|
<th width="4%">加粉时间</th>
|
69
|
72
|
<th width="2%">是否复购</th>
|
70
|
73
|
<th width="2%">是否退补单</th>
|
71
|
74
|
<th width="4%">应该退补差价</th>
|
|
75
|
+ <th width="4%">退补付款方式</th>
|
72
|
76
|
<th width="5%">退补备注</th>
|
|
77
|
+ <th width="5%">退补时间</th>
|
73
|
78
|
<th width="4%">所属销售</th>
|
74
|
79
|
<th width="4%">订单状态</th>
|
75
|
|
- @if($self_role =='销售' )<th width="5%">驳回原因</th>@endif
|
76
|
|
-
|
|
80
|
+ <th width="4%">审核时间</th>
|
|
81
|
+ @if($self_role =='销售' || $self_role =='分销销售' )<th width="5%">驳回原因</th>@endif
|
77
|
82
|
<th width="5%">买家备注</th>
|
78
|
83
|
<th width="5%">卖家备注</th>
|
79
|
84
|
<th width="5%">发货备注</th>
|
80
|
|
-
|
|
85
|
+ <th width="5%">售后费用</th>
|
|
86
|
+ <th width="5%">售后原因</th>
|
|
87
|
+ <th width="5%">售后时间</th>
|
81
|
88
|
</tr>
|
82
|
89
|
</thead>
|
83
|
90
|
<tbody>
|
|
@@ -85,6 +92,7 @@
|
85
|
92
|
@foreach($result as $a)
|
86
|
93
|
<tr class="text-c" style=" text-align:center;">
|
87
|
94
|
<td><!--input type="checkbox" name="id[]" value="{{$a['id']}}"--> {{$a['id']}}</td>
|
|
95
|
+ <td>{{$a['orderCode']}}</td>
|
88
|
96
|
<td>{{$a['customerName']}}</td>
|
89
|
97
|
<td>{{$a['receiverName']}}</td>
|
90
|
98
|
<td>{{$a['receiverMobile']}}</td>
|
|
@@ -100,7 +108,7 @@
|
100
|
108
|
</td>
|
101
|
109
|
<td>{{$a['delivery_date']}}</td>
|
102
|
110
|
|
103
|
|
- @if($self_role =='销售' || ($self_role =='管理员' && $a['status']>0) )
|
|
111
|
+ @if($self_role =='销售' || $self_role =='分销销售' || ($self_role =='管理员' || $self_role =='分销管理员' && $a['status']>0) )
|
104
|
112
|
<td>{{$a['logistics_id']}}</td>
|
105
|
113
|
@else
|
106
|
114
|
<td class ="change_logistics_id">
|
|
@@ -109,9 +117,14 @@
|
109
|
117
|
<span class="sort_icon" hidden onClick='change_logistics_click("{{$a['id']}}","{{$a['logistics_id']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
110
|
118
|
</td>
|
111
|
119
|
@endif
|
|
120
|
+ <td class ="change_logistics_id">
|
|
121
|
+ <p id="send_time_1{{$a['id']}}">{{$a['send_time']}}</p>
|
|
122
|
+ <input id="send_time_2{{$a['id']}}" style="display: none" name='send_time' onblur="change_send_time({{$a['id']}})" value="{{$a['send_time']}}" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd' })" class=" Wdate" />
|
|
123
|
+ <span class="sort_icon" hidden onClick='change_send_time_click("{{$a['id']}}","{{$a['send_time']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
124
|
+ </td>
|
112
|
125
|
|
113
|
126
|
@if($self_role !='销售' )
|
114
|
|
- @if($self_role =='管理员' && $a['status']>0)
|
|
127
|
+ @if($self_role =='管理员' || $self_role =='分销管理员' && $a['status']>0)
|
115
|
128
|
<td>{{$a['cost']}}</td>
|
116
|
129
|
<td>{{$a['freight_cost']}}</td>
|
117
|
130
|
@else
|
|
@@ -124,32 +137,51 @@
|
124
|
137
|
<p id="freight_cost_1{{$a['id']}}">{{$a['freight_cost']}}</p>
|
125
|
138
|
<input id="freight_cost_2{{$a['id']}}" style="display: none" type='text' name='freight_cost' value="{{$a['freight_cost']}}" onblur="change_freight_cost({{$a['id']}})" />
|
126
|
139
|
<span class="sort_icon" hidden onClick='change_freight_cost_click("{{$a['id']}}","{{$a['freight_cost']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
127
|
|
- </td>
|
|
140
|
+ </td>
|
128
|
141
|
@endif
|
129
|
142
|
@endif
|
130
|
|
- <td>@if($a['warehouse']==1) A仓库 @elseif($a['warehouse']==2) B仓库 @else @endif</td>
|
|
143
|
+ <td>@if($a['warehouse']==1) A仓库 @elseif($a['warehouse']==2) B仓库 @elseif($a['warehouse']==3) C仓库 @else @endif</td>
|
131
|
144
|
<td>{{$a['receivedAmount']}}</td>
|
|
145
|
+ <td>{{$a['payment_type']}}</td>
|
132
|
146
|
<td>{{$a['createTime']}}</td>
|
133
|
147
|
<td>{{$a['fanTime']}}</td>
|
134
|
148
|
<td>@if($a['is_fugou']==1) 是 @else 否 @endif</td>
|
135
|
149
|
<td>@if($a['is_refund']==1) 是 @else 否 @endif</td>
|
136
|
|
- <td>{{$a['refund_price']}}</td>
|
137
|
|
- @if(($self_role =='销售' || $self_role =='管理员') && $a['status']>0)
|
138
|
|
- <td>{{$a['refund_note']}}</td>
|
139
|
|
- @else
|
|
150
|
+ <td class ="change_logistics_id">
|
|
151
|
+ <p id="refund_price_1{{$a['id']}}">{{$a['refund_price']}}</p>
|
|
152
|
+ <input id="refund_price_2{{$a['id']}}" style="display: none" type='text' name='refund_price' value="{{$a['refund_price']}}" onblur='change_refund_price({{$a['id']}},"{{$a['refund_type']}}")' />
|
|
153
|
+ <span class="sort_icon" hidden onClick='change_refund_price_click("{{$a['id']}}","{{$a['cost']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
154
|
+ </td>
|
|
155
|
+
|
|
156
|
+ <td class ="change_logistics_id">
|
|
157
|
+ <p id="refund_type_1{{$a['id']}}">{{$a['refund_type']}}</p>
|
|
158
|
+ <select id="refund_type_2{{$a['id']}}" style="display: none" name='refund_type' value="{{$a['refund_type']}}" onchange="change_refund_type({{$a['id']}})">
|
|
159
|
+ <option value='0'>-请选择-</option>
|
|
160
|
+ <option value='1'>微信支付</option>
|
|
161
|
+ <!--option value='2'>付款码支付</option-->
|
|
162
|
+ <option value='3'>个体户支付</option>
|
|
163
|
+ </select>
|
|
164
|
+ <span class="sort_icon" hidden onClick='change_refund_type_click("{{$a['id']}}","{{$a['cost']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
165
|
+ </td>
|
|
166
|
+
|
140
|
167
|
<td class ="change_logistics_id">
|
141
|
168
|
<p id="refund_note_1{{$a['id']}}">{{$a['refund_note']}}</p>
|
142
|
169
|
<textarea id="refund_note_2{{$a['id']}}" rows=4 style="display: none" name='refund_note' onblur="change_refund_note({{$a['id']}})" >{{$a['refund_note']}}</textarea>
|
143
|
170
|
<span class="sort_icon" hidden onClick='change_refund_note_click("{{$a['id']}}","{{$a['refund_note']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
144
|
171
|
</td>
|
145
|
|
- @endif
|
|
172
|
+ <td class ="change_logistics_id">
|
|
173
|
+ <p id="refund_time_1{{$a['id']}}">{{$a['refund_time']}}</p>
|
|
174
|
+ <input id="refund_time_2{{$a['id']}}" style="display: none" name='refund_time' onblur="change_refund_time({{$a['id']}})" value="{{$a['refund_time']}}" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss' })" class=" Wdate" />
|
|
175
|
+ <span class="sort_icon" hidden onClick='change_refund_time_click("{{$a['id']}}","{{$a['refund_time']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
176
|
+ </td>
|
146
|
177
|
|
147
|
178
|
<td>{{$a['admin_name']}}</td>
|
148
|
179
|
<td id="order_verify{{$a['id']}}">{{$a['status_name']}}</td>
|
149
|
|
- @if($self_role =='销售' ) <td>@if($a['status'] == 0)<font color='red'> {{$a['refuse_reason']}} </font> @endif</td> @endif
|
|
180
|
+ <td>{{$a['verify_time']}}</td>
|
|
181
|
+ @if($self_role =='销售' || $self_role =='分销销售') <td>@if($a['status'] == 0)<font color='red'> {{$a['refuse_reason']}} </font> @endif</td> @endif
|
150
|
182
|
|
151
|
|
-
|
152
|
|
- @if(($self_role =='销售' || $self_role =='管理员') && $a['status']>0)
|
|
183
|
+ <!--td id="refund{{$a['id']}}">@if($a['order_status']==2) <span class="btn btn-danger radius">退款</span> @else 正常<br><span class="btn btn-primary radius" onclick="order_refund({{$a['id']}})">设为退款</span> @endif</td -->
|
|
184
|
+ @if(($self_role =='销售' || $self_role =='管理员' || $self_role =='分销销售' ) && $a['status']>0)
|
153
|
185
|
<td>{{$a['buyerMemo']}}</td>
|
154
|
186
|
<td>{{$a['sellerMemo']}}</td>
|
155
|
187
|
<td>{{$a['send_note']}}</td>
|
|
@@ -170,9 +202,30 @@
|
170
|
202
|
<p id="send_note_1{{$a['id']}}">{{$a['send_note']}}</p>
|
171
|
203
|
<textarea id="send_note_2{{$a['id']}}" rows=4 style="display: none" name='send_note' onblur="change_send_note({{$a['id']}})" >{{$a['send_note']}}</textarea>
|
172
|
204
|
<span class="sort_icon" hidden onClick='change_send_note_click("{{$a['id']}}","{{$a['send_note']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
173
|
|
- </td>
|
174
|
|
- @endif
|
175
|
|
-
|
|
205
|
+ </td>
|
|
206
|
+ @endif
|
|
207
|
+
|
|
208
|
+ @if($self_role =='超级管理员' || $self_role =='售后管理员')
|
|
209
|
+ <td class ="change_logistics_id">
|
|
210
|
+ <p id="aftersale_fee_1{{$a['id']}}">{{$a['aftersale_fee']}}</p>
|
|
211
|
+ <input id="aftersale_fee_2{{$a['id']}}" style="display: none" type='text' name='aftersale_fee' value="{{$a['aftersale_fee']}}" onblur="change_aftersale_fee({{$a['id']}})" />
|
|
212
|
+ <span class="sort_icon" hidden onClick='change_aftersale_fee_click("{{$a['id']}}","{{$a['cost']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
213
|
+ </td>
|
|
214
|
+ <td class ="change_logistics_id">
|
|
215
|
+ <p id="aftersale_reason_1{{$a['id']}}">{{$a['aftersale_reason']}}</p>
|
|
216
|
+ <textarea id="aftersale_reason_2{{$a['id']}}" rows=4 style="display: none" name='aftersale_reason' onblur="change_aftersale_reason({{$a['id']}})" >{{$a['aftersale_reason']}}</textarea>
|
|
217
|
+ <span class="sort_icon" hidden onClick='change_aftersale_reason_click("{{$a['id']}}","{{$a['aftersale_reason']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
218
|
+ </td>
|
|
219
|
+ <td class ="change_logistics_id">
|
|
220
|
+ <p id="aftersale_time_1{{$a['id']}}">{{$a['aftersale_time']}}</p>
|
|
221
|
+ <input id="aftersale_time_2{{$a['id']}}" style="display: none" name='aftersale_time' onblur="change_aftersale_time({{$a['id']}})" value="{{$a['aftersale_time']}}" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss' })" class=" Wdate" />
|
|
222
|
+ <span class="sort_icon" hidden onClick='change_aftersale_time_click("{{$a['id']}}","{{$a['aftersale_time']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
223
|
+ </td>
|
|
224
|
+ @else
|
|
225
|
+ <td>{{$a['aftersale_fee']}}</td>
|
|
226
|
+ <td>{{$a['aftersale_reason']}}</td>
|
|
227
|
+ <td>{{$a['aftersale_time']}}</td>
|
|
228
|
+ @endif
|
176
|
229
|
|
177
|
230
|
</tr>
|
178
|
231
|
@endforeach
|