diff --git a/src/views/shop/order/index.vue b/src/views/shop/order/index.vue
index 208d952..a08adbc 100644
--- a/src/views/shop/order/index.vue
+++ b/src/views/shop/order/index.vue
@@ -16,6 +16,14 @@
:value="item.value"
/>
+
+
+
搜索
@@ -36,14 +44,6 @@
-
-
-
{{ item.cartInfoMap.productInfo.storeName }}
-
| ¥{{ item.cartInfoMap.truePrice }}×{{ item.cartInfoMap.cartNum }}
-
{{ item.cartInfoMap.productInfo.storeName }} {{ item.cartInfoMap.productInfo.attrInfo.suk }}
| ¥{{ item.cartInfoMap.truePrice }}×{{ item.cartInfoMap.cartNum }}
+
+
+
{{ item.cartInfoMap.productInfo.storeName }}
+
| ¥{{ item.cartInfoMap.truePrice }}×{{ item.cartInfoMap.cartNum }}
+
@@ -166,7 +174,7 @@ export default {
mixins: [initData],
data() {
return {
- delLoading: false, status,
+ delLoading: false, status, orderType: '0',
queryTypeOptions: [
{ key: 'orderId', display_name: '订单号' },
{ key: 'realName', display_name: '用户姓名' },
@@ -182,6 +190,13 @@ export default {
{ value: '-1', label: '退款中' },
{ value: '-2', label: '已退款' },
{ value: '-4', label: '已删除' }
+ ],
+ typeOptions: [
+ { value: '0', label: '所有订单' },
+ { value: '1', label: '普通订单' },
+ { value: '2', label: '拼团订单' },
+ { value: '3', label: '秒杀订单' },
+ { value: '4', label: '砍价订单' }
]
}
},
@@ -196,7 +211,7 @@ export default {
beforeInit() {
this.url = 'api/yxStoreOrder'
const sort = 'id,desc'
- this.params = { page: this.page, size: this.size, sort: sort, orderStatus: this.status }
+ this.params = { page: this.page, size: this.size, sort: sort, orderStatus: this.status, orderType: this.orderType }
const query = this.query
const type = query.type
const value = query.value