<template>
  <div class="app-container contentBox">
    <el-row>
      <el-col>
        <div class="grid-content bg-purple">
          <el-form class="width-80">
            <!-- <el-row class="title-box clearable h3Parent width-c54">
              <el-col :span="24">
                <h3 class="titleUseStyle">
                  选择上报周期
                  <span class="company-txt">单位：万元</span>
                </h3>
              </el-col>
            </el-row>
            <div>
              <el-row :gutter="2">
                <el-col :span="12">
                  <div class="grid-content bg-purple">
                    <el-form-item label="年度">
                      <el-date-picker
                        type="year"
                        value-format="yyyy"
                        style="width:100%"
                        placeholder="选择年"
                        v-model="formInline.reportYear"
                      ></el-date-picker>
                    </el-form-item>
                  </div>
                </el-col>
                <el-col :span="12">
                  <div class="grid-content bg-purple">
                    <el-form-item label="月份">
                      <el-select v-model="formInline.reportMonth" placeholder="选择月">
                        <el-option
                          v-for="item in options"
                          :key="item.label"
                          :label="item.label"
                          :value="item.value"
                        ></el-option>
                      </el-select>
                    </el-form-item>
                  </div>
                </el-col>
              </el-row>
            </div>-->
            <div class="table-title width-c54">
              <div
                class="table-data"
              >{{formInline.reportYear?formInline.reportYear:'-'}}年{{formInline.reportMonth?formInline.reportMonth:'-'}}月份</div>
              <div style="height:50px;line-height:50px">
                <span
                  class="table-left"
                >编制单位：{{formInline.establishmentUnit?formInline.establishmentUnit:'-'}}</span>
                <span
                  class="table-left"
                  style="margin-left:22%"
                >编制时间：{{formInline.establishmentTime?formInline.establishmentTime.split('T')[0]:'-'}}</span>
                 <div class="table-right">
                  金额单位: 
                  <el-select @change="moneyUnitChange" v-model="moneyUnitValue" placeholder="请选择" style="width:100px;">
                    <el-option
                      v-for="item in options_"
                      :key="item.value"
                      :label="item.label"
                      :value="item.value">
                    </el-option>
                  </el-select>
                </div>
              </div>
            </div>
            <el-row>
              <el-col>
                <div class="table-from">
                  <table border="0" cellpadding="0" rules="all" width="100%">
                    <tr>
                      <td style="height: 50px;width: 300px;">项目</td>
                      <td style="width:40px">行次</td>
                      <td>
                        总计
                        <!-- <div class="tab-select">
                          <el-select
                            @change="enterpriseCategoryChange(formInline.enterpriseCategory)"
                            v-model="formInline.enterpriseCategory"
                            placeholder="请选择"
                          >
                            <el-option
                              v-for="item in enterpriseOptions"
                              :key="item.label"
                              :label="item.label"
                              :value="item.value"
                            ></el-option>
                          </el-select>
                        </div>-->
                      </td>
                      <td>购销企业</td>
                      <td>加工企业</td>
                      <td>其他企业</td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">一、营业收入</td>
                      <td>1</td>
                      <td>
                        <el-input v-model="formInline.salesIncome" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineTwo.salesIncome" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineThree.salesIncome" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineFour.salesIncome" :disabled="true" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>1、粮油销售收入</span>
                      </td>
                      <td>2</td>
                      <td>
                        <el-input
                          v-model="formInline.grainAndOilSalesIncome"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineTwo.grainAndOilSalesIncome"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineThree.grainAndOilSalesIncome"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineFour.grainAndOilSalesIncome"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">二、营业成本</td>
                      <td>3</td>
                      <td>
                        <el-input v-model="formInline.salesCost" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineTwo.salesCost" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineThree.salesCost" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineFour.salesCost" :disabled="true" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>1、粮油销售成本</span>
                      </td>
                      <td>4</td>
                      <td>
                        <el-input
                          v-model="formInline.grainAndOilSalesCost"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineTwo.grainAndOilSalesCost"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineThree.grainAndOilSalesCost"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineFour.grainAndOilSalesCost"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">三、费用总额</td>
                      <td>5</td>
                      <td>
                        <el-input v-model="formInline.totalCost" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineTwo.totalCost" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineThree.totalCost" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineFour.totalCost" :disabled="true" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>其中：1、利息</span>
                      </td>
                      <td>6</td>
                      <td>
                        <el-input v-model="formInline.interest" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineTwo.interest" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineThree.interest" :disabled="true" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input v-model="formInlineFour.interest" :disabled="true" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>2、工资和社保</span>
                      </td>
                      <td>7</td>
                      <td>
                        <el-input
                          v-model="formInline.wagesAndSocialSecurity"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineTwo.wagesAndSocialSecurity"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineThree.wagesAndSocialSecurity"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineFour.wagesAndSocialSecurity"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>3、保管费</span>
                      </td>
                      <td>8</td>
                      <td>
                        <el-input
                          v-model="formInline.depositCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineTwo.depositCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineThree.depositCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineFour.depositCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>4、运杂费</span>
                      </td>
                      <td>9</td>
                      <td>
                        <el-input
                          v-model="formInline.freightMiscellaneousCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineTwo.freightMiscellaneousCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineThree.freightMiscellaneousCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          v-model="formInlineFour.freightMiscellaneousCharges"
                          :disabled="true"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>5、折旧费及摊销</span>
                      </td>
                      <td>10</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.depreciationAndAmortization"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.depreciationAndAmortization"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.depreciationAndAmortization"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.depreciationAndAmortization"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">四、税金及附加</td>
                      <td>11</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.taxesAndSurcharges"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.taxesAndSurcharges"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.taxesAndSurcharges"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.taxesAndSurcharges"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">五、营业外收支净额</td>
                      <td>12</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.netOutOfBusinessIncome"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.netOutOfBusinessIncome"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.netOutOfBusinessIncome"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.netOutOfBusinessIncome"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>1、政府补助</span>
                      </td>
                      <td>13</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.governmentGrants"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.governmentGrants"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.governmentGrants"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.governmentGrants"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>（1）、粮油补贴收入</span>
                      </td>
                      <td>14</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.grainOilSubsidiesIncome"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.grainOilSubsidiesIncome"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.grainOilSubsidiesIncome"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.grainOilSubsidiesIncome"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>（2）、其他补助</span>
                      </td>
                      <td>15</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.otherSubsidies"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.otherSubsidies"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.otherSubsidies"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.otherSubsidies"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">六、其他项目收支净额（）损失以"-"填列</td>
                      <td>16</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.netRevenueOfOtherProjects"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.netRevenueOfOtherProjects"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.netRevenueOfOtherProjects"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.netRevenueOfOtherProjects"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">七、利润总额</td>
                      <td>17</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.totalProfit" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.totalProfit" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.totalProfit" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.totalProfit" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>减：所得税费用</span>
                      </td>
                      <td>18</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.incomeTaxExpenses"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.incomeTaxExpenses"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.incomeTaxExpenses"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.incomeTaxExpenses"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">八、净利润</td>
                      <td>19</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.netProfit" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.netProfit" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.netProfit" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.netProfit" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">九、资产总额</td>
                      <td>20</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.totalAssets" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.totalAssets" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.totalAssets" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.totalAssets" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>其中：流动资产</span>
                      </td>
                      <td>21</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.currentAssets" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.currentAssets" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.currentAssets" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.currentAssets" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>其中：1、存货</span>
                      </td>
                      <td>22</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.stock" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.stock" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.stock" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.stock" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-five td-h30">
                        <span>其中：粮油库存</span>
                      </td>
                      <td>23</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.grainAndOilInventory"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.grainAndOilInventory"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.grainAndOilInventory"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.grainAndOilInventory"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-four td-h30">
                        <span>2、货币基金</span>
                      </td>
                      <td>24</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.monetaryFunds" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.monetaryFunds" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.monetaryFunds" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.monetaryFunds" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-uuuuu td-h30">
                        <span>3、应收及预付账款</span>
                      </td>
                      <td>25</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.accountsReceivablePrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.accountsReceivablePrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.accountsReceivablePrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.accountsReceivablePrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-four11 td-h30">
                        <span>4、其他应收款</span>
                      </td>
                      <td>26</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.otherReceivables"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.otherReceivables"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.otherReceivables"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.otherReceivables"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-five td-h30">
                        <span>其中：应收补贴款</span>
                      </td>
                      <td>27</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.subsidiesReceivable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.subsidiesReceivable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.subsidiesReceivable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.subsidiesReceivable"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">十、负债总额</td>
                      <td>28</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.totalLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.totalLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.totalLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.totalLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>其中：流动负债</span>
                      </td>
                      <td>29</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.currentLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.currentLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.currentLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.currentLiabilities"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>其中：1、短期借款</span>
                      </td>
                      <td>30</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.shortTermBorrowing"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.shortTermBorrowing"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.shortTermBorrowing"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.shortTermBorrowing"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-five td-h30">
                        <span>其中：粮油借款</span>
                      </td>
                      <td>31</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.grainAndOilLoans"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.grainAndOilLoans"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.grainAndOilLoans"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.grainAndOilLoans"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-uuuuu td-h30">
                        <span>2、应付及预收账款</span>
                      </td>
                      <td>32</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.accountsPayableAndPrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.accountsPayableAndPrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.accountsPayableAndPrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.accountsPayableAndPrepaid"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-four11 td-h30">
                        <span>3、其他应付款</span>
                      </td>
                      <td>33</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.otherAccountsPayable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.otherAccountsPayable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.otherAccountsPayable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.otherAccountsPayable"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">十一、所有者权益</td>
                      <td>34</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.ownerRightsAndInterests"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.ownerRightsAndInterests"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.ownerRightsAndInterests"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.ownerRightsAndInterests"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>其中：实收资本</span>
                      </td>
                      <td>35</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.paidInCapital" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.paidInCapital" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.paidInCapital" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.paidInCapital" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>其中：国有资本</span>
                      </td>
                      <td>36</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.stateOwnedCapital"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.stateOwnedCapital"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.stateOwnedCapital"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.stateOwnedCapital"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-one td-h30">十二、已交税金</td>
                      <td>37</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.payingTax" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.payingTax" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.payingTax" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.payingTax" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>1、应交费用性税金（土地使用税、房产税）</span>
                      </td>
                      <td>38</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.expensableTaxPayable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.expensableTaxPayable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.expensableTaxPayable"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.expensableTaxPayable"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>2、已交费用性税金（土地使用税、房产税）</span>
                      </td>
                      <td>39</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.expensableTaxesPaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.expensableTaxesPaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.expensableTaxesPaid"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.expensableTaxesPaid"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <!-- <tr>
                      <td class="table-five td-h30">
                        <span>补充资料</span>
                      </td>
                      <td>40</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.supplementaryInformation"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.supplementaryInformation"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.supplementaryInformation"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.supplementaryInformation"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr> -->
                    <tr>
                      <td class="table-one td-h30">本年收购资金累计筹集金额</td>
                      <td>41</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.amountOfPurchaseFunds"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.amountOfPurchaseFunds"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.amountOfPurchaseFunds"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.amountOfPurchaseFunds"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-two td-h30">
                        <span>其中：1、农发行贷款</span>
                      </td>
                      <td>42</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.agriculturalDevBankLoan"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.agriculturalDevBankLoan"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.agriculturalDevBankLoan"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.agriculturalDevBankLoan"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>（1）政策性贷款</span>
                      </td>
                      <td>43</td>
                      <td>
                        <el-input :disabled="true" v-model="formInline.policyLoans" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineTwo.policyLoans" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineThree.policyLoans" resize="none"></el-input>
                      </td>
                      <td>
                        <el-input :disabled="true" v-model="formInlineFour.policyLoans" resize="none"></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>（2）备用保证基金项下贷款</span>
                      </td>
                      <td>44</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.loansUnderGuaranteeFund"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.loansUnderGuaranteeFund"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.loansUnderGuaranteeFund"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.loansUnderGuaranteeFund"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three table-button-small td-h30">
                        <span>2、其他金融机构贷款</span>
                        <!-- <el-tooltip class="item" effect="light" content="添加" placement="top">
                          <el-button
                            type="primary"
                            size="small"
                            class="button"
                            icon="el-icon-circle-plus-outline"
                            @click="addBank"
                          ></el-button>
                        </el-tooltip>-->
                      </td>
                      <td>45</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.loansFromOtherInstitutions"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.loansFromOtherInstitutions"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.loansFromOtherInstitutions"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.loansFromOtherInstitutions"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                    <tr v-for="(item, i) in bankArr" :key="i">
                      <td class="table-five td-h30">
                        <span v-if="item.name && !item.add">{{item.name}}</span>
                        <!-- <span v-if="item.add">
                          <el-input v-model="item.name" resize="none" placeholder="请输入"></el-input>
                        </span> -->
                      </td>
                      <td>{{45 + i + 1}}</td>
                      <td class="table-button-deleteBank">
                        <span v-if="item.name && !item.add">{{item.money}}</span>
                        <!-- <span v-if="item.add">
                          <el-input v-model="item.money" resize="none" placeholder="请输入"></el-input>
                        </span> -->
                        <!-- <el-tooltip
                          v-if="item.add"
                          class="item"
                          effect="light"
                          content="删除"
                          placement="top"
                        >
                          <el-button
                            type="primary"
                            size="small"
                            class="button"
                            icon="el-icon-circle-close"
                            @click="deleteBank(i)"
                          ></el-button>
                        </el-tooltip> -->
                      </td>
                      <td class="table-button-deleteBank">
                        <span v-if="item.name && !item.add">{{item.money}}</span>
                        <!-- <span v-if="item.add">
                          <el-input v-model="item.money" resize="none" placeholder="请输入"></el-input>
                        </span> -->
                        <!-- <el-tooltip
                          v-if="item.add"
                          class="item"
                          effect="light"
                          content="删除"
                          placement="top"
                        >
                          <el-button
                            type="primary"
                            size="small"
                            class="button"
                            icon="el-icon-circle-close"
                            @click="deleteBank(i)"
                          ></el-button>
                        </el-tooltip> -->
                      </td>
                      <td class="table-button-deleteBank">
                        <span v-if="item.name && !item.add">{{item.money}}</span>
                        <span v-if="item.add">
                          <el-input v-model="item.money" resize="none" placeholder="请输入"></el-input>
                        </span>
                        <el-tooltip
                          v-if="item.add"
                          class="item"
                          effect="light"
                          content="删除"
                          placement="top"
                        >
                          <!-- v-show="scope.row.findingsAudit=='未提交'" -->
                          <el-button
                            type="primary"
                            size="small"
                            class="button"
                            icon="el-icon-circle-close"
                            @click="deleteBank(i)"
                          ></el-button>
                        </el-tooltip>
                      </td>
                      <td class="table-button-deleteBank">
                        <span v-if="item.name && !item.add">{{item.money}}</span>
                        <span v-if="item.add">
                          <el-input v-model="item.money" resize="none" placeholder="请输入"></el-input>
                        </span>
                        <el-tooltip
                          v-if="item.add"
                          class="item"
                          effect="light"
                          content="删除"
                          placement="top"
                        >
                          <!-- v-show="scope.row.findingsAudit=='未提交'" -->
                          <el-button
                            type="primary"
                            size="small"
                            class="button"
                            icon="el-icon-circle-close"
                            @click="deleteBank(i)"
                          ></el-button>
                        </el-tooltip>
                      </td>
                    </tr>
                    <tr>
                      <td class="table-three td-h30">
                        <span>3、自筹</span>
                      </td>
                      <td>{{45 + bankArr.length + 1}}</td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInline.raiseIndependently"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineTwo.raiseIndependently"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineThree.raiseIndependently"
                          resize="none"
                        ></el-input>
                      </td>
                      <td>
                        <el-input
                          :disabled="true"
                          v-model="formInlineFour.raiseIndependently"
                          resize="none"
                        ></el-input>
                      </td>
                    </tr>
                  </table>
                  <div>
                    <el-row :gutter="2">
                      <el-col :span="12">
                        <div class="grid-content bg-purple">
                          <el-form-item label="隶属于">
                            <el-input
                                    v-model="formInline.supplementaryInformation"
                                    autocomplete="off"
                                    disabled
                                    resize="none"
                            ></el-input>
                          </el-form-item>
                        </div>
                      </el-col>
                    </el-row>
                  </div>
                  <div>
                    <span class="table-left">毛利率：{{formInline.grossInterestRate?Number(formInline.grossInterestRate) * 100+'%':'-'}}</span>
                    <span class="table-right">资产负债率：{{formInline.assetLiabilityRatio? Number(formInline.assetLiabilityRatio) * 100+'%':'-'}}</span>
                  </div>
                  <el-row class="saveCancel">
                    <el-col :span="24">
                      <div class="grid-content bg-purple">
                        <el-button
                          class="iconfont iconfanhui"
                          type="primary"
                          style="margin-left: 8px;"
                          @click="cancel"
                        > 返回
                        </el-button>
                      </div>
                    </el-col>
                  </el-row>
                </div>
              </el-col>
            </el-row>
          </el-form>
        </div>
      </el-col>
    </el-row>
  </div>
</template>
<script>
import { budgetSubmissionModify, budgetSubmissionModifyPop } from "@/api/financialDataPresentation/index";
export default {
  data() {
    return {
      bankArr: [],
      bankArrTwo: [],
      enterpriseOptions: [
        {
          value: "购销企业",
          label: "购销企业"
        },
        {
          value: "加工企业",
          label: "加工企业"
        },
        {
          value: "其他企业",
          label: "其他企业"
        }
      ],

      options_: [{
          value: '1',
          label: '元'
        }, {
          value: '2',
          label: '万元'
        }, {
          value: '3',
          label: '亿元'
        }],
      moneyUnitValue: '元',

      options: [
        {
          value: "1",
          label: "1月"
        },
        {
          value: "2",
          label: "2月"
        },
        {
          value: "3",
          label: "3月"
        },
        {
          value: "4",
          label: "4月"
        },
        {
          value: "5",
          label: "5月"
        },
        {
          value: "6",
          label: "6月"
        },
        {
          value: "7",
          label: "7月"
        },
        {
          value: "8",
          label: "8月"
        },
        {
          value: "9",
          label: "9月"
        },
        {
          value: "10",
          label: "10月"
        },
        {
          value: "11",
          label: "11月"
        },
        {
          value: "12",
          label: "12月"
        }
      ],
      formInlineTwo: {},
      formInlineThree: {},
      formInlineFour: {},

      formInlineHJ:{},
      formInlineTwoGX:{},
      formInlineThreeJG:{},
      formInlineFourQT: {},


      formInline: {
        salesIncome: "", //营业收入
        grainAndOilSalesIncome: "", //粮油营业收入
        salesCost: "", //营业成本
        grainAndOilSalesCost: "", //粮油销售成本
        totalCost: "", //费用总额
        interest: "", //利息
        wagesAndSocialSecurity: "", //工资和社保WAGES_AND_SOCIAL_SECURITY
        depositCharges: "", //保管费DEPOSIT_CHARGES
        freightMiscellaneousCharges: "", //运杂费FREIGHT_MISCELLANEOUS_CHARGES
        depreciationAndAmortization: "", //折旧费及摊销DEPRECIATION_AND_AMORTIZATION
        taxesAndSurcharges: "", //税金及附加TAXES_AND_SURCHARGES
        netOutOfBusinessIncome: "", //营业外收支净额NET_OUT_OF_BUSINESS_INCOME
        governmentGrants: "", //政府补助GOVERNMENT_GRANTS
        grainOilSubsidiesIncome: "", //粮油补贴收入GRAIN_OIL_SUBSIDIES_INCOME
        otherSubsidies: "", //其他补助OTHER_SUBSIDIES
        netRevenueOfOtherProjects: "", //其他项目收支净额NET_REVENUE_OF_OTHER_PROJECTS
        totalProfit: "", //利润总额TOTAL_PROFIT
        incomeTaxExpenses: "", //所得税费用INCOME_TAX_EXPENSES
        netProfit: "", //净利润NET_PROFIT
        totalAssets: "", //资产总额TOTAL_ASSETS
        currentAssets: "", //流动资产CURRENT_ASSETS
        stock: "", //存货STOCK
        grainAndOilInventory: "", //粮油库存GRAIN_AND_OIL_INVENTORY
        monetaryFunds: "", //货币基金MONETARY_FUNDS
        accountsReceivablePrepaid: "", //应收及预付账款ACCOUNTS_RECEIVABLE_PREPAID
        otherReceivables: "", //其他应收款OTHER_RECEIVABLES
        subsidiesReceivable: "", //应收补贴款SUBSIDIES_RECEIVABLE
        totalLiabilities: "", //负债总额TOTAL_LIABILITIES
        currentLiabilities: "", //流动负债CURRENT_LIABILITIES
        shortTermBorrowing: "", //短期借款SHORT_TERM_BORROWING
        grainAndOilLoans: "", //粮油借款GRAIN_AND_OIL_LOANS
        accountsPayableAndPrepaid: "", //应付及预收账款
        otherAccountsPayable: "", //其他应付款OTHER_ACCOUNTS_PAYABLE
        ownerRightsAndInterests: "", //所有者权益OWNER_RIGHTS_AND_INTERESTS
        paidInCapital: "", //实收资本PAID_IN_CAPITAL
        stateOwnedCapital: "", //国有资本STATE_OWNED_CAPITAL
        payingTax: "", //已交税金PAYING_TAX
        expensableTaxPayable: "", //应交费用性税金EXPENSABLE_TAX_PAYABLE
        expensableTaxesPaid: "", //已交费用性税金EXPENSABLE_TAXES_PAID
        supplementaryInformation: "", //补充资料SUPPLEMENTARY_INFORMATION
        amountOfPurchaseFunds: "", //本年收购资金累计筹集金额AMOUNT_OF_PURCHASE_FUNDS
        agriculturalDevBankLoan: "", //农发行贷款AGRICULTURAL_DEV_BANK_LOAN
        policyLoans: "", //政策性贷款POLICY_LOANS
        loansUnderGuaranteeFund: "", //备用保证基金项下贷款LOANS_UNDER_GUARANTEE_FUND
        loansFromOtherInstitutions: "", //其他金融机构贷款LOANS_FROM_OTHER_INSTITUTIONS
        otherBanksName: "", //其他银行OTHER_BANKS_NAME
        otherBanksLoans: "", //其他银行贷款金额OTHER_BANKS_LOANS
        raiseIndependently: "", //自筹RAISE_INDEPENDENTLY
        grossInterestRate: "", //毛利率GROSS_INTEREST_RATE
        assetLiabilityRatio: "", //资产负债率ASSET_LIABILITY_RATIO
        reportYear: "", //上报年份REPORT_YEAR
        reportMonth: "", //上报月份REPORT_MONTH
        reportTitle: "", //提报标题REPORT_TITLE
        enterpriseCategory: "", //企业类别ENTERPRISE_CATEGORY
        monetaryUnitYuan: "", //金钱单位元MONETARY_UNIT_YUAN
        establishmentUnit: "", //编制单位ESTABLISHMENT_UNIT
        establishmentTime: "" //编制时间ESTABLISHMENT_TIME
      }
    };
  },
  methods: {

    // 金额单位发生变化时触发的回调函数
    moneyUnitChange (value) {
      console.log(value)

      // 业务逻辑开始
      //  value === 1  ---> 元  === 2  ---> 万元   === 3  ---> 亿元
      if(value === "1"){
        var againHJ = JSON.parse(JSON.stringify(this.formInlineHJ))
        this.formInline = againHJ

        var againGX = JSON.parse(JSON.stringify(this.formInlineTwoGX))
        this.formInlineTwo = againGX

        var againJG = JSON.parse(JSON.stringify(this.formInlineThreeJG))
        this.formInlineThree = againJG

        var againQT = JSON.parse(JSON.stringify(this.formInlineFourQT))
        this.formInlineFour = againQT
      }else if (value ==="2"){
        for (var key in this.formInlineTwo){
          // console.log(key)
          var dataType = typeof this.formInlineTwo[key]
          // console.log(dataType)
          if(dataType === "number"){
            this.formInline[key] = this.formInline[key] / 10000
            this.formInlineTwo[key] = this.formInlineTwo[key] / 10000
            this.formInlineThree[key] = this.formInlineThree[key] / 10000
            this.formInlineFour[key] = this.formInlineFour[key] / 10000
          }
        }
      }else if(value ==="3"){}
    },




    enterpriseCategoryChange(value) {
      this.$route.query.row.enterpriseCategory = value;
      this.info(this.$route.query.row);
    },
    addBank() {
      let obj = { add: true };
      this.bankArr.push(obj);
    },
    deleteBank(i) {
      this.bankArr.splice(i, 1);
    },
    cancel() {
      this.$router.push({ path: "financialDataPresentation" });
    },
    info(id) {
      budgetSubmissionModifyPop(id).then(response => {
        if (response.infoCode === 200) {
          console.log(response.data)
          this.formInline = response.data.合计;

          this.formInlineHJ = JSON.parse(JSON.stringify(this.formInline))

          this.formInlineTwo = response.data.购销企业;

          this.formInlineTwoGX = JSON.parse(JSON.stringify(this.formInlineTwo))

          this.formInlineThree = response.data.加工企业;

          this.formInlineThreeJG = JSON.parse(JSON.stringify(this.formInlineThree))

          this.formInlineFour = response.data.其他企业;

          this.formInlineFourQT = JSON.parse(JSON.stringify(this.formInlineFour))

          //银行特殊处理开始
          if (!this.formInline.otherBanksName) {
          } else {
            let bankName = this.formInline.otherBanksName;
            let bankNameArr = bankName.split(",");
            for (var i = 0; i < bankNameArr.length; i++) {
              this.bankArr[i] = {};
              this.bankArr[i]["name"] = bankNameArr[i];
            }
            let bankMoney = this.formInline.otherBanksLoans;
            let bankMoneyArr = bankMoney.split(",");
            for (var j = 0; j < bankMoneyArr.length; j++) {
              this.bankArr[j]["money"] = bankMoneyArr[j];
            }
          }
          //银行特殊处理结束
          //银行特殊处理开始
          if (!this.formInlineTwo.otherBanksName) {
          } else {
            let bankName = this.formInlineTwo.otherBanksName;
            let bankNameArr = bankName.split(",");
            for (var i = 0; i < bankNameArr.length; i++) {
              this.bankArr[i] = {};
              this.bankArr[i]["name"] = bankNameArr[i];
            }
            let bankMoney = this.formInlineTwo.otherBanksLoans;
            let bankMoneyArr = bankMoney.split(",");
            for (var j = 0; j < bankMoneyArr.length; j++) {
              this.bankArr[j]["money"] = bankMoneyArr[j];
            }
          }
          //银行特殊处理结束
        } else {
          this.$message({
            type: "error",
            message: response.msg
          });
        }
      });
    }
  },
  created() {
    this.info(this.$route.query.row);
  }
};
</script>

<style>
@import "common.css";
.tab-select {
  width: 140px;
  height: 38px;
  margin-left: 110px;
}
.table-button-small .el-button--small,
.el-button--small.is-round {
  padding: 5px 8px;
}
.table-button-deleteBank {
  position: relative;
}
.table-button-deleteBank .el-button--small,
.el-button--small.is-round {
  padding: 5px 8px;
  position: absolute;
  left: 270px;
  top: 8px;
}
.table-from table span {
  text-align: left;
  font-size: 10px;
}
.table-one {
  text-align: left;
}
.table-two {
  text-align: left;
  font-size: 10px;
}
.table-two span {
  margin-left: 32px;
}
.table-three {
  text-align: left;
  font-size: 10px;
}
.table-three span {
  margin-left: 70px;
}
.table-four span {
  margin-left: -116px;
}
.table-uuuuu span {
  margin-left: -80px;
}
.table-four11 span {
  margin-left: -102px;
}
.table-five {
  margin-left: -126px;
}
.td-h30 {
  height: 30px;
}
.table-from table {
  width: calc(100% - 50px);
  border: 1px solid #dcdfe6;
  text-align: center;
  margin-bottom: 20px;
}
.table-from table .el-input__inner {
  border: 0px solid #dcdfe6;
}
.table-title {
  border-top: solid #49a2fa;
}
.table-title-bottom {
  overflow: auto;
  border-bottom: solid #49a2fa;
  margin-top: -16px;
}
.table-data {
  text-align: center;
  margin-top: 5px;
  font-size: 20px;
}
.table-left {
  float: left;
}
.table-right {
  margin-right: 100px;
  float: right;
}
.width-c54 {
  width: calc(100% - 50px);
  margin-bottom: 20px;
}
.input-box {
  /* width: 10px; */
}
.width-80 {
  width: 80%;
  margin: 0px auto;
}
.company-txt {
  position: absolute;
  left: 88%;
  font-size: 14px;
  width: 100%;
  height: 30px;
  line-height: 30px;
  color: #fff;
}
</style>

<style lang="scss">
.app-container {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #fff;
  box-sizing: border-box;
  border: 1px solid #efeded;
  padding: 10px;
  .el-form-item {
    margin-bottom: 20px;
    position: relative;
  }
  // .el-form-item__content{
  //   line-height: 0px;
  // }
  .marTop {
    margin-top: 0px;
  }
  .el-form-item__label {
    font-weight: 400;
    padding-right: 10px;
    color: #333;
  }
  .el-table--border {
    border-top: 1px solid #ececec;
    border-left: 1px solid #ececec;
  }
  .el-table {
    margin-top: 10px;
    table {
      width: 100% !important;
    }
    td {
      color: #666;
      padding-top: 5px;
      padding-bottom: 5px;
      border-bottom: 1px solid #ececec;
      border-right: 1px solid #ececec;
    }
    .cell {
      line-height: 20px;
    }
  }
  .el-table__header {
    th {
      font-weight: 400;
      color: #333;
      background-color: #f9f9f9;
      padding: 8.8px 0;
    }
    th.is-leaf {
      border-bottom: 1px solid #ececec;
      border-right: 1px solid #ececec;
    }
    th.gutter {
      display: block !important;
    }
  }
  .el-input--suffix {
    .el-input__inner {
      padding-right: 15px;
    }
  }
  //页面内的tabs
  // .el-tabs__item:hover{
  //   color: #49a2fa;
  // }
  //新增等label用样式（如调控管理>涉粮企业管理系统>企业基础信息管理>新增）
  .detail-form {
    .h3Parent {
      .el-col {
        position: relative;
      }
    }
    .el-form-item {
      .el-form-item__content {
        line-height: 0px;
      }
      .el-form-item__label {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        line-height: 18px;
      }
    }
  }
  //表格外的按钮
  .outButton {
    padding: 9.2px 18px;
    background: #49a2fa;
    border-color: #49a2fa;
  }
  .outButton.el-button--primary:focus,
  .outButton.el-button--primary:hover {
    background-color: #038794;
    border-color: #038794;
  }
  .outButton.el-button--primary.is-disabled,
  .outButton.el-button--primary.is-disabled:active,
  .outButton.el-button--primary.is-disabled:focus,
  .outButton.el-button--primary.is-disabled:hover {
    background-color: #aed6da;
    border-color: #aed6da;
  }
  //表格外的保存、取消等按钮
  .outCancelButton {
    padding: 7.2px 20px;
    background: #49a2fa;
    border-color: #49a2fa;
    margin-bottom: 10px;
  }
  .outCancelButton.el-button--primary:focus,
  .outCancelButton.el-button--primary:hover {
    background-color: #038794;
    border-color: #038794;
  }
  .outCancelButton.el-button--primary.is-disabled,
  .outCancelButton.el-button--primary.is-disabled:active,
  .outCancelButton.el-button--primary.is-disabled:focus,
  .outCancelButton.el-button--primary.is-disabled:hover {
    background-color: #aed6da;
    border-color: #aed6da;
  }
  //上传按钮
  .uploadButton {
    padding: 8.7px 11px;
    background: #49a2fa;
    border-color: #49a2fa;
  }
  .uploadButton.el-button--primary:focus,
  .uploadButton.el-button--primary:hover {
    background-color: #038794;
    border-color: #038794;
  }
  .uploadButton.el-button--primary.is-disabled,
  .uploadButton.el-button--primary.is-disabled:active,
  .uploadButton.el-button--primary.is-disabled:focus,
  .uploadButton.el-button--primary.is-disabled:hover {
    background-color: #aed6da;
    border-color: #aed6da;
  }
  //表格内的按钮-编辑
  .difStateEditBtn {
    width:24px;
    height: 24px;
    background: #3fb56b;
    border-color: #3fb56b;
  }
  .difStateEditBtn.el-button--primary:focus,
  .difStateEditBtn.el-button--primary:hover {
    background: #159c77;
    border-color: #159c77;
  }
  .difStateEditBtn.el-button--primary.is-disabled,
  .difStateEditBtn.el-button--primary.is-disabled:active,
  .difStateEditBtn.el-button--primary.is-disabled:focus,
  .difStateEditBtn.el-button--primary.is-disabled:hover {
    background-color: #a1d8c9;
    border-color: #a1d8c9;
  }
  //表格内的按钮-删除
  .difStateDelBtn {
    padding: 8px 13px;
    background: #fd7171;
    border-color: #fd7171;
  }
  .difStateDelBtn.el-button--primary:focus,
  .difStateDelBtn.el-button--primary:hover {
    background: #d34444;
    border-color: #d34444;
  }
  .difStateDelBtn.el-button--primary.is-disabled,
  .difStateDelBtn.el-button--primary.is-disabled:active,
  .difStateDelBtn.el-button--primary.is-disabled:focus,
  .difStateDelBtn.el-button--primary.is-disabled:hover {
    background-color: #e3a3a3;
    border-color: #e3a3a3;
  }

  .el-button + .el-button {
    margin-left: 8px;
  }
  //表格操作下的图标
  .tableIcon.iconfont {
    font-size: 12px;
    margin-right: 0;
  }
  .el-table__body tr.current-row > td {
    background-color: #f9f9f9;
  }

  .el-table--striped .el-table__body tr.el-table__row--striped td {
    background-color: #f9f9f9;
  }
  .el-table__body tr:hover > td {
    background-color: #f9f9f9;
  }
  // .el-table--striped .el-table__body tr.el-table__row--striped.current-row:hover>td{
  //   background-color: #f9f9f9;
  // }
  .el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
  .el-table__body tr.current-row > td {
    background-color: #f9f9f9;
  }
  .el-table--enable-row-hover .el-table__body tr:hover > td {
    background-color: #f9f9f9;
  }
  .pag-right {
    border: 1px solid #ececec;
    border-top: none;
    padding-right: 20px;
  }
  .el-pagination.is-background .btn-next,
  .el-pagination.is-background .btn-prev,
  .el-pagination.is-background .el-pager li {
    background-color: transparent;
  }
  .el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: transparent;
    color: #49a2fa;
  }
  .el-pagination__jump .el-input {
    font-size: 13px;
  }
  .el-tooltip__popper {
    padding: 5px;
  }
}
.titleUseStyle {
  //   position: absolute;
  top: 0px;
  font-size: 14px;
  width: 100%;
  height: 30px;
  line-height: 30px;
  color: #fff;
  font-weight: 400;
  background: #49a2fa;
  padding-left: 8px;
  &::before {
    position: relative;
    top: 2px;
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 2px;
    height: 14px;
    background-color: #fff;
  }
}
</style>


