From c384e04f81caf681647c602d5896cc10b289582e Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 27 二月 2026 14:59:16 +0800
Subject: [PATCH] 经销商管理

---
 admin/src/components/business/OperaIntegralShopMoneyWindow.vue |   36 +++++++++++++++++++++++++++---------
 1 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/admin/src/components/business/OperaIntegralShopMoneyWindow.vue b/admin/src/components/business/OperaIntegralShopMoneyWindow.vue
index 1a0024d..b663e1d 100644
--- a/admin/src/components/business/OperaIntegralShopMoneyWindow.vue
+++ b/admin/src/components/business/OperaIntegralShopMoneyWindow.vue
@@ -1,12 +1,13 @@
 <template>
   <GlobalWindow
       :title="title"
-      width="80%"
+      width="100%"
+      :withFooter="false"
       :visible.sync="visible"
   >
     <TableLayout :permissions="['business:integral:query']">
       <!-- 鎼滅储琛ㄥ崟 -->
-      <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
+      <el-form ref="searchForm" slot="search-form" id='curSearchForm' :model="searchForm" label-width="100px" inline>
         <el-form-item label="" prop="type">
           <el-select v-model="searchForm.type"    placeholder="璇烽�夋嫨鏀舵敮绫诲瀷"   @change="search" >
             <el-option :key="0" :value="0" label="鏀跺叆"></el-option>
@@ -21,24 +22,26 @@
             <el-option :key="16" :value="16" label="璁㈠崟缁撶畻"></el-option>
             <el-option :key="17" :value="17" label="浣欓鎻愮幇"></el-option>
             <el-option :key="19" :value="19" label="鎻愮幇閫�鍥�"></el-option>
-            <el-option :key="20" :value="20" label="璁㈠崟缁撶畻閫�鍥�"></el-option>
+            <el-option :key="20" :value="25" label="璁㈠崟缁撶畻閫�鍥�"></el-option>
           </el-select>
         </el-form-item>
         <div class="date-style" style="display: inline">
           <el-form-item label="浜ゆ槗鏃堕棿" prop="starttime" >
             <el-date-picker
-                style="width: 160px"
+                style="width: 190px"
                 v-model="searchForm.starttime"
                 type="datetime"
                 value-format="yyyy-MM-dd HH:mm:ss"
                 format="yyyy-MM-dd HH:mm:ss"
                 range-separator="鑷�"
                 placeholder="寮�濮嬫椂闂�"
+                @change="search"
             ></el-date-picker>
           </el-form-item>
           <el-form-item label="-" label-width="10px" prop="endtime" >
             <el-date-picker
-                style="width: 160px"
+                style="width: 190px"
+                @change="search"
                 v-model="searchForm.endtime"
                 type="datetime"
                 value-format="yyyy-MM-dd HH:mm:ss"
@@ -94,6 +97,9 @@
 import BaseTable from '@/components/base/BaseTable'
 import TableLayout from '@/layouts/TableLayout'
 import Pagination from '@/components/common/Pagination'
+import moment from 'moment' // 寮曞叆moment搴�
+moment.locale('zh-cn')
+
 export default {
   name: 'OperaIntegralShopMoneyWindow',
   extends: BaseTable,
@@ -102,7 +108,7 @@
     return {
       title: '',
       visible: false,
-      tabelHeight: null,
+      tableHeight: null,
       info: {},
       // 鎼滅储
       searchForm: {
@@ -124,9 +130,21 @@
       'field.id': 'id',
       'field.main': 'id'
     })
+
+    window.addEventListener('resize', () => {
+      this.handleResize()
+    })
+    this.handleResize()
   },
   methods: {
+    handleResize () {
+      this.tableHeight = window.innerHeight - 300
+      if (document.getElementById('curSearchForm')) {
+        this.tableHeight = this.tableHeight - document.getElementById('curSearchForm').clientHeight
+      }
+    },
     open (title, info) {
+      this.searchForm.starttime = moment(this.date).format('YYYY-MM-DD') + ' 00:00:00'
       this.title = title
       this.visible = true
       this.info = info
@@ -137,10 +155,10 @@
 }
 </script>
 <style scoped>
-.table-pagination{
+/*.table-pagination{
   position: fixed !important;
-  bottom: 50px;
-}
+  bottom: 0px;
+}*/
 .header-b{
   display: inline-block;
   font-size: 16px;

--
Gitblit v1.9.3