|
@@ -62,32 +62,32 @@
|
|
|
:type="queryParams.orderStatus === undefined ? 'primary' : ''"
|
|
:type="queryParams.orderStatus === undefined ? 'primary' : ''"
|
|
|
:plain="queryParams.orderStatus !== undefined"
|
|
:plain="queryParams.orderStatus !== undefined"
|
|
|
@click="handleQuery()"
|
|
@click="handleQuery()"
|
|
|
- >全部订单</el-button
|
|
|
|
|
|
|
+ >全部订单{{ orderStatusStats.totalCount }}</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
|
<el-button :type="queryParams.orderStatus === '0' ? 'primary' : ''" :plain="queryParams.orderStatus !== '0'" @click="handleQuery('0')"
|
|
<el-button :type="queryParams.orderStatus === '0' ? 'primary' : ''" :plain="queryParams.orderStatus !== '0'" @click="handleQuery('0')"
|
|
|
- >待付款</el-button
|
|
|
|
|
|
|
+ >待付款{{ orderStatusStats.pendingPaymentCount }}</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
|
<el-button :type="queryParams.orderStatus === '2' ? 'primary' : ''" :plain="queryParams.orderStatus !== '2'" @click="handleQuery('2')"
|
|
<el-button :type="queryParams.orderStatus === '2' ? 'primary' : ''" :plain="queryParams.orderStatus !== '2'" @click="handleQuery('2')"
|
|
|
- >待发货</el-button
|
|
|
|
|
|
|
+ >待发货{{ orderStatusStats.pendingShipmentCount }}</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
|
<el-button :type="queryParams.orderStatus === '4' ? 'primary' : ''" :plain="queryParams.orderStatus !== '4'" @click="handleQuery('4')"
|
|
<el-button :type="queryParams.orderStatus === '4' ? 'primary' : ''" :plain="queryParams.orderStatus !== '4'" @click="handleQuery('4')"
|
|
|
- >已发货</el-button
|
|
|
|
|
|
|
+ >已发货{{ orderStatusStats.shippedCount }}</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
|
<el-button :type="queryParams.orderStatus === '5' ? 'primary' : ''" :plain="queryParams.orderStatus !== '5'" @click="handleQuery('5')"
|
|
<el-button :type="queryParams.orderStatus === '5' ? 'primary' : ''" :plain="queryParams.orderStatus !== '5'" @click="handleQuery('5')"
|
|
|
- >已完成</el-button
|
|
|
|
|
|
|
+ >已完成{{ orderStatusStats.completedCount }}</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
|
<el-button :type="queryParams.orderStatus === '6' ? 'primary' : ''" :plain="queryParams.orderStatus !== '6'" @click="handleQuery('6')"
|
|
<el-button :type="queryParams.orderStatus === '6' ? 'primary' : ''" :plain="queryParams.orderStatus !== '6'" @click="handleQuery('6')"
|
|
|
- >已关闭</el-button
|
|
|
|
|
|
|
+ >已关闭{{ orderStatusStats.closedCount }}</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|