|
@@ -77,7 +77,7 @@
|
|
|
</label>
|
|
</label>
|
|
|
</th>
|
|
</th>
|
|
|
<th class="one-layer align-middle" rowspan="2" style=" min-width: 50px;">序号</th>
|
|
<th class="one-layer align-middle" rowspan="2" style=" min-width: 50px;">序号</th>
|
|
|
- <th class="one-layer align-middle" rowspan="2" style=" min-width: 25px;">ID</th>
|
|
|
|
|
|
|
+ <th class="one-layer align-middle" rowspan="2" style=" min-width: 70px;">ID</th>
|
|
|
@cannot('订单管理-问题件-客户不可见')
|
|
@cannot('订单管理-问题件-客户不可见')
|
|
|
<th class="one-layer align-middle" rowspan="2" style=" min-width: 75px;">新退件状态</th>
|
|
<th class="one-layer align-middle" rowspan="2" style=" min-width: 75px;">新退件状态</th>
|
|
|
@can("订单管理-问题件-置顶")
|
|
@can("订单管理-问题件-置顶")
|
|
@@ -163,7 +163,12 @@
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
<td class="child-layer-1">@{{index+1}}</td>
|
|
<td class="child-layer-1">@{{index+1}}</td>
|
|
|
- <td class="child-layer-1">@{{ orderIssue.id }}</td>
|
|
|
|
|
|
|
+ <td class="child-layer-1">
|
|
|
|
|
+ @{{ orderIssue.id }}
|
|
|
|
|
+ @can('订单管理-问题件-编辑')
|
|
|
|
|
+ <button type="button" v-if="orderIssue.imported_status === '导入未处理'" class="btn btn-sm btn-primary" @click="updateOrderIssue(orderIssue,'imported_status',$event)">导入</button>
|
|
|
|
|
+ @endcan
|
|
|
|
|
+ </td>
|
|
|
@cannot('订单管理-问题件-客户不可见')
|
|
@cannot('订单管理-问题件-客户不可见')
|
|
|
<td class="child-layer-1">
|
|
<td class="child-layer-1">
|
|
|
@can('订单管理-问题件-编辑')
|
|
@can('订单管理-问题件-编辑')
|
|
@@ -716,6 +721,7 @@
|
|
|
{name: '已解决', value: '已解决'},
|
|
{name: '已解决', value: '已解决'},
|
|
|
{name: '待退回', value: '待退回'},
|
|
{name: '待退回', value: '待退回'},
|
|
|
{name: '退回中', value: '退回中'}];
|
|
{name: '退回中', value: '退回中'}];
|
|
|
|
|
+ let imported_status = [{name:'导入未处理',value:'导入未处理'},{name:'导入已处理',value:'导入已处理'}]
|
|
|
let data = [[
|
|
let data = [[
|
|
|
{name: 'created_at_start', type: 'dateTime', tip: '订单开始日期'},
|
|
{name: 'created_at_start', type: 'dateTime', tip: '订单开始日期'},
|
|
|
{
|
|
{
|
|
@@ -744,6 +750,7 @@
|
|
|
{name: 'good_barcode', type: 'input', tip: '条码:前或后加 百分号为单个模糊搜索,否则为多条件精确搜索', placeholder: '条码'},
|
|
{name: 'good_barcode', type: 'input', tip: '条码:前或后加 百分号为单个模糊搜索,否则为多条件精确搜索', placeholder: '条码'},
|
|
|
{name: 'good_name', type: 'input', tip: '商品名:前或后加 百分号为单个模糊搜索,否则为多条件精确搜索', placeholder: '商品名'},
|
|
{name: 'good_name', type: 'input', tip: '商品名:前或后加 百分号为单个模糊搜索,否则为多条件精确搜索', placeholder: '商品名'},
|
|
|
{name: 'id_quality_label', type: 'select', tip: '是否正品', placeholder: '是否正品', data: this.qualityLabel},
|
|
{name: 'id_quality_label', type: 'select', tip: '是否正品', placeholder: '是否正品', data: this.qualityLabel},
|
|
|
|
|
+ {name: 'is_imported', type: 'select', tip: '是否导入处理', placeholder: '是否导入处理', data: imported_status},
|
|
|
|
|
|
|
|
],[
|
|
],[
|
|
|
@cannot('订单管理-问题件-客户不可见')
|
|
@cannot('订单管理-问题件-客户不可见')
|
|
@@ -1208,6 +1215,9 @@
|
|
|
},
|
|
},
|
|
|
updateOrderIssue(orderIssue,column,e){
|
|
updateOrderIssue(orderIssue,column,e){
|
|
|
let value = $(e.target).val()
|
|
let value = $(e.target).val()
|
|
|
|
|
+ if(column==='imported_status'){
|
|
|
|
|
+ value = '导入已处理'
|
|
|
|
|
+ }
|
|
|
if(column === 'final_status' && value === '已解决'){
|
|
if(column === 'final_status' && value === '已解决'){
|
|
|
this.endOrderIssueById(orderIssue['id'])
|
|
this.endOrderIssueById(orderIssue['id'])
|
|
|
return ;
|
|
return ;
|