Browse Source

收费管理打印收据导出问题

Shannon_mu 1 year ago
parent
commit
194e3a6132
1 changed files with 6 additions and 2 deletions
  1. 6 2
      operationSupport/src/views/payService/propertyFee/index.vue

+ 6 - 2
operationSupport/src/views/payService/propertyFee/index.vue

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