<template>
	<div class="content-main">
		<!-- <el-dialog :title="typeName" width="760px" left :close-on-click-modal="false" :visible.sync="editData.editVisible"> -->
		<!-- <el-form :model="fromData" :rules="rules" ref="fromData" label-width="100px" class="demo-ruleForm"> -->
		<el-form
			:inline="true"
			ref="fromData"
			:model="fromData"
			class="demo-form-inline"
		>
			<span class="spanStyle">仓储设施投资建设统计表</span>
			<div style="width: 95%; margin: 10px auto">
				年份: {{ fromData.sbnf }}
			</div>
			<table
				class="tableClass"
				border="1"
				cellspacing="0"
				cellpadding="0"
				width="95%"
				align="center"
				style="margin: 0 auto"
			>
				<thead>
					<tr>
						<td></td>
						<td style="text-align: center">计量单位</td>
						<td style="text-align: center">
							<span style="color: red">*</span>本年
						</td>
						<td style="text-align: center">上一年</td>
						<td style="text-align: center">同比增减</td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>项目状态</td>
						<td style="text-align: center">——</td>
						<td style="text-align: center">——</td>
						<td style="text-align: center">——</td>
						<td style="text-align: center">——</td>
					</tr>
					<tr>
						<td>&emsp;本年度新开工项目</td>
						<td style="text-align: center">个</td>
						<td style="text-align: center">
							{{ fromData.bndsjxmztBddxkgxm }}
							<!-- <el-form-item prop="xmztBddxkgxm">
                <el-input
                  @change="InputChange('xmztBddxkgxm')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.xmztBddxkgxm"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjxmztBddxkgxm }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjxmztBddxkgxm).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.tbzjsjxmztBddxkgxm *
													100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjxmztBddxkgxm
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;本年度竣工项目</td>
						<td style="text-align: center">个</td>
						<td style="text-align: center">
							{{ fromData.bndsjxmztBndjgxm }}
							<!-- <el-form-item prop="xmztBndjgxm">
                <el-input
                  @change="InputChange('xmztBndjgxm')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.xmztBndjgxm"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjxmztBndjgxm }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjxmztBndjgxm).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.tbzjsjxmztBndjgxm * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjxmztBndjgxm
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;年度末在建项目</td>
						<td style="text-align: center">个</td>
						<td style="text-align: center">
							{{ fromData.bndsjxmztNdmzjxm }}
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjxmztNdmzjxm }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjxmztNdmzjxm).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.tbzjsjxmztNdmzjxm * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjxmztNdmzjxm
							}}
						</td>
					</tr>
					<tr>
						<td>年度完成投资</td>
						<td style="text-align: center">——</td>
						<td style="text-align: center">——</td>
						<td style="text-align: center">——</td>
						<td style="text-align: center">——</td>
					</tr>
					<tr>
						<td>&emsp;按项目类型分</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{
								String(fromData.bndsjndwctzAxmlx).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.bndsjndwctzAxmlx * 100
											) / 100
									  ).toFixed(2)
									: fromData.bndsjndwctzAxmlx
							}}
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzAxmlx }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzAxmlx).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.tbzjsjndwctzAxmlx * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzAxmlx
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;新建高标准粮仓</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzXjgbzlc }}
							<!-- <el-form-item prop="ndwctzXjgbzlc">
                <el-input
                  @change="InputChange('ndwctzXjgbzlc')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzXjgbzlc"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzXjgbzlc }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzXjgbzlc).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.tbzjsjndwctzXjgbzlc *
													100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzXjgbzlc
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;旧仓升级改造</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{
								String(fromData.bndsjndwctzJcsjgz).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.bndsjndwctzJcsjgz * 100
											) / 100
									  ).toFixed(2)
									: fromData.bndsjndwctzJcsjgz
							}}
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzJcsjgz }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzJcsjgz).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.tbzjsjndwctzJcsjgz *
													100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzJcsjgz
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;隔热性能</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzGrxn }}
							<!-- <el-form-item prop="ndwctzGrxn">
                <el-input
                @change="InputChange('ndwctzGrxn')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzGrxn"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzGrxn }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzGrxn).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzGrxn * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzGrxn
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;气密性能</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzQmxn }}
							<!-- <el-form-item prop="ndwctzQmxn">
                <el-input
                  @change="InputChange('ndwctzQmxn')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzQmxn"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzQmxn }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzQmxn).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzQmxn * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzQmxn
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;通风技术</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzTfjs }}
							<!-- <el-form-item prop="ndwctzTfjs">
                <el-input
                  @change="InputChange('ndwctzTfjs')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzTfjs"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzTfjs }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzTfjs).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzTfjs * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzTfjs
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;控温技术</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzKwjs }}
							<!-- <el-form-item prop="ndwctzKwjs">
                <el-input
                  @change="InputChange('ndwctzKwjs')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzKwjs"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzKwjs }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzKwjs).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzKwjs * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzKwjs
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;粮情测控</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzLqck }}
							<!-- <el-form-item prop="ndwctzLqck">
                <el-input
                   @change="InputChange('ndwctzLqck')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzLqck"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzLqck }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzLqck).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzLqck * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzLqck
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;杀虫措施</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzSccs }}
							<!-- <el-form-item prop="ndwctzSccs">
                <el-input
                  @change="InputChange('ndwctzSccs')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzSccs"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzSccs }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzSccs).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzSccs * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzSccs
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;修缮维护</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzXswx }}
							<!-- <el-form-item prop="ndwctzXswx">
                <el-input
                  @change="InputChange('ndwctzXswx')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzXswx"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzXswx }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzXswx).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzXswx * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzXswx
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;其它</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzQt }}
							<!-- <el-form-item prop="ndwctzQt">
                <el-input
                  @change="InputChange('ndwctzQt')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzQt"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzQt }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzQt).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzQt * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzQt
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;按投资来源分</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{
								String(fromData.bndsjndwctzAtzly).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.bndsjndwctzAtzly * 100
											) / 100
									  ).toFixed(2)
									: fromData.bndsjndwctzAtzly
							}}
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzAtzly }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzAtzly).indexOf(
									'.'
								) > -1
									? (
											Math.round(
												fromData.tbzjsjndwctzAtzly * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzAtzly
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;中央财政投资</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzZycz }}
							<!-- <el-form-item prop="ndwctzZycz">
                <el-input
                @change="InputChange('ndwctzZycz')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzZycz"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzZycz }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzZycz).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzZycz * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzZycz
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;市级财政投资</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzSjcz }}
							<!-- <el-form-item prop="ndwctzSjcz">
                <el-input
                  @change="InputChange('ndwctzSjcz')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzSjcz"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzSjcz }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzSjcz).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzSjcz * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzSjcz
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;区级财政投资</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzQjcz }}
							<!-- <el-form-item prop="ndwctzQjcz">
                <el-input
                  @change="InputChange('ndwctzQjcz')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzQjcz"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzQjcz }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzQjcz).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzQjcz * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzQjcz
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;企业自筹投资</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzQyzc }}
							<!-- <el-form-item prop="ndwctzQyzc">
                <el-input
                  @change="InputChange('ndwctzQyzc')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzQyzc"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzQyzc }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzQyzc).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzQyzc * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzQyzc
							}}
						</td>
					</tr>
					<tr>
						<td>&emsp;&emsp;其它</td>
						<td style="text-align: center">万元</td>
						<td style="text-align: center">
							{{ fromData.bndsjndwctzQt2 }}
							<!-- <el-form-item prop="ndwctzQt2">
                <el-input
                  @change="InputChange('ndwctzQt2')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.ndwctzQt2"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjndwctzQt2 }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjndwctzQt2).indexOf('.') >
								-1
									? (
											Math.round(
												fromData.tbzjsjndwctzQt2 * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjndwctzQt2
							}}
						</td>
					</tr>
					<tr>
						<td>涉及仓房数</td>
						<td style="text-align: center">个</td>
						<td style="text-align: center">
							{{ fromData.bndsjsjcfs }}
							<!-- <el-form-item prop="sjcfs">
                <el-input
                  @change="InputChange('sjcfs')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.sjcfs"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjsjcfs }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjsjcfs).indexOf('.') > -1
									? (
											Math.round(
												fromData.tbzjsjsjcfs * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjsjcfs
							}}
						</td>
					</tr>
					<tr>
						<td>涉及廒间数</td>
						<td style="text-align: center">个</td>
						<td style="text-align: center">
							{{ fromData.bndsjsjajs }}
							<!-- <el-form-item prop="sjajs">
                <el-input
                  @change="InputChange('sjajs')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.sjajs"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjsjajs }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjsjajs).indexOf('.') > -1
									? (
											Math.round(
												fromData.tbzjsjsjajs * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjsjajs
							}}
						</td>
					</tr>
					<tr>
						<td>涉及仓容数</td>
						<td style="text-align: center">万吨</td>
						<td style="text-align: center">
							{{ fromData.bndsjsjcrs }}
							<!-- <el-form-item prop="sjcrs">
                <el-input
                  @change="InputChange('sjcrs')"
                  clearable
                  :disabled="type=='ck'"
                  v-model="fromData.sjcrs"
                  placeholder="请输入"
                ></el-input>
              </el-form-item> -->
						</td>
						<td style="text-align: center">
							{{ fromData.syndsjsjcrs }}
						</td>
						<td style="text-align: center">
							{{
								String(fromData.tbzjsjsjcrs).indexOf('.') > -1
									? (
											Math.round(
												fromData.tbzjsjsjcrs * 100
											) / 100
									  ).toFixed(2)
									: fromData.tbzjsjsjcrs
							}}
						</td>
					</tr>
					<!-- <tr>
          <td style="text-align: center"><span style="color: red">*</span>备注</td>
          <td colspan="4">
            <el-form-item prop="bz">
              {{fromData.bz}}
            </el-form-item>
          </td>
        </tr> -->
				</tbody>
			</table>
		</el-form>
	</div>
	<!-- </el-dialog> -->
</template>

<script>
import { queryHzForGlOrGxgs, exportHzForGlOrGxgs } from '@/api/zgsq/ccsstzjs'
export default {
	props: {
		editData: Object,
	},
	data() {
		return {
			type: '',
			typeName: '',
			// fromDataZzl:{
			//   xmztBddxkgxm:null,
			//   xmztBndjgxm:null,
			//   xmztNdmzjxm:null,
			//   ndwctzAxmlx:null,
			//   ndwctzXjgbzlc:null,
			//   ndwctzJcsjgz:null,
			//   ndwctzGrxn:null,
			//   ndwctzQmxn:null,
			//   ndwctzTfjs:null,
			//   ndwctzKwjs:null,
			//   ndwctzLqck:null,
			//   ndwctzSccs:null,
			//   ndwctzXswx:null,
			//   ndwctzQt:null,
			//   ndwctzAtzly:null,
			//   ndwctzZycz:null,
			//   ndwctzSjcz:null,
			//   ndwctzQjcz:null,
			//   ndwctzQyzc:null,
			//   ndwctzQt2:null,
			//   sjcfs:null,
			//   sjajs:null,
			//   sjcrs:null,
			//   bz:null,
			// },
			// fromDatasyn:{
			//   xmztBddxkgxm:null,
			//   xmztBndjgxm:null,
			//   xmztNdmzjxm:null,
			//   ndwctzAxmlx:null,
			//   ndwctzXjgbzlc:null,
			//   ndwctzJcsjgz:null,
			//   ndwctzGrxn:null,
			//   ndwctzQmxn:null,
			//   ndwctzTfjs:null,
			//   ndwctzKwjs:null,
			//   ndwctzLqck:null,
			//   ndwctzSccs:null,
			//   ndwctzXswx:null,
			//   ndwctzQt:null,
			//   ndwctzAtzly:null,
			//   ndwctzZycz:null,
			//   ndwctzSjcz:null,
			//   ndwctzQjcz:null,
			//   ndwctzQyzc:null,
			//   ndwctzQt2:null,
			//   sjcfs:null,
			//   sjajs:null,
			//   sjcrs:null,
			//   bz:null,
			// },
			fromData: {
				xmztBddxkgxm: null,
				xmztBndjgxm: null,
				xmztNdmzjxm: null,
				ndwctzAxmlx: null,
				ndwctzXjgbzlc: null,
				ndwctzJcsjgz: null,
				ndwctzGrxn: null,
				ndwctzQmxn: null,
				ndwctzTfjs: null,
				ndwctzKwjs: null,
				ndwctzLqck: null,
				ndwctzSccs: null,
				ndwctzXswx: null,
				ndwctzQt: null,
				ndwctzAtzly: null,
				ndwctzZycz: null,
				ndwctzSjcz: null,
				ndwctzQjcz: null,
				ndwctzQyzc: null,
				ndwctzQt2: null,
				sjcfs: null,
				sjajs: null,
				sjcrs: null,
				bz: null,
			},
		}
	},
	created() {
		// title
		console.log('editData:', this.editData)
		// this.getYear();
	},
	methods: {
		init(data, type) {
			this.type = type
			queryHzForGlOrGxgs(data).then((res) => {
				if (res.infoCode == 200) {
					this.fromData = res.data
				}
			})
			console.log(type, 'hfdsd-----------')
		},
		exportExcel(data) {
			exportHzForGlOrGxgs(data)
				.then((res) => {
					let blob = new Blob([res], {
						type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
					})
					const link = document.createElement('a')
					link.style.display = 'none'
					link.href = URL.createObjectURL(blob)
					link.setAttribute('download', '仓储设施投资建设统计表')
					document.body.appendChild(link)
					link.click()
					document.body.removeChild(link)
				})
				.catch((err) => {
					this.$message.error(err)
				})
		},
	},
}
</script>

<style scoped>
.tableClass tr {
	height: 55px;
}
.tableClass td {
	padding: 10px 20px;
	border: 1px solid #eaeaea !important;
}
.spanStyle {
	font-size: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10px auto;
}
.tableClass {
	/* width: 100%;
    border-collapse: collapse;
    border: 1px solid #000; */
}
</style>
