From 9d048336c720f3ceda8aac29f606c6f8e6079b96 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 29 四月 2026 18:36:57 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
admin/src/components/business/OperaShopInfoWindow.vue | 37 ++++++++++++++++++++++---------------
1 files changed, 22 insertions(+), 15 deletions(-)
diff --git a/admin/src/components/business/OperaShopInfoWindow.vue b/admin/src/components/business/OperaShopInfoWindow.vue
index c847475..bb4bd6c 100644
--- a/admin/src/components/business/OperaShopInfoWindow.vue
+++ b/admin/src/components/business/OperaShopInfoWindow.vue
@@ -1,9 +1,9 @@
<template>
<GlobalWindow
- :title="title"
- :withFooter="false"
- :visible.sync="visible"
- width="calc(100% - 255px )"
+ :title="title"
+ :withFooter="false"
+ :visible.sync="visible"
+ width="calc(100% - 255px )"
>
<div class="store-header" v-if="storeInfo">
<div class="store-header-left">
@@ -290,8 +290,10 @@
components: { GlobalWindow, Pagination,OperaOrderDetail },
data () {
return {
+ title: '',
activeTab: 'performance',
storeInfo: {},
+ visible: false,
searchForm: {
orderNo: '',
goodsInfo: '',
@@ -312,20 +314,25 @@
})
},
methods: {
+ handleDateChange (val) {
+ this.searchForm.createStartTime = val ? val[0] : ''
+ this.searchForm.createEndTime = val ? val[1] : ''
+ this.search()
+ },
open (title, row) {
this.searchForm.memberId = row.id
detail(row.id)
- .then(res => {
- this.storeInfo = res
- this.activeTab = 'performance'
- this.title = title
- this.visible = true
- this.searchForm.shopId = row.id
- this.search()
- })
- .catch(e => {
- this.$tip.apiFailed(e)
- })
+ .then(res => {
+ this.storeInfo = res
+ this.activeTab = 'performance'
+ this.title = title
+ this.visible = true
+ this.searchForm.shopId = row.id
+ this.search()
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
+ })
}
}
}
--
Gitblit v1.9.3