|
@@ -97,7 +97,7 @@
|
|
|
>
|
|
|
<i class="zoniot_font zoniot-icon-linshishoukuan" @click="collections('temporary')"></i>
|
|
|
</el-tooltip>
|
|
|
- <el-dropdown type="primary" @command="addCommand">
|
|
|
+ <el-dropdown type="primary" @command="addCommand" v-if="chargeStatus !== 3">
|
|
|
<span class="zoniot_font zoniot-icon-tianjia2"></span>
|
|
|
<el-dropdown-menu slot="dropdown" hide-on-click="false" class="device-search-dropdown">
|
|
|
<el-dropdown-item command="batchAdd">
|
|
@@ -114,7 +114,8 @@
|
|
|
<i class="zoniot_font zoniot-icon-piliangshoukuan" @click="collections('bulk')"></i>
|
|
|
</el-tooltip>
|
|
|
<el-tooltip class="item" effect="light" placement="bottom" content="导出">
|
|
|
- <i class="zoniot_font zoniot-icon-daochu2" @click="exportExcel"></i>
|
|
|
+ <i class="zoniot_font zoniot-icon-daochu2" v-if="chargeStatus !== 3" @click="exportExcel"></i>
|
|
|
+ <i class="zoniot_font zoniot-icon-daochu2" v-else @click="exportExcelAc"></i>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -466,6 +467,9 @@ export default {
|
|
|
exportExcel() {
|
|
|
this.__exportExcel('/sc-charge/charge/bill/export/excel', this.mixins_query);
|
|
|
},
|
|
|
+ exportExcelAc(){
|
|
|
+ this.__exportExcel('/sc-charge/charge/receipt/export/excel', this.$refs.actual.mixins_query);
|
|
|
+ },
|
|
|
typeTimeTransition(start, end) {
|
|
|
let text = '';
|
|
|
if (!!end) {
|