snow 5 ماه پیش
والد
کامیت
50327f03ec
1فایلهای تغییر یافته به همراه25 افزوده شده و 11 حذف شده
  1. 25 11
      src/views/InvoiceSales/capitalClaim/index.vue

+ 25 - 11
src/views/InvoiceSales/capitalClaim/index.vue

@@ -12,13 +12,13 @@ import ExcelBusinessUpload from "./components/execl-files-business-upload/index.
 import searchFormConfig from "./config/search.config";
 import contentConfig from "./config/content.config";
 import { template, template2 ,capitalTemplate } from "./config/xls-template";
+import { httpWithdraw } from "/@/api/InvoiceSales/capitalClaim";
+import { httpInfo } from "/@/api/InvoiceSales/capitalClaim";
 import { usePermission } from "/@/hooks/core/usePermission";
+import { useCompany } from "/@/hooks/core/useCompany";
+import { httpRequsetExport } from "/@/utils/export";
 import { useUserInfo } from "/@/hooks/core/useUser";
 import { useAsync } from "/@/hooks/core/useAsync";
-import { httpWithdraw } from "/@/api/InvoiceSales/capitalClaim";
-import { httpRequsetExport } from "/@/utils/export";
-import { useCompany } from "/@/hooks/core/useCompany";
-import { httpInfo } from "/@/api/InvoiceSales/capitalClaim";
 import { useTask } from "/@/hooks/core"
 
 import FundDetail from "/@/components/FundDetail/index.vue"
@@ -136,21 +136,35 @@ function handleShow(row){
               <el-button-group>
               <el-button
                 type="warning" plain
-               v-if="hasPermissionWithCode('029')"
-               @click="onDownloadTemplate">
+                v-if="hasPermissionWithCode('029')"
+                @click="onDownloadTemplate"
+              >
                 1.下载自营订单回款资金导入模板
               </el-button>
+  
               <el-button
-                type="primary" plain
+                plain
+                type="primary" 
                 v-if="!isSuperUser && hasPermissionWithCode('030')"
                 @click="() => execlUploadRef.onDisplay()"
-                >
+              >
                 2.导入自营订单回款资金数据(批量)
               </el-button>
-              <el-button plain type="warning"  @click="onDownloadCapitalTemplate" >
+  
+              <el-button 
+                plain 
+                type="warning"  
+                @click="onDownloadCapitalTemplate" 
+              >
                 3.下载平台订单回款资金导入模板
               </el-button>
-              <el-button plain type="primary" @click="execlBusinessUploadRef.onDisplay()" v-if="!isSuperUser && hasPermissionWithCode('068')">
+
+              <el-button 
+                plain 
+                type="primary" 
+                @click="execlBusinessUploadRef.onDisplay()" 
+                v-if="!isSuperUser && hasPermissionWithCode('068')"
+              >
                 4.导入平台订单回款资金数据(批量)
               </el-button>
 
@@ -159,7 +173,7 @@ function handleShow(row){
                 type="success" 
                 v-if="hasPermissionWithCode('057')"
                 @click="() => onDownloadCapitalInfo()"
-               :loading="loading" 
+                :loading="loading" 
                >
                5.导出资金信息
               </el-button>