|
@@ -291,6 +291,32 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<!-- Cracker Utility Consumption -->
|
|
|
+ <div class="editDiv">
|
|
|
+ <el-button
|
|
|
+ :disabled="crackerUtilityConsumptionUpdating"
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-edit"
|
|
|
+ size="mini"
|
|
|
+ @click="handleCrackerUtilityConsumptionUpdate"
|
|
|
+ v-hasPermi="['production:monthly:edit']"
|
|
|
+ >{{ $t('编辑Cracker Utility Consumption') }}</el-button>
|
|
|
+ <el-button
|
|
|
+ :disabled="!crackerUtilityConsumptionUpdating"
|
|
|
+ type="success"
|
|
|
+ icon="el-icon-check"
|
|
|
+ size="mini"
|
|
|
+ @click="handleConfirmCrackerUtilityConsumptionUpdate"
|
|
|
+ v-hasPermi="['production:monthly:edit']"
|
|
|
+ >{{ $t('保存') }}</el-button>
|
|
|
+ <el-button
|
|
|
+ :disabled="!crackerUtilityConsumptionUpdating"
|
|
|
+ type="info"
|
|
|
+ icon="el-icon-close"
|
|
|
+ size="mini"
|
|
|
+ @click="handleCancelCrackerUtilityConsumptionUpdate"
|
|
|
+ v-hasPermi="['production:monthly:edit']"
|
|
|
+ >{{ $t('取消') }}</el-button>
|
|
|
+ </div>
|
|
|
<el-table border :data="tableCrackerUtilityConsumption" style="width: 100%;">
|
|
|
<el-table-column label="Cracker Utility Consumption">
|
|
|
<el-table-column width="150" prop="title" label="">
|
|
@@ -300,18 +326,378 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="unit" label="unit"></el-table-column>
|
|
|
<el-table-column prop="currently" label="currently"></el-table-column>
|
|
|
- <el-table-column prop="jan" :label="this.monthList[0]"></el-table-column>
|
|
|
- <el-table-column prop="feb" :label="this.monthList[1]"></el-table-column>
|
|
|
- <el-table-column prop="mar" :label="this.monthList[2]"></el-table-column>
|
|
|
- <el-table-column prop="apr" :label="this.monthList[3]"></el-table-column>
|
|
|
- <el-table-column prop="may" :label="this.monthList[4]"></el-table-column>
|
|
|
- <el-table-column prop="jun" :label="this.monthList[5]"></el-table-column>
|
|
|
- <el-table-column prop="jul" :label="this.monthList[6]"></el-table-column>
|
|
|
- <el-table-column prop="aug" :label="this.monthList[7]"></el-table-column>
|
|
|
- <el-table-column prop="sep" :label="this.monthList[8]"></el-table-column>
|
|
|
- <el-table-column prop="oct" :label="this.monthList[9]"></el-table-column>
|
|
|
- <el-table-column prop="nov" :label="this.monthList[10]"></el-table-column>
|
|
|
- <el-table-column prop="dec" :label="this.monthList[11]"></el-table-column>
|
|
|
+ <el-table-column prop="jan" :label="this.monthList[0]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.jan}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.jan" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.jan}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="feb" :label="this.monthList[1]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.feb}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.feb" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.feb}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="mar" :label="this.monthList[2]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.mar}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.mar" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.mar}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="apr" :label="this.monthList[3]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.apr}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.apr" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.apr}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="may" :label="this.monthList[4]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.may}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.may" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.may}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="jun" :label="this.monthList[5]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.jun}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.jun" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.jun}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="jul" :label="this.monthList[6]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.jul}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.jul" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.jul}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="aug" :label="this.monthList[7]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.aug}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.aug" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.aug}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="sep" :label="this.monthList[8]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.sep}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.sep" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.sep}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="oct" :label="this.monthList[9]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.oct}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.oct" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.oct}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="nov" :label="this.monthList[10]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.nov}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.nov" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.nov}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="dec" :label="this.monthList[11]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!crackerUtilityConsumptionUpdating">{{row.dec}}</div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Instru. Air' ||
|
|
|
+ row.title == 'P. W. Water' ||
|
|
|
+ row.title == 'CNWW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'waste oil' ||
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.dec" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="crackerUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Instru. Air' &&
|
|
|
+ row.title != 'P. W. Water' &&
|
|
|
+ row.title != 'CNWW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'waste oil' &&
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'NG to furnace or offags to SUB'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.dec}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="total" label="total"></el-table-column>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -341,6 +727,32 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<!-- Aromatics Utility Consumption -->
|
|
|
+ <div class="editDiv">
|
|
|
+ <el-button
|
|
|
+ :disabled="aromaticsUtilityConsumptionUpdating"
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-edit"
|
|
|
+ size="mini"
|
|
|
+ @click="handleAromaticsUtilityConsumptionUpdate"
|
|
|
+ v-hasPermi="['production:monthly:edit']"
|
|
|
+ >{{ $t('编辑Aromatics Utility Consumption') }}</el-button>
|
|
|
+ <el-button
|
|
|
+ :disabled="!aromaticsUtilityConsumptionUpdating"
|
|
|
+ type="success"
|
|
|
+ icon="el-icon-check"
|
|
|
+ size="mini"
|
|
|
+ @click="handleConfirmAromaticsUtilityConsumptionUpdate"
|
|
|
+ v-hasPermi="['production:monthly:edit']"
|
|
|
+ >{{ $t('保存') }}</el-button>
|
|
|
+ <el-button
|
|
|
+ :disabled="!aromaticsUtilityConsumptionUpdating"
|
|
|
+ type="info"
|
|
|
+ icon="el-icon-close"
|
|
|
+ size="mini"
|
|
|
+ @click="handleCancelAromaticsUtilityConsumptionUpdate"
|
|
|
+ v-hasPermi="['production:monthly:edit']"
|
|
|
+ >{{ $t('取消') }}</el-button>
|
|
|
+ </div>
|
|
|
<el-table border :data="tableAromaticsUtilityConsumption" style="width: 100%;">
|
|
|
<el-table-column label="Aromatics Utility Consumption">
|
|
|
<el-table-column width="150" prop="title" label="">
|
|
@@ -350,18 +762,330 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="unit" label="unit"></el-table-column>
|
|
|
<el-table-column prop="currently" label="currently"></el-table-column>
|
|
|
- <el-table-column prop="jan" :label="this.monthList[0]"></el-table-column>
|
|
|
- <el-table-column prop="feb" :label="this.monthList[1]"></el-table-column>
|
|
|
- <el-table-column prop="mar" :label="this.monthList[2]"></el-table-column>
|
|
|
- <el-table-column prop="apr" :label="this.monthList[3]"></el-table-column>
|
|
|
- <el-table-column prop="may" :label="this.monthList[4]"></el-table-column>
|
|
|
- <el-table-column prop="jun" :label="this.monthList[5]"></el-table-column>
|
|
|
- <el-table-column prop="jul" :label="this.monthList[6]"></el-table-column>
|
|
|
- <el-table-column prop="aug" :label="this.monthList[7]"></el-table-column>
|
|
|
- <el-table-column prop="sep" :label="this.monthList[8]"></el-table-column>
|
|
|
- <el-table-column prop="oct" :label="this.monthList[9]"></el-table-column>
|
|
|
- <el-table-column prop="nov" :label="this.monthList[10]"></el-table-column>
|
|
|
- <el-table-column prop="dec" :label="this.monthList[11]"></el-table-column>
|
|
|
+ <el-table-column prop="jan" :label="this.monthList[0]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.jan}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.jan" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.jan}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="feb" :label="this.monthList[1]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.feb}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.feb" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.feb}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="mar" :label="this.monthList[2]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.mar}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.mar" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.mar}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="apr" :label="this.monthList[3]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.apr}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.apr" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.apr}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="may" :label="this.monthList[4]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.may}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.may" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.may}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="jun" :label="this.monthList[5]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.jun}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.jun" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.jun}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="jul" :label="this.monthList[6]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.jul}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.jul" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.jul}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="aug" :label="this.monthList[7]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.aug}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.aug" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.aug}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="sep" :label="this.monthList[8]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.sep}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.sep" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.sep}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="oct" :label="this.monthList[9]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.oct}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.oct" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.oct}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="nov" :label="this.monthList[10]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.nov}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.nov" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.nov}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="dec" :label="this.monthList[11]">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <div v-if="!aromaticsUtilityConsumptionUpdating">{{row.dec}}</div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title == 'Potable Water' ||
|
|
|
+ row.title == 'Contaminated WW' ||
|
|
|
+ row.title == 'Production WW' ||
|
|
|
+ row.title == 'DWW' ||
|
|
|
+ row.title == 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ <el-input v-model="row.dec" clearable="true"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="aromaticsUtilityConsumptionUpdating &&
|
|
|
+ (
|
|
|
+ row.title != 'Potable Water' &&
|
|
|
+ row.title != 'Contaminated WW' &&
|
|
|
+ row.title != 'Production WW' &&
|
|
|
+ row.title != 'DWW' &&
|
|
|
+ row.title != 'Waste Liquid'
|
|
|
+ )
|
|
|
+ ">
|
|
|
+ {{row.dec}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="total" label="total"></el-table-column>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -704,13 +1428,19 @@ import {
|
|
|
getSCTFUtilityConsumption,
|
|
|
getKbi,
|
|
|
getSummary,
|
|
|
- updateEligibleProductRate
|
|
|
+ updateEligibleProductRate,
|
|
|
+ updateCrackerUtilityConsumption,
|
|
|
+ updateAromaticsUtilityConsumption
|
|
|
} from "@/api/production/monthly";
|
|
|
|
|
|
export default {
|
|
|
name: "Monthly",
|
|
|
data() {
|
|
|
return {
|
|
|
+ // Aromatics Utility Consumption修改中
|
|
|
+ aromaticsUtilityConsumptionUpdating: false,
|
|
|
+ // Cracker Utility Consumption修改中
|
|
|
+ crackerUtilityConsumptionUpdating: false,
|
|
|
// Eligible Product Rate修改中
|
|
|
eligibleProductRateUpdating: false,
|
|
|
// 趋势图y轴数值
|
|
@@ -760,59 +1490,10 @@ export default {
|
|
|
tableAromaticsOutputProduct: [],
|
|
|
tableEligibleProductRate: [],
|
|
|
tableProductYield: [],
|
|
|
- tableCrackerUtilityConsumption: [
|
|
|
- {title: "FG(include NG+Offage)"},
|
|
|
- {title: "SS"},
|
|
|
- {title: "HS"},
|
|
|
- {title: "MS"},
|
|
|
- {title: "LS"},
|
|
|
- {title: "Electricity"},
|
|
|
- {title: "coiling water"},
|
|
|
- {title: "Instru. Air"},
|
|
|
- {title: "Plant Air"},
|
|
|
- {title: "N2"},
|
|
|
- {title: "BFW"},
|
|
|
- {title: "Polished Condensate"},
|
|
|
- {title: "P. W. Water"},
|
|
|
- {title: "TC"},
|
|
|
- {title: "CNWW"},
|
|
|
- {title: "DWW"},
|
|
|
- {title: "waste oil"},
|
|
|
- {title: "Potable Water"},
|
|
|
- {title: "Production Water"},
|
|
|
- {title: "NG to furnace or offags to SUB"},
|
|
|
- {title: "offage product"},
|
|
|
- ],
|
|
|
- tableCrackerEnergyConsumption: [
|
|
|
- {title: "total energy"},
|
|
|
- {title: "total energy"},
|
|
|
- {title: "Energy/ethylene"},
|
|
|
- {title: "Energy/ethylene"},
|
|
|
- ],
|
|
|
- tableAromaticsUtilityConsumption: [
|
|
|
- {title: "SS"},
|
|
|
- {title: "HS"},
|
|
|
- {title: "MS"},
|
|
|
- {title: "LS"},
|
|
|
- {title: "Electricity"},
|
|
|
- {title: "coiling water"},
|
|
|
- {title: "Potable Water"},
|
|
|
- {title: "Production Water"},
|
|
|
- {title: "BFW"},
|
|
|
- {title: "N2"},
|
|
|
- {title: "PA&IA"},
|
|
|
- {title: "Turbine Condensate"},
|
|
|
- {title: "Contaminated WW"},
|
|
|
- {title: "Production WW"},
|
|
|
- {title: "DWW"},
|
|
|
- {title: "Waste Liquid"},
|
|
|
- ],
|
|
|
- tableAromaticsEnergyConsumption: [
|
|
|
- {title: "total energy"},
|
|
|
- {title: "total energy"},
|
|
|
- {title: "Energy/ethylene"},
|
|
|
- {title: "Energy/ethylene"},
|
|
|
- ],
|
|
|
+ tableCrackerUtilityConsumption: [],
|
|
|
+ tableCrackerEnergyConsumption: [],
|
|
|
+ tableAromaticsUtilityConsumption: [],
|
|
|
+ tableAromaticsEnergyConsumption: [],
|
|
|
tablePlantLoad: [
|
|
|
{title: "Cracker load"},
|
|
|
{title: "C2+C3 Capacity"},
|
|
@@ -988,10 +1669,65 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
/** 编辑按钮操作 */
|
|
|
+ handleAromaticsUtilityConsumptionUpdate(row) {
|
|
|
+ this.aromaticsUtilityConsumptionUpdating = true;
|
|
|
+ },
|
|
|
+ handleCrackerUtilityConsumptionUpdate(row) {
|
|
|
+ this.crackerUtilityConsumptionUpdating = true;
|
|
|
+ },
|
|
|
handleEligibleProductRateUpdate(row) {
|
|
|
this.eligibleProductRateUpdating = true;
|
|
|
},
|
|
|
/** 确定修改按钮操作 */
|
|
|
+ handleConfirmAromaticsUtilityConsumptionUpdate(row) {
|
|
|
+ this.aromaticsUtilityConsumptionUpdating = false;
|
|
|
+ updateAromaticsUtilityConsumption({
|
|
|
+ tableData: [
|
|
|
+ this.tableAromaticsUtilityConsumption[6],
|
|
|
+ this.tableAromaticsUtilityConsumption[12],
|
|
|
+ this.tableAromaticsUtilityConsumption[13],
|
|
|
+ this.tableAromaticsUtilityConsumption[14],
|
|
|
+ this.tableAromaticsUtilityConsumption[15]
|
|
|
+ ],
|
|
|
+ year: this.year.getFullYear()
|
|
|
+ }).then(response => {
|
|
|
+ if (response.code == 200) {
|
|
|
+ this.$message.success("修改成功");
|
|
|
+ } else {
|
|
|
+ this.$message.error("未知错误,请联系管理员。");
|
|
|
+ }
|
|
|
+ getAromaticsUtilityConsumption(year).then(response => {
|
|
|
+ this.tableCrackerUtilityConsumption = response.data;
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleConfirmCrackerUtilityConsumptionUpdate(row) {
|
|
|
+ this.crackerUtilityConsumptionUpdating = false;
|
|
|
+ updateCrackerUtilityConsumption({
|
|
|
+ tableData: [
|
|
|
+ this.tableCrackerUtilityConsumption[7],
|
|
|
+ this.tableCrackerUtilityConsumption[12],
|
|
|
+ this.tableCrackerUtilityConsumption[14],
|
|
|
+ this.tableCrackerUtilityConsumption[15],
|
|
|
+ this.tableCrackerUtilityConsumption[16],
|
|
|
+ this.tableCrackerUtilityConsumption[17],
|
|
|
+ this.tableCrackerUtilityConsumption[19]
|
|
|
+ ],
|
|
|
+ year: this.year.getFullYear()
|
|
|
+ }).then(response => {
|
|
|
+ if (response.code == 200) {
|
|
|
+ this.$message.success("修改成功");
|
|
|
+ } else {
|
|
|
+ this.$message.error("未知错误,请联系管理员。");
|
|
|
+ }
|
|
|
+ getCrackerUtilityConsumption(year).then(response => {
|
|
|
+ this.tableCrackerUtilityConsumption = response.data;
|
|
|
+ });
|
|
|
+ getCrackerEnergyConsumption(year).then(response => {
|
|
|
+ this.tableCrackerEnergyConsumption = response.data;
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
handleConfirmEligibleProductRateUpdate(row) {
|
|
|
this.eligibleProductRateUpdating = false;
|
|
|
updateEligibleProductRate({
|
|
@@ -1009,6 +1745,18 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
/** 取消修改按钮操作 */
|
|
|
+ handleCancelAromaticsUtilityConsumptionUpdate(row) {
|
|
|
+ this.aromaticsUtilityConsumptionUpdating = false;
|
|
|
+ getAromaticsUtilityConsumption(year).then(response => {
|
|
|
+ this.aromaticsUtilityConsumptionUpdating = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleCancelCrackerUtilityConsumptionUpdate(row) {
|
|
|
+ this.crackerUtilityConsumptionUpdating = false;
|
|
|
+ getCrackerUtilityConsumption(year).then(response => {
|
|
|
+ this.tableCrackerUtilityConsumption = response.data;
|
|
|
+ });
|
|
|
+ },
|
|
|
handleCancelEligibleProductRateUpdate(row) {
|
|
|
this.eligibleProductRateUpdating = false;
|
|
|
getEligibleProductRate(year).then(response => {
|