<template>
  <div id="protectedItems" class="content-main">
    <el-form :inline="true" ref="formInline" :model="formInline" class="demo-form-inline recordsDetailsTable">
		<el-tabs v-model="activeName" @tab-click="handletabClick">
			<el-tab-pane label="汇总表" name="hzb"></el-tab-pane>
			<el-tab-pane label="分项表" name="fxb"></el-tab-pane>
		</el-tabs>
	    <table id="summaryData" v-if="activeName == 'hzb'">
	      <tbody>
			  <tr>
			  	<th colspan='18' style="border: none;">
			  	    <div style="text-align: center;font-size: 20px;font-weight: 600;margin-bottom: 20px;">按年份划分市级储备粮库存表—实际库存汇总表</div>	
			  	</th>
			  </tr>
			  <tr>
				  <th colspan="2" style="border: none;">
					  <div style="text-align: left;">
						  汇总期数:{{formInline.hzqs}}
					    <!-- <span>汇总期数:{{formInline.hzqs}}</span> -->
					  </div>
				  </th>
			  	<th colspan="15" style="border: none;">
			  	</th>
			  	<!-- <th colspan="2" style="border: none;">
			  		<div style="text-align: right;" >
						汇总日期:{{formInline.hzri}}
			  		</div>
			  	</th> -->
			  </tr>
			  <tr>
				  <th rowspan="3">序号</th>
				  <th colspan="7">期末库存汇总</th>
				  <th colspan="6">期末库存(非调节)</th>
				  <th colspan="3">期末库存(调节)</th>
			  </tr>
			  <tr>
				  <th>单位</th>
				  <th>合计</th>
				  <th>小麦</th>
				  <th>稻谷</th>
				  <th>面粉</th>
				  <th>大米</th>
				  <th>大豆油</th>
				  <th>合计</th>
				  <th>小麦</th>
				  <th>稻谷</th>
				  <th>面粉</th>
				  <th>大米</th>
				  <th>大豆油</th>
				  <th>合计</th>
				  <th>小麦</th>
				  <th>稻谷</th>
			  </tr>
			  <tr v-for="item in qyhj">
				  <th>合计</th>
				  <th>
					  {{String(item.hzhj).indexOf(".") > -1
					    ? Number(item.hzhj).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hzhj).toLocaleString()}}
					  <!-- {{item.hzhj}} -->
				  </th>
				  <th>
					  {{String(item.hzxm).indexOf(".") > -1
					    ? Number(item.hzxm).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hzxm).toLocaleString()}}
					<!-- {{item.hzxm}} -->
				  </th>
				  <th>
					{{String(item.hzdg).indexOf(".") > -1
					  ? Number(item.hzdg).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.hzdg).toLocaleString()}}
					  <!-- {{item.hzdg}} -->
				  </th>
				  <th>
					{{String(item.hzmf).indexOf(".") > -1
					  ? Number(item.hzmf).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.hzmf).toLocaleString()}}
				  	<!-- {{item.hzmf}} -->
				  </th>
				  <th>
					{{String(item.hzdm).indexOf(".") > -1
					  ? Number(item.hzdm).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.hzdm).toLocaleString()}}
				  	<!-- {{item.hzdm}} -->
				  </th>
				  <th>
					  {{String(item.hzddy).indexOf(".") > -1
					    ? Number(item.hzddy).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hzddy).toLocaleString()}}
				  	 <!-- {{item.hzddy}} -->
				  </th>
				  <th>
					{{String(item.ftjhzhj).indexOf(".") > -1
					  ? Number(item.ftjhzhj).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.ftjhzhj).toLocaleString()}}
				  	<!-- {{item.ftjhzhj}} -->
				  </th>
				  <th>
					{{String(item.ftjhzxm).indexOf(".") > -1
					  ? Number(item.ftjhzxm).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.ftjhzxm).toLocaleString()}}
				  	<!-- {{item.ftjhzxm}} -->
				  </th>
				  <th>
					{{String(item.ftjhzdg).indexOf(".") > -1
					  ? Number(item.ftjhzdg).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.ftjhzdg).toLocaleString()}}
				  	 <!-- {{item.ftjhzdg}} -->
				  </th>
				  <th>
					{{String(item.ftjhzmf).indexOf(".") > -1
					  ? Number(item.ftjhzmf).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.ftjhzmf).toLocaleString()}}
				  	<!-- {{item.ftjhzmf}} -->
				  </th>
				  <th>
					{{String(item.ftjhzdm).indexOf(".") > -1
					  ? Number(item.ftjhzdm).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.ftjhzdm).toLocaleString()}}
				  	<!-- {{item.ftjhzdm}} -->
				  </th>
				 <th>
				    {{String(item.ftjhzddy).indexOf(".") > -1
				      ? Number(item.ftjhzddy).toLocaleString(undefined, {
				    	  minimumFractionDigits: 3,
				    	  maximumFractionDigits: 3,
				    	})
				      : Number(item.ftjhzddy).toLocaleString()}}
				  	 <!-- {{item.ftjhzddy}} -->
				  </th>
				  <th>
					{{String(item.tjhzhj).indexOf(".") > -1
					  ? Number(item.tjhzhj).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.tjhzhj).toLocaleString()}}
				  	<!-- {{item.tjhzhj}} -->
				  </th>
				  <th>
					{{String(item.tjhzxm).indexOf(".") > -1
					  ? Number(item.tjhzxm).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.tjhzxm).toLocaleString()}}
				  	<!-- {{item.tjhzxm}} -->
				  </th>
				  <th>
					{{String(item.tjhzdg).indexOf(".") > -1
					  ? Number(item.tjhzdg).toLocaleString(undefined, {
						  minimumFractionDigits: 3,
						  maximumFractionDigits: 3,
						})
					  : Number(item.tjhzdg).toLocaleString()}}
				  	 <!-- {{item.tjhzdg}} -->
				  </th>
			  </tr>
			  <tr v-for=" n in qmkcftjList.length">
				  <td><div style="width: 40px;">{{n}}</div></td>
				  <td>
				   	 <div style="width: 180px;">{{qmkcftjList[n-1]['sskdmc']}}</div>
				   </td>  
				   <td>
				   	 <span>
						 {{String(qmkcftjList[n-1]['heji']+qmkctjList[n-1]['heji']).indexOf(".") > -1
						   ? Number(qmkcftjList[n-1]['heji']+qmkctjList[n-1]['heji']).toLocaleString(undefined, {
						 	  minimumFractionDigits: 3,
						 	  maximumFractionDigits: 3,
						 	})
						   : Number(qmkcftjList[n-1]['heji']+qmkctjList[n-1]['heji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['heji']+qmkctjList[n-1]['heji']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						  {{String(qmkcftjList[n-1]['xiaoheji']+qmkctjList[n-1]['xiaoheji']).indexOf(".") > -1
						    ? Number(qmkcftjList[n-1]['xiaoheji']+qmkctjList[n-1]['xiaoheji']).toLocaleString(undefined, {
						  	  minimumFractionDigits: 3,
						  	  maximumFractionDigits: 3,
						  	})
						    : Number(qmkcftjList[n-1]['xiaoheji']+qmkctjList[n-1]['xiaoheji']).toLocaleString()}}
					  <!-- {{qmkcftjList[n-1]['xiaoheji']+qmkctjList[n-1]['xiaoheji']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
						{{String(qmkcftjList[n-1]['daoheji']+qmkctjList[n-1]['daoheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['daoheji']+qmkctjList[n-1]['daoheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['daoheji']+qmkctjList[n-1]['daoheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['daoheji']+qmkctjList[n-1]['daoheji']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(qmkcftjList[n-1]['mianheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['mianheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['mianheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['mianheji']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(qmkcftjList[n-1]['miheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['miheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['miheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['miheji']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(qmkcftjList[n-1]['dadouheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['dadouheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['dadouheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['dadouheji']}} -->
					 </span>
				   </td> 
				  <!-- 非调节期末库存开始 -->
				  <!-- <td>
				  	 <span>{{qmkcftjList[n-1]['sskdmc']}}</span>
				  </td> --> 
				  <td>
				  	 <span>
						{{String(qmkcftjList[n-1]['heji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['heji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['heji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['heji']}} -->
					 </span>
				  </td> 
				  <td>
				   	 <span>
						{{String(qmkcftjList[n-1]['xiaoheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['xiaoheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['xiaoheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['xiaoheji']}} -->
					 </span>
				   </td> 
				  <td>
				  	 <span>
						{{String(qmkcftjList[n-1]['daoheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['daoheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['daoheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['daoheji']}} -->
					 </span>
				  </td>  
				  <td>
				  	 <span>
						{{String(qmkcftjList[n-1]['mianheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['mianheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['mianheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['mianheji']}} -->
					 </span>
				  </td>  
				  <td>
				  	 <span>
						{{String(qmkcftjList[n-1]['miheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['miheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['miheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['miheji']}} -->
					 </span>
				  </td> 
				  <td>
				  	 <span>
						{{String(qmkcftjList[n-1]['dadouheji']).indexOf(".") > -1
						  ? Number(qmkcftjList[n-1]['dadouheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkcftjList[n-1]['dadouheji']).toLocaleString()}}
					 <!-- {{qmkcftjList[n-1]['dadouheji']}} -->
					 </span>
				  </td> 
				  <!-- 非调节期末库存结束 -->
				  <!-- 调节期末库存开始 -->
				   <td>
				   	 <span>
						{{String(qmkctjList[n-1]['heji']).indexOf(".") > -1
						  ? Number(qmkctjList[n-1]['heji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkctjList[n-1]['heji']).toLocaleString()}}
					 <!-- {{qmkctjList[n-1]['heji']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						{{String(qmkctjList[n-1]['xiaoheji']).indexOf(".") > -1
						  ? Number(qmkctjList[n-1]['xiaoheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkctjList[n-1]['xiaoheji']).toLocaleString()}}
					  <!-- {{qmkctjList[n-1]['xiaoheji']}} -->
					  </span>
				    </td>
				   <td>
				   	 <span>
						{{String(qmkctjList[n-1]['daoheji']).indexOf(".") > -1
						  ? Number(qmkctjList[n-1]['daoheji']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(qmkctjList[n-1]['daoheji']).toLocaleString()}}
					 <!-- {{qmkctjList[n-1]['daoheji']}} -->
					 </span>
				   </td>  
				   <!-- 调节期末库存结束 -->
			  </tr>
	      </tbody>
	    </table>
		<table id="fxbData" v-else >
		  <tbody>
			  <tr>
			  	<th colspan='18' style="border: none;">
			  	    <div style="text-align: center;font-size: 20px;font-weight: 600;margin-bottom: 20px;">按年份划分市级储备粮库存表—实际库存分布表</div>	
			  	</th>
			  </tr>
			  <tr>
				  <th colspan="1" style="border: none;">
					  <div style="text-align: left;">
						  汇总期数:{{formInline.hzqs}}
					    <!-- <span style="width: 200px;">汇总期数:{{formInline.hzqs}}</span> -->
					  </div>
				  </th>
			  	<th colspan="74" style="border: none;">
			  	</th>
			  	<!-- <th colspan="3" style="border: none;">
			  		<div style="text-align: right;" >
						汇总日期:{{formInline.hzri}}
			  		</div>
			  	</th> -->
			  </tr>
			  <tr>
				  <th>项目</th>
				  <th colspan="7">小麦</th>
				  <th colspan="7">红麦</th>
				  <th colspan="7">白麦</th>
				  <th colspan="7">美麦</th>
				  <th colspan="7">加麦</th>
				  <th colspan="7">澳麦</th>
				  <th colspan="5">面粉</th>
				  <th colspan="5">大米</th>
				  <th colspan="5">稻谷</th>
				  <th colspan="5">大豆油</th>
				  <th colspan="5">调节稻谷</th>
				  <th colspan="7">调节小麦</th>
			  </tr>
			  <tr>
				  <th>单位</th>
				  <th>小计</th>
				  <th>{{nowYear-5}}</th>
				  <th>{{nowYear-4}}</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-5}}</th>
				  <th>{{nowYear-4}}</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-5}}</th>
				  <th>{{nowYear-4}}</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-5}}</th>
				  <th>{{nowYear-4}}</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-5}}</th>
				  <th>{{nowYear-4}}</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-5}}</th>
				  <th>{{nowYear-4}}</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <!-- 调节 -->
				  <th>小计</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
				  
				  <th>小计</th>
				  <th>{{nowYear-5}}</th>
				  <th>{{nowYear-4}}</th>
				  <th>{{nowYear-3}}</th>
				  <th>{{nowYear-2}}</th>
				  <th>{{nowYear-1}}</th>
				  <th>{{nowYear}}</th>
			  </tr>
			  <tr v-for="item in fxbHjhz">
				  <th>合计</th>
				  <!-- 小麦 -->
				  <th>
					  {{String(item.xiaoqmkc).indexOf(".") > -1
					  ? Number(item.xiaoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.xiaoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.xiaofiveqmkcs).indexOf(".") > -1
					  ? Number(item.xiaofiveqmkcs).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.xiaofiveqmkcs).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.xiaofourqmkc).indexOf(".") > -1
					  ? Number(item.xiaofourqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.xiaofourqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.xiaothreeqmkc).indexOf(".") > -1
					  ? Number(item.xiaothreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.xiaothreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.xiaotwoqmkc).indexOf(".") > -1
					  ? Number(item.xiaotwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.xiaotwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.xiaooneqmkc).indexOf(".") > -1
					  ? Number(item.xiaooneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.xiaooneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.xiaodqmkc).indexOf(".") > -1
					  ? Number(item.xiaodqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.xiaodqmkc).toLocaleString()}}
				  </th>
				  <!-- 红麦 -->
				  <th>
					  {{String(item.hongmaiqmkc).indexOf(".") > -1
					  ? Number(item.hongmaiqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hongmaiqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.hongmaifiveqmkcs).indexOf(".") > -1
					  ? Number(item.hongmaifiveqmkcs).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hongmaifiveqmkcs).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.hongmaifourqmkc).indexOf(".") > -1
					  ? Number(item.hongmaifourqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hongmaifourqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.hongmaithreeqmkc).indexOf(".") > -1
					  ? Number(item.hongmaithreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hongmaithreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.hongmaitwoqmkc).indexOf(".") > -1
					  ? Number(item.hongmaitwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hongmaitwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.hongmaioneqmkc).indexOf(".") > -1
					  ? Number(item.hongmaioneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hongmaioneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.hongmaidqmkc).indexOf(".") > -1
					  ? Number(item.hongmaidqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.hongmaidqmkc).toLocaleString()}}
				  </th>
				  <!-- 白麦 -->
				  <th>
					  {{String(item.baimaiqmkc).indexOf(".") > -1
					  ? Number(item.baimaiqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.baimaiqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.baimaifiveqmkcs).indexOf(".") > -1
					  ? Number(item.baimaifiveqmkcs).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.baimaifiveqmkcs).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.baimaifourqmkc).indexOf(".") > -1
					  ? Number(item.baimaifourqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.baimaifourqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.baimaithreeqmkc).indexOf(".") > -1
					  ? Number(item.baimaithreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.baimaithreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.baimaitwoqmkc).indexOf(".") > -1
					  ? Number(item.baimaitwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.baimaitwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.baimaioneqmkc).indexOf(".") > -1
					  ? Number(item.baimaioneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.baimaioneqmkc).toLocaleString()}}
				  </th>
				  <th>
					 {{String(item.baimaidqmkc).indexOf(".") > -1
					    ? Number(item.baimaidqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.baimaidqmkc).toLocaleString()}}
				  </th>
				  <!-- 美麦 -->
				  <th>
					  {{String(item.meimaiqmkc).indexOf(".") > -1
					  ? Number(item.meimaiqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.meimaiqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.meimaifiveqmkcs).indexOf(".") > -1
					  ? Number(item.meimaifiveqmkcs).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.meimaifiveqmkcs).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.meimaifourqmkc).indexOf(".") > -1
					  ? Number(item.meimaifourqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.meimaifourqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.meimaithreeqmkc).indexOf(".") > -1
					  ? Number(item.meimaithreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.meimaithreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.meimaitwoqmkc).indexOf(".") > -1
					  ? Number(item.meimaitwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.meimaitwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.meimaioneqmkc).indexOf(".") > -1
					  ? Number(item.meimaioneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.meimaioneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.meimaidqmkc).indexOf(".") > -1
					  ? Number(item.meimaidqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.meimaidqmkc).toLocaleString()}}
				  </th>
				  <!-- 加麦 -->
				  <th>
					  {{String(item.jiamaiqmkc).indexOf(".") > -1
					  ? Number(item.jiamaiqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.jiamaiqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.jiamaifiveqmkcs).indexOf(".") > -1
					  ? Number(item.jiamaifiveqmkcs).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.jiamaifiveqmkcs).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.jiamaifourqmkc).indexOf(".") > -1
					  ? Number(item.jiamaifourqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.jiamaifourqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.jiamaithreeqmkc).indexOf(".") > -1
					  ? Number(item.jiamaithreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.jiamaithreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.jiamaitwoqmkc).indexOf(".") > -1
					  ? Number(item.jiamaitwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.jiamaitwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.jiamaioneqmkc).indexOf(".") > -1
					  ? Number(item.jiamaioneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.jiamaioneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.jiamaidqmkc).indexOf(".") > -1
					  ? Number(item.jiamaidqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.jiamaidqmkc).toLocaleString()}}
				  </th>
				  <!-- 澳麦 -->
				  <th>
					  {{String(item.aomaiqmkc).indexOf(".") > -1
					  ? Number(item.aomaiqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.aomaiqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.aomaifiveqmkcs).indexOf(".") > -1
					  ? Number(item.aomaifiveqmkcs).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.aomaifiveqmkcs).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.aomaifourqmkc).indexOf(".") > -1
					  ? Number(item.aomaifourqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.aomaifourqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.aomaithreeqmkc).indexOf(".") > -1
					  ? Number(item.aomaithreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.aomaithreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.aomaitwoqmkc).indexOf(".") > -1
					  ? Number(item.aomaitwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.aomaitwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.aomaioneqmkc).indexOf(".") > -1
					  ? Number(item.aomaioneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.aomaioneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.aomaidqmkc).indexOf(".") > -1
					  ? Number(item.aomaidqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.aomaidqmkc).toLocaleString()}}
				  </th>
				  <!-- 面粉 -->
				  <th>
					  {{String(item.mianfenqmkc).indexOf(".") > -1
					  ? Number(item.mianfenqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.mianfenqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.mianfenthreeqmkc).indexOf(".") > -1
					  ? Number(item.mianfenthreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.mianfenthreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.mianfentwoqmkc).indexOf(".") > -1
					  ? Number(item.mianfentwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.mianfentwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.mianfenoneqmkc).indexOf(".") > -1
					  ? Number(item.mianfenoneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.mianfenoneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.mianfendqmkc).indexOf(".") > -1
					  ? Number(item.mianfendqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.mianfendqmkc).toLocaleString()}}
				  </th>
				  <!-- 大米 -->
				  <th>
					  {{String(item.damiqmkc).indexOf(".") > -1
					  ? Number(item.damiqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.damiqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.damithreeqmkc).indexOf(".") > -1
					  ? Number(item.damithreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.damithreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.damitwoqmkc).indexOf(".") > -1
					  ? Number(item.damitwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.damitwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.damioneqmkc).indexOf(".") > -1
					  ? Number(item.damioneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.damioneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.damidqmkc).indexOf(".") > -1
					  ? Number(item.damidqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.damidqmkc).toLocaleString()}}
				  </th>
				  <!-- 稻谷 -->
				  <th>
					  {{String(item.daoguqmkc).indexOf(".") > -1
					  ? Number(item.daoguqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.daoguqmkc).toLocaleString()}}
				  </th>
				 <th>
					  {{String(item.daoguthreeqmkc).indexOf(".") > -1
					  ? Number(item.daoguthreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.daoguthreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.daogutwoqmkc).indexOf(".") > -1
					  ? Number(item.daogutwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.daogutwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.daoguoneqmkc).indexOf(".") > -1
					  ? Number(item.daoguoneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.daoguoneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.daogudqmkc).indexOf(".") > -1
					  ? Number(item.daogudqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.daogudqmkc).toLocaleString()}}
				  </th>
				  <!-- 大豆油 -->
				  <th>
					  {{String(item.dadouqmkc).indexOf(".") > -1
					  ? Number(item.dadouqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.dadouqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.dadouthreeqmkc).indexOf(".") > -1
					  ? Number(item.dadouthreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.dadouthreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.dadoutwoqmkc).indexOf(".") > -1
					  ? Number(item.dadoutwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.dadoutwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.dadouoneqmkc).indexOf(".") > -1
					  ? Number(item.dadouoneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.dadouoneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.dadoudqmkc).indexOf(".") > -1
					  ? Number(item.dadoudqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.dadoudqmkc).toLocaleString()}}
				  </th>
				  <!-- 调节稻谷 -->
				  <th>
					  {{String(item.tjdaoguqmkc).indexOf(".") > -1
					  ? Number(item.tjdaoguqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjdaoguqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjdaoguthreeqmkc).indexOf(".") > -1
					  ? Number(item.tjdaoguthreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjdaoguthreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjdaogutwoqmkc).indexOf(".") > -1
					  ? Number(item.tjdaogutwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjdaogutwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjdaoguoneqmkc).indexOf(".") > -1
					  ? Number(item.tjdaoguoneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjdaoguoneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjdaogudqmkc).indexOf(".") > -1
					  ? Number(item.tjdaogudqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjdaogudqmkc).toLocaleString()}}
				  </th>
				  <!-- 调节小麦 -->
				  <th>
					  {{String(item.tjxiaoqmkc).indexOf(".") > -1
					  ? Number(item.tjxiaoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjxiaoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjxiaofiveqmkcs).indexOf(".") > -1
					  ? Number(item.tjxiaofiveqmkcs).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjxiaofiveqmkcs).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjxiaofourqmkc).indexOf(".") > -1
					  ? Number(item.tjxiaofourqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjxiaofourqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjxiaothreeqmkc).indexOf(".") > -1
					  ? Number(item.tjxiaothreeqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjxiaothreeqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjxiaotwoqmkc).indexOf(".") > -1
					  ? Number(item.tjxiaotwoqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjxiaotwoqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjxiaooneqmkc).indexOf(".") > -1
					  ? Number(item.tjxiaooneqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjxiaooneqmkc).toLocaleString()}}
				  </th>
				  <th>
					  {{String(item.tjxiaodqmkc).indexOf(".") > -1
					  ? Number(item.tjxiaodqmkc).toLocaleString(undefined, {
					  	  minimumFractionDigits: 3,
					  	  maximumFractionDigits: 3,
					  	})
					    : Number(item.tjxiaodqmkc).toLocaleString()}}
				  </th>
			  </tr>
			  <tr v-for=" n in ftjfxbList.length">
				  <td>
				   	 <div style="width: 200px;">{{ftjfxbList[n-1]['sskdmc']}}</div>
				   </td>  
				   <!-- 小麦 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['xiaoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['xiaoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['xiaoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['xiaoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						{{String(ftjfxbList[n-1]['xiaofiveqmkcs']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['xiaofiveqmkcs']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['xiaofiveqmkcs']).toLocaleString()}}
					  <!-- {{ftjfxbList[n-1]['xiaofiveqmkcs']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['xiaofourqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['xiaofourqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['xiaofourqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['xiaofourqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['xiaothreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['xiaothreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['xiaothreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['xiaothreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['xiaotwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['xiaotwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['xiaotwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['xiaotwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['xiaooneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['xiaooneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['xiaooneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['xiaooneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['xiaodqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['xiaodqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['xiaodqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['xiaodqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 红麦 -->
				   <td>
				   	 <span>
					 {{String(ftjfxbList[n-1]['hongmaiqmkc']).indexOf(".") > -1
					 ? Number(ftjfxbList[n-1]['hongmaiqmkc']).toLocaleString(undefined, {
					 	  minimumFractionDigits: 3,
					 	  maximumFractionDigits: 3,
					 	})
					   : Number(ftjfxbList[n-1]['hongmaiqmkc']).toLocaleString()}}
					   <!-- {{ftjfxbList[n-1]['hongmaiqmkc']}} -->
					   </span>
				   </td> 
				   <td>
				      <span>{{String(ftjfxbList[n-1]['hongmaifiveqmkcs']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['hongmaifiveqmkcs']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['hongmaifiveqmkcs']).toLocaleString()}}
					  <!-- {{ftjfxbList[n-1]['hongmaifiveqmkcs']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['hongmaifourqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['hongmaifourqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['hongmaifourqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['hongmaifourqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['hongmaithreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['hongmaithreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['hongmaithreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['hongmaithreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['hongmaitwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['hongmaitwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['hongmaitwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['hongmaitwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['hongmaioneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['hongmaioneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['hongmaioneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['hongmaioneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['hongmaidqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['hongmaidqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['hongmaidqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['hongmaidqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 白麦 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['baimaiqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['baimaiqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['baimaiqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['baimaiqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						{{String(ftjfxbList[n-1]['baimaifiveqmkcs']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['baimaifiveqmkcs']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['baimaifiveqmkcs']).toLocaleString()}}
					  <!-- {{ftjfxbList[n-1]['baimaifiveqmkcs']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['baimaifourqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['baimaifourqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['baimaifourqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['baimaifourqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['baimaithreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['baimaithreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['baimaithreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['baimaithreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['baimaitwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['baimaitwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['baimaitwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['baimaitwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['baimaioneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['baimaioneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['baimaioneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['baimaioneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['baimaidqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['baimaidqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['baimaidqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['baimaidqmkc']}} -->
					 </span>
				   </td>
				   <!-- 美麦 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['meimaiqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['meimaiqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['meimaiqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['meimaiqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						{{String(ftjfxbList[n-1]['meimaifiveqmkcs']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['meimaifiveqmkcs']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['meimaifiveqmkcs']).toLocaleString()}}
					  <!-- {{ftjfxbList[n-1]['meimaifiveqmkcs']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['meimaifourqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['meimaifourqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['meimaifourqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['meimaifourqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['meimaithreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['meimaithreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['meimaithreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['meimaithreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
					    {{String(ftjfxbList[n-1]['meimaitwoqmkc']).indexOf(".") > -1
					    ? Number(ftjfxbList[n-1]['meimaitwoqmkc']).toLocaleString(undefined, {
					    	  minimumFractionDigits: 3,
					    	  maximumFractionDigits: 3,
					    	})
					      : Number(ftjfxbList[n-1]['meimaitwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['meimaitwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['meimaioneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['meimaioneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['meimaioneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['meimaioneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['meimaidqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['meimaidqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['meimaidqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['meimaidqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 加麦 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['jiamaiqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['jiamaiqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['jiamaiqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['jiamaiqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						{{String(ftjfxbList[n-1]['jiamaifiveqmkcs']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['jiamaifiveqmkcs']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['jiamaifiveqmkcs']).toLocaleString()}}
					  <!-- {{ftjfxbList[n-1]['jiamaifiveqmkcs']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
					    {{String(ftjfxbList[n-1]['jiamaifourqmkc']).indexOf(".") > -1
					    ? Number(ftjfxbList[n-1]['jiamaifourqmkc']).toLocaleString(undefined, {
					    	  minimumFractionDigits: 3,
					    	  maximumFractionDigits: 3,
					    	})
					      : Number(ftjfxbList[n-1]['jiamaifourqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['jiamaifourqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['jiamaithreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['jiamaithreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['jiamaithreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['jiamaithreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['jiamaitwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['jiamaitwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['jiamaitwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['jiamaitwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['jiamaioneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['jiamaioneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['jiamaioneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['jiamaioneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['jiamaidqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['jiamaidqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['jiamaidqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['jiamaidqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 澳麦 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['aomaiqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['aomaiqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['aomaiqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['aomaiqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						{{String(ftjfxbList[n-1]['aomaifiveqmkcs']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['aomaifiveqmkcs']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['aomaifiveqmkcs']).toLocaleString()}}
					  <!-- {{ftjfxbList[n-1]['aomaifiveqmkcs']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['aomaifourqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['aomaifourqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['aomaifourqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['aomaifourqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['aomaithreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['aomaithreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['aomaithreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['aomaithreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['aomaitwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['aomaitwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['aomaitwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['aomaitwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['aomaioneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['aomaioneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['aomaioneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['aomaioneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['aomaidqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['aomaidqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['aomaidqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['aomaidqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 面粉 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['mianfenqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['mianfenqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['mianfenqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['mianfenqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['mianfenthreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['mianfenthreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['mianfenthreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['mianfenthreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['mianfentwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['mianfentwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['mianfentwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['mianfentwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['mianfenoneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['mianfenoneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['mianfenoneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['mianfenoneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['mianfendqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['mianfendqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['mianfendqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['mianfendqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 大米 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['damiqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['damiqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['damiqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['damiqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['damithreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['damithreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['damithreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['damithreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['damitwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['damitwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['damitwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['damitwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['damioneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['damioneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['damioneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['damioneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['damidqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['damidqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['damidqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['damidqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 稻谷 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['daoguqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['daoguqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['daoguqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['daoguqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['daoguthreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['daoguthreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['daoguthreeqmkc']).toLocaleString()}}
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['daogutwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['daogutwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['daogutwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['daogutwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['daoguoneqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['daoguoneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['daoguoneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['daoguoneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['daogudqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['daogudqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['daogudqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['daogudqmkc']}} -->
					 </span>
				   </td>
				   <!-- 大豆油 -->
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['dadouqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['dadouqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['dadouqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['dadouqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['dadouthreeqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['dadouthreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['dadouthreeqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['dadouthreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(ftjfxbList[n-1]['dadoutwoqmkc']).indexOf(".") > -1
						? Number(ftjfxbList[n-1]['dadoutwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(ftjfxbList[n-1]['dadoutwoqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['dadoutwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						 {{String(ftjfxbList[n-1]['dadouoneqmkc']).indexOf(".") > -1
						 ? Number(ftjfxbList[n-1]['dadouoneqmkc']).toLocaleString(undefined, {
						 	  minimumFractionDigits: 3,
						 	  maximumFractionDigits: 3,
						 	})
						   : Number(ftjfxbList[n-1]['dadouoneqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['dadouoneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						 {{String(ftjfxbList[n-1]['dadoudqmkc']).indexOf(".") > -1
						 ? Number(ftjfxbList[n-1]['dadoudqmkc']).toLocaleString(undefined, {
						 	  minimumFractionDigits: 3,
						 	  maximumFractionDigits: 3,
						 	})
						   : Number(ftjfxbList[n-1]['dadoudqmkc']).toLocaleString()}}
					 <!-- {{ftjfxbList[n-1]['dadoudqmkc']}} -->
					 </span>
				   </td>
				  <!-- 非调节期末库存结束 -->
				  <!-- 调节期末库存开始 -->
				   <!-- 调节稻谷 -->
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['daoguqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['daoguqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['daoguqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['daoguqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['daoguthreeqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['daoguthreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['daoguthreeqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['daoguthreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						 {{String(tjfxbList[n-1]['daogutwoqmkc']).indexOf(".") > -1
						 ? Number(tjfxbList[n-1]['daogutwoqmkc']).toLocaleString(undefined, {
						 	  minimumFractionDigits: 3,
						 	  maximumFractionDigits: 3,
						 	})
						   : Number(tjfxbList[n-1]['daogutwoqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['daogutwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['daoguoneqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['daoguoneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['daoguoneqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['daoguoneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['daogudqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['daogudqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['daogudqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['daogudqmkc']}} -->
					 </span>
				   </td>
				   <!-- 调节小麦 -->
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['guoxiaoqmkc'] +tjfxbList[n-1]['jinmaiqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['guoxiaoqmkc'] +tjfxbList[n-1]['jinmaiqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['guoxiaoqmkc'] +tjfxbList[n-1]['jinmaiqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['guoxiaoqmkc'] +tjfxbList[n-1]['jinmaiqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				      <span>
						{{String(tjfxbList[n-1]['guoxiaofiveqmkcs'] +tjfxbList[n-1]['jinmaifiveqmkcs']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['guoxiaofiveqmkcs'] +tjfxbList[n-1]['jinmaifiveqmkcs']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['guoxiaofiveqmkcs'] +tjfxbList[n-1]['jinmaifiveqmkcs']).toLocaleString()}}
					  <!-- {{tjfxbList[n-1]['guoxiaofiveqmkcs'] +tjfxbList[n-1]['jinmaifiveqmkcs']}} -->
					  </span>
				    </td> 
				   <td>
				   	 <span>
					    {{String(tjfxbList[n-1]['guoxiaofourqmkc'] +tjfxbList[n-1]['jinmaifourqmkc']).indexOf(".") > -1
					    ? Number(tjfxbList[n-1]['guoxiaofourqmkc'] +tjfxbList[n-1]['jinmaifourqmkc']).toLocaleString(undefined, {
					    	  minimumFractionDigits: 3,
					    	  maximumFractionDigits: 3,
					    	})
					      : Number(tjfxbList[n-1]['guoxiaofourqmkc'] +tjfxbList[n-1]['jinmaifourqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['guoxiaofourqmkc'] + tjfxbList[n-1]['jinmaifourqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['guoxiaothreeqmkc'] +tjfxbList[n-1]['jinmaithreeqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['guoxiaothreeqmkc'] +tjfxbList[n-1]['jinmaithreeqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['guoxiaothreeqmkc'] +tjfxbList[n-1]['jinmaithreeqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['guoxiaothreeqmkc']+tjfxbList[n-1]['jinmaithreeqmkc']}} -->
					 </span>
				   </td>  
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['guoxiaotwoqmkc'] +tjfxbList[n-1]['jinmaitwoqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['guoxiaotwoqmkc'] +tjfxbList[n-1]['jinmaitwoqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['guoxiaotwoqmkc'] +tjfxbList[n-1]['jinmaitwoqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['guoxiaotwoqmkc']+tjfxbList[n-1]['jinmaitwoqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['guoxiaooneqmkc'] +tjfxbList[n-1]['jinmaioneqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['guoxiaooneqmkc'] +tjfxbList[n-1]['jinmaioneqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['guoxiaooneqmkc'] +tjfxbList[n-1]['jinmaioneqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['guoxiaooneqmkc']+tjfxbList[n-1]['jinmaioneqmkc']}} -->
					 </span>
				   </td> 
				   <td>
				   	 <span>
						{{String(tjfxbList[n-1]['guoxiaodqmkc'] +tjfxbList[n-1]['jinmaidqmkc']).indexOf(".") > -1
						? Number(tjfxbList[n-1]['guoxiaodqmkc'] +tjfxbList[n-1]['jinmaidqmkc']).toLocaleString(undefined, {
							  minimumFractionDigits: 3,
							  maximumFractionDigits: 3,
							})
						  : Number(tjfxbList[n-1]['guoxiaodqmkc'] +tjfxbList[n-1]['jinmaidqmkc']).toLocaleString()}}
					 <!-- {{tjfxbList[n-1]['guoxiaodqmkc']+tjfxbList[n-1]['jinmaidqmkc']}} -->
					 </span>
				   </td> 
				   <!-- 调节期末库存结束 -->
			  </tr>
		  </tbody>
		</table>
	  <div style="margin-top: 20px;"></div>
		  <el-row>
		 		   <el-form-item label="制表" label-width="80px">
		 		     <el-input clearable readonly v-model="formInline.summarized" placeholder="请输入"></el-input>
		 		   </el-form-item>
		 		   <el-form-item label="汇总时间" label-width="80px">
		 			   <el-date-picker
		 			   :readonly="type != 'sc'"
		 				 v-model="formInline.summarydate "
		 				 type="date"
		 				 placeholder="选择时间"
		 				 format="yyyy-MM-dd"
		 				 value-format="yyyy-MM-dd">
		 				</el-date-picker>
		 		   </el-form-item>
		  </el-row> 
	  <!-- </div> -->

      <div style="text-align: center; margin-top: 20px">
       <el-button type="primary" :loading="stateLoading" @click="saveZc('','formInline','1')" size="small" class="iconfont icongaizhang"
       	v-if="type == 'sc'">保存</el-button>
		<!-- <el-button type="primary" :loading="stateLoading" @click="saveZc('','formInline','2')" size="small" class="iconfont iconbohui"
			v-if="type != 'ck' && (formInline.status == '90100000' || formInline.status == '91000200')">驳回</el-button>
       <el-button type="primary" @click="saveZc('','formInline','4')" size="small" class="iconfont iconbohui"
       	v-if="type != 'ck' && formInline.status == '91000201' ">撤销</el-button> -->
        <el-button
          type="primary"
          class="iconfont icondaochu11"
          @click="exportExcel"
          >导出</el-button
        >
		<el-button @click="cancelClick" type="primary"
          icon="iconfont iconfanhui">返回</el-button>
      </div>

    </el-form>
  </div>
</template>

<script>
  import {
    riceReportSummaryId,riceReportSummarySC,riceReportSummarySave
  } from "@/api/riceMonthReport/index";
  import {
    findAllStatistics,findTiaoAllStatistics,
	findStatistics,findFeiStatistics,SumsetDetails,
	createDetails,hzbseeCALL,fxbseeALL
  } from "@/api/productionYear/index";
  import * as XLSX from "xlsx";
  import * as XLSXS from "xlsx-style";
  import FileSaver from "file-saver";
  import {dateFormat} from '@/utils/index'
  export default{
    data() {
      return {
		  activeName:'hzb',
		  nowYear: this.$route.query.reportMonth.substr(0,4),
		  qyhj:[
			  {
				  hzhj:null,
				  hzxm:null,
				  hzdg:null,
				  hzmf:null,
				  hzdm:null,
				  hzddy:null,
				  ftjhzhj:null,
				  ftjhzxm:null,
				  ftjhzdg:null,
				  ftjhzmf:null,
				  ftjhzdm:null,
				  ftjhzddy:null,
				  tjhzhj:null,
				  tjhzxm:null,
				  tjhzdg:null,
			  },
		  ],
		qmkcftjList:[
		],
		qmkctjList:[
		],
        stateLoading:false,
        type:this.$route.query.type,
        formInline:{
			hzqs:this.$route.query.reportMonth,
			// hzri:dateFormat(new Date()),
          orgCode:sessionStorage.getItem("orgCode"),
          orgName: sessionStorage.getItem("orgName"),
		  summarydate:dateFormat(new Date()),
		  summarized:sessionStorage.getItem("userName"),
        },
		fxbHjhz:[
			{
				"xiaoqmkc": 0,//小麦  //小计
				"xiaodqmkc": 0,
				"xiaooneqmkc": 0,
				"xiaotwoqmkc": 0,
				"xiaothreeqmkc": 0,
				"xiaofourqmkc": 0,
				"xiaofiveqmkcs": 0,
				"dadouqmkc": 0,
				"dadoudqmkc": 0,
				"dadouoneqmkc": 0,
				"dadoutwoqmkc": 0,
				"dadouthreeqmkc": 0,
				"dadoufourqmkc": 0,
				"daoguqmkc": 0,
				"daogudqmkc": 0,
				"daoguoneqmkc": 0,
				"daogutwoqmkc": 0,
				"daoguthreeqmkc": 0,
				"daogufourqmkc": 0,
				"damiqmkc": 0,
				"damidqmkc": 0,
				"damioneqmkc": 0,
				"damitwoqmkc": 0,
				"damithreeqmkc": 0,
				"damifourqmkc": 0,
				"mianfenqmkc": 0,
				"mianfendqmkc": 0,
				"mianfenoneqmkc": 0,
				"mianfentwoqmkc": 0,
				"mianfenthreeqmkc": 0,
				"mianfenfourqmkc": 0,
				"aomaiqmkc": 0,
				"aomaidqmkc": 0,
				"aomaioneqmkc": 0,
				"aomaitwoqmkc": 0,
				"aomaithreeqmkc": 0,
				"aomaifourqmkc": 0,
				"aomaifiveqmkcs": 0,
				"jiamaiqmkc": 0,
				"jiamaidqmkc": 0,
				"jiamaioneqmkc": 0,
				"jiamaitwoqmkc": 0,
				"jiamaithreeqmkc": 0,
				"jiamaifourqmkc": 0,
				"jiamaifiveqmkcs": 0,
				"meimaiqmkc": 0,
				"meimaidqmkc": 0,
				"meimaioneqmkc": 0,
				"meimaitwoqmkc": 0,
				"meimaithreeqmkc": 0,
				"meimaifourqmkc": 0,
				"meimaifiveqmkcs": 0,
				"baimaiqmkc": 0,
				"baimaidqmkc": 0,
				"baimaioneqmkc": 0,
				"baimaitwoqmkc": 0,
				"baimaithreeqmkc": 0,
				"baimaifourqmkc": 0,
				"baimaifiveqmkcs": 0,
				"hongmaiqmkc": 0,
				"hongmaidqmkc": 0,
				"hongmaioneqmkc": 0,
				"hongmaitwoqmkc": 0,
				"hongmaithreeqmkc": 0,
				"hongmaifourqmkc": 0,
				"hongmaifiveqmkcs": 0,
				"tjxiaoqmkc": 0,//小麦  //小计
				"tjxiaodqmkc": 0,
				"tjxiaooneqmkc": 0,
				"tjxiaotwoqmkc": 0,
				"tjxiaothreeqmkc": 0,
				"tjxiaofourqmkc": 0,
				"tjxiaofiveqmkcs": 0,
				"tjdaoguqmkc": 0,
				"tjdaogudqmkc": 0,
				"tjdaoguoneqmkc": 0,
				"tjdaogutwoqmkc": 0,
				"tjdaoguthreeqmkc": 0,
				"tjdaogufourqmkc": 0,
			}
		],
		tjfxbList:[],
		ftjfxbList:[],
      }

    },
    created(){
      // if(this.$route.query.type == 'ck'){
      //   this.hzbDeatail()
      // }else 
	  if(this.$route.query.type == 'sc'){
		  this.getFtjQmkchj()
		  this.getTjfxbData()
      }else{
		  this.hzbDeatail()
	  }
	 
    },
    methods:{
		//tab切换
		handletabClick(e){
			this.activeName=e.name
			// this.getJxcInfo()
		},
      cancelClick(){
        this.$router.push({
          name: "productionYearIndex",
        });
      },
	  //非调节汇总表
	  getFtjQmkchj(){
		  var data={
			  hzqs:this.$route.query.reportMonth
		  }
		  findAllStatistics(data).then(res =>{
			  var n=1
			  // var obj=this.qmkcftjList[n]['sskdmc']
			  // console.log(obj)
			 // console.log(this.qmkcftjList[n]['sskdmc'])
			  if(res.infoCode== 200){
				  this.qmkcftjList=res.data
				  this.getTjQmkchj()
			  } 
		  })
	  },
	  //调节汇总表
	  getTjQmkchj(){
		  var data={
		  	 hzqs:this.$route.query.reportMonth
		  }
		  findTiaoAllStatistics(data).then(res =>{
			  if(res.infoCode== 200){
				  let tjarr=[]
				  this.qmkctjList=res.data
				  let arrs=[...this.qmkctjList,...this.qmkcftjList]
				  let maps=new Map()
				  let ftjarr=[]
				  for(let items of arrs){
					  if(!maps.has(items.sskdmc)){
						  maps.set(items.sskdmc,items)
					  }
				  }
				  let newArr=[...maps.values()]
				  console.log(newArr,'ttttttttttttt')
				    newArr.map((item) => {
				      let bool= this.qmkctjList.findIndex((it) => {
				        return item.sskdmc == it.sskdmc
				      })
					  console.log(bool,'bool----------------')
				     if (bool !== -1) {
						 console.log(this.qmkctjList[bool],'uuuuu---')
				        item.isdelete = false
						tjarr.push(this.qmkctjList[bool])
				      } else {
						 tjarr.push({
							"id": null,
							"pzmc": null,
							"sskdmc": item.sskdmc,
							"heji": null,
							"daoheji": null,
							"xiaoheji": null,
							"mianheji": null,
							"miheji": null,
							"dadouheji":null,
						}) 
				       item.isdelete = true
				     }
					 // console.log(tjarr,'hhgghhw---------------')
				    })
					this.qmkctjList=tjarr
					// console.log(this.qmkctjList,'hhhhhhhhhh')
					newArr.map((fitem) => {
						// console.log(this.qmkcftjList,'jjjjjjjjjjjjjj')
					  let fbool= this.qmkcftjList.findIndex((fit) => {
					    return fitem.sskdmc == fit.sskdmc
					  })
					  console.log(fbool,'bool----------------')
					 if (fbool !== -1) {
						 console.log(this.qmkcftjList[fbool],'uuuuu---')
					    fitem.isdelete = false
						ftjarr.push(this.qmkcftjList[fbool])
					  } else {
						 ftjarr.push({
							"id": null,
							"pzmc": null,
							"sskdmc": fitem.sskdmc,
							"heji": null,
							"daoheji": null,
							"xiaoheji": null,
							"mianheji": null,
							"miheji": null,
							"dadouheji":null,
						}) 
					   fitem.isdelete = true
					   
					 }
					 console.log(ftjarr,'hhgghhw---------------')
					})
					this.qmkcftjList=ftjarr
					console.log(this.qmkctjList,'hfhhhfghdhhhhhhhhhhhh=======')
					console.log(this.qmkcftjList,'hfhhhfghdhhhhhhhhhhhh=======')
				  this.qmkctjList.forEach((item,index) =>{
					  this.qmkcftjList.forEach((val,indexs) =>{
						  if(item.sskdmc == val.sskdmc){
							  console.log(val.xiaoheji)
							  this.qyhj[0].hzhj+=item.heji+val.heji
							  this.qyhj[0].hzxm+=item.xiaoheji+val.xiaoheji
							  this.qyhj[0].hzdg+=item.daoheji+val.daoheji
							  this.qyhj[0].hzmf+=val.mianheji
							  this.qyhj[0].hzdm+=val.miheji
							  this.qyhj[0].hzddy+=val.dadouheji
							  this.qyhj[0].ftjhzhj+=val.heji
							  this.qyhj[0].ftjhzxm+=val.xiaoheji
							  this.qyhj[0].ftjhzdg+=val.daoheji
							  this.qyhj[0].ftjhzmf+=val.mianheji
							  this.qyhj[0].ftjhzdm+=val.miheji
							  this.qyhj[0].ftjhzddy+=val.dadouheji
							  // this.qyhj[0].ftjhzddy+=val.heji
							  this.qyhj[0].tjhzhj+=item.heji
							  this.qyhj[0].tjhzxm+=item.xiaoheji
							  this.qyhj[0].tjhzdg+=item.daoheji
							  console.log(item,val,'3333333333333333')
							  console.log( this.qyhj[0].hzxm,'uuttrr8------------')
						  }else{
							  
						  }
					  })
				  })
			  				  
			  } 
		  })
	  },
	  //非调节分项表
	  getTjfxbData(){
		  var data={
		  	 hzqs:this.$route.query.reportMonth
		  }
		findFeiStatistics(data).then(res =>{
			if(res.infoCode == 200){
				this.ftjfxbList=res.data
				this.gettjfxbData()
			}
		})
	  },
	  //调节分项表
	  gettjfxbData(){
		  var data={
		  	 hzqs:this.$route.query.reportMonth
		  }
		  findStatistics(data).then(res =>{
			 if(res.infoCode == 200){
			 	this.tjfxbList=res.data
				let fxtjarr=[]
				let fxbarrs=[...this.tjfxbList,...this.ftjfxbList]
				let fxmaps=new Map()
				let fxftjarr=[]
				for(let items of fxbarrs){
				  if(!fxmaps.has(items.sskdmc)){
					  fxmaps.set(items.sskdmc,items)
				  }
				}
				let newArrfxb=[...fxmaps.values()]
				console.log(newArrfxb,'ttttttttttttt')
				  newArrfxb.map((item) => {
				    let bool= this.ftjfxbList.findIndex((it) => {
				      return item.sskdmc == it.sskdmc
				    })
				   if (bool !== -1) {
				      item.isdelete = false
					  fxftjarr.push(this.ftjfxbList[bool])
				    } else {
						 fxftjarr.push({
						  "id": "",
						  "sskdmc": item.sskdmc,
						  "xiaoqmkc": 0,//小麦  //小计
						  "xiaodqmkc": 0,
						  "xiaooneqmkc": 0,
						  "xiaotwoqmkc": 0,
						  "xiaothreeqmkc": 0,
						  "xiaofourqmkc": 0,
						  "xiaofiveqmkcs": 0,
						  "guoxiaoqmkc": 0,//国产小麦
						  "guoxiaodqmkc": 0,
						  "guoxiaooneqmkc": 0,
						  "guoxiaotwoqmkc": 0,
						  "guoxiaothreeqmkc": 0,
						  "guoxiaofourqmkc": 0,
						  "guoxiaofiveqmkcs": 0,
						  "dadouqmkc": 0,
						  "dadoudqmkc": 0,
						  "dadouoneqmkc": 0,
						  "dadoutwoqmkc": 0,
						  "dadouthreeqmkc": 0,
						  "dadoufourqmkc": 0,
						  "daoguqmkc": 0,
						  "daogudqmkc": 0,
						  "daoguoneqmkc": 0,
						  "daogutwoqmkc": 0,
						  "daoguthreeqmkc": 0,
						  "daogufourqmkc": 0,
						  "damiqmkc": 0,
						  "damidqmkc": 0,
						  "damioneqmkc": 0,
						  "damitwoqmkc": 0,
						  "damithreeqmkc": 0,
						  "damifourqmkc": 0,
						  "mianfenqmkc": 0,
						  "mianfendqmkc": 0,
						  "mianfenoneqmkc": 0,
						  "mianfentwoqmkc": 0,
						  "mianfenthreeqmkc": 0,
						  "mianfenfourqmkc": 0,
						  "aomaiqmkc": 0,
						  "aomaidqmkc": 0,
						  "aomaioneqmkc": 0,
						  "aomaitwoqmkc": 0,
						  "aomaithreeqmkc": 0,
						  "aomaifourqmkc": 0,
						  "aomaifiveqmkcs": 0,
						  "jiamaiqmkc": 0,
						  "jiamaidqmkc": 0,
						  "jiamaioneqmkc": 0,
						  "jiamaitwoqmkc": 0,
						  "jiamaithreeqmkc": 0,
						  "jiamaifourqmkc": 0,
						  "jiamaifiveqmkcs": 0,
						  "meimaiqmkc": 0,
						  "meimaidqmkc": 0,
						  "meimaioneqmkc": 0,
						  "meimaitwoqmkc": 0,
						  "meimaithreeqmkc": 0,
						  "meimaifourqmkc": 0,
						  "meimaifiveqmkcs": 0,
						  "jinmaiqmkc": 0,//进口小麦 
						  "jinmaidqmkc": 0,
						  "jinmaioneqmkc": 0,
						  "jinmaitwoqmkc": 0,
						  "jinmaithreeqmkc": 0,
						  "jinmaifourqmkc": 0,
						  "jinmaifiveqmkcs": 0,
						  "baimaiqmkc": 0,
						  "baimaidqmkc": 0,
						  "baimaioneqmkc": 0,
						  "baimaitwoqmkc": 0,
						  "baimaithreeqmkc": 0,
						  "baimaifourqmkc": 0,
						  "baimaifiveqmkcs": 0,
						  "hongmaiqmkc": 0,
						  "hongmaidqmkc": 0,
						  "hongmaioneqmkc": 0,
						  "hongmaitwoqmkc": 0,
						  "hongmaithreeqmkc": 0,
						  "hongmaifourqmkc": 0,
						  "hongmaifiveqmkcs": 0,
						  "status": 1,
						  "rotateType": 2,
						  "hzqs":this.$route.query.reportMonth
						}) 
				     item.isdelete = true
				   }
									 // console.log(tjarr,'hhgghhw---------------')
				  })
				this.ftjfxbList=fxftjarr
				console.log(this.ftjfxbList,'hhhhhhhhhh')
				newArrfxb.map((fitem) => {
					// console.log(this.qmkcftjList,'jjjjjjjjjjjjjj')
				  let fbool= this.tjfxbList.findIndex((fit) => {
					return fitem.sskdmc == fit.sskdmc
				  })
				  console.log(fbool,'bool----------------')
				 if (fbool !== -1) {
					 console.log(this.tjfxbList[fbool],'uuuuu---')
					fitem.isdelete = false
					fxtjarr.push(this.tjfxbList[fbool])
				  } else {
					 fxtjarr.push({
						"id": "",
						"sskdmc": fitem.sskdmc,
						"xiaoqmkc": 0,//小麦  //小计
						"xiaodqmkc": 0,
						"xiaooneqmkc": 0,
						"xiaotwoqmkc": 0,
						"xiaothreeqmkc": 0,
						"xiaofourqmkc": 0,
						"xiaofiveqmkcs": 0,
						"guoxiaoqmkc": 0,//国产小麦
						"guoxiaodqmkc": 0,
						"guoxiaooneqmkc": 0,
						"guoxiaotwoqmkc": 0,
						"guoxiaothreeqmkc": 0,
						"guoxiaofourqmkc": 0,
						"guoxiaofiveqmkcs": 0,
						"dadouqmkc": 0,
						"dadoudqmkc": 0,
						"dadouoneqmkc": 0,
						"dadoutwoqmkc": 0,
						"dadouthreeqmkc": 0,
						"dadoufourqmkc": 0,
						"daoguqmkc": 0,
						"daogudqmkc": 0,
						"daoguoneqmkc": 0,
						"daogutwoqmkc": 0,
						"daoguthreeqmkc": 0,
						"daogufourqmkc": 0,
						"damiqmkc": 0,
						"damidqmkc": 0,
						"damioneqmkc": 0,
						"damitwoqmkc": 0,
						"damithreeqmkc": 0,
						"damifourqmkc": 0,
						"mianfenqmkc": 0,
						"mianfendqmkc": 0,
						"mianfenoneqmkc": 0,
						"mianfentwoqmkc": 0,
						"mianfenthreeqmkc": 0,
						"mianfenfourqmkc": 0,
						"aomaiqmkc": 0,
						"aomaidqmkc": 0,
						"aomaioneqmkc": 0,
						"aomaitwoqmkc": 0,
						"aomaithreeqmkc": 0,
						"aomaifourqmkc": 0,
						"aomaifiveqmkcs": 0,
						"jiamaiqmkc": 0,
						"jiamaidqmkc": 0,
						"jiamaioneqmkc": 0,
						"jiamaitwoqmkc": 0,
						"jiamaithreeqmkc": 0,
						"jiamaifourqmkc": 0,
						"jiamaifiveqmkcs": 0,
						"meimaiqmkc": 0,
						"meimaidqmkc": 0,
						"meimaioneqmkc": 0,
						"meimaitwoqmkc": 0,
						"meimaithreeqmkc": 0,
						"meimaifourqmkc": 0,
						"meimaifiveqmkcs": 0,
						"jinmaiqmkc": 0,//进口小麦 
						"jinmaidqmkc": 0,
						"jinmaioneqmkc": 0,
						"jinmaitwoqmkc": 0,
						"jinmaithreeqmkc": 0,
						"jinmaifourqmkc": 0,
						"jinmaifiveqmkcs": 0,
						"baimaiqmkc": 0,
						"baimaidqmkc": 0,
						"baimaioneqmkc": 0,
						"baimaitwoqmkc": 0,
						"baimaithreeqmkc": 0,
						"baimaifourqmkc": 0,
						"baimaifiveqmkcs": 0,
						"hongmaiqmkc": 0,
						"hongmaidqmkc": 0,
						"hongmaioneqmkc": 0,
						"hongmaitwoqmkc": 0,
						"hongmaithreeqmkc": 0,
						"hongmaifourqmkc": 0,
						"hongmaifiveqmkcs": 0,
						"status": 1,
						"rotateType": 2,
						"hzqs":this.$route.query.reportMonth
					}) 
				   fitem.isdelete = true
				   
				 }
				 // console.log(ftjarr,'hhgghhw---------------')
				})
				this.tjfxbList=fxtjarr
				
				//合计
				console.log(this.ftjfxbList,'this.ftjfxbList')
				  this.ftjfxbList.forEach((item,indexs) =>{
					  this.fxbHjhz[0].xiaoqmkc+=item.xiaoqmkc
					  this.fxbHjhz[0].xiaodqmkc+=item.xiaodqmkc
					  this.fxbHjhz[0].xiaooneqmkc+=item.xiaooneqmkc
					  this.fxbHjhz[0].xiaotwoqmkc+=item.xiaotwoqmkc
					  this.fxbHjhz[0].xiaothreeqmkc+=item.xiaothreeqmkc
					  this.fxbHjhz[0].xiaofourqmkc+=item.xiaofourqmkc
					  this.fxbHjhz[0].xiaofiveqmkcs+=item.xiaofiveqmkcs
					  
					  this.fxbHjhz[0].dadouqmkc+=item.dadouqmkc
					  this.fxbHjhz[0].dadoudqmkc+=item.dadoudqmkc
					  this.fxbHjhz[0].dadouoneqmkc+=item.dadouoneqmkc
					  this.fxbHjhz[0].dadoutwoqmkc+=item.dadoutwoqmkc
					  this.fxbHjhz[0].dadouthreeqmkc+=item.dadouthreeqmkc
					  // this.fxbHjhz[0].dadoufourqmkc+=item.dadoufourqmkc
					  // this.fxbHjhz[0].dadoufourqmkc+=item.dadoufourqmkc
					  this.fxbHjhz[0].daoguqmkc+=item.daoguqmkc
					  this.fxbHjhz[0].daogudqmkc+=item.daogudqmkc
					  this.fxbHjhz[0].daoguoneqmkc+=item.daoguoneqmkc
					  this.fxbHjhz[0].daogutwoqmkc+=item.daogutwoqmkc
					  this.fxbHjhz[0].daoguthreeqmkc+=item.daoguthreeqmkc
					  // this.fxbHjhz[0].daogufourqmkc+=item.daogufourqmkc
					  // this.fxbHjhz[0].daogufourqmkc+=item.daogufourqmkc
					  this.fxbHjhz[0].damiqmkc+=item.damiqmkc
					  this.fxbHjhz[0].damidqmkc+=item.damidqmkc
					  this.fxbHjhz[0].damioneqmkc+=item.damioneqmkc
					  this.fxbHjhz[0].damitwoqmkc+=item.damitwoqmkc
					  this.fxbHjhz[0].damithreeqmkc+=item.damithreeqmkc
					  // this.fxbHjhz[0].damifourqmkc+=item.damifourqmkc
					  // this.fxbHjhz[0].damifourqmkc+=item.damifourqmkc
					  this.fxbHjhz[0].mianfenqmkc+=item.mianfenqmkc
					  this.fxbHjhz[0].mianfendqmkc+=item.mianfendqmkc
					  this.fxbHjhz[0].mianfenoneqmkc+=item.mianfenoneqmkc
					  this.fxbHjhz[0].mianfentwoqmkc+=item.mianfentwoqmkc
					  this.fxbHjhz[0].mianfenthreeqmkc+=item.mianfenthreeqmkc
					  // this.fxbHjhz[0].mianfenfourqmkc+=item.mianfenfourqmkc
					  // this.fxbHjhz[0].mianfenfourqmkc+=item.mianfenfourqmkc
					  this.fxbHjhz[0].aomaiqmkc+=item.aomaiqmkc
					  this.fxbHjhz[0].aomaidqmkc+=item.aomaidqmkc
					  this.fxbHjhz[0].aomaioneqmkc+=item.aomaioneqmkc
					  this.fxbHjhz[0].aomaitwoqmkc+=item.aomaitwoqmkc
					  this.fxbHjhz[0].aomaithreeqmkc+=item.aomaithreeqmkc
					  this.fxbHjhz[0].aomaifourqmkc+=item.aomaifourqmkc
					  this.fxbHjhz[0].aomaifiveqmkcs+=item.aomaifiveqmkcs
					  this.fxbHjhz[0].jiamaiqmkc+=item.jiamaiqmkc
					  this.fxbHjhz[0].jiamaidqmkc+=item.jiamaidqmkc
					  this.fxbHjhz[0].jiamaioneqmkc+=item.jiamaioneqmkc
					  this.fxbHjhz[0].jiamaitwoqmkc+=item.jiamaitwoqmkc
					  this.fxbHjhz[0].jiamaithreeqmkc+=item.jiamaithreeqmkc
					  this.fxbHjhz[0].jiamaifourqmkc+=item.jiamaifourqmkc
					  this.fxbHjhz[0].jiamaifiveqmkcs+=item.jiamaifiveqmkcs
					  this.fxbHjhz[0].meimaiqmkc+=item.meimaiqmkc
					  this.fxbHjhz[0].meimaidqmkc+=item.meimaidqmkc
					  this.fxbHjhz[0].meimaioneqmkc+=item.meimaioneqmkc
					  this.fxbHjhz[0].meimaitwoqmkc+=item.meimaitwoqmkc
					  this.fxbHjhz[0].meimaithreeqmkc+=item.meimaithreeqmkc
					  this.fxbHjhz[0].meimaifourqmkc+=item.meimaifourqmkc
					  this.fxbHjhz[0].meimaifiveqmkcs+=item.meimaifiveqmkcs
					  this.fxbHjhz[0].baimaiqmkc+=item.baimaiqmkc
					  this.fxbHjhz[0].baimaidqmkc+=item.baimaidqmkc
					  this.fxbHjhz[0].baimaioneqmkc+=item.baimaioneqmkc
					  this.fxbHjhz[0].baimaitwoqmkc+=item.baimaitwoqmkc
					  this.fxbHjhz[0].baimaithreeqmkc+=item.baimaithreeqmkc
					  this.fxbHjhz[0].baimaifourqmkc+=item.baimaifourqmkc
					  this.fxbHjhz[0].baimaifiveqmkcs+=item.baimaifiveqmkcs
					  this.fxbHjhz[0].hongmaiqmkc+=item.hongmaiqmkc
					  this.fxbHjhz[0].hongmaidqmkc+=item.hongmaidqmkc
					  this.fxbHjhz[0].hongmaioneqmkc+=item.hongmaioneqmkc
					  this.fxbHjhz[0].hongmaitwoqmkc+=item.hongmaitwoqmkc
					  this.fxbHjhz[0].hongmaithreeqmkc+=item.hongmaithreeqmkc
					  this.fxbHjhz[0].hongmaifourqmkc+=item.hongmaifourqmkc
					  this.fxbHjhz[0].hongmaifiveqmkcs+=item.hongmaifiveqmkcs
				  })
				  console.log( this.tjfxbList,' this.tjfxbList-------------------')
				  this.tjfxbList.forEach((val,index) =>{
					  console.log(val,'666666666666666')
					this.fxbHjhz[0].tjdaoguqmkc+=val.daoguqmkc
					this.fxbHjhz[0].tjdaogudqmkc+=val.daogudqmkc
					this.fxbHjhz[0].tjdaoguoneqmkc+=val.daoguoneqmkc
					this.fxbHjhz[0].tjdaogutwoqmkc+=val.daogutwoqmkc
					this.fxbHjhz[0].tjdaoguthreeqmkc+=val.daoguthreeqmkc
					this.fxbHjhz[0].tjxiaoqmkc+=val.guoxiaoqmkc+val.jinmaiqmkc
					this.fxbHjhz[0].tjxiaodqmkc+=val.guoxiaodqmkc+val.jinmaidqmkc
					this.fxbHjhz[0].tjxiaooneqmkc+=val.guoxiaooneqmkc+val.jinmaioneqmkc
					this.fxbHjhz[0].tjxiaotwoqmkc+=val.guoxiaotwoqmkc+val.jinmaitwoqmkc
					this.fxbHjhz[0].tjxiaothreeqmkc+=val.guoxiaothreeqmkc+val.jinmaithreeqmkc
					this.fxbHjhz[0].tjxiaofourqmkc+=val.guoxiaofourqmkc+val.jinmaifourqmkc
					this.fxbHjhz[0].tjxiaofiveqmkcs+=val.guoxiaofiveqmkcs+val.jinmaifiveqmkcs
				  })
				  // console.log(this.fxbHjhz[0].xiaoqmkc.toString())
			 }
		  })
	  },
      saveZc(type,formName,shtype,sussInfo,errInfo){
        console.log('66555-==============')
		var data=this.formInline
		// data.tjfxbList=this.tjfxbList
		// data.ftjfxbList=this.ftjfxbList
		data.feiqmkc=this.qyhj[0].ftjhzhj
		data.tiaoqmkc=this.qyhj[0].tjhzhj
		data.qmkc=this.qyhj[0].hzhj
        this.$refs[formName].validate((valid) => {
          if (valid) {
			  SumsetDetails(data).then(res =>{
			    if(res.infoCode == 200){
			      this.$message({
			        message: "保存成功",
			        type: "success",
			      });
			      this.$router.push({
			        name: "productionYearIndex",
			      });
			    }else{
			      this.$message.error(res.msg);
			    }
			  })
          }
        })

      },
	    // getJxcInfo() {
	    //   var data = {
	    //     hzqs :this.$route.query.reportMonth,
	    //   };
	    //   createDetails(data).then((res) => {
	    //     if (res.infoCode == 200) {
	    //       // this.formInline.id=this.$route.query.id
	    //       this.formInline = res.data;
			  // if(this.type == 'sc'){
				 //  console.log(sessionStorage.getItem("userName"))
			  // 	this.formInline.summaryDay=dateFormat(new Date())
			  // 	this.formInline.lister=sessionStorage.getItem("userName")
			  // }
			  // this.hzbDeatail()
			  // this.fxbDeatail()
	    //     }
	    //   });
	    // },
		hzbDeatail(){
			var data = {
			  hzqs :this.$route.query.reportMonth,
			};
			hzbseeCALL(data).then(res =>{
				if(res.infoCode == 200){
					 this.fxbDeatail()
					this.formInline = res.data;
					this.formInline.hzqs=this.$route.query.reportMonth
					if(this.type == 'sc'){
						console.log(sessionStorage.getItem("userName"))
						this.formInline.summaryDay=dateFormat(new Date())
						this.formInline.lister=sessionStorage.getItem("userName")
					}
					this.qmkcftjList=res.data.feiCountList
					this.qmkctjList=res.data.tiaoCountList
					let tjarr=[]
					let arrs=[...this.qmkctjList,...this.qmkcftjList]
					let maps=new Map()
					let ftjarr=[]
					for(let items of arrs){
					  if(!maps.has(items.sskdmc)){
						  maps.set(items.sskdmc,items)
					  }
					}
					let newArr=[...maps.values()]
					console.log(newArr,'ttttttttttttt')
					  newArr.map((item) => {
					    let bool= this.qmkctjList.findIndex((it) => {
					      return item.sskdmc == it.sskdmc
					    })
						  console.log(bool,'bool----------------')
					   if (bool !== -1) {
						  console.log(this.qmkctjList[bool],'uuuuu---')
					      item.isdelete = false
						  tjarr.push(this.qmkctjList[bool])
					    } else {
						 tjarr.push({
							"id": null,
							"pzmc": null,
							"sskdmc": item.sskdmc,
							"heji": null,
							"daoheji": null,
							"xiaoheji": null,
							"mianheji": null,
							"miheji": null,
							"dadouheji":null,
						}) 
					     item.isdelete = true
					   }
										 // console.log(tjarr,'hhgghhw---------------')
					  })
					this.qmkctjList=tjarr
					// console.log(this.qmkctjList,'hhhhhhhhhh')
					newArr.map((fitem) => {
						// console.log(this.qmkcftjList,'jjjjjjjjjjjjjj')
					  let fbool= this.qmkcftjList.findIndex((fit) => {
						return fitem.sskdmc == fit.sskdmc
					  })
					  console.log(fbool,'bool----------------')
					 if (fbool !== -1) {
						 console.log(this.qmkcftjList[fbool],'uuuuu---')
						fitem.isdelete = false
						ftjarr.push(this.qmkcftjList[fbool])
					  } else {
						 ftjarr.push({
							"id": null,
							"pzmc": null,
							"sskdmc": fitem.sskdmc,
							"heji": null,
							"daoheji": null,
							"xiaoheji": null,
							"mianheji": null,
							"miheji": null,
							"dadouheji":null,
						}) 
					   fitem.isdelete = true
					   
					 }
					 console.log(ftjarr,'hhgghhw---------------')
					})
					this.qmkcftjList=ftjarr
					console.log(this.qmkctjList,'hfhhhfghdhhhhhhhhhhhh=======')
					console.log(this.qmkcftjList,'hfhhhfghdhhhhhhhhhhhh=======')
                    this.qmkctjList.forEach((item,index) =>{
					  this.qmkcftjList.forEach((val,indexs) =>{
						  if(item.sskdmc == val.sskdmc){
							  console.log(val.xiaoheji)
							  this.qyhj[0].hzhj+=item.heji+val.heji
							  this.qyhj[0].hzxm+=item.xiaoheji+val.xiaoheji
							  this.qyhj[0].hzdg+=item.daoheji+val.daoheji
							  this.qyhj[0].hzmf+=val.mianheji
							  this.qyhj[0].hzdm+=val.miheji
							  this.qyhj[0].hzddy+=val.dadouheji
							  this.qyhj[0].ftjhzhj+=val.heji
							  this.qyhj[0].ftjhzxm+=val.xiaoheji
							  this.qyhj[0].ftjhzdg+=val.daoheji
							  this.qyhj[0].ftjhzmf+=val.mianheji
							  this.qyhj[0].ftjhzdm+=val.miheji
							  this.qyhj[0].ftjhzddy+=val.dadouheji
							  // this.qyhj[0].ftjhzddy+=val.heji
							  this.qyhj[0].tjhzhj+=item.heji
							  this.qyhj[0].tjhzxm+=item.xiaoheji
							  this.qyhj[0].tjhzdg+=item.daoheji
							  console.log(item,val,'3333333333333333')
							  console.log( this.qyhj[0].hzxm,'uuttrr8------------')
						  }else{
							  
						  }
					  })
					})
				}
			})
		},
		fxbDeatail(){
			var data = {
			  hzqs :this.$route.query.reportMonth,
			};
			fxbseeALL(data).then(res =>{
				if(res.infoCode == 200){
					this.tjfxbList=res.data.tiaoList
					this.ftjfxbList=res.data.feiList
					let fxtjarr=[]
					let fxbarrs=[...this.tjfxbList,...this.ftjfxbList]
					let fxmaps=new Map()
					let fxftjarr=[]
					for(let items of fxbarrs){
					  if(!fxmaps.has(items.sskdmc)){
						  fxmaps.set(items.sskdmc,items)
					  }
					}
					let newArrfxb=[...fxmaps.values()]
					console.log(newArrfxb,'ttttttttttttt')
					  newArrfxb.map((item) => {
					    let bool= this.ftjfxbList.findIndex((it) => {
					      return item.sskdmc == it.sskdmc
					    })
					   if (bool !== -1) {
					      item.isdelete = false
						  fxftjarr.push(this.ftjfxbList[bool])
					    } else {
							 fxftjarr.push({
							  "id": "",
							  "sskdmc": item.sskdmc,
							  "xiaoqmkc": 0,//小麦  //小计
							  "xiaodqmkc": 0,
							  "xiaooneqmkc": 0,
							  "xiaotwoqmkc": 0,
							  "xiaothreeqmkc": 0,
							  "xiaofourqmkc": 0,
							  "xiaofiveqmkcs": 0,
							  "guoxiaoqmkc": 0,//国产小麦
							  "guoxiaodqmkc": 0,
							  "guoxiaooneqmkc": 0,
							  "guoxiaotwoqmkc": 0,
							  "guoxiaothreeqmkc": 0,
							  "guoxiaofourqmkc": 0,
							  "guoxiaofiveqmkcs": 0,
							  "dadouqmkc": 0,
							  "dadoudqmkc": 0,
							  "dadouoneqmkc": 0,
							  "dadoutwoqmkc": 0,
							  "dadouthreeqmkc": 0,
							  "dadoufourqmkc": 0,
							  "daoguqmkc": 0,
							  "daogudqmkc": 0,
							  "daoguoneqmkc": 0,
							  "daogutwoqmkc": 0,
							  "daoguthreeqmkc": 0,
							  "daogufourqmkc": 0,
							  "damiqmkc": 0,
							  "damidqmkc": 0,
							  "damioneqmkc": 0,
							  "damitwoqmkc": 0,
							  "damithreeqmkc": 0,
							  "damifourqmkc": 0,
							  "mianfenqmkc": 0,
							  "mianfendqmkc": 0,
							  "mianfenoneqmkc": 0,
							  "mianfentwoqmkc": 0,
							  "mianfenthreeqmkc": 0,
							  "mianfenfourqmkc": 0,
							  "aomaiqmkc": 0,
							  "aomaidqmkc": 0,
							  "aomaioneqmkc": 0,
							  "aomaitwoqmkc": 0,
							  "aomaithreeqmkc": 0,
							  "aomaifourqmkc": 0,
							  "aomaifiveqmkcs": 0,
							  "jiamaiqmkc": 0,
							  "jiamaidqmkc": 0,
							  "jiamaioneqmkc": 0,
							  "jiamaitwoqmkc": 0,
							  "jiamaithreeqmkc": 0,
							  "jiamaifourqmkc": 0,
							  "jiamaifiveqmkcs": 0,
							  "meimaiqmkc": 0,
							  "meimaidqmkc": 0,
							  "meimaioneqmkc": 0,
							  "meimaitwoqmkc": 0,
							  "meimaithreeqmkc": 0,
							  "meimaifourqmkc": 0,
							  "meimaifiveqmkcs": 0,
							  "jinmaiqmkc": 0,//进口小麦 
							  "jinmaidqmkc": 0,
							  "jinmaioneqmkc": 0,
							  "jinmaitwoqmkc": 0,
							  "jinmaithreeqmkc": 0,
							  "jinmaifourqmkc": 0,
							  "jinmaifiveqmkcs": 0,
							  "baimaiqmkc": 0,
							  "baimaidqmkc": 0,
							  "baimaioneqmkc": 0,
							  "baimaitwoqmkc": 0,
							  "baimaithreeqmkc": 0,
							  "baimaifourqmkc": 0,
							  "baimaifiveqmkcs": 0,
							  "hongmaiqmkc": 0,
							  "hongmaidqmkc": 0,
							  "hongmaioneqmkc": 0,
							  "hongmaitwoqmkc": 0,
							  "hongmaithreeqmkc": 0,
							  "hongmaifourqmkc": 0,
							  "hongmaifiveqmkcs": 0,
							  "status": 1,
							  "rotateType": 2,
							  "hzqs":this.$route.query.reportMonth
							}) 
					     item.isdelete = true
					   }
										 // console.log(tjarr,'hhgghhw---------------')
					  })
					this.ftjfxbList=fxftjarr
					console.log(this.ftjfxbList,'hhhhhhhhhh')
					newArrfxb.map((fitem) => {
						// console.log(this.qmkcftjList,'jjjjjjjjjjjjjj')
					  let fbool= this.tjfxbList.findIndex((fit) => {
						return fitem.sskdmc == fit.sskdmc
					  })
					  console.log(fbool,'bool----------------')
					 if (fbool !== -1) {
						 console.log(this.tjfxbList[fbool],'uuuuu---')
						fitem.isdelete = false
						fxtjarr.push(this.tjfxbList[fbool])
					  } else {
						 fxtjarr.push({
							"id": "",
							"sskdmc": fitem.sskdmc,
							"xiaoqmkc": 0,//小麦  //小计
							"xiaodqmkc": 0,
							"xiaooneqmkc": 0,
							"xiaotwoqmkc": 0,
							"xiaothreeqmkc": 0,
							"xiaofourqmkc": 0,
							"xiaofiveqmkcs": 0,
							"guoxiaoqmkc": 0,//国产小麦
							"guoxiaodqmkc": 0,
							"guoxiaooneqmkc": 0,
							"guoxiaotwoqmkc": 0,
							"guoxiaothreeqmkc": 0,
							"guoxiaofourqmkc": 0,
							"guoxiaofiveqmkcs": 0,
							"dadouqmkc": 0,
							"dadoudqmkc": 0,
							"dadouoneqmkc": 0,
							"dadoutwoqmkc": 0,
							"dadouthreeqmkc": 0,
							"dadoufourqmkc": 0,
							"daoguqmkc": 0,
							"daogudqmkc": 0,
							"daoguoneqmkc": 0,
							"daogutwoqmkc": 0,
							"daoguthreeqmkc": 0,
							"daogufourqmkc": 0,
							"damiqmkc": 0,
							"damidqmkc": 0,
							"damioneqmkc": 0,
							"damitwoqmkc": 0,
							"damithreeqmkc": 0,
							"damifourqmkc": 0,
							"mianfenqmkc": 0,
							"mianfendqmkc": 0,
							"mianfenoneqmkc": 0,
							"mianfentwoqmkc": 0,
							"mianfenthreeqmkc": 0,
							"mianfenfourqmkc": 0,
							"aomaiqmkc": 0,
							"aomaidqmkc": 0,
							"aomaioneqmkc": 0,
							"aomaitwoqmkc": 0,
							"aomaithreeqmkc": 0,
							"aomaifourqmkc": 0,
							"aomaifiveqmkcs": 0,
							"jiamaiqmkc": 0,
							"jiamaidqmkc": 0,
							"jiamaioneqmkc": 0,
							"jiamaitwoqmkc": 0,
							"jiamaithreeqmkc": 0,
							"jiamaifourqmkc": 0,
							"jiamaifiveqmkcs": 0,
							"meimaiqmkc": 0,
							"meimaidqmkc": 0,
							"meimaioneqmkc": 0,
							"meimaitwoqmkc": 0,
							"meimaithreeqmkc": 0,
							"meimaifourqmkc": 0,
							"meimaifiveqmkcs": 0,
							"jinmaiqmkc": 0,//进口小麦 
							"jinmaidqmkc": 0,
							"jinmaioneqmkc": 0,
							"jinmaitwoqmkc": 0,
							"jinmaithreeqmkc": 0,
							"jinmaifourqmkc": 0,
							"jinmaifiveqmkcs": 0,
							"baimaiqmkc": 0,
							"baimaidqmkc": 0,
							"baimaioneqmkc": 0,
							"baimaitwoqmkc": 0,
							"baimaithreeqmkc": 0,
							"baimaifourqmkc": 0,
							"baimaifiveqmkcs": 0,
							"hongmaiqmkc": 0,
							"hongmaidqmkc": 0,
							"hongmaioneqmkc": 0,
							"hongmaitwoqmkc": 0,
							"hongmaithreeqmkc": 0,
							"hongmaifourqmkc": 0,
							"hongmaifiveqmkcs": 0,
							"status": 1,
							"rotateType": 2,
							"hzqs":this.$route.query.reportMonth
						}) 
					   fitem.isdelete = true
					   
					 }
					 // console.log(ftjarr,'hhgghhw---------------')
					})
					this.tjfxbList=fxtjarr
					
					//合计
					console.log(this.ftjfxbList,'this.ftjfxbList')
					  this.ftjfxbList.forEach((item,indexs) =>{
						  this.fxbHjhz[0].xiaoqmkc+=item.xiaoqmkc
						  this.fxbHjhz[0].xiaodqmkc+=item.xiaodqmkc
						  this.fxbHjhz[0].xiaooneqmkc+=item.xiaooneqmkc
						  this.fxbHjhz[0].xiaotwoqmkc+=item.xiaotwoqmkc
						  this.fxbHjhz[0].xiaothreeqmkc+=item.xiaothreeqmkc
						  this.fxbHjhz[0].xiaofourqmkc+=item.xiaofourqmkc
						  this.fxbHjhz[0].xiaofiveqmkcs+=item.xiaofiveqmkcs
						  
						  this.fxbHjhz[0].dadouqmkc+=item.dadouqmkc
						  this.fxbHjhz[0].dadoudqmkc+=item.dadoudqmkc
						  this.fxbHjhz[0].dadouoneqmkc+=item.dadouoneqmkc
						  this.fxbHjhz[0].dadoutwoqmkc+=item.dadoutwoqmkc
						  this.fxbHjhz[0].dadouthreeqmkc+=item.dadouthreeqmkc
						  // this.fxbHjhz[0].dadoufourqmkc+=item.dadoufourqmkc
						  // this.fxbHjhz[0].dadoufourqmkc+=item.dadoufourqmkc
						  this.fxbHjhz[0].daoguqmkc+=item.daoguqmkc
						  this.fxbHjhz[0].daogudqmkc+=item.daogudqmkc
						  this.fxbHjhz[0].daoguoneqmkc+=item.daoguoneqmkc
						  this.fxbHjhz[0].daogutwoqmkc+=item.daogutwoqmkc
						  this.fxbHjhz[0].daoguthreeqmkc+=item.daoguthreeqmkc
						  // this.fxbHjhz[0].daogufourqmkc+=item.daogufourqmkc
						  // this.fxbHjhz[0].daogufourqmkc+=item.daogufourqmkc
						  this.fxbHjhz[0].damiqmkc+=item.damiqmkc
						  this.fxbHjhz[0].damidqmkc+=item.damidqmkc
						  this.fxbHjhz[0].damioneqmkc+=item.damioneqmkc
						  this.fxbHjhz[0].damitwoqmkc+=item.damitwoqmkc
						  this.fxbHjhz[0].damithreeqmkc+=item.damithreeqmkc
						  // this.fxbHjhz[0].damifourqmkc+=item.damifourqmkc
						  // this.fxbHjhz[0].damifourqmkc+=item.damifourqmkc
						  this.fxbHjhz[0].mianfenqmkc+=item.mianfenqmkc
						  this.fxbHjhz[0].mianfendqmkc+=item.mianfendqmkc
						  this.fxbHjhz[0].mianfenoneqmkc+=item.mianfenoneqmkc
						  this.fxbHjhz[0].mianfentwoqmkc+=item.mianfentwoqmkc
						  this.fxbHjhz[0].mianfenthreeqmkc+=item.mianfenthreeqmkc
						  // this.fxbHjhz[0].mianfenfourqmkc+=item.mianfenfourqmkc
						  // this.fxbHjhz[0].mianfenfourqmkc+=item.mianfenfourqmkc
						  this.fxbHjhz[0].aomaiqmkc+=item.aomaiqmkc
						  this.fxbHjhz[0].aomaidqmkc+=item.aomaidqmkc
						  this.fxbHjhz[0].aomaioneqmkc+=item.aomaioneqmkc
						  this.fxbHjhz[0].aomaitwoqmkc+=item.aomaitwoqmkc
						  this.fxbHjhz[0].aomaithreeqmkc+=item.aomaithreeqmkc
						  this.fxbHjhz[0].aomaifourqmkc+=item.aomaifourqmkc
						  this.fxbHjhz[0].aomaifiveqmkcs+=item.aomaifiveqmkcs
						  
						  this.fxbHjhz[0].jiamaiqmkc+=item.jiamaiqmkc
						  this.fxbHjhz[0].jiamaidqmkc+=item.jiamaidqmkc
						  this.fxbHjhz[0].jiamaioneqmkc+=item.jiamaioneqmkc
						  this.fxbHjhz[0].jiamaitwoqmkc+=item.jiamaitwoqmkc
						  this.fxbHjhz[0].jiamaithreeqmkc+=item.jiamaithreeqmkc
						  this.fxbHjhz[0].jiamaifourqmkc+=item.jiamaifourqmkc
						  this.fxbHjhz[0].jiamaifiveqmkcs+=item.jiamaifiveqmkcs
						  
						  this.fxbHjhz[0].meimaiqmkc+=item.meimaiqmkc
						  this.fxbHjhz[0].meimaidqmkc+=item.meimaidqmkc
						  this.fxbHjhz[0].meimaioneqmkc+=item.meimaioneqmkc
						  this.fxbHjhz[0].meimaitwoqmkc+=item.meimaitwoqmkc
						  this.fxbHjhz[0].meimaithreeqmkc+=item.meimaithreeqmkc
						  this.fxbHjhz[0].meimaifourqmkc+=item.meimaifourqmkc
						  this.fxbHjhz[0].meimaifiveqmkcs+=item.meimaifiveqmkcs
						  
						  this.fxbHjhz[0].baimaiqmkc+=item.baimaiqmkc
						  this.fxbHjhz[0].baimaidqmkc+=item.baimaidqmkc
						  this.fxbHjhz[0].baimaioneqmkc+=item.baimaioneqmkc
						  this.fxbHjhz[0].baimaitwoqmkc+=item.baimaitwoqmkc
						  this.fxbHjhz[0].baimaithreeqmkc+=item.baimaithreeqmkc
						  this.fxbHjhz[0].baimaifourqmkc+=item.baimaifourqmkc
						  this.fxbHjhz[0].baimaifiveqmkcs+=item.baimaifiveqmkcs
						  
						  this.fxbHjhz[0].hongmaiqmkc+=item.hongmaiqmkc
						  this.fxbHjhz[0].hongmaidqmkc+=item.hongmaidqmkc
						  this.fxbHjhz[0].hongmaioneqmkc+=item.hongmaioneqmkc
						  this.fxbHjhz[0].hongmaitwoqmkc+=item.hongmaitwoqmkc
						  this.fxbHjhz[0].hongmaithreeqmkc+=item.hongmaithreeqmkc
						  this.fxbHjhz[0].hongmaifourqmkc+=item.hongmaifourqmkc
						  this.fxbHjhz[0].hongmaifiveqmkcs+=item.hongmaifiveqmkcs
					  })
					  console.log( this.tjfxbList,' this.tjfxbList-------------------')
					  this.tjfxbList.forEach((val,index) =>{
						  console.log(val,'666666666666666')
						this.fxbHjhz[0].tjdaoguqmkc+=val.daoguqmkc
						this.fxbHjhz[0].tjdaogudqmkc+=val.daogudqmkc
						this.fxbHjhz[0].tjdaoguoneqmkc+=val.daoguoneqmkc
						this.fxbHjhz[0].tjdaogutwoqmkc+=val.daogutwoqmkc
						this.fxbHjhz[0].tjdaoguthreeqmkc+=val.daoguthreeqmkc
						this.fxbHjhz[0].tjxiaoqmkc+=val.guoxiaoqmkc+val.jinmaiqmkc
						this.fxbHjhz[0].tjxiaodqmkc+=val.guoxiaodqmkc+val.jinmaidqmkc
						this.fxbHjhz[0].tjxiaooneqmkc+=val.guoxiaooneqmkc+val.jinmaioneqmkc
						this.fxbHjhz[0].tjxiaotwoqmkc+=val.guoxiaotwoqmkc+val.jinmaitwoqmkc
						this.fxbHjhz[0].tjxiaothreeqmkc+=val.guoxiaothreeqmkc+val.jinmaithreeqmkc
						this.fxbHjhz[0].tjxiaofourqmkc+=val.guoxiaofourqmkc+val.jinmaifourqmkc
						this.fxbHjhz[0].tjxiaofiveqmkcs+=val.guoxiaofiveqmkcs+val.jinmaifiveqmkcs
					  })
				}
			})
		},
		exportExcel() {
		  this.$confirm("是否下载Excel表？", "提示", {
		    closeOnClickModal: false,
		    closeOnPressEscape: false,
		    confirmButtonText: "确定",
		    cancelButtonText: "取消",
		    type: "warning",
		    customClass: "messageBox",
		  }).then(() => {
			  if(this.activeName == 'hzb'){
				let wb = XLSX.utils.table_to_book(
				  document.getElementById("summaryData"),
				  { sheet: "按年份划分市级储备粮库存表—实际库存汇总表" }
				);
				this.setExlStyle(wb["Sheets"]["按年份划分市级储备粮库存表—实际库存汇总表"]);
				//合并单元格边框补齐
				this.addRangeBorder(
				  wb["Sheets"]["按年份划分市级储备粮库存表—实际库存汇总表"]["!merges"],
				  wb["Sheets"]["按年份划分市级储备粮库存表—实际库存汇总表"]
				);
				var ws = XLSXS.write(wb, {
				  type: "buffer",
				});
				try {
				  FileSaver.saveAs(
				    new Blob([ws], { type: "application/octet-stream" }),
				    `按年份划分市级储备粮库存表—实际库存汇总表.xlsx`
				  );
				} catch (e) {
				  if (typeof console !== "undefined") console.log(e, ws);
				}
				return ws;  
			  }else{
				  let wb = XLSX.utils.table_to_book(
				    document.getElementById("fxbData"),
				    { sheet: "按年份划分市级储备粮库存表—实际库存分布表" }
				  );
				  this.setExlStyle(wb["Sheets"]["按年份划分市级储备粮库存表—实际库存分布表"]);
				  //合并单元格边框补齐
				  this.addRangeBorder(
				    wb["Sheets"]["按年份划分市级储备粮库存表—实际库存分布表"]["!merges"],
				    wb["Sheets"]["按年份划分市级储备粮库存表—实际库存分布表"]
				  );
				  var ws = XLSXS.write(wb, {
				    type: "buffer",
				  });
				  try {
				    FileSaver.saveAs(
				      new Blob([ws], { type: "application/octet-stream" }),
				      `按年份划分市级储备粮库存表—实际库存分布表.xlsx`
				    );
				  } catch (e) {
				    if (typeof console !== "undefined") console.log(e, ws);
				  }
				  return ws;
			  }
		    
		  });
		},
		setExlStyle(data, type) {
		  let borderAll = {
		    //单元格外侧框线
		    top: {
		      style: "thin",
		    },
		    bottom: {
		      style: "thin",
		    },
		    left: {
		      style: "thin",
		    },
		    right: {
		      style: "thin",
		    },
		  };
		  data["!cols"] = [];
		  // if(type =='kc'){
		  // data['!cols'].push({wpx: 60},{wpx: 260});
		  for (let i = 0; i < 60; i++) {
			  if(this.activeName=='hzb'){
				 if(i==0){
				 	data["!cols"].push({ wpx: 60 });  
				 }else if(i == 1){
				 	data["!cols"].push({ wpx: 220 });
				 }else{
				 	data["!cols"].push({ wpx: 120 });
				 } 
			  }else{
				if(i==0){
					data["!cols"].push({ wpx: 220 });  
				}else{
					data["!cols"].push({ wpx: 80 });
				}  
			  }
			  
		    
		  }
		  // }
		  // this.$nextTick(() =>{
		  for (let key in data) {
		    console.log(key, data[key], "datakey----------------");
		    if (data[key] instanceof Object) {
		      // data[key].t='s'
		      data[key].s = {
		        // item.NumberFormat = "@";
		        border: borderAll,
		        alignment: {
		          horizontal: "center", //水平居中对齐
		          vertical: "center",
		        },
		        font: {
		          sz: 11,
		        },
		        bold: true,
		        numFmt: 0,
		      };
		      // console.log(key,data[key],'datakey----------------')
		    }
		  }
		  this.$nextTick(() => {
		    return data;
		  });
		},
		addRangeBorder(range, ws) {
		  let cols = [
		    "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X",
		    "Y",
		    "Z",
			"AA",
			"AB",
			"AC",
			"AD",
			"AE",
			"AF",
			"AG",
			"AH",
			"AI",
			"AJ",
			"AK",
			"AL",
			"AM",
			"AN",
			"AO",
			"AP",
			"AQ",
			"AR",
			"AS",
			"AT",
			"AU",
			"AV",
			"AW",
			"AX",
			"AY",
			"AZ",
			"BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BM","BN",
			"BO","BP","BQ","BR","BS","BT","BU","BV","BW","BX",
			"BY",
			"BZ",
		  ];
		  range.forEach((item) => {
		    console.log(item);
		    let style = {
		      s: {
		        border: {
		          top: { style: "thin" },
		          left: { style: "thin" },
		          bottom: { style: "thin" },
		          right: { style: "thin" },
		        },
		      },
		    };
		    // 处理合并行
		    for (let i = item.s.c; i <= item.e.c; i++) {
		      ws[`${cols[i]}${Number(item.e.r) + 1}`] =
		        ws[`${cols[i]}${Number(item.e.r) + 1}`] || style;
		      // 处理合并列
		      for (let k = item.s.r + 2; k <= item.e.r + 1; k++) {
		        ws[cols[i] + k] = ws[cols[k] + item.e.r] || style;
		      }
		    }
		  });
		  return ws;
		},
    }
  }
</script>

<style scoped lang="scss">
	#fxbData,#summaryData{
		span{
			display: block;
			width: 80px;
		}
	}
.recordsDetailsTable{
    background-color: #fff;
    font-size: 14px;
    padding-bottom: 20px;
    table {
      width: 100%;
      margin-top: 10px;
      font-size: 14px;
    }
    .tdsize{
      font-size: 18px;
      font-weight: 700;
    }
    td,
    th {
      text-align: center;
      border: 1px solid #eaeaea;
      word-wrap: break-word;
      height: 40px;
    }

    span,
    .el-input,
    .el-textarea {
      font-size: 12px;
    }
}
.title-name{
    text-align: center;
    font-size: 22px;
    font-weight: 600;
  }
  .line-box{
    display: flex;
  }
  .flexBox{
    display: flex;
    line-height: 40px;
    height: 40px;
    // text-align: center;
  }
  .areawidth{
    width: 100%;
  }
 .areawidth /deep/ .el-textarea__inner{
   width: 100%!important;
 }
 // .el-form--inline .el-form-item
 .areawidth /deep/.el-form-item{
   width: 100%!important;
 }
 .areawidth /deep/ .el-form-item__content{
   width: 93%!important;
 }
</style>
<style>
  #riceMonthReport {
    position: relative !important;
  }

  #riceMonthReport > div {
    left: 0px !important;
    top: -40px !important;
  }
</style>
