| 
					
				 | 
			
			
				@@ -6,6 +6,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <span style="position: relative;">订单日期<el-select style="width: 120px;letter-spacing:0;" v-model="selectedDate1" @change="date1Changed"><el-option v-for="(item,index) in orderDateList" :key="index" :label="item" :value="item"></el-option></el-select>到<el-select style="width: 120px;letter-spacing:0;" v-model="selectedDate2"><el-option v-for="(item,index) in orderDateList2" :key="index" :label="item" :value="item"></el-option></el-select></span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <span style="position: relative;margin-left:10px;">预测周期<input v-model="days" type="text" style="text-align: center;width: 80px;"> 天</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <el-button @click="start">开始</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button @click="imp" style="margin-left: 10px;">导出</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="bpb_orderlist"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div ref="bpb_orderlist_title" class="bpb_order_num fontcolor"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -404,12 +405,19 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }, 3000); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 1000); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        function imp(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let uri = process.env.VUE_APP_API + "/api/export/order?start=" + selectedDate1.value + "&end=" + selectedDate2.value + "&days=" + days.value; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //proxy.download(uri, {}, `白坯布靶向智能生产预测${selectedDate1.value}至${selectedDate2.value}.zip`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            window.open(uri); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         onMounted(()=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             init, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             start, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            imp, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             days, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             orderDateList, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             orderDateList2, 
			 |