<template>
  <div class="app-container" style="overflow-x: auto;">
    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="报告日期" prop="reportDate">
        <el-date-picker clearable size="small" style="width: 200px"
                        v-model="queryParams.reportDate"
                        type="date"
                        value-format="yyyy-MM-dd"
                        placeholder="选择报告日期">
        </el-date-picker>
      </el-form-item>
      <el-form-item>
        <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button
          type="info"
          icon="el-icon-upload2"
          size="mini"
          @click="handleImport"
          v-hasPermi="['production:report:edit']"
        >导入</el-button>
        <el-button
          type="warning"
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['production:report:export']"
        >导出</el-button>
      </el-form-item>
    </el-form>
    <div style="height: calc(100vh - 200px);">
      <table border>
        <tr class="bg-yellow">
          <td class="no-border ft-blue" colspan="10">Confidential 保密信息</td>
          <td class="no-border" colspan="6" style="font-size: 26px;">Cracker & Aromatics Daily Production Report</td>
          <td class="no-border" colspan="4"></td>
          <td class="no-border" colspan="2">CBP-7.5.1-SCFPP-002</td>
        </tr>
        <tr class="bg-yellow">
          <td class="no-border" colspan="10"></td>
          <td class="no-border bg-blue">{{reportData.fromDate}}</td>
          <td class="no-border bg-blue-green-neon">TO</td>
          <td class="no-border bg-blue">{{reportData.toDate}}</td>
          <td class="no-border">Duration</td>
          <td class="no-border">1</td>
          <td class="no-border">Days</td>
          <td class="no-border" colspan="5"></td>
          <td class="no-border">REV.06</td>
        </tr>
        <tr class="bg-yellow">
          <td class="no-border"></td>
          <td class="no-border" colspan="3">Material Balance</td>
          <td class="no-border" colspan="14"></td>
          <td class="no-border">Unit: </td>
          <td class="no-border">Ton</td>
          <td class="no-border">Date: </td>
          <td class="no-border bg-blue">{{reportData.reportDate}}</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Nap</td>
          <td class="no-border" rowspan="35"></td>
          <td class="bg-green" rowspan="35">Cracker</td>
          <td class="no-border" rowspan="35" colspan="2"></td>
          <td class="bg-blue-light"></td>
          <td class="bg-blue-light">yield %</td>
          <td class="bg-blue-light">Produced</td>
          <td class="bg-blue-light">Inventory</td>
          <td class="bg-blue-light">Change</td>
          <td class="bg-blue-light">Import</td>
          <td class="bg-blue-light">Export</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.nap}}</td>
          <td class="bg-blue-light" rowspan="2">H2</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.h2YieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.h2Produced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.h2Inventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.h2Change}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.h2Import}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.h2Export}}</td>
          <td class="bg-blue-light">To PGU</td>
          <td class="bg-blue-light">To YPC</td>
          <td class="bg-blue-light">To OXO</td>
          <td class="bg-blue-light">Fr Syngas to SUB</td>
        </tr>
        <tr>
          <td class="bg-blue-light">C5</td>
          <td class="bg-yellow-light">{{reportData.h2ToPgu}}</td>
          <td class="bg-yellow-light">{{reportData.h2ToYpc}}</td>
          <td class="bg-yellow-light">{{reportData.h2ToOxo}}</td>
          <td class="bg-yellow-light">{{reportData.h2FrSyngasToSub}}</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.c5}}</td>
          <td class="bg-blue-light" rowspan="2">ETHYLEN</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.ethylenYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.ethylenProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.ethylenInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.ethylenChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.ethylenImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.ethylenExport}}</td>
          <td class="bg-blue-light">To TM</td>
          <td class="bg-blue-light">To TS</td>
          <td class="bg-blue-light">To EO/EG</td>
          <td class="bg-blue-light">To OXO</td>
          <td class="bg-blue-light">To YBS</td>
          <td class="bg-blue-light">To YPC</td>
          <td class="bg-blue-light">To Wacker</td>
          <td class="bg-blue-light">To Dyna</td>
          <td class="bg-blue-light">To Celan./longx.</td>
          <td class="bg-blue-light">Fr YPC</td>
          <td class="bg-blue-light">Fr Longxiang</td>
        </tr>
        <tr>
          <td class="bg-blue-light">C6-C8-NA</td>
          <td class="bg-yellow-light">{{reportData.ethylenToTm}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToTs}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToEoEg}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToOxo}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToYbs}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToYpc}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToWacker}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToDyna}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenToCelanLongx}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenFrYpc}}</td>
          <td class="bg-yellow-light">{{reportData.ethylenFrLongxiang}}</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.c6C8Na}}</td>
          <td class="bg-blue-light" rowspan="2">Propylene</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.propyleneYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.propyleneProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.propyleneInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.propyleneChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.propyleneImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.propyleneExport}}</td>
          <td class="bg-blue-light">To AA/AE</td>
          <td class="bg-blue-light">To GAA</td>
          <td class="bg-blue-light">To OXO</td>
          <td class="bg-blue-light">To LDPE</td>
          <td class="bg-blue-light">To YPC</td>
          <td class="bg-blue-light">To Road</td>
          <td class="bg-blue-light">To Ship</td>
          <td class="bg-blue-light">Fr YPC</td>
          <td class="bg-blue-light">Fr Ship</td>
          <td class="bg-blue-light">Fr Chengzhi</td>
        </tr>
        <tr>
          <td class="bg-blue-light">wison Ethane </td>
          <td class="bg-yellow-light">{{reportData.propyleneToAaAe}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneToGaa}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneToOxo}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneToLdpe}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneToYpc}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneToRoad}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneToShip}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneFrYpc}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneFrShip}}</td>
          <td class="bg-yellow-light">{{reportData.propyleneFrChengzhi}}</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.wisonEthane}}</td>
          <td class="bg-blue-light">C3 LPG</td>
          <td class="bg-yellow-light">{{reportData.c3LpgYieldPercentage}}</td>
          <td class="bg-yellow-light">{{reportData.c3LpgProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.c3C4Inventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.c3C4Change}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.c3C4Import}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.c3C4Export}}</td>
          <td class="bg-blue-light">To SUB</td>
          <td class="bg-blue-light">To Fur as fule</td>
          <td class="bg-blue-light">As Feed</td>
          <td class="bg-blue-light">Fr YPC</td>
          <td class="bg-blue-light">Fr Truck</td>
        </tr>
        <tr>
          <td class="bg-blue-light">LPG to furnace</td>
          <td class="bg-blue-light">C4 LPG</td>
          <td class="bg-yellow-light">{{reportData.c4LpgYieldPercentage}}</td>
          <td class="bg-yellow-light">{{reportData.c4LpgProduced}}</td>
          <td class="bg-yellow-light">{{reportData.c3C4ToSub}}</td>
          <td class="bg-yellow-light">{{reportData.c3C4ToFurAsFule}}</td>
          <td class="bg-yellow-light">{{reportData.c3C4AsFeed}}</td>
          <td class="bg-yellow-light">{{reportData.c3C4FrYpc}}</td>
          <td class="bg-yellow-light">{{reportData.c3C4FrTruck}}</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.lpgToFurnace}}</td>
          <td class="bg-blue-light" rowspan="2">MixedC4'S</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.mixedC4sYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.mixedC4sProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.mixedC4sInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.mixedC4sChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.mixedC4sImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.mixedC4sExport}}</td>
          <td class="bg-blue-light">To BD</td>
          <td class="bg-blue-light">To YPC</td>
          <td class="bg-blue-light">To Truck</td>
          <td class="bg-blue-light">To ship</td>
          <td class="bg-blue-light">Fr YPC</td>
          <td class="bg-blue-light">Fr Truck</td>
          <td class="bg-blue-light">Fr ship</td>
          <td class="bg-blue-light">FR BD R1</td>
          <td class="bg-blue-light">TO R800</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Raff1 fr BD</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sToBd}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sToYpc}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sToTruck}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sToShip}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sFrYpc}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sFrTruck}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sFrShip}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sFrBdR1}}</td>
          <td class="bg-yellow-light">{{reportData.mixedC4sToR800}}</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.raff1FrBd}}</td>
          <td class="bg-blue-light" rowspan="2">EBO</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.eboYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.eboProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.eboInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.eboChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.eboImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.eboExport}}</td>
          <td class="bg-blue-light">To Ship</td>
          <td class="bg-blue-light">To RTTF</td>
          <td class="bg-blue-light">To Train</td>
          <td class="bg-blue-light">Fr BD</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Raff2 fr IB</td>
          <td class="bg-yellow-light">{{reportData.eboToShip}}</td>
          <td class="bg-yellow-light">{{reportData.eboToRttf}}</td>
          <td class="bg-yellow-light">{{reportData.eboToTrain}}</td>
          <td class="bg-yellow-light">{{reportData.eboFrBd}}</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.raff2FrIb}}</td>
          <td class="bg-blue-light" rowspan="2">Naphthalene</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.naphthaleneYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.naphthaleneProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.naphthaleneInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.naphthaleneChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.naphthaleneImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.naphthaleneExport}}</td>
          <td class="bg-blue-light">To Truck</td>
          <td class="no-border" colspan="7"></td>
          <td class="bg-blue-light" colspan="2">Export & Import</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Raff3 fr BD</td>
          <td class="bg-yellow-light">{{reportData.naphthaleneToTruck}}</td>
          <td class="no-border" colspan="7"></td>
          <td class="bg-blue-light">To ship</td>
          <td class="bg-blue-light">Fr ship</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.raff3FrBd}}</td>
          <td class="bg-blue-light" rowspan="2">PO/Flux Oil</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.poFluxOilYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.poFluxOilProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.poFluxOilInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.poFluxOilChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.poFluxOilImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.poFluxOilExport}}</td>
          <td class="bg-blue-light">To BD</td>
          <td class="no-border" colspan="7"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Raffinate II P fr 2PH</td>
          <td class="bg-yellow-light">{{reportData.poFluxOilToBd}}</td>
          <td class="no-border" colspan="7"></td>
          <td class="bg-blue-light">To YBS</td>
          <td class="bg-blue-light"></td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.raffinate2pFr2ph}}</td>
          <td class="bg-blue-light" rowspan="2">Offags</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.offgasYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.offgasProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.offgasInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.offgasChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.offgasImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.offgasExport}}</td>
          <td class="bg-blue-light">To Furnace</td>
          <td class="bg-blue-light">To YBS</td>
          <td class="bg-blue-light">To c-ERU</td>
          <td class="bg-blue-light">SuB(inclose U2)</td>
          <td class="bg-blue-light">Flare+SCTU</td>
          <td class="bg-blue-light">To U2(nm3)</td>
          <td class="bg-blue-light">Flare loss (T)</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light"></td>
        </tr>
        <tr>
          <td class="bg-blue-light">C2 fr LDPE</td>
          <td class="bg-yellow-light">{{reportData.offgasToFurnance}}</td>
          <td class="bg-yellow-light">{{reportData.offgasToYbs}}</td>
          <td class="bg-yellow-light">{{reportData.offgasToCEru}}</td>
          <td class="bg-yellow-light">{{reportData.offgasSubInCloseU2}}</td>
          <td class="bg-yellow-light">{{reportData.offgasFlareSctu}}</td>
          <td class="bg-yellow-light">{{reportData.offgasToU2Nm3}}</td>
          <td class="bg-yellow-light">{{reportData.offgasFlareLossT}}</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To RTTF</td>
          <td class="bg-blue-light">To Train</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.c2FrLdpe}}</td>
          <td class="bg-blue-light" rowspan="2">RPG</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.rpgYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.rpgProduced}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.rpgInventory}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.rpgChange}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.rpgImport}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.rpgExport}}</td>
          <td class="bg-blue-light">To PGU</td>
          <td class="bg-blue-light">Fr YFCC</td>
          <td class="no-border" colspan="6"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light">C3 fr OXO</td>
          <td class="bg-yellow-light">{{reportData.rpgToPgu}}</td>
          <td class="bg-yellow-light">{{reportData.rpgFrYfcc}}</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.c3FrOxo}}</td>
          <td class="bg-blue-light" rowspan="2">Methane</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.methaneYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.methaneProduced}}</td>
          <td class="bg-blue-light">To EO/EG</td>
          <td class="no-border" colspan="8"></td>
          <td class="bg-blue-light">yield %</td>
          <td class="bg-blue-light">Inventory</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To Ship</td>
          <td class="bg-blue-light">Fr Ship</td>
        </tr>
        <tr>
          <td class="bg-blue-light">MIXED C3/C4 </td>
          <td class="bg-yellow-light">{{reportData.methaneToEoEg}}</td>
          <td class="no-border" colspan="5"></td>
          <td class="bg-green" rowspan="14">AEU</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-blue-light">Produced</td>
          <td class="bg-blue-light">Change</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.mixedC3C4}}</td>
          <td class="bg-blue-light" rowspan="2">Residue oil</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.residueOilYieldPercentage}}</td>
          <td class="bg-yellow-light" rowspan="2">{{reportData.residueOilProduced}}</td>
          <td class="no-border" colspan="8"></td>
          <td class="bg-blue-light" rowspan="2">Benzene</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To YPC</td>
          <td class="bg-blue-light">Fr YPC</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Hy C9</td>
          <td class="no-border" colspan="8"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.hyC9}}</td>
          <td class="no-border" colspan="11"></td>
          <td class="bg-blue-light" rowspan="2">Toluene</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To RTTF</td>
          <td class="bg-blue-light">Fr YBS</td>
        </tr>
        <tr>
          <td class="bg-blue-light">PGU Offgas</td>
          <td class="no-border" colspan="11"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.pguOffgas}}</td>
          <td class="no-border" colspan="7"></td>
          <td class="no-border bg-yellow">t/h</td>
          <td class="no-border bg-yellow">{{reportData.pguAeuTH}}</td>
          <td class="no-border"></td>
          <td class="bg-blue-light" rowspan="2">Xylene</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To EU</td>
          <td class="bg-blue-light"></td>
        </tr>
        <tr>
          <td class="bg-blue-light">Wash Oil</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-green" rowspan="14">PGU</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-blue-light">yield %</td>
          <td class="bg-blue-light">Inventory</td>
          <td class="bg-blue-light">Export</td>
          <td class="no-border" colspan="4"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light"></td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.washOil}}</td>
          <td class="no-border" colspan="5"></td>
          <td class="bg-blue-light">Produced</td>
          <td class="bg-blue-light">Change</td>
          <td class="bg-blue-light">To AEU</td>
          <td class="no-border bg-yellow-light">{{reportData.pguToAeu}}</td>
          <td class="no-border"></td>
          <td class="bg-blue-light" rowspan="2">C6-C8 NA</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Toluene</td>
          <td class="no-border bg-yellow">t/h</td>
          <td class="bg-yellow no-border">{{reportData.pguRpgTH}}</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">BTX</td>
          <td class="bg-yellow-light">{{reportData.pguBtxYeildPercentage}}</td>
          <td class="bg-yellow-light">{{reportData.pguBtxInventory}}</td>
          <td>{{reportData.pguBtxExport}}</td>
          <td class="no-border" colspan="4"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To ship</td>
          <td class="bg-blue-light">Fr ship</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.toluene}}</td>
          <td class="bg-blue-light">RPG</td>
          <td class="no-border">{{reportData.rpgToPgu2}}</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">Product</td>
          <td class="bg-yellow-light">{{reportData.pguBtxProduced}}</td>
          <td class="bg-yellow-light">{{reportData.pguBtxChange}}</td>
          <td class="bg-yellow-light">{{reportData.pguBtxToAeu}}</td>
          <td class="no-border bg-yellow-light">{{reportData.aeuToPgu}}</td>
          <td class="no-border" colspan="5"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light">Hy C4 fr R800</td>
          <td>{{reportData.pguRpg1}}</td>
          <td class="no-border" colspan="11"></td>
          <td class="no-border">AEU</td>
          <td class="no-border">PGU&AEU</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To YPC</td>
          <td class="bg-blue-light">Fr YPC</td>
        </tr>
        <tr>
          <td class="bg-yellow-light">{{reportData.hyC4FrR800}}</td>
          <td class="bg-yellow-light">{{reportData.pguRpg2}}</td>
          <td class="bg-yellow-light no-border">{{reportData.pguToRpg}}</td>
          <td class="no-border" colspan="8"></td>
          <td class="no-border bg-blue-light">total Feed</td>
          <td class="no-border bg-yellow-light">0</td>
          <td class="no-border bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="no-border" colspan="9"></td>
          <td class="bg-blue-light" rowspan="2">Washoil</td>
          <td class="bg-yellow-light">{{reportData.pguWashoilYeildPercentage}}</td>
          <td class="bg-yellow-light">{{reportData.pguWashoilInventory}}</td>
          <td class="bg-blue-light">To EU</td>
          <td class="no-border" colspan="3"></td>
          <td class="no-border bg-blue-light">output</td>
          <td class="no-border bg-yellow-light">0</td>
          <td class="no-border bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To rttf</td>
          <td class="bg-blue-light">Fr rttf</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">Total input</td>
          <td class="bg-yellow-light">{{reportData.totalInput}}</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-blue-light">H2</td>
          <td class="no-border" colspan="4"></td>
          <td class="bg-yellow-light">{{reportData.pguWashoilProduced}}</td>
          <td class="bg-yellow-light">{{reportData.pguWashoilChange}}</td>
          <td class="bg-yellow-light">{{reportData.pguWashoilToEu}}</td>
          <td class="no-border" colspan="3"></td>
          <td class="no-border bg-blue-light">Total loss</td>
          <td class="no-border bg-yellow-light">0</td>
          <td class="no-border bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">Total output</td>
          <td class="bg-yellow-light">{{reportData.totalOutput}}</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-yellow-light">{{reportData.pguH2}}</td>
          <td class="no-border" colspan="3"></td>
          <td class="bg-blue-light" rowspan="2">offags</td>
          <td class="bg-yellow-light">{{reportData.pguOffgasYeildPercentage}}</td>
          <td class="bg-yellow-light">{{reportData.pguOffgasInventory}}</td>
          <td class="bg-blue-light">To EU</td>
          <td class="no-border" colspan="3"></td>
          <td class="no-border bg-blue-light">loss%</td>
          <td class="no-border bg-yellow-light">0</td>
          <td class="no-border bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">Total loss</td>
          <td class="bg-yellow-light ft-red">{{reportData.totalLoss}}</td>
          <td class="no-border" colspan="6"></td>
          <td class="bg-yellow-light">{{reportData.pguOffgasProduced}}</td>
          <td class="bg-yellow-light">{{reportData.pguOffgasChange}}</td>
          <td class="bg-yellow-light">{{reportData.pguOffgasToEu}}</td>
          <td class="no-border" colspan="3"></td>
          <td class="no-border bg-blue">Load%</td>
          <td class="no-border bg-blue">0</td>
          <td class="no-border bg-blue">0</td>
          <td class="no-border"></td>
          <td class="bg-blue-light">To EU</td>
          <td class="bg-blue-light">To YPC</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">loss%</td>
          <td class="bg-yellow-light ft-red">{{reportData.lossPercentage}}</td>
          <td class="no-border" colspan="2"></td>
          <td class="no-border bg-blue-light">total Feed</td>
          <td class="no-border bg-yellow-light">{{reportData.pguTotalFeed}}</td>
          <td class="no-border"></td>
          <td class="bg-blue-light" rowspan="2">C5</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-blue-light">To EU</td>
          <td class="bg-blue-light">To Yuanguan</td>
          <td class="no-border" colspan="5"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">Total Furnace Feed</td>
          <td class="bg-yellow-light">{{reportData.totalFurnanceFeed}}</td>
          <td class="no-border" colspan="2"></td>
          <td class="no-border bg-blue-light">output</td>
          <td class="no-border bg-yellow-light">{{reportData.pguOutput}}</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">NAP fr CLTF</td>
          <td class="bg-blue">{{reportData.napFrCltf}}</td>
          <td class="no-border" colspan="2"></td>
          <td class="no-border bg-blue-light">Total loss</td>
          <td class="no-border bg-yellow-light">{{reportData.pguTotalLoss}}</td>
          <td class="no-border"></td>
          <td class="bg-blue-light" rowspan="2">C9</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-blue-light">To RTTF</td>
          <td class="bg-blue-light">To ship</td>
          <td class="bg-blue-light">To YFCC</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">Total P/E</td>
          <td class="bg-yellow-light">{{reportData.totalPE}}</td>
          <td class="no-border" colspan="2"></td>
          <td class="no-border bg-blue-light">loss%</td>
          <td class="no-border bg-yellow-light">{{reportData.pguLossPercentage}}</td>
          <td class="no-border"></td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-light" colspan="2">Plant mode is</td>
          <td class="bg-yellow-light">{{reportData.plantModeIs}}</td>
          <td class="no-border" colspan="2"></td>
          <td class="no-border bg-blue">Feed Load%</td>
          <td class="no-border bg-blue">{{reportData.pguFeedLoadPercentage}}</td>
        </tr>
        <tr>
          <td class="bg-blue" colspan="2">plant load (3495t/d)</td>
          <td class="bg-blue">{{reportData.plantLoad3495tD}}</td>
        </tr>
        <tr>
          <td class="bg-blue" colspan="2">Avg. Furnace feed(t/h)</td>
          <td class="bg-blue">{{reportData.avgFurnanceFeedTH}}</td>
        </tr>
        <tr>
          <td class="bg-blue" colspan="2">Feeding ratio %</td>
          <td class="bg-blue">{{reportData.feedingRatioPercentage}}</td>
          <td class="bg-yellow-light" colspan="12">Specific Energy Consumption</td>
          <td class="no-border"></td>
          <td class="bg-yellow" colspan="6">SCTF STORAGE 当前罐容</td>
        </tr>
        <tr>
          <td class="bg-blue-dark" rowspan="3">Items</td>
          <td class="bg-blue-dark" rowspan="3">unit</td>
          <td class="bg-blue-dark" colspan="3" rowspan="2">Conversion</td>
          <td class="bg-blue-dark" colspan="4">Cracker</td>
          <td class="bg-blue-dark" colspan="4">PGU+AEU</td>
          <td class="bg-blue-dark">SCTU+Flare</td>
          <td class="bg-blue-dark">SUB</td>
          <td class="bg-blue-dark">BCC</td>
          <td class="bg-green-blue-neon">Total C2</td>
          <td class="bg-blue-light">TK1061</td>
          <td class="bg-blue-light">TK1062</td>
          <td class="bg-blue-light">TK1063</td>
          <td class="bg-blue-light">TK1064</td>
          <td class="bg-blue-light">TK1065 (Off)</td>
        </tr>
        <tr>
          <td class="bg-blue-dark" rowspan="2">Consumption</td>
          <td class="bg-blue-dark" rowspan="2">t/t</td>
          <td class="bg-blue-dark" colspan="2">Energy</td>
          <td class="bg-blue-dark" rowspan="2">Consumption</td>
          <td class="bg-blue-dark" rowspan="2">t/t</td>
          <td class="bg-blue-dark" colspan="2">Energy</td>
          <td class="bg-blue-dark">Consumption</td>
          <td class="bg-blue-dark">Consumption</td>
          <td class="bg-blue-dark">Consumption</td>
          <td class="bg-green-blue-neon">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">TOE/unit</td>
          <td class="bg-blue-dark">TCE/unit</td>
          <td class="bg-blue-dark">Pre-standard</td>
          <td class="bg-blue-dark">kgOE/t C2=</td>
          <td class="bg-blue-dark">kgCE/t C2=</td>
          <td class="bg-blue-dark">kgOE/t BTX</td>
          <td class="bg-blue-dark">kgCE/t BTX</td>
          <td class="bg-blue-dark">unit</td>
          <td class="bg-blue-dark">unit</td>
          <td class="bg-blue-dark">unit</td>
          <td class="bg-green-blue-neon">Total C3</td>
          <td class="bg-blue-light">TK1011</td>
          <td class="bg-blue-light">TK1012</td>
          <td class="bg-blue-light">TK1013</td>
          <td class="bg-blue-light">TK1014</td>
          <td class="bg-blue-light">TK1040 (Off)</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">HHP</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-green-blue-neon">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">NG</td>
          <td class="bg-blue-dark">Km3</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-blue-light">TK1120(LPG)</td>
          <td class="bg-blue-light">TK1111(C4's)</td>
          <td class="bg-blue-light">TK1520(RPG)</td>
          <td class="bg-blue-light">TK1350(PO)</td>
          <td class="bg-green">TK1310(BTX)</td>
          <td class="bg-blue-light">TK1330(EBO)</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">Fuel Gas(offags)</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-green">0</td>
          <td class="bg-blue-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">SHP</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-yellow">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-blue-light">TK1430(LFO)</td>
          <td class="bg-green">TK1320(off-btx)</td>
          <td class="bg-green">T201(BTX)</td>
          <td class="bg-green">TK1340(C9)</td>
          <td class="bg-green">CLT1350(C9)</td>
          <td class="bg-green">TK1160(NH3)</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">HP</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-yellow">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">MP</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-yellow">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-green">TK1510(B)</td>
          <td class="bg-green">CLT1370(B)</td>
          <td class="bg-green">TK1360(T)</td>
          <td class="bg-green">TK1410(X)</td>
          <td class="bg-green">CLT1380(X)</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">LP</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-yellow">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border"></td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
          <td class="bg-green">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">Electricity</td>
          <td class="bg-blue-dark">MWh</td>
          <td class="bg-yellow">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-blue-light">TK1420(Dimer)</td>
          <td class="bg-blue-light">TK1110(R1)</td>
          <td class="bg-blue-light">TK1130(IB)</td>
          <td class="bg-blue-light">TK1150(R3)</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">coolling water</td>
          <td class="bg-blue-dark">kt</td>
          <td class="bg-yellow">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">Polished Condensate</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border" colspan="3"></td>
          <td class="bg-blue-light">TK1140(BD)</td>
          <td class="bg-blue-light">TK1141(BD)</td>
          <td class="bg-blue-light">TK1142(BD)</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">HP BFW</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-yellow">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border" colspan="3"></td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
          <td class="bg-blue-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">Production Water</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-green-neon">total NAP</td>
          <td class="bg-grey-light">CLTF1621</td>
          <td class="bg-grey-light">CLTF1622</td>
          <td class="bg-grey-light">CLTF1623</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">Turbine Condensate</td>
          <td class="bg-blue-dark">t</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="no-border" colspan="2"></td>
          <td class="bg-green-neon">0</td>
          <td class="bg-grey-light">0</td>
          <td class="bg-grey-light">0</td>
          <td class="bg-grey-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">PA&IA</td>
          <td class="bg-blue-dark">pnm3</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-blue-dark">N2</td>
          <td class="bg-blue-dark">pnm3</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-purple-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
          <td class="bg-yellow-light">0</td>
        </tr>
        <tr>
          <td class="bg-orange">Total</td>
          <td class="bg-orange" rowspan="3">t</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">FR EO/EG</td>
          <td class="bg-purple">320FC2161</td>
          <td class="bg-green">C210 PDI</td>
          <td class="bg-yellow">气温</td>
          <td class="bg-blue-dark">裂解炉烧焦</td>
        </tr>
        <tr>
          <td class="bg-orange">Target</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-blue">load%</td>
          <td class="bg-purple">0</td>
          <td class="bg-green">0</td>
          <td class="bg-yellow">0</td>
          <td class="bg-blue-dark">0</td>
        </tr>
        <tr>
          <td class="bg-orange">Produced</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-orange">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-blue">0</td>
          <td class="bg-blue">HS Producet</td>
          <td class="bg-purple">kg/h</td>
          <td class="bg-green">Kpa</td>
          <td class="bg-yellow">℃</td>
          <td class="bg-blue-dark">台</td>
        </tr>
      </table>
    </div>
  </div>
</template>

<script>
import { listReport, getReport, delReport, addReport, updateReport, exportReport, importTemplate} from "@/api/production/report";
import { treeselect } from "@/api/system/dept";
import { getToken } from "@/utils/auth";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";

export default {
  name: "DailyProductionReport",
  components: { Treeselect },
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 每日生产报告表格数据
      reportList: [],
      // 弹出层标题
      title: "",
      // 部门树选项
      deptOptions: undefined,
      clientHeight:300,
      // 是否显示弹出层
      open: false,
        // 用户导入参数
        upload: {
            // 是否显示弹出层（用户导入）
            open: false,
            // 弹出层标题（用户导入）
            title: "",
            // 是否禁用上传
            isUploading: false,
            // 是否更新已经存在的用户数据
            updateSupport: 0,
            // 设置上传的请求头部
            headers: { Authorization: "Bearer " + getToken() },
            // 上传的地址
            url: process.env.VUE_APP_BASE_API + "/production/report/importData"
        },
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 20,
        fromDate: null,
        toDate: null,
        reportDate: null,
        reportCode: null,
        nap: null,
        c5: null,
        c6C8Na: null,
        wisonEthane: null,
        lpgToFurnace: null,
        raff1FrBd: null,
        raff2FrIb: null,
        raff3FrBd: null,
        raffinate2pFr2ph: null,
        c2FrLdpe: null,
        c3FrOxo: null,
        mixedC3C4: null,
        hyC9: null,
        pguOffgas: null,
        washOil: null,
        toluene: null,
        hyC4FrR800: null,
        h2YieldPercentage: null,
        h2Produced: null,
        h2Inventory: null,
        h2Change: null,
        h2Import: null,
        h2Export: null,
        h2ToPgu: null,
        h2ToYpc: null,
        h2ToOxo: null,
        h2FrSyngasToSub: null,
        ethylenYieldPercentage: null,
        ethylenProduced: null,
        ethylenInventory: null,
        ethylenChange: null,
        ethylenImport: null,
        ethylenExport: null,
        ethylenToTm: null,
        ethylenToTs: null,
        ethylenToEoEg: null,
        ethylenToOxo: null,
        ethylenToYbs: null,
        ethylenToYpc: null,
        ethylenToWacker: null,
        ethylenToDyna: null,
        ethylenToCelanLongx: null,
        ethylenFrYpc: null,
        ethylenFrLongxiang: null,
        propyleneYieldPercentage: null,
        propyleneProduced: null,
        propyleneInventory: null,
        propyleneChange: null,
        propyleneImport: null,
        propyleneExport: null,
        propyleneToAaAe: null,
        propyleneToGaa: null,
        propyleneToOxo: null,
        propyleneToLdpe: null,
        propyleneToYpc: null,
        propyleneToRoad: null,
        propyleneToShip: null,
        propyleneFrYpc: null,
        propyleneFrShip: null,
        propyleneFrChengzhi: null,
        c3LpgYieldPercentage: null,
        c4LpgYieldPercentage: null,
        c3LpgProduced: null,
        c4LpgProduced: null,
        c3C4Inventory: null,
        c3C4Change: null,
        c3C4Import: null,
        c3C4Export: null,
        c3C4ToSub: null,
        c3C4ToFurAsFule: null,
        c3C4AsFeed: null,
        c3C4FrYpc: null,
        c3C4FrTruck: null,
        mixedC4sYieldPercentage: null,
        mixedC4sProduced: null,
        mixedC4sInventory: null,
        mixedC4sChange: null,
        mixedC4sImport: null,
        mixedC4sExport: null,
        mixedC4sToBd: null,
        mixedC4sToYpc: null,
        mixedC4sToTruck: null,
        mixedC4sToShip: null,
        mixedC4sFrYpc: null,
        mixedC4sFrTruck: null,
        mixedC4sFrShip: null,
        mixedC4sFrBdR1: null,
        mixedC4sToR800: null,
        eboYieldPercentage: null,
        eboProduced: null,
        eboInventory: null,
        eboChange: null,
        eboImport: null,
        eboExport: null,
        eboToShip: null,
        eboToRttf: null,
        eboToTrain: null,
        eboFrBd: null,
        naphthaleneYieldPercentage: null,
        naphthaleneProduced: null,
        naphthaleneInventory: null,
        naphthaleneChange: null,
        naphthaleneImport: null,
        naphthaleneExport: null,
        naphthaleneToTruck: null,
        poFluxOilYieldPercentage: null,
        poFluxOilProduced: null,
        poFluxOilInventory: null,
        poFluxOilChange: null,
        poFluxOilImport: null,
        poFluxOilExport: null,
        poFluxOilToBd: null,
        offgasYieldPercentage: null,
        offgasProduced: null,
        offgasInventory: null,
        offgasChange: null,
        offgasImport: null,
        offgasExport: null,
        offgasToFurnance: null,
        offgasToYbs: null,
        offgasToCEru: null,
        offgasSubInCloseU2: null,
        offgasFlareSctu: null,
        offgasToU2Nm3: null,
        offgasFlareLossT: null,
        rpgYieldPercentage: null,
        rpgProduced: null,
        rpgInventory: null,
        rpgChange: null,
        rpgImport: null,
        rpgExport: null,
        rpgToPgu: null,
        rpgFrYfcc: null,
        methaneYieldPercentage: null,
        methaneProduced: null,
        methaneToEoEg: null,
        residueOilYieldPercentage: null,
        residueOilProduced: null,
        totalInput: null,
        totalOutput: null,
        totalLoss: null,
        lossPercentage: null,
        totalFurnanceFeed: null,
        napFrCltf: null,
        totalPE: null,
        plantModeIs: null,
        plantLoad3495tD: null,
        avgFurnanceFeedTH: null,
        feedingRatioPercentage: null,
        hhpToe: null,
        hhpTce: null,
        hhpPre: null,
        hhpCracker: null,
        hhpCrackerTT: null,
        hhpCrackerKgoe: null,
        hhpCrackerKgce: null,
        hhpPguAeu: null,
        hhpPguAeuTT: null,
        hhpPguAeuKgoe: null,
        hhpPguAeuKgce: null,
        hhpSctuFlare: null,
        hhpSub: null,
        hhpBcc: null,
        ngToe: null,
        ngTce: null,
        ngPre: null,
        ngCracker: null,
        ngCrackerTT: null,
        ngCrackerKgoe: null,
        ngCrackerKgce: null,
        ngPguAeu: null,
        ngPguAeuTT: null,
        ngPguAeuKgoe: null,
        ngPguAeuKgce: null,
        ngSctuFlare: null,
        ngSub: null,
        ngBcc: null,
        fuelGasOffgasToe: null,
        fuelGasOffgasTce: null,
        fuelGasOffgasPre: null,
        fuelGasOffgasCracker: null,
        fuelGasOffgasCrackerTT: null,
        fuelGasOffgasCrackerKgoe: null,
        fuelGasOffgasCrackerKgce: null,
        fuelGasOffgasPguAeu: null,
        fuelGasOffgasPguAeuTT: null,
        fuelGasOffgasPguAeuKgoe: null,
        fuelGasOffgasPguAeuKgce: null,
        fuelGasOffgasSctuFlare: null,
        fuelGasOffgasSub: null,
        fuelGasOffgasBcc: null,
        shpToe: null,
        shpTce: null,
        shpPre: null,
        shpCracker: null,
        shpCrackerTT: null,
        shpCrackerKgoe: null,
        shpCrackerKgce: null,
        shpPguAeu: null,
        shpPguAeuTT: null,
        shpPguAeuKgoe: null,
        shpPguAeuKgce: null,
        shpSctuFlare: null,
        shpSub: null,
        shpBcc: null,
        hpToe: null,
        hpTce: null,
        hpPre: null,
        hpCracker: null,
        hpCrackerTT: null,
        hpCrackerKgoe: null,
        hpCrackerKgce: null,
        hpPguAeu: null,
        hpPguAeuTT: null,
        hpPguAeuKgoe: null,
        hpPguAeuKgce: null,
        hpSctuFlare: null,
        hpSub: null,
        hpBcc: null,
        mpToe: null,
        mpTce: null,
        mpPre: null,
        mpCracker: null,
        mpCrackerTT: null,
        mpCrackerKgoe: null,
        mpCrackerKgce: null,
        mpPguAeu: null,
        mpPguAeuTT: null,
        mpPguAeuKgoe: null,
        mpPguAeuKgce: null,
        mpSctuFlare: null,
        mpSub: null,
        mpBcc: null,
        lpToe: null,
        lpTce: null,
        lpPre: null,
        lpCracker: null,
        lpCrackerTT: null,
        lpCrackerKgoe: null,
        lpCrackerKgce: null,
        lpPguAeu: null,
        lpPguAeuTT: null,
        lpPguAeuKgoe: null,
        lpPguAeuKgce: null,
        lpSctuFlare: null,
        lpSub: null,
        lpBcc: null,
        electricityToe: null,
        electricityTce: null,
        electricityPre: null,
        electricityCracker: null,
        electricityCrackerTT: null,
        electricityCrackerKgoe: null,
        electricityCrackerKgce: null,
        electricityPguAeu: null,
        electricityPguAeuTT: null,
        electricityPguAeuKgoe: null,
        electricityPguAeuKgce: null,
        electricitySctuFlare: null,
        electricitySub: null,
        electricityBcc: null,
        coolingWaterToe: null,
        coolingWaterTce: null,
        coolingWaterPre: null,
        coolingWaterCracker: null,
        coolingWaterCrackerTT: null,
        coolingWaterCrackerKgoe: null,
        coolingWaterCrackerKgce: null,
        coolingWaterPguAeu: null,
        coolingWaterPguAeuTT: null,
        coolingWaterPguAeuKgoe: null,
        coolingWaterPguAeuKgce: null,
        coolingWaterSctuFlare: null,
        coolingWaterSub: null,
        coolingWaterBcc: null,
        polishedConToe: null,
        polishedConTce: null,
        polishedConPre: null,
        polishedConCracker: null,
        polishedConCrackerTT: null,
        polishedConCrackerKgoe: null,
        polishedConCrackerKgce: null,
        polishedConPguAeu: null,
        polishedConPguAeuTT: null,
        polishedConPguAeuKgoe: null,
        polishedConPguAeuKgce: null,
        polishedConSctuFlare: null,
        polishedConSub: null,
        polishedConBcc: null,
        hpBfwToe: null,
        hpBfwTce: null,
        hpBfwPre: null,
        hpBfwCracker: null,
        hpBfwCrackerTT: null,
        hpBfwCrackerKgoe: null,
        hpBfwCrackerKgce: null,
        hpBfwPguAeu: null,
        hpBfwPguAeuTT: null,
        hpBfwPguAeuKgoe: null,
        hpBfwPguAeuKgce: null,
        hpBfwSctuFlare: null,
        hpBfwSub: null,
        hpBfwBcc: null,
        prodWaterToe: null,
        prodWaterTce: null,
        prodWaterPre: null,
        prodWaterCracker: null,
        prodWaterCrackerTT: null,
        prodWaterCrackerKgoe: null,
        prodWaterCrackerKgce: null,
        prodWaterPguAeu: null,
        prodWaterPguAeuTT: null,
        prodWaterPguAeuKgoe: null,
        prodWaterPguAeuKgce: null,
        prodWaterSctuFlare: null,
        prodWaterSub: null,
        prodWaterBcc: null,
        turbineConToe: null,
        turbineConTce: null,
        turbineConPre: null,
        turbineConCracker: null,
        turbineConCrackerTT: null,
        turbineConCrackerKgoe: null,
        turbineConCrackerKgce: null,
        turbineConPguAeu: null,
        turbineConPguAeuTT: null,
        turbineConPguAeuKgoe: null,
        turbineConPguAeuKgce: null,
        turbineConSctuFlare: null,
        turbineConSub: null,
        turbineConBcc: null,
        paIaToe: null,
        paIaTce: null,
        paIaPre: null,
        paIaCracker: null,
        paIaCrackerTT: null,
        paIaCrackerKgoe: null,
        paIaCrackerKgce: null,
        paIaPguAeu: null,
        paIaPguAeuTT: null,
        paIaPguAeuKgoe: null,
        paIaPguAeuKgce: null,
        paIaSctuFlare: null,
        paIaSub: null,
        paIaBcc: null,
        n2Toe: null,
        n2Tce: null,
        n2Pre: null,
        n2Cracker: null,
        n2CrackerTT: null,
        n2CrackerKgoe: null,
        n2CrackerKgce: null,
        n2PguAeu: null,
        n2PguAeuTT: null,
        n2PguAeuKgoe: null,
        n2PguAeuKgce: null,
        n2SctuFlare: null,
        n2Sub: null,
        n2Bcc: null,
        totalToe: null,
        totalTce: null,
        totalPre: null,
        totalCracker: null,
        totalCrackerTT: null,
        totalCrackerKgoe: null,
        totalCrackerKgce: null,
        totalPguAeu: null,
        totalPguAeuTT: null,
        totalPguAeuKgoe: null,
        totalPguAeuKgce: null,
        targetToe: null,
        targetTce: null,
        targetPre: null,
        targetCracker: null,
        targetCrackerTT: null,
        targetCrackerKgoe: null,
        targetCrackerKgce: null,
        targetPguAeu: null,
        targetPguAeuTT: null,
        targetPguAeuKgoe: null,
        targetPguAeuKgce: null,
        producedToe: null,
        producedTce: null,
        producedPre: null,
        producedCracker: null,
        producedCrackerTT: null,
        producedCrackerKgoe: null,
        producedCrackerKgce: null,
        producedPguAeu: null,
        producedPguAeuTT: null,
        producedPguAeuKgoe: null,
        producedPguAeuKgce: null,
        frEoEg: null,
        loadPercentage: null,
        hsProducet: null,
        sctfStorageTotalC2: null,
        sctfStorageTk1061: null,
        sctfStorageTk1062: null,
        sctfStorageTk1063: null,
        sctfStorageTk1064: null,
        sctfStorageTk1065Off: null,
        sctfStorageTotalC3: null,
        sctfStorageTk1011: null,
        sctfStorageTk1012: null,
        sctfStorageTk1013: null,
        sctfStorageTk1014: null,
        sctfStorageTk1040Off: null,
        sctfStorageTk1020Lpg: null,
        sctfStorageTk1111C4s: null,
        sctfStorageTk1520Rpg: null,
        sctfStorageTk1350Po: null,
        sctfStorageTk1310Btx: null,
        sctfStorageTk1330Ebo: null,
        sctfStorageTk1430Lfo: null,
        sctfStorageTk1320OffBtx: null,
        sctfStorageT201Btx: null,
        sctfStorageTk1340C9: null,
        sctfStorageClt1350C9: null,
        sctfStorageTk1160Nh3: null,
        sctfStorageTk1510B: null,
        sctfStorageClt1370B: null,
        sctfStorageTk1360T: null,
        sctfStorageTk1410X: null,
        sctfStorageClt1380X: null,
        sctfStorageTk1420Dimer: null,
        sctfStorageTk1110R1: null,
        sctfStorageTk1130Ib: null,
        sctfStorageTk1150R3: null,
        sctfStorageTk1140Bd: null,
        sctfStorageTk1141Bd: null,
        sctfStorageTk1142Bd: null,
        sctfStorageTotalNap: null,
        sctfStorageCltf1621: null,
        sctfStorageCltf1622: null,
        sctfStorageCltf1623: null,
        pguToRpg: null,
        rpgToPgu2: null,
        pguRpgTH: null,
        pguRpg1: null,
        pguRpg2: null,
        pguH2: null,
        pguTotalFeed: null,
        pguOutput: null,
        pguTotalLoss: null,
        pguLossPercentage: null,
        pguFeedLoadPercentage: null,
        pguToAeu: null,
        aeuToPgu: null,
        pguAeuTH: null,
        pguBtxYeildPercentage: null,
        pguBtxProduced: null,
        pguBtxInventory: null,
        pguBtxChange: null,
        pguBtxExport: null,
        pguBtxToAeu: null,
        pguWashoilYeildPercentage: null,
        pguWashoilProduced: null,
        pguWashoilInventory: null,
        pguWashoilChange: null,
        pguWashoilExport: null,
        pguWashoilToEu: null,
        pguOffgasYeildPercentage: null,
        pguOffgasProduced: null,
        pguOffgasInventory: null,
        pguOffgasChange: null,
        pguOffgasExport: null,
        pguOffgasToEu: null,
        pguC5YeildPercentage: null,
        pguC5Produced: null,
        pguC5Inventory: null,
        pguC5Change: null,
        pguC5Export: null,
        pguC5ToAeu: null,
        pguC5ToEu: null,
        pguC5ToYuanguan: null,
        pguC9YeildPercentage: null,
        pguC9Produced: null,
        pguC9Inventory: null,
        pguC9Change: null,
        pguC9Export: null,
        pguC9ToAeu: null,
        pguC9ToRttf: null,
        pguC9ToShip: null,
        pguC9ToYfcc: null,
        aeuBenzeneYeildPercentage: null,
        aeuBenzeneProduced: null,
        aeuBenzeneInventory: null,
        aeuBenzeneChange: null,
        aeuBenzeneToShip: null,
        aeuBenzeneFrShip: null,
        aeuBenzeneToYbs: null,
        aeuBenzeneToRttf: null,
        aeuBenzeneToTrain: null,
        aeuTolueneYeildPercentage: null,
        aeuTolueneProduced: null,
        aeuTolueneInventory: null,
        aeuTolueneChange: null,
        aeuTolueneToShip: null,
        aeuTolueneFrShip: null,
        aeuTolueneToYpc: null,
        aeuTolueneFrYpc: null,
        aeuTolueneToRttf: null,
        aeuTolueneFrYbs: null,
        aeuTolueneToEu: null,
        aeuXyleneYeildPercentage: null,
        aeuXyleneProduced: null,
        aeuXyleneInventory: null,
        aeuXyleneChange: null,
        aeuXyleneToShip: null,
        aeuXyleneFrShip: null,
        aeuXyleneToYpc: null,
        aeuXyleneFrYpc: null,
        aeuXyleneToRttf: null,
        aeuC6C8NaYeildPercentage: null,
        aeuC6C8NaProduced: null,
        aeuC6C8NaInventory: null,
        aeuC6C8NaChange: null,
        aeuC6C8NaToEu: null,
        aeuC6C8NaToYpc: null,
        aeuTotalFeed: null,
        aeuOutput: null,
        aeuTotalLoss: null,
        aeuLossPercentage: null,
        aeuFeedLoadPercentage: null,
        pguAeuTotalFeed: null,
        pguAeuOutput: null,
        pguAeuTotalLoss: null,
        pguAeuLossPercentage: null,
        pguAeuFeedLoadPercentage: null
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
      },
      // 每日生产报告数据
      reportData: {
        fromDate: null,
        toDate: null,
        reportDate: null,
        nap: null,
        c5: null,
        c6C8Na: null,
        wisonEthane: null,
        lpgToFurnace: null,
        raff1FrBd: null,
        raff2FrIb: null,
        raff3FrBd: null,
        raffinate2pFr2ph: null,
        c2FrLdpe: null,
        c3FrOxo: null,
        mixedC3C4: null,
        hyC9: null,
        pguOffgas: null,
        washOil: null,
        toluene: null,
        hyC4FrR800: null,
        h2YieldPercentage: null,
        h2Produced: null,
        h2Inventory: null,
        h2Change: null,
        h2Import: null,
        h2Export: null,
        h2ToPgu: null,
        h2ToYpc: null,
        h2ToOxo: null,
        h2FrSyngasToSub: null,
        ethylenYieldPercentage: null,
        ethylenProduced: null,
        ethylenInventory: null,
        ethylenChange: null,
        ethylenImport: null,
        ethylenExport: null,
        ethylenToTm: null,
        ethylenToTs: null,
        ethylenToEoEg: null,
        ethylenToOxo: null,
        ethylenToYbs: null,
        ethylenToYpc: null,
        ethylenToWacker: null,
        ethylenToDyna: null,
        ethylenToCelanLongx: null,
        ethylenFrYpc: null,
        ethylenFrLongxiang: null,
        propyleneYieldPercentage: null,
        propyleneProduced: null,
        propyleneInventory: null,
        propyleneChange: null,
        propyleneImport: null,
        propyleneExport: null,
        propyleneToAaAe: null,
        propyleneToGaa: null,
        propyleneToOxo: null,
        propyleneToLdpe: null,
        propyleneToYpc: null,
        propyleneToRoad: null,
        propyleneToShip: null,
        propyleneFrYpc: null,
        propyleneFrShip: null,
        propyleneFrChengzhi: null,
        c3LpgYieldPercentage: null,
        c4LpgYieldPercentage: null,
        c3LpgProduced: null,
        c4LpgProduced: null,
        c3C4Inventory: null,
        c3C4Change: null,
        c3C4Import: null,
        c3C4Export: null,
        c3C4ToSub: null,
        c3C4ToFurAsFule: null,
        c3C4AsFeed: null,
        c3C4FrYpc: null,
        c3C4FrTruck: null,
        mixedC4sYieldPercentage: null,
        mixedC4sProduced: null,
        mixedC4sInventory: null,
        mixedC4sChange: null,
        mixedC4sImport: null,
        mixedC4sExport: null,
        mixedC4sToBd: null,
        mixedC4sToYpc: null,
        mixedC4sToTruck: null,
        mixedC4sToShip: null,
        mixedC4sFrYpc: null,
        mixedC4sFrTruck: null,
        mixedC4sFrShip: null,
        mixedC4sFrBdR1: null,
        mixedC4sToR800: null,
        eboYieldPercentage: null,
        eboProduced: null,
        eboInventory: null,
        eboChange: null,
        eboImport: null,
        eboExport: null,
        eboToShip: null,
        eboToRttf: null,
        eboToTrain: null,
        eboFrBd: null,
        naphthaleneYieldPercentage: null,
        naphthaleneProduced: null,
        naphthaleneInventory: null,
        naphthaleneChange: null,
        naphthaleneImport: null,
        naphthaleneExport: null,
        naphthaleneToTruck: null,
        poFluxOilYieldPercentage: null,
        poFluxOilProduced: null,
        poFluxOilInventory: null,
        poFluxOilChange: null,
        poFluxOilImport: null,
        poFluxOilExport: null,
        poFluxOilToBd: null,
        offgasYieldPercentage: null,
        offgasProduced: null,
        offgasInventory: null,
        offgasChange: null,
        offgasImport: null,
        offgasExport: null,
        offgasToFurnance: null,
        offgasToYbs: null,
        offgasToCEru: null,
        offgasSubInCloseU2: null,
        offgasFlareSctu: null,
        offgasToU2Nm3: null,
        offgasFlareLossT: null,
        rpgYieldPercentage: null,
        rpgProduced: null,
        rpgInventory: null,
        rpgChange: null,
        rpgImport: null,
        rpgExport: null,
        rpgToPgu: null,
        rpgFrYfcc: null,
        methaneYieldPercentage: null,
        methaneProduced: null,
        methaneToEoEg: null,
        residueOilYieldPercentage: null,
        residueOilProduced: null,
        totalInput: null,
        totalOutput: null,
        totalLoss: null,
        lossPercentage: null,
        totalFurnanceFeed: null,
        napFrCltf: null,
        totalPE: null,
        plantModeIs: null,
        plantLoad3495tD: null,
        avgFurnanceFeedTH: null,
        feedingRatioPercentage: null,
        hhpToe: null,
        hhpTce: null,
        hhpPre: null,
        hhpCracker: null,
        hhpCrackerTT: null,
        hhpCrackerKgoe: null,
        hhpCrackerKgce: null,
        hhpPguAeu: null,
        hhpPguAeuTT: null,
        hhpPguAeuKgoe: null,
        hhpPguAeuKgce: null,
        hhpSctuFlare: null,
        hhpSub: null,
        hhpBcc: null,
        ngToe: null,
        ngTce: null,
        ngPre: null,
        ngCracker: null,
        ngCrackerTT: null,
        ngCrackerKgoe: null,
        ngCrackerKgce: null,
        ngPguAeu: null,
        ngPguAeuTT: null,
        ngPguAeuKgoe: null,
        ngPguAeuKgce: null,
        ngSctuFlare: null,
        ngSub: null,
        ngBcc: null,
        fuelGasOffgasToe: null,
        fuelGasOffgasTce: null,
        fuelGasOffgasPre: null,
        fuelGasOffgasCracker: null,
        fuelGasOffgasCrackerTT: null,
        fuelGasOffgasCrackerKgoe: null,
        fuelGasOffgasCrackerKgce: null,
        fuelGasOffgasPguAeu: null,
        fuelGasOffgasPguAeuTT: null,
        fuelGasOffgasPguAeuKgoe: null,
        fuelGasOffgasPguAeuKgce: null,
        fuelGasOffgasSctuFlare: null,
        fuelGasOffgasSub: null,
        fuelGasOffgasBcc: null,
        shpToe: null,
        shpTce: null,
        shpPre: null,
        shpCracker: null,
        shpCrackerTT: null,
        shpCrackerKgoe: null,
        shpCrackerKgce: null,
        shpPguAeu: null,
        shpPguAeuTT: null,
        shpPguAeuKgoe: null,
        shpPguAeuKgce: null,
        shpSctuFlare: null,
        shpSub: null,
        shpBcc: null,
        hpToe: null,
        hpTce: null,
        hpPre: null,
        hpCracker: null,
        hpCrackerTT: null,
        hpCrackerKgoe: null,
        hpCrackerKgce: null,
        hpPguAeu: null,
        hpPguAeuTT: null,
        hpPguAeuKgoe: null,
        hpPguAeuKgce: null,
        hpSctuFlare: null,
        hpSub: null,
        hpBcc: null,
        mpToe: null,
        mpTce: null,
        mpPre: null,
        mpCracker: null,
        mpCrackerTT: null,
        mpCrackerKgoe: null,
        mpCrackerKgce: null,
        mpPguAeu: null,
        mpPguAeuTT: null,
        mpPguAeuKgoe: null,
        mpPguAeuKgce: null,
        mpSctuFlare: null,
        mpSub: null,
        mpBcc: null,
        lpToe: null,
        lpTce: null,
        lpPre: null,
        lpCracker: null,
        lpCrackerTT: null,
        lpCrackerKgoe: null,
        lpCrackerKgce: null,
        lpPguAeu: null,
        lpPguAeuTT: null,
        lpPguAeuKgoe: null,
        lpPguAeuKgce: null,
        lpSctuFlare: null,
        lpSub: null,
        lpBcc: null,
        electricityToe: null,
        electricityTce: null,
        electricityPre: null,
        electricityCracker: null,
        electricityCrackerTT: null,
        electricityCrackerKgoe: null,
        electricityCrackerKgce: null,
        electricityPguAeu: null,
        electricityPguAeuTT: null,
        electricityPguAeuKgoe: null,
        electricityPguAeuKgce: null,
        electricitySctuFlare: null,
        electricitySub: null,
        electricityBcc: null,
        coolingWaterToe: null,
        coolingWaterTce: null,
        coolingWaterPre: null,
        coolingWaterCracker: null,
        coolingWaterCrackerTT: null,
        coolingWaterCrackerKgoe: null,
        coolingWaterCrackerKgce: null,
        coolingWaterPguAeu: null,
        coolingWaterPguAeuTT: null,
        coolingWaterPguAeuKgoe: null,
        coolingWaterPguAeuKgce: null,
        coolingWaterSctuFlare: null,
        coolingWaterSub: null,
        coolingWaterBcc: null,
        polishedConToe: null,
        polishedConTce: null,
        polishedConPre: null,
        polishedConCracker: null,
        polishedConCrackerTT: null,
        polishedConCrackerKgoe: null,
        polishedConCrackerKgce: null,
        polishedConPguAeu: null,
        polishedConPguAeuTT: null,
        polishedConPguAeuKgoe: null,
        polishedConPguAeuKgce: null,
        polishedConSctuFlare: null,
        polishedConSub: null,
        polishedConBcc: null,
        hpBfwToe: null,
        hpBfwTce: null,
        hpBfwPre: null,
        hpBfwCracker: null,
        hpBfwCrackerTT: null,
        hpBfwCrackerKgoe: null,
        hpBfwCrackerKgce: null,
        hpBfwPguAeu: null,
        hpBfwPguAeuTT: null,
        hpBfwPguAeuKgoe: null,
        hpBfwPguAeuKgce: null,
        hpBfwSctuFlare: null,
        hpBfwSub: null,
        hpBfwBcc: null,
        prodWaterToe: null,
        prodWaterTce: null,
        prodWaterPre: null,
        prodWaterCracker: null,
        prodWaterCrackerTT: null,
        prodWaterCrackerKgoe: null,
        prodWaterCrackerKgce: null,
        prodWaterPguAeu: null,
        prodWaterPguAeuTT: null,
        prodWaterPguAeuKgoe: null,
        prodWaterPguAeuKgce: null,
        prodWaterSctuFlare: null,
        prodWaterSub: null,
        prodWaterBcc: null,
        turbineConToe: null,
        turbineConTce: null,
        turbineConPre: null,
        turbineConCracker: null,
        turbineConCrackerTT: null,
        turbineConCrackerKgoe: null,
        turbineConCrackerKgce: null,
        turbineConPguAeu: null,
        turbineConPguAeuTT: null,
        turbineConPguAeuKgoe: null,
        turbineConPguAeuKgce: null,
        turbineConSctuFlare: null,
        turbineConSub: null,
        turbineConBcc: null,
        paIaToe: null,
        paIaTce: null,
        paIaPre: null,
        paIaCracker: null,
        paIaCrackerTT: null,
        paIaCrackerKgoe: null,
        paIaCrackerKgce: null,
        paIaPguAeu: null,
        paIaPguAeuTT: null,
        paIaPguAeuKgoe: null,
        paIaPguAeuKgce: null,
        paIaSctuFlare: null,
        paIaSub: null,
        paIaBcc: null,
        n2Toe: null,
        n2Tce: null,
        n2Pre: null,
        n2Cracker: null,
        n2CrackerTT: null,
        n2CrackerKgoe: null,
        n2CrackerKgce: null,
        n2PguAeu: null,
        n2PguAeuTT: null,
        n2PguAeuKgoe: null,
        n2PguAeuKgce: null,
        n2SctuFlare: null,
        n2Sub: null,
        n2Bcc: null,
        totalToe: null,
        totalTce: null,
        totalPre: null,
        totalCracker: null,
        totalCrackerTT: null,
        totalCrackerKgoe: null,
        totalCrackerKgce: null,
        totalPguAeu: null,
        totalPguAeuTT: null,
        totalPguAeuKgoe: null,
        totalPguAeuKgce: null,
        targetToe: null,
        targetTce: null,
        targetPre: null,
        targetCracker: null,
        targetCrackerTT: null,
        targetCrackerKgoe: null,
        targetCrackerKgce: null,
        targetPguAeu: null,
        targetPguAeuTT: null,
        targetPguAeuKgoe: null,
        targetPguAeuKgce: null,
        producedToe: null,
        producedTce: null,
        producedPre: null,
        producedCracker: null,
        producedCrackerTT: null,
        producedCrackerKgoe: null,
        producedCrackerKgce: null,
        producedPguAeu: null,
        producedPguAeuTT: null,
        producedPguAeuKgoe: null,
        producedPguAeuKgce: null,
        frEoEg: null,
        loadPercentage: null,
        hsProducet: null,
        sctfStorageTotalC2: null,
        sctfStorageTk1061: null,
        sctfStorageTk1062: null,
        sctfStorageTk1063: null,
        sctfStorageTk1064: null,
        sctfStorageTk1065Off: null,
        sctfStorageTotalC3: null,
        sctfStorageTk1011: null,
        sctfStorageTk1012: null,
        sctfStorageTk1013: null,
        sctfStorageTk1014: null,
        sctfStorageTk1040Off: null,
        sctfStorageTk1020Lpg: null,
        sctfStorageTk1111C4s: null,
        sctfStorageTk1520Rpg: null,
        sctfStorageTk1350Po: null,
        sctfStorageTk1310Btx: null,
        sctfStorageTk1330Ebo: null,
        sctfStorageTk1430Lfo: null,
        sctfStorageTk1320OffBtx: null,
        sctfStorageT201Btx: null,
        sctfStorageTk1340C9: null,
        sctfStorageClt1350C9: null,
        sctfStorageTk1160Nh3: null,
        sctfStorageTk1510B: null,
        sctfStorageClt1370B: null,
        sctfStorageTk1360T: null,
        sctfStorageTk1410X: null,
        sctfStorageClt1380X: null,
        sctfStorageTk1420Dimer: null,
        sctfStorageTk1110R1: null,
        sctfStorageTk1130Ib: null,
        sctfStorageTk1150R3: null,
        sctfStorageTk1140Bd: null,
        sctfStorageTk1141Bd: null,
        sctfStorageTk1142Bd: null,
        sctfStorageTotalNap: null,
        sctfStorageCltf1621: null,
        sctfStorageCltf1622: null,
        sctfStorageCltf1623: null,
        pguToRpg: null,
        rpgToPgu2: null,
        pguRpgTH: null,
        pguRpg1: null,
        pguRpg2: null,
        pguH2: null,
        pguTotalFeed: null,
        pguOutput: null,
        pguTotalLoss: null,
        pguLossPercentage: null,
        pguFeedLoadPercentage: null,
        pguToAeu: null,
        aeuToPgu: null,
        pguAeuTH: null,
        pguBtxYeildPercentage: null,
        pguBtxProduced: null,
        pguBtxInventory: null,
        pguBtxChange: null,
        pguBtxExport: null,
        pguBtxToAeu: null,
        pguWashoilYeildPercentage: null,
        pguWashoilProduced: null,
        pguWashoilInventory: null,
        pguWashoilChange: null,
        pguWashoilExport: null,
        pguWashoilToEu: null,
        pguOffgasYeildPercentage: null,
        pguOffgasProduced: null,
        pguOffgasInventory: null,
        pguOffgasChange: null,
        pguOffgasExport: null,
        pguOffgasToEu: null,
        pguC5YeildPercentage: null,
        pguC5Produced: null,
        pguC5Inventory: null,
        pguC5Change: null,
        pguC5Export: null,
        pguC5ToAeu: null,
        pguC5ToEu: null,
        pguC5ToYuanguan: null,
        pguC9YeildPercentage: null,
        pguC9Produced: null,
        pguC9Inventory: null,
        pguC9Change: null,
        pguC9Export: null,
        pguC9ToAeu: null,
        pguC9ToRttf: null,
        pguC9ToShip: null,
        pguC9ToYfcc: null,
        aeuBenzeneYeildPercentage: null,
        aeuBenzeneProduced: null,
        aeuBenzeneInventory: null,
        aeuBenzeneChange: null,
        aeuBenzeneToShip: null,
        aeuBenzeneFrShip: null,
        aeuBenzeneToYbs: null,
        aeuBenzeneToRttf: null,
        aeuBenzeneToTrain: null,
        aeuTolueneYeildPercentage: null,
        aeuTolueneProduced: null,
        aeuTolueneInventory: null,
        aeuTolueneChange: null,
        aeuTolueneToShip: null,
        aeuTolueneFrShip: null,
        aeuTolueneToYpc: null,
        aeuTolueneFrYpc: null,
        aeuTolueneToRttf: null,
        aeuTolueneFrYbs: null,
        aeuTolueneToEu: null,
        aeuXyleneYeildPercentage: null,
        aeuXyleneProduced: null,
        aeuXyleneInventory: null,
        aeuXyleneChange: null,
        aeuXyleneToShip: null,
        aeuXyleneFrShip: null,
        aeuXyleneToYpc: null,
        aeuXyleneFrYpc: null,
        aeuXyleneToRttf: null,
        aeuC6C8NaYeildPercentage: null,
        aeuC6C8NaProduced: null,
        aeuC6C8NaInventory: null,
        aeuC6C8NaChange: null,
        aeuC6C8NaToEu: null,
        aeuC6C8NaToYpc: null,
        aeuTotalFeed: null,
        aeuOutput: null,
        aeuTotalLoss: null,
        aeuLossPercentage: null,
        aeuFeedLoadPercentage: null,
        pguAeuTotalFeed: null,
        pguAeuOutput: null,
        pguAeuTotalLoss: null,
        pguAeuLossPercentage: null,
        pguAeuFeedLoadPercentage: null
      }
    };
  },
  watch: {
        // 根据名称筛选部门树
        deptName(val) {
            this.$refs.tree.filter(val);
        }
   },
  created() {
      //设置表格高度对应屏幕高度
      this.$nextTick(() => {
          this.clientHeight = document.body.clientHeight -250
      })
    // this.getList();
    this.getTreeselect();
    this.loading = false;
  },
  methods: {
    /** 查询每日生产报告列表 */
    getList() {
      this.loading = true;
      listReport(this.queryParams).then(response => {
        this.reportList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
     /** 查询部门下拉树结构 */
     getTreeselect() {
          treeselect().then(response => {
              this.deptOptions = response.data;
          });
     },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        fromDate: null,
        toDate: null,
        reportDate: null,
        reportCode: null,
        nap: null,
        c5: null,
        c6C8Na: null,
        wisonEthane: null,
        lpgToFurnace: null,
        raff1FrBd: null,
        raff2FrIb: null,
        raff3FrBd: null,
        raffinate2pFr2ph: null,
        c2FrLdpe: null,
        c3FrOxo: null,
        mixedC3C4: null,
        hyC9: null,
        pguOffgas: null,
        washOil: null,
        toluene: null,
        hyC4FrR800: null,
        h2YieldPercentage: null,
        h2Produced: null,
        h2Inventory: null,
        h2Change: null,
        h2Import: null,
        h2Export: null,
        h2ToPgu: null,
        h2ToYpc: null,
        h2ToOxo: null,
        h2FrSyngasToSub: null,
        ethylenYieldPercentage: null,
        ethylenProduced: null,
        ethylenInventory: null,
        ethylenChange: null,
        ethylenImport: null,
        ethylenExport: null,
        ethylenToTm: null,
        ethylenToTs: null,
        ethylenToEoEg: null,
        ethylenToOxo: null,
        ethylenToYbs: null,
        ethylenToYpc: null,
        ethylenToWacker: null,
        ethylenToDyna: null,
        ethylenToCelanLongx: null,
        ethylenFrYpc: null,
        ethylenFrLongxiang: null,
        propyleneYieldPercentage: null,
        propyleneProduced: null,
        propyleneInventory: null,
        propyleneChange: null,
        propyleneImport: null,
        propyleneExport: null,
        propyleneToAaAe: null,
        propyleneToGaa: null,
        propyleneToOxo: null,
        propyleneToLdpe: null,
        propyleneToYpc: null,
        propyleneToRoad: null,
        propyleneToShip: null,
        propyleneFrYpc: null,
        propyleneFrShip: null,
        propyleneFrChengzhi: null,
        c3LpgYieldPercentage: null,
        c4LpgYieldPercentage: null,
        c3LpgProduced: null,
        c4LpgProduced: null,
        c3C4Inventory: null,
        c3C4Change: null,
        c3C4Import: null,
        c3C4Export: null,
        c3C4ToSub: null,
        c3C4ToFurAsFule: null,
        c3C4AsFeed: null,
        c3C4FrYpc: null,
        c3C4FrTruck: null,
        mixedC4sYieldPercentage: null,
        mixedC4sProduced: null,
        mixedC4sInventory: null,
        mixedC4sChange: null,
        mixedC4sImport: null,
        mixedC4sExport: null,
        mixedC4sToBd: null,
        mixedC4sToYpc: null,
        mixedC4sToTruck: null,
        mixedC4sToShip: null,
        mixedC4sFrYpc: null,
        mixedC4sFrTruck: null,
        mixedC4sFrShip: null,
        mixedC4sFrBdR1: null,
        mixedC4sToR800: null,
        eboYieldPercentage: null,
        eboProduced: null,
        eboInventory: null,
        eboChange: null,
        eboImport: null,
        eboExport: null,
        eboToShip: null,
        eboToRttf: null,
        eboToTrain: null,
        eboFrBd: null,
        naphthaleneYieldPercentage: null,
        naphthaleneProduced: null,
        naphthaleneInventory: null,
        naphthaleneChange: null,
        naphthaleneImport: null,
        naphthaleneExport: null,
        naphthaleneToTruck: null,
        poFluxOilYieldPercentage: null,
        poFluxOilProduced: null,
        poFluxOilInventory: null,
        poFluxOilChange: null,
        poFluxOilImport: null,
        poFluxOilExport: null,
        poFluxOilToBd: null,
        offgasYieldPercentage: null,
        offgasProduced: null,
        offgasInventory: null,
        offgasChange: null,
        offgasImport: null,
        offgasExport: null,
        offgasToFurnance: null,
        offgasToYbs: null,
        offgasToCEru: null,
        offgasSubInCloseU2: null,
        offgasFlareSctu: null,
        offgasToU2Nm3: null,
        offgasFlareLossT: null,
        rpgYieldPercentage: null,
        rpgProduced: null,
        rpgInventory: null,
        rpgChange: null,
        rpgImport: null,
        rpgExport: null,
        rpgToPgu: null,
        rpgFrYfcc: null,
        methaneYieldPercentage: null,
        methaneProduced: null,
        methaneToEoEg: null,
        residueOilYieldPercentage: null,
        residueOilProduced: null,
        totalInput: null,
        totalOutput: null,
        totalLoss: null,
        lossPercentage: null,
        totalFurnanceFeed: null,
        napFrCltf: null,
        totalPE: null,
        plantModeIs: null,
        plantLoad3495tD: null,
        avgFurnanceFeedTH: null,
        feedingRatioPercentage: null,
        hhpToe: null,
        hhpTce: null,
        hhpPre: null,
        hhpCracker: null,
        hhpCrackerTT: null,
        hhpCrackerKgoe: null,
        hhpCrackerKgce: null,
        hhpPguAeu: null,
        hhpPguAeuTT: null,
        hhpPguAeuKgoe: null,
        hhpPguAeuKgce: null,
        hhpSctuFlare: null,
        hhpSub: null,
        hhpBcc: null,
        ngToe: null,
        ngTce: null,
        ngPre: null,
        ngCracker: null,
        ngCrackerTT: null,
        ngCrackerKgoe: null,
        ngCrackerKgce: null,
        ngPguAeu: null,
        ngPguAeuTT: null,
        ngPguAeuKgoe: null,
        ngPguAeuKgce: null,
        ngSctuFlare: null,
        ngSub: null,
        ngBcc: null,
        fuelGasOffgasToe: null,
        fuelGasOffgasTce: null,
        fuelGasOffgasPre: null,
        fuelGasOffgasCracker: null,
        fuelGasOffgasCrackerTT: null,
        fuelGasOffgasCrackerKgoe: null,
        fuelGasOffgasCrackerKgce: null,
        fuelGasOffgasPguAeu: null,
        fuelGasOffgasPguAeuTT: null,
        fuelGasOffgasPguAeuKgoe: null,
        fuelGasOffgasPguAeuKgce: null,
        fuelGasOffgasSctuFlare: null,
        fuelGasOffgasSub: null,
        fuelGasOffgasBcc: null,
        shpToe: null,
        shpTce: null,
        shpPre: null,
        shpCracker: null,
        shpCrackerTT: null,
        shpCrackerKgoe: null,
        shpCrackerKgce: null,
        shpPguAeu: null,
        shpPguAeuTT: null,
        shpPguAeuKgoe: null,
        shpPguAeuKgce: null,
        shpSctuFlare: null,
        shpSub: null,
        shpBcc: null,
        hpToe: null,
        hpTce: null,
        hpPre: null,
        hpCracker: null,
        hpCrackerTT: null,
        hpCrackerKgoe: null,
        hpCrackerKgce: null,
        hpPguAeu: null,
        hpPguAeuTT: null,
        hpPguAeuKgoe: null,
        hpPguAeuKgce: null,
        hpSctuFlare: null,
        hpSub: null,
        hpBcc: null,
        mpToe: null,
        mpTce: null,
        mpPre: null,
        mpCracker: null,
        mpCrackerTT: null,
        mpCrackerKgoe: null,
        mpCrackerKgce: null,
        mpPguAeu: null,
        mpPguAeuTT: null,
        mpPguAeuKgoe: null,
        mpPguAeuKgce: null,
        mpSctuFlare: null,
        mpSub: null,
        mpBcc: null,
        lpToe: null,
        lpTce: null,
        lpPre: null,
        lpCracker: null,
        lpCrackerTT: null,
        lpCrackerKgoe: null,
        lpCrackerKgce: null,
        lpPguAeu: null,
        lpPguAeuTT: null,
        lpPguAeuKgoe: null,
        lpPguAeuKgce: null,
        lpSctuFlare: null,
        lpSub: null,
        lpBcc: null,
        electricityToe: null,
        electricityTce: null,
        electricityPre: null,
        electricityCracker: null,
        electricityCrackerTT: null,
        electricityCrackerKgoe: null,
        electricityCrackerKgce: null,
        electricityPguAeu: null,
        electricityPguAeuTT: null,
        electricityPguAeuKgoe: null,
        electricityPguAeuKgce: null,
        electricitySctuFlare: null,
        electricitySub: null,
        electricityBcc: null,
        coolingWaterToe: null,
        coolingWaterTce: null,
        coolingWaterPre: null,
        coolingWaterCracker: null,
        coolingWaterCrackerTT: null,
        coolingWaterCrackerKgoe: null,
        coolingWaterCrackerKgce: null,
        coolingWaterPguAeu: null,
        coolingWaterPguAeuTT: null,
        coolingWaterPguAeuKgoe: null,
        coolingWaterPguAeuKgce: null,
        coolingWaterSctuFlare: null,
        coolingWaterSub: null,
        coolingWaterBcc: null,
        polishedConToe: null,
        polishedConTce: null,
        polishedConPre: null,
        polishedConCracker: null,
        polishedConCrackerTT: null,
        polishedConCrackerKgoe: null,
        polishedConCrackerKgce: null,
        polishedConPguAeu: null,
        polishedConPguAeuTT: null,
        polishedConPguAeuKgoe: null,
        polishedConPguAeuKgce: null,
        polishedConSctuFlare: null,
        polishedConSub: null,
        polishedConBcc: null,
        hpBfwToe: null,
        hpBfwTce: null,
        hpBfwPre: null,
        hpBfwCracker: null,
        hpBfwCrackerTT: null,
        hpBfwCrackerKgoe: null,
        hpBfwCrackerKgce: null,
        hpBfwPguAeu: null,
        hpBfwPguAeuTT: null,
        hpBfwPguAeuKgoe: null,
        hpBfwPguAeuKgce: null,
        hpBfwSctuFlare: null,
        hpBfwSub: null,
        hpBfwBcc: null,
        prodWaterToe: null,
        prodWaterTce: null,
        prodWaterPre: null,
        prodWaterCracker: null,
        prodWaterCrackerTT: null,
        prodWaterCrackerKgoe: null,
        prodWaterCrackerKgce: null,
        prodWaterPguAeu: null,
        prodWaterPguAeuTT: null,
        prodWaterPguAeuKgoe: null,
        prodWaterPguAeuKgce: null,
        prodWaterSctuFlare: null,
        prodWaterSub: null,
        prodWaterBcc: null,
        turbineConToe: null,
        turbineConTce: null,
        turbineConPre: null,
        turbineConCracker: null,
        turbineConCrackerTT: null,
        turbineConCrackerKgoe: null,
        turbineConCrackerKgce: null,
        turbineConPguAeu: null,
        turbineConPguAeuTT: null,
        turbineConPguAeuKgoe: null,
        turbineConPguAeuKgce: null,
        turbineConSctuFlare: null,
        turbineConSub: null,
        turbineConBcc: null,
        paIaToe: null,
        paIaTce: null,
        paIaPre: null,
        paIaCracker: null,
        paIaCrackerTT: null,
        paIaCrackerKgoe: null,
        paIaCrackerKgce: null,
        paIaPguAeu: null,
        paIaPguAeuTT: null,
        paIaPguAeuKgoe: null,
        paIaPguAeuKgce: null,
        paIaSctuFlare: null,
        paIaSub: null,
        paIaBcc: null,
        n2Toe: null,
        n2Tce: null,
        n2Pre: null,
        n2Cracker: null,
        n2CrackerTT: null,
        n2CrackerKgoe: null,
        n2CrackerKgce: null,
        n2PguAeu: null,
        n2PguAeuTT: null,
        n2PguAeuKgoe: null,
        n2PguAeuKgce: null,
        n2SctuFlare: null,
        n2Sub: null,
        n2Bcc: null,
        totalToe: null,
        totalTce: null,
        totalPre: null,
        totalCracker: null,
        totalCrackerTT: null,
        totalCrackerKgoe: null,
        totalCrackerKgce: null,
        totalPguAeu: null,
        totalPguAeuTT: null,
        totalPguAeuKgoe: null,
        totalPguAeuKgce: null,
        targetToe: null,
        targetTce: null,
        targetPre: null,
        targetCracker: null,
        targetCrackerTT: null,
        targetCrackerKgoe: null,
        targetCrackerKgce: null,
        targetPguAeu: null,
        targetPguAeuTT: null,
        targetPguAeuKgoe: null,
        targetPguAeuKgce: null,
        producedToe: null,
        producedTce: null,
        producedPre: null,
        producedCracker: null,
        producedCrackerTT: null,
        producedCrackerKgoe: null,
        producedCrackerKgce: null,
        producedPguAeu: null,
        producedPguAeuTT: null,
        producedPguAeuKgoe: null,
        producedPguAeuKgce: null,
        frEoEg: null,
        loadPercentage: null,
        hsProducet: null,
        sctfStorageTotalC2: null,
        sctfStorageTk1061: null,
        sctfStorageTk1062: null,
        sctfStorageTk1063: null,
        sctfStorageTk1064: null,
        sctfStorageTk1065Off: null,
        sctfStorageTotalC3: null,
        sctfStorageTk1011: null,
        sctfStorageTk1012: null,
        sctfStorageTk1013: null,
        sctfStorageTk1014: null,
        sctfStorageTk1040Off: null,
        sctfStorageTk1020Lpg: null,
        sctfStorageTk1111C4s: null,
        sctfStorageTk1520Rpg: null,
        sctfStorageTk1350Po: null,
        sctfStorageTk1310Btx: null,
        sctfStorageTk1330Ebo: null,
        sctfStorageTk1430Lfo: null,
        sctfStorageTk1320OffBtx: null,
        sctfStorageT201Btx: null,
        sctfStorageTk1340C9: null,
        sctfStorageClt1350C9: null,
        sctfStorageTk1160Nh3: null,
        sctfStorageTk1510B: null,
        sctfStorageClt1370B: null,
        sctfStorageTk1360T: null,
        sctfStorageTk1410X: null,
        sctfStorageClt1380X: null,
        sctfStorageTk1420Dimer: null,
        sctfStorageTk1110R1: null,
        sctfStorageTk1130Ib: null,
        sctfStorageTk1150R3: null,
        sctfStorageTk1140Bd: null,
        sctfStorageTk1141Bd: null,
        sctfStorageTk1142Bd: null,
        sctfStorageTotalNap: null,
        sctfStorageCltf1621: null,
        sctfStorageCltf1622: null,
        sctfStorageCltf1623: null,
        pguToRpg: null,
        rpgToPgu2: null,
        pguRpgTH: null,
        pguRpg1: null,
        pguRpg2: null,
        pguH2: null,
        pguTotalFeed: null,
        pguOutput: null,
        pguTotalLoss: null,
        pguLossPercentage: null,
        pguFeedLoadPercentage: null,
        pguToAeu: null,
        aeuToPgu: null,
        pguAeuTH: null,
        pguBtxYeildPercentage: null,
        pguBtxProduced: null,
        pguBtxInventory: null,
        pguBtxChange: null,
        pguBtxExport: null,
        pguBtxToAeu: null,
        pguWashoilYeildPercentage: null,
        pguWashoilProduced: null,
        pguWashoilInventory: null,
        pguWashoilChange: null,
        pguWashoilExport: null,
        pguWashoilToEu: null,
        pguOffgasYeildPercentage: null,
        pguOffgasProduced: null,
        pguOffgasInventory: null,
        pguOffgasChange: null,
        pguOffgasExport: null,
        pguOffgasToEu: null,
        pguC5YeildPercentage: null,
        pguC5Produced: null,
        pguC5Inventory: null,
        pguC5Change: null,
        pguC5Export: null,
        pguC5ToAeu: null,
        pguC5ToEu: null,
        pguC5ToYuanguan: null,
        pguC9YeildPercentage: null,
        pguC9Produced: null,
        pguC9Inventory: null,
        pguC9Change: null,
        pguC9Export: null,
        pguC9ToAeu: null,
        pguC9ToRttf: null,
        pguC9ToShip: null,
        pguC9ToYfcc: null,
        aeuBenzeneYeildPercentage: null,
        aeuBenzeneProduced: null,
        aeuBenzeneInventory: null,
        aeuBenzeneChange: null,
        aeuBenzeneToShip: null,
        aeuBenzeneFrShip: null,
        aeuBenzeneToYbs: null,
        aeuBenzeneToRttf: null,
        aeuBenzeneToTrain: null,
        aeuTolueneYeildPercentage: null,
        aeuTolueneProduced: null,
        aeuTolueneInventory: null,
        aeuTolueneChange: null,
        aeuTolueneToShip: null,
        aeuTolueneFrShip: null,
        aeuTolueneToYpc: null,
        aeuTolueneFrYpc: null,
        aeuTolueneToRttf: null,
        aeuTolueneFrYbs: null,
        aeuTolueneToEu: null,
        aeuXyleneYeildPercentage: null,
        aeuXyleneProduced: null,
        aeuXyleneInventory: null,
        aeuXyleneChange: null,
        aeuXyleneToShip: null,
        aeuXyleneFrShip: null,
        aeuXyleneToYpc: null,
        aeuXyleneFrYpc: null,
        aeuXyleneToRttf: null,
        aeuC6C8NaYeildPercentage: null,
        aeuC6C8NaProduced: null,
        aeuC6C8NaInventory: null,
        aeuC6C8NaChange: null,
        aeuC6C8NaToEu: null,
        aeuC6C8NaToYpc: null,
        aeuTotalFeed: null,
        aeuOutput: null,
        aeuTotalLoss: null,
        aeuLossPercentage: null,
        aeuFeedLoadPercentage: null,
        pguAeuTotalFeed: null,
        pguAeuOutput: null,
        pguAeuTotalLoss: null,
        pguAeuLossPercentage: null,
        pguAeuFeedLoadPercentage: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加每日生产报告";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getReport(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改每日生产报告";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateReport(this.form).then(response => {
              this.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addReport(this.form).then(response => {
              this.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$confirm('是否确认删除?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return delReport(ids);
        }).then(() => {
          this.getList();
          this.msgSuccess("删除成功");
        })
    },
    /** 导出按钮操作 */
    handleExport() {
      const queryParams = this.queryParams;
      this.$confirm('是否确认导出所有每日生产报告数据项?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return exportReport(queryParams);
        }).then(response => {
          this.download(response.msg);
        })
    },
      /** 导入按钮操作 */
      handleImport() {
          this.upload.title = "用户导入";
          this.upload.open = true;
      },
      /** 下载模板操作 */
      importTemplate() {
          importTemplate().then(response => {
              this.download(response.msg);
          });
      },
      // 文件上传中处理
      handleFileUploadProgress(event, file, fileList) {
          this.upload.isUploading = true;
      },
      // 文件上传成功处理
      handleFileSuccess(response, file, fileList) {
          this.upload.open = false;
          this.upload.isUploading = false;
          this.$refs.upload.clearFiles();
          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
          this.getList();
      },
      // 提交上传文件
      submitFileForm() {
          this.$refs.upload.submit();
      }
  }
};
</script>
<style scoped>
  table{
    border-width: 0px;
    border-spacing: 0px;
  }
  td{
    padding: 4px;
    white-space: nowrap;
  }
  .no-border{
    border: 0px;
  }
  .bg-yellow{
    background-color: #FFFF00;
  }
  .bg-yellow-light{
    background-color: #FCFEBA;
  }
  .bg-blue{
    background-color: #00FFFF;
  }
  .bg-blue-light{
    background-color: #CCFFFF;
  }
  .bg-blue-dark{
    background-color: #00B0F0;
  }
  .bg-blue-green-neon{
    background-color: #00FFCC;
  }
  .bg-green{
    background-color: #92D050;
  }
  .bg-green-neon{
    background-color: #00FF00;
  }
  .bg-green-blue-neon{
    background-color: #00FF99;
  }
  .bg-orange{
    background-color: #FFC000;
  }
  .bg-purple{
    background-color: #CCC0DA;
  }
  .bg-purple-light{
    background-color: #CCECFF;
  }
  .bg-grey-light{
    background-color: #EBF1DE;
  }
  .ft-red{
    color: red;
  }
  .ft-blue{
    color: blue;
  }
</style>
