|  | @@ -59,6 +59,31 @@
 | 
	
		
			
				|  |  |            end-placeholder="结束日期">
 | 
	
		
			
				|  |  |          </el-date-picker>
 | 
	
		
			
				|  |  |        </el-form-item>
 | 
	
		
			
				|  |  | +      <el-form-item label="场次时间">
 | 
	
		
			
				|  |  | +        <el-date-picker
 | 
	
		
			
				|  |  | +          style="width: 230px;"
 | 
	
		
			
				|  |  | +          v-model="queryParams.performDate"
 | 
	
		
			
				|  |  | +          @change="pagePerformTimeListFun"
 | 
	
		
			
				|  |  | +          type="date"
 | 
	
		
			
				|  |  | +          value-format="yyyy-MM-dd"
 | 
	
		
			
				|  |  | +          placeholder="选择日期">
 | 
	
		
			
				|  |  | +        </el-date-picker>
 | 
	
		
			
				|  |  | +      </el-form-item>
 | 
	
		
			
				|  |  | +      <el-form-item label="场次">
 | 
	
		
			
				|  |  | +        <el-select
 | 
	
		
			
				|  |  | +          v-model="queryParams.performTimeId"
 | 
	
		
			
				|  |  | +          placeholder="场次"
 | 
	
		
			
				|  |  | +          clearable
 | 
	
		
			
				|  |  | +          style="width: 100%"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  | +          <el-option
 | 
	
		
			
				|  |  | +            v-for="dict in pagePerformTimeList"
 | 
	
		
			
				|  |  | +            :key="dict.id"
 | 
	
		
			
				|  |  | +            :label="dict.timeSnapshot"
 | 
	
		
			
				|  |  | +            :value="dict.id"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +        </el-select>
 | 
	
		
			
				|  |  | +      </el-form-item>
 | 
	
		
			
				|  |  |        <el-form-item>
 | 
	
		
			
				|  |  |          <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
 | 
	
		
			
				|  |  |          <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
 | 
	
	
		
			
				|  | @@ -70,7 +95,7 @@
 | 
	
		
			
				|  |  |          type="primary"
 | 
	
		
			
				|  |  |          size="mini"
 | 
	
		
			
				|  |  |          icon="el-icon-download"
 | 
	
		
			
				|  |  | -        v-hasPermi="['order:orderMr:downloadExcel']"
 | 
	
		
			
				|  |  | +        v-hasPermi="['groupBuyingMr:groupBuyingMr:excel']"
 | 
	
		
			
				|  |  |          @click="handleExport"
 | 
	
		
			
				|  |  |          v-loading.fullscreen.lock="handleExportLoading"
 | 
	
		
			
				|  |  |          element-loading-text="正在拼命生成数据中..."
 | 
	
	
		
			
				|  | @@ -94,6 +119,12 @@
 | 
	
		
			
				|  |  |        <el-table-column label="剧目名称" align="center" prop="performName" />
 | 
	
		
			
				|  |  |        <el-table-column label="票务名称" align="center" prop="goodsName" />
 | 
	
		
			
				|  |  |        <el-table-column label="座位类型" align="center" prop="seatTypeName" />
 | 
	
		
			
				|  |  | +      <el-table-column label="场次时间" align="center" prop="performDate" />
 | 
	
		
			
				|  |  | +      <el-table-column label="场次" width="120" align="center" prop="timeSnapshot">
 | 
	
		
			
				|  |  | +        <template slot-scope="scope">
 | 
	
		
			
				|  |  | +          <span>{{ scope.row.timeSnapshot }} <br /> ({{ scope.row.performTimeStart + '-' + scope.row.performTimeEnd }})</span>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +      </el-table-column>
 | 
	
		
			
				|  |  |        <el-table-column label="团购数量" align="center" prop="quantity" />
 | 
	
		
			
				|  |  |        <el-table-column label="支付总额" align="center" prop="orderPrice">
 | 
	
		
			
				|  |  |          <template slot-scope="scope">
 | 
	
	
		
			
				|  | @@ -219,7 +250,7 @@ import detailsDia from "./dialog/details.vue";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import { printApi } from '@/api/order/orderMr'
 | 
	
		
			
				|  |  |  import { pageList as getPrintListApi } from "@/api/device/pda";
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +import { pagePerformTimeList } from "@/api/schedulingMr/schedulingMr"
 | 
	
		
			
				|  |  |  import { exportExcel } from '@/utils/exportexcel'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const https = require('https');
 | 
	
	
		
			
				|  | @@ -341,6 +372,7 @@ export default {
 | 
	
		
			
				|  |  |        corporatePayLoading:false,
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        handleExportLoading: false,
 | 
	
		
			
				|  |  | +      pagePerformTimeList: [], // 场次列表
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created() {
 | 
	
	
		
			
				|  | @@ -384,6 +416,8 @@ export default {
 | 
	
		
			
				|  |  |        this.$set(this.queryParams, 'beginTime', '');
 | 
	
		
			
				|  |  |        this.$set(this.queryParams, 'endTime', '');
 | 
	
		
			
				|  |  |        this.$set(this.queryParams, 'time', '');
 | 
	
		
			
				|  |  | +      this.$set(this.queryParams, 'performDate', '');
 | 
	
		
			
				|  |  | +      this.$set(this.queryParams, 'performTimeId', '');
 | 
	
		
			
				|  |  |        this.queryParams.pageNum = 1;
 | 
	
		
			
				|  |  |        this.handleQuery();
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -595,6 +629,23 @@ export default {
 | 
	
		
			
				|  |  |            this.$message.info('您已取消导出!');
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    async pagePerformTimeListFun(value) {
 | 
	
		
			
				|  |  | +      try {
 | 
	
		
			
				|  |  | +        this.pagePerformTimeList = []
 | 
	
		
			
				|  |  | +        this.$set(this.queryParams,'performTimeId',null)
 | 
	
		
			
				|  |  | +        if(!value){
 | 
	
		
			
				|  |  | +          return
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        let { data,code } = await pagePerformTimeList({
 | 
	
		
			
				|  |  | +          performDate: value,
 | 
	
		
			
				|  |  | +          pageNum: 1,
 | 
	
		
			
				|  |  | +          pageSize: 999
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +        this.pagePerformTimeList = [].concat(data.rows)
 | 
	
		
			
				|  |  | +      } catch (error) {
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  </script>
 |