Commit ed5ca009 by cwq0219

订单管理-状态按钮

1 parent f0c8cae9
...@@ -79,12 +79,13 @@ function exportFn(url) { ...@@ -79,12 +79,13 @@ function exportFn(url) {
const orderManageStatusList = [ const orderManageStatusList = [
{ confId: '1', confName: '待付款' }, { confId: '1', confName: '待付款' },
{ confId: '2', confName: '已支付' },
{ confId: '3', confName: '已失效' }, { confId: '3', confName: '已失效' },
{ confId: '4', confName: '待收货(待核销)' }, { confId: '21', confName: '待收货(待核销)' },
{ confId: '5', confName: '已收货(已核销)' }, { confId: '22', confName: '已收货(已核销)' },
{ confId: '6', confName: '待发货' }, { confId: '6', confName: '待发货' },
{ confId: '7', confName: '待核销' }, // { confId: '7', confName: '待核销' },
{ confId: '8', confName: '已核销' }, // { confId: '8', confName: '已核销' },
{ confId: '9', confName: '售后中' }, { confId: '9', confName: '售后中' },
{ confId: '10', confName: '售后完成' } { confId: '10', confName: '售后完成' }
] ]
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<!-- <el-button type="text" @click="handleDetail(scope.scope)">查看订单</el-button> --> <!-- <el-button type="text" @click="handleDetail(scope.scope)">查看订单</el-button> -->
<GLButton type="text" fn="查看订单" @click="handleDetail(scope.scope)">查看订单</GLButton> <GLButton type="text" fn="查看订单" @click="handleDetail(scope.scope)">查看订单</GLButton>
<el-button v-if="scope.scope.deliveryType == 1 && scope.scope.orderStatus == 4" type="text" @click="handleWriteOff(scope.scope)">订单核销</el-button> <el-button v-if="scope.scope.deliveryType == 1 && scope.scope.orderStatus == 21" type="text" @click="handleWriteOff(scope.scope)">订单核销</el-button>
<el-button v-if="scope.scope.deliveryType == 2 && scope.scope.orderStatus == 6" type="text" @click="handleExpressInfo(scope.scope)">输入快递信息</el-button> <el-button v-if="scope.scope.deliveryType == 2 && scope.scope.orderStatus == 6" type="text" @click="handleExpressInfo(scope.scope)">输入快递信息</el-button>
<el-button v-if="scope.scope.afterSaleStatus == 1" type="text" @click="handleExamine(scope.scope)">退款审核</el-button> <el-button v-if="scope.scope.afterSaleStatus == 1" type="text" @click="handleExamine(scope.scope)">退款审核</el-button>
<el-button v-if="scope.scope.afterSaleStatus == 4" type="text" @click="handleReceiving(scope.scope)">确认收货</el-button> <el-button v-if="scope.scope.afterSaleStatus == 4" type="text" @click="handleReceiving(scope.scope)">确认收货</el-button>
...@@ -414,7 +414,7 @@ export default { ...@@ -414,7 +414,7 @@ export default {
pageConf: { pageSize: 'pageSize', pageNum: 'currentPage', totalCount: 'total' }, pageConf: { pageSize: 'pageSize', pageNum: 'currentPage', totalCount: 'total' },
// 基本数据 // 基本数据
baseData: { baseData: {
searchOrderStatusList: orderManageStatusList.filter(item => ['1', '3', '4', '5', '6', '9'].includes(item.confId)), searchOrderStatusList: orderManageStatusList.filter(item => ['1', '3', '21', '22', '6', '9'].includes(item.confId)),
searchAfterSaleStatusList: afterSaleStatusList.filter(item => ['1', '6', '7'].includes(item.confId)), searchAfterSaleStatusList: afterSaleStatusList.filter(item => ['1', '6', '7'].includes(item.confId)),
orderStatusList: orderManageStatusList, orderStatusList: orderManageStatusList,
afterSaleStatusList: afterSaleStatusList, afterSaleStatusList: afterSaleStatusList,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!