| 
					
				 | 
			
			
				@@ -1,52 +1,73 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="m-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <div class="squrt"></div>支出记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div class="squrt"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      支出记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </h2> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="m-core"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-upload v-permission="'import/downloadTemplate'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 style="display: inline-block;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 action="/api-web/import/financialExpenditure" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 :show-file-list="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 :before-upload="beforeUpload" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 accept=".xlsx,.xls" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 :headers="headers" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 :on-error="handleError" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 :on-success="handleSuccess"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-upload 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        v-permission="'import/downloadTemplate'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        style="display: inline-block" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        action="/api-web/import/financialExpenditure" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :show-file-list="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :before-upload="beforeUpload" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        accept=".xlsx,.xls" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :headers="headers" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :on-error="handleError" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :on-success="handleSuccess" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button class="btn-primary">导入</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-upload> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-button @click="downloadFile" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 v-permission="'import/downloadTemplate'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 class="btn-primary">模版文件下载</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @click="downloadFile" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        v-permission="'import/downloadTemplate'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        class="btn-primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        >模版文件下载</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <!-- 搜索类型 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-form :inline="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               class="searchForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               v-model.trim="searchForm"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <save-form 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :inline="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        class="searchForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :model="searchForm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @submit="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @reset="onReSet" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-input v-model.trim="searchForm.search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    placeholder="批次号、申请人等" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    type="text"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model.trim="searchForm.search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            placeholder="批次号、申请人等" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-select v-model.trim="searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     placeholder="请选择所属分部"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-option v-for="(item,index) in organList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                       :key="index" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                       :label="item.name" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                       :value="item.id"></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model.trim="searchForm.organId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            placeholder="请选择所属分部" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              v-for="(item, index) in selects.branchs" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :key="index" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :label="item.name" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :value="item.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-select clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     placeholder="请选择所属学校" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     v-model="searchForm.cooperationOrganId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <el-option v-for="(item,index) in cooperations" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                       :key="index" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                       :label="item.name" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                       :value="item.id"></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            clearable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            placeholder="请选择所属学校" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model="searchForm.cooperationOrganId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              v-for="(item, index) in cooperations" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :key="index" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :label="item.name" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              :value="item.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- <el-form-item> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -65,133 +86,185 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-date-picker style="width:410px;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          v-model.trim="orderDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          type="daterange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          value-format="yyyy-MM-dd" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          @change="searchOrderDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          range-separator="至" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          start-placeholder="付款开始日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          end-placeholder="付款结束日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          :picker-options="{ firstDayOfWeek: 1 }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-date-picker 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            style="width: 410px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model.trim="searchForm.orderDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="daterange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            value-format="yyyy-MM-dd" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @change="searchOrderDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            range-separator="至" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            start-placeholder="付款开始日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            end-placeholder="付款结束日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            :picker-options="{ firstDayOfWeek: 1 }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-date-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-button @click="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     type="danger">搜索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-button @click="onReSet" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     type="primary">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button native-type="submit" type="danger">搜索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button native-type="reset" type="primary">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </save-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <!-- 列表 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-col :span="24"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-button type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     v-permission="'financialExpenditure/batchDel/901'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     size="medium" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     icon="el-icon-delete" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     style="background-color: #14928a; border: 1px solid #14928a; margin-bottom: 15px;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                     @click="onBatchDel">批量删除</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-permission="'financialExpenditure/batchDel/901'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="medium" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            icon="el-icon-delete" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            style=" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              background-color: #14928a; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              border: 1px solid #14928a; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              margin-bottom: 15px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="onBatchDel" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            >批量删除</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-col> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-row> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="tableWrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table :data='tableList' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  style="width: 100%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  @selection-change="handleSelectionChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  :header-cell-style="{background:'#EDEEF0',color:'#444'}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column type="selection" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           width="50"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="批次号"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="financialProcessNo" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="流程编号"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="dingtalkProcessNo" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="钉钉流程编号"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="organName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="费用归属分部"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="cooperationName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="费用归属学校"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="applyUser" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="申请人"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :data="tableList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          style="width: 100%" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          @selection-change="handleSelectionChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :header-cell-style="{ background: '#EDEEF0', color: '#444' }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column type="selection" width="50"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" prop="id" label="批次号"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <copy-text>{{ scope.row.id }}</copy-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="financialProcessNo" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="流程编号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <copy-text>{{ scope.row.financialProcessNo }}</copy-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="dingtalkProcessNo" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="钉钉流程编号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <copy-text>{{ scope.row.dingtalkProcessNo }}</copy-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" prop="organName" label="费用归属分部"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <copy-text>{{ scope.row.organName }}</copy-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="cooperationName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="费用归属学校" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <copy-text>{{ scope.row.cooperationName }}</copy-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" prop="applyUser" label="申请人"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <copy-text>{{ scope.row.applyUser }}</copy-text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <!-- <el-table-column align='center' prop="itemDetail" label="费用项目"></el-table-column> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="amount" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="付款金额"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" prop="amount" label="付款金额"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                {{scope.row.amount|moneyFormat}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                {{ scope.row.amount | moneyFormat }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="paymentTime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="付款时间"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" prop="paymentTime" label="付款时间"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                {{scope.row.paymentTime|dayjsFormat}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                {{ scope.row.paymentTime | dayjsFormat }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="cause" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="事由"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" prop="cause" label="事由"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-tooltip class="item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            effect="dark" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            :content="scope.row.cause" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            placement="top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <div class="noWrap">{{scope.row.cause}}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-tooltip 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  class="item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  effect="dark" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :content="scope.row.cause" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  placement="top" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <div class="noWrap">{{ scope.row.cause }}</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-tooltip> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="费用类型"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <template slot-scope="scope">{{ scope.row.type | feeType }}</template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" label="费用类型"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope">{{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              scope.row.type | feeType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }}</template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="费用项目"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <template slot-scope="scope">{{ scope.row.feeProject | feeProject }}</template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column align="center" label="费用项目"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <template slot-scope="scope">{{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              scope.row.feeProject | feeProject 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }}</template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           prop="itemDetail" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="备注"></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-table-column align='center' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           width='120px' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           fixed="right" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           label="操作"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            prop="itemDetail" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="备注" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-table-column 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            align="center" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            width="120px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            fixed="right" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            label="操作" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-popconfirm title="确定删除该条数据吗?" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                               @onConfirm="() => removeRecord(scope.row.id)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                               v-permission="'financialExpenditure/batchDel/902'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <el-button type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                             slot="reference">删除</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-popconfirm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  title="确定删除该条数据吗?" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  @onConfirm="() => removeRecord(scope.row.id)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  v-permission="'financialExpenditure/batchDel/902'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-button type="text" slot="reference">删除</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </el-popconfirm> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <el-button type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                           @click="lookDetail(scope.row)">详情</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-button type="text" @click="lookDetail(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  >详情</el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <pagination :total="pageInfo.total" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :page.sync="pageInfo.page" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :limit.sync="pageInfo.limit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :page-sizes="pageInfo.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @pagination="getList" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <pagination 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          sync 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :total.sync="pageInfo.total" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :page.sync="pageInfo.page" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :limit.sync="pageInfo.limit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :page-sizes="pageInfo.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          @pagination="getList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <recorddetail :show="show" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @closeReset='closeReset' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    @getList='getList' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    :item='activeRow' /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <recorddetail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :show="show" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @closeReset="closeReset" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @getList="getList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        :item="activeRow" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- <el-dialog 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       title="修改支出记录" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -225,35 +298,41 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import pagination from '@/components/Pagination/index' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { Export } from '@/utils/downLoadFile' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { getFinancialExpenditure, applyRefundAudit, removeFinancialExpenditure, updateFinancialExpenditure } from '@/api/orderManager' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { getEmployeeOrgan, getCooperation } from '@/api/buildTeam' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import pagination from "@/components/Pagination/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { Export } from "@/utils/downLoadFile"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  getFinancialExpenditure, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  applyRefundAudit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  removeFinancialExpenditure, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  updateFinancialExpenditure, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} from "@/api/orderManager"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getEmployeeOrgan, getCooperation } from "@/api/buildTeam"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getToken } from "@/utils/auth"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { paymentChannelStatus } from '@/utils/searchArray' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import recorddetail from '@/views/businessManager/orderManager/payRecordConponents/payRecordDetail' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import load from '@/utils/loading' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import dayjs from 'dayjs' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { paymentChannelStatus } from "@/utils/searchArray"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import recorddetail from "@/views/businessManager/orderManager/payRecordConponents/payRecordDetail"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import load from "@/utils/loading"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import dayjs from "dayjs"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getTimes } from "@/utils"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { pagination, recorddetail }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  name: 'backMoney', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  data () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  name: "backMoney", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       show: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       detail: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       paymentChannelStatus: paymentChannelStatus, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      orderDate: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       searchForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         startTime: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         endTime: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         organId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        search: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        dingtalkProcessNo: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        financialProcessNo: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        search: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        dingtalkProcessNo: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        financialProcessNo: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         cooperationOrganId: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        orderDate: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       headers: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Authorization: getToken() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Authorization: getToken(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       tableList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       organList: [], 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -263,160 +342,175 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         limit: 10, // 限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         page: 1, // 当前页 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         total: 0, // 总条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        page_size: [10, 20, 40, 50] // 选择限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        page_size: [10, 20, 40, 50], // 选择限制显示条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       passed: [], // 传递的参数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       activeRow: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  mounted () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getEmployeeOrgan().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // getEmployeeOrgan().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //     this.organList = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.$store.dispatch("setBranchs"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getCooperation({ rows: 1000 }).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.organList = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.cooperations = res.data.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getCooperation({ 'rows': 1000, }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      .then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.cooperations = res.data.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var now = new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var startDate = dayjs().format('YYYY-MM-DD'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    var endDate = dayjs().format('YYYY-MM-DD'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.orderDate = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.orderDate.push(startDate) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.orderDate.push(endDate) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.searchOrderDate(this.orderDate) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (this.searchForm.orderDate.length < 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var now = new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var startDate = dayjs().format("YYYY-MM-DD"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var endDate = dayjs().format("YYYY-MM-DD"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.orderDate = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.orderDate.push(startDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.orderDate.push(endDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchOrderDate(this.searchForm.orderDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    editRecord (detail) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.show = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.detail = detail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    editRecord(detail) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.show = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.detail = detail; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    removeRecord (id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    removeRecord(id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       removeFinancialExpenditure({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        ids: id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .then(() => this.getList()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ids: id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }).then(() => this.getList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    beforeUpload (file) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      load.startLoading() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    beforeUpload(file) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      load.startLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    handleSuccess (response, file, fileList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      load.endLoading() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(response, file, fileList) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleSuccess(response, file, fileList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      load.endLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(response, file, fileList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (response.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$message.success('导入成功') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$message.success("导入成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$message.error(response.msg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$message.error(response.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    handleError (err, file, fileList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      load.endLoading() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(err, file, fileList) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleError(err, file, fileList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      load.endLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(err, file, fileList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    downloadFile () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    downloadFile() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       Export(this, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        url: '/api-web/import/downloadTemplate', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fileName: '财务支出导入模板.xlsx', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        url: "/api-web/import/downloadTemplate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fileName: "财务支出导入模板.xlsx", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         params: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          templateType: 'FINANCIAL_EXPENDITURE' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          templateType: "FINANCIAL_EXPENDITURE", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    search () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    search() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.pageInfo.page = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    handleSelectionChange (arr) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleSelectionChange(arr) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.passed = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       for (let i in arr) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // let obj = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // obj.id = arr[i].id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // obj.name = arr[i].name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.passed.push(arr[i].id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.passed.push(arr[i].id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    onTeachingSubmit (formName, status) { // 添加数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onTeachingSubmit(formName, status) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 添加数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs[formName].validate((valid) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.form.status = status 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          applyRefundAudit(this.form).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.form.status = status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          applyRefundAudit(this.form).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$message.success('操作成功') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.backStatus = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.$message.success("操作成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.backStatus = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.$message.error(res.msg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.$message.error(res.msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getList () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let params = this.searchForm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      params.rows = this.pageInfo.limit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      params.page = this.pageInfo.page 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      getFinancialExpenditure(params).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let result = res.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let { orderDate, ...ruset } = this.searchForm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let params = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ...ruset, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        page: this.pageInfo.page, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        rows: this.pageInfo.limit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ...getTimes(orderDate, ["startTime", "endTime"]), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      getFinancialExpenditure(params).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let result = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.tableList = result.rows 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.pageInfo.total = result.total 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.tableList = result.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.pageInfo.total = result.total; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    searchOrderDate (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    searchOrderDate(value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.searchForm.startTime = value[0] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.searchForm.endTime = value[1] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.searchForm.startTime = value[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.searchForm.endTime = value[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.searchForm.startTime = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.searchForm.endTime = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.searchForm.startTime = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.searchForm.endTime = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    onReSet () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.orderDate = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onReSet() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // this.orderDate = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.searchForm = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         startTime: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        endTime: null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.pageInfo.page = 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        endTime: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        orderDate: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var now = new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var startDate = dayjs().format("YYYY-MM-DD"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      var endDate = dayjs().format("YYYY-MM-DD"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.orderDate = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.orderDate.push(startDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.searchForm.orderDate.push(endDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.pageInfo.page = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    onBatchDel () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onBatchDel() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 批量删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      const passed = this.passed 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const passed = this.passed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (passed.length <= 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$message.error('请至少选择一条数据') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$message.error("请至少选择一条数据"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$confirm("是否删除选择的支出记录?", "提示", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        type: "warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return removeFinancialExpenditure({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ids: this.passed.join(',') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type: "warning", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return removeFinancialExpenditure({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ids: this.passed.join(","), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .then(() => this.getList()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .catch(() => { }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .catch(() => {}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    lookDetail (row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.activeRow = row 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.show = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(111) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    lookDetail(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.activeRow = row; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.show = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(111); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    closeReset () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.show = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    closeReset() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.show = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style lang="scss" scoped> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 .newBand { 
			 |