diff --git a/src/views/order_manage/order_list.vue b/src/views/order_manage/order_list.vue index 239c203..eeb4a8f 100644 --- a/src/views/order_manage/order_list.vue +++ b/src/views/order_manage/order_list.vue @@ -39,21 +39,13 @@ v-if="timeValue == 'custom'"> - + - - + + - + 查询 重置 @@ -61,7 +53,7 @@ 下载中... - + @@ -108,8 +100,8 @@
- - {{ item.productName }} + + {{ item.productName }} (退 - {{ item.refundNumber }})
@@ -194,7 +186,7 @@ export default { payType: "", orderNo: "", createdAt: [], - productName:'' + productName: '' }, tableData: { data: [], @@ -239,7 +231,7 @@ export default { if (this.$route.query.tableName) { this.query.tableName = this.$route.query.tableName } - if(this.$route.query.orderNo){ + if (this.$route.query.orderNo) { this.query.orderNo = this.$route.query.orderNo } this.resetQuery = { ...this.query }; @@ -290,7 +282,7 @@ export default { this.timeValue = ""; this.query = { ...this.resetQuery }; this.page = 0; - this.getTableData(); + this.getTableData(true); }, // 分页大小改变 sizeChange(e) { @@ -303,18 +295,18 @@ export default { this.getTableData(); }, // 获取商品列表 - async getTableData() { + async getTableData(switchs = false) { this.tableData.loading = true; try { this.payCount(); - const productName=this.query.productName.replace(/\s+/g,'') + const productName = this.query.productName.replace(/\s+/g, '') const res = await tbOrderInfoData({ page: this.tableData.page, pageSize: this.tableData.size, orderType: this.orderType, ...this.query, productName, - userId:this.$route.query.userId + userId: switchs == true ? '' : this.$route.query.userId }); this.tableData.loading = false; this.tableData.data = res.content; @@ -521,7 +513,8 @@ export default { } } } -.colorStyle{ -color: #ffc315; + +.colorStyle { + color: #ffc315; } diff --git a/src/views/shop/components/extend.vue b/src/views/shop/components/extend.vue index d42a9f5..e62f811 100644 --- a/src/views/shop/components/extend.vue +++ b/src/views/shop/components/extend.vue @@ -2,13 +2,13 @@
- + - +