|
|
@ -51,6 +51,13 @@ |
|
|
|
}}</a-select-option> |
|
|
|
}}</a-select-option> |
|
|
|
</a-select> |
|
|
|
</a-select> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
<a-form-item label="纠纷异议"> |
|
|
|
|
|
|
|
<a-select v-decorator="['disputeStatus', { initialValue: 0 }]"> |
|
|
|
|
|
|
|
<a-select-option v-for="(item, index) in disputeList" :key="index" :value="item.val">{{ |
|
|
|
|
|
|
|
item.name |
|
|
|
|
|
|
|
}}</a-select-option> |
|
|
|
|
|
|
|
</a-select> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
<a-form-item class="search-btn"> |
|
|
|
<a-form-item class="search-btn"> |
|
|
|
<a-button class="mr-15" type="primary" icon="search" html-type="submit">搜索</a-button> |
|
|
|
<a-button class="mr-15" type="primary" icon="search" html-type="submit">搜索</a-button> |
|
|
|
<a-button @click="handleReset">重置</a-button> |
|
|
|
<a-button @click="handleReset">重置</a-button> |
|
|
@ -85,6 +92,7 @@ |
|
|
|
<span class="mr-20">{{ item.create_time }}</span> |
|
|
|
<span class="mr-20">{{ item.create_time }}</span> |
|
|
|
<span class="mr-20">订单号:{{ item.order_no }}</span> |
|
|
|
<span class="mr-20">订单号:{{ item.order_no }}</span> |
|
|
|
<platform-icon :name="item.platform" :showTips="true" /> |
|
|
|
<platform-icon :name="item.platform" :showTips="true" /> |
|
|
|
|
|
|
|
<a-tag style="margin-left:10px" v-if="item.dispute_status==20" color="red">纠纷订单</a-tag> |
|
|
|
<div v-if="item.merchant"> |
|
|
|
<div v-if="item.merchant"> |
|
|
|
<img |
|
|
|
<img |
|
|
|
v-if="item.merchant && Object.keys(item.merchant).length > 0 && item.merchant.logoImage" |
|
|
|
v-if="item.merchant && Object.keys(item.merchant).length > 0 && item.merchant.logoImage" |
|
|
@ -220,19 +228,28 @@ |
|
|
|
>删除</a |
|
|
|
>删除</a |
|
|
|
> |
|
|
|
> |
|
|
|
<a @click="copyText(item.copy_text)">复制</a> |
|
|
|
<a @click="copyText(item.copy_text)">复制</a> |
|
|
|
<a @click="reviewDocuments(item, 1)" v-if="item.standard_count == 0&& item.delivery_status == 10">审单</a> |
|
|
|
<a |
|
|
|
|
|
|
|
@click="reviewDocuments(item, 1)" |
|
|
|
|
|
|
|
v-if="item.standard_count == 0 && item.delivery_status == 10 && item.order_status == 10" |
|
|
|
|
|
|
|
>审单</a |
|
|
|
|
|
|
|
> |
|
|
|
<a |
|
|
|
<a |
|
|
|
style="pointer-events: none; cursor: default; color: gray" |
|
|
|
style="pointer-events: none; cursor: default; color: gray" |
|
|
|
v-if="item.standard_count == 1&& item.delivery_status == 10" |
|
|
|
v-if="item.standard_count == 1 && item.delivery_status == 10 && item.order_status == 10" |
|
|
|
>审单</a |
|
|
|
>审单</a |
|
|
|
> |
|
|
|
> |
|
|
|
<a @click="reviewDocuments(item, 2)" v-if="item.standard_count == 1&& item.delivery_status == 10">再次审单</a> |
|
|
|
<a |
|
|
|
|
|
|
|
@click="reviewDocuments(item, 2)" |
|
|
|
|
|
|
|
v-if="item.standard_count == 1 && item.delivery_status == 10 && item.order_status == 10" |
|
|
|
|
|
|
|
>再次审单</a |
|
|
|
|
|
|
|
> |
|
|
|
<a |
|
|
|
<a |
|
|
|
style="pointer-events: none; cursor: default; color: gray" |
|
|
|
style="pointer-events: none; cursor: default; color: gray" |
|
|
|
v-if="item.standard_count == 2&& item.delivery_status == 10" |
|
|
|
v-if="item.standard_count == 2 && item.delivery_status == 10 && item.order_status == 10" |
|
|
|
>再次审单</a |
|
|
|
>再次审单</a |
|
|
|
> |
|
|
|
> |
|
|
|
<a @click="documentRecord(item)">审单记录</a> |
|
|
|
<a @click="documentRecord(item)">审单记录</a> |
|
|
|
|
|
|
|
<a @click="documentDispute(item)" v-if="item.dispute_status==10">设置纠纷订单</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -378,6 +395,11 @@ export default { |
|
|
|
showTotal: (total) => `共 ${total} 条记录`, // 显示总数 |
|
|
|
showTotal: (total) => `共 ${total} 条记录`, // 显示总数 |
|
|
|
// 自提门店列表 |
|
|
|
// 自提门店列表 |
|
|
|
shopList: [], |
|
|
|
shopList: [], |
|
|
|
|
|
|
|
disputeList: [ |
|
|
|
|
|
|
|
{ name: '全部', val: 0 }, |
|
|
|
|
|
|
|
{ name: '正常', val: 10 }, |
|
|
|
|
|
|
|
{ name: '纠纷', val: 20 }, |
|
|
|
|
|
|
|
], |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
beforeCreate() { |
|
|
|
beforeCreate() { |
|
|
@ -562,7 +584,21 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
documentDispute(item) { |
|
|
|
|
|
|
|
const app = this |
|
|
|
|
|
|
|
const modal = app.$confirm({ |
|
|
|
|
|
|
|
title: '您确定要该订单记录设置为纠纷订单吗?', |
|
|
|
|
|
|
|
content: '设置纠纷订单后不可恢复,请谨慎操作', |
|
|
|
|
|
|
|
onOk() { |
|
|
|
|
|
|
|
return EventApi.disputeStatus({orderId:item.order_id,form:{disputeStatus:20}}) |
|
|
|
|
|
|
|
.then((result) => { |
|
|
|
|
|
|
|
app.$message.success(result.message, 1.5) |
|
|
|
|
|
|
|
app.handleRefresh() |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
.finally((result) => modal.destroy()) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
// 订单发货 |
|
|
|
// 订单发货 |
|
|
|
handleDelivery(record) { |
|
|
|
handleDelivery(record) { |
|
|
|
this.$refs.DeliveryForm.show(record) |
|
|
|
this.$refs.DeliveryForm.show(record) |
|
|
|