|  | @@ -1,56 +1,57 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  | -  <basic-container v-if="show">
 | 
	
		
			
				|  |  | -    <avue-crud :option="option"
 | 
	
		
			
				|  |  | -               :data="dataList"
 | 
	
		
			
				|  |  | -               ref="crud"
 | 
	
		
			
				|  |  | -               v-model="form"
 | 
	
		
			
				|  |  | -               :page.sync="page"
 | 
	
		
			
				|  |  | -               :search.sync="search"
 | 
	
		
			
				|  |  | -               :table-loading="loading"
 | 
	
		
			
				|  |  | -               @search-change="searchChange"
 | 
	
		
			
				|  |  | -               @search-reset="searchReset"
 | 
	
		
			
				|  |  | -               @selection-change="selectionChange"
 | 
	
		
			
				|  |  | -               @current-change="currentChange"
 | 
	
		
			
				|  |  | -               @size-change="sizeChange"
 | 
	
		
			
				|  |  | -               @refresh-change="refreshChange"
 | 
	
		
			
				|  |  | -               @on-load="onLoad">
 | 
	
		
			
				|  |  | -      <template slot="menuLeft">
 | 
	
		
			
				|  |  | -        <el-button type="primary"
 | 
	
		
			
				|  |  | -                   size="small"
 | 
	
		
			
				|  |  | -                   icon="el-icon-plus"
 | 
	
		
			
				|  |  | -                   @click="addReceipt">新 单
 | 
	
		
			
				|  |  | -        </el-button>
 | 
	
		
			
				|  |  | -      </template>
 | 
	
		
			
				|  |  | -      <template slot="corpIdSearch">
 | 
	
		
			
				|  |  | -        <select-component
 | 
	
		
			
				|  |  | -          v-model="search.corpId"
 | 
	
		
			
				|  |  | -          :configuration="configuration"
 | 
	
		
			
				|  |  | -        ></select-component>
 | 
	
		
			
				|  |  | -      </template>
 | 
	
		
			
				|  |  | -      <template slot-scope="scope" slot="menu">
 | 
	
		
			
				|  |  | -        <el-button
 | 
	
		
			
				|  |  | -          type="text"
 | 
	
		
			
				|  |  | -          size="small"
 | 
	
		
			
				|  |  | -          @click.stop="editOpen(scope.row, 2)"
 | 
	
		
			
				|  |  | -        >编辑
 | 
	
		
			
				|  |  | -        </el-button>
 | 
	
		
			
				|  |  | -        <el-button
 | 
	
		
			
				|  |  | -          type="text"
 | 
	
		
			
				|  |  | -          size="small"
 | 
	
		
			
				|  |  | -          @click.stop="rowDel(scope.row, scope.index)"
 | 
	
		
			
				|  |  | -        >删除
 | 
	
		
			
				|  |  | -        </el-button>
 | 
	
		
			
				|  |  | -      </template>
 | 
	
		
			
				|  |  | -    </avue-crud>
 | 
	
		
			
				|  |  | -  </basic-container>
 | 
	
		
			
				|  |  | -  <detail-page
 | 
	
		
			
				|  |  | -    ref="detail"
 | 
	
		
			
				|  |  | -    @goBack="goBack"
 | 
	
		
			
				|  |  | -    :detailData="detailData"
 | 
	
		
			
				|  |  | -    v-else
 | 
	
		
			
				|  |  | -  ></detail-page>
 | 
	
		
			
				|  |  | +  <div>
 | 
	
		
			
				|  |  | +    <basic-container v-if="show">
 | 
	
		
			
				|  |  | +      <avue-crud :option="option"
 | 
	
		
			
				|  |  | +                 :data="dataList"
 | 
	
		
			
				|  |  | +                 ref="crud"
 | 
	
		
			
				|  |  | +                 v-model="form"
 | 
	
		
			
				|  |  | +                 :page.sync="page"
 | 
	
		
			
				|  |  | +                 :search.sync="search"
 | 
	
		
			
				|  |  | +                 :table-loading="loading"
 | 
	
		
			
				|  |  | +                 @search-change="searchChange"
 | 
	
		
			
				|  |  | +                 @search-reset="searchReset"
 | 
	
		
			
				|  |  | +                 @selection-change="selectionChange"
 | 
	
		
			
				|  |  | +                 @current-change="currentChange"
 | 
	
		
			
				|  |  | +                 @size-change="sizeChange"
 | 
	
		
			
				|  |  | +                 @refresh-change="refreshChange"
 | 
	
		
			
				|  |  | +                 @on-load="onLoad">
 | 
	
		
			
				|  |  | +        <template slot="menuLeft">
 | 
	
		
			
				|  |  | +          <el-button type="primary"
 | 
	
		
			
				|  |  | +                     size="small"
 | 
	
		
			
				|  |  | +                     icon="el-icon-plus"
 | 
	
		
			
				|  |  | +                     @click="addReceipt">新 单
 | 
	
		
			
				|  |  | +          </el-button>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +        <template slot="corpIdSearch">
 | 
	
		
			
				|  |  | +          <select-component
 | 
	
		
			
				|  |  | +            v-model="search.corpId"
 | 
	
		
			
				|  |  | +            :configuration="configuration"
 | 
	
		
			
				|  |  | +          ></select-component>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +        <template slot-scope="scope" slot="menu">
 | 
	
		
			
				|  |  | +          <el-button
 | 
	
		
			
				|  |  | +            type="text"
 | 
	
		
			
				|  |  | +            size="small"
 | 
	
		
			
				|  |  | +            @click.stop="editOpen(scope.row, 2)"
 | 
	
		
			
				|  |  | +          >编辑
 | 
	
		
			
				|  |  | +          </el-button>
 | 
	
		
			
				|  |  | +          <el-button
 | 
	
		
			
				|  |  | +            type="text"
 | 
	
		
			
				|  |  | +            size="small"
 | 
	
		
			
				|  |  | +            @click.stop="rowDel(scope.row, scope.index)"
 | 
	
		
			
				|  |  | +          >删除
 | 
	
		
			
				|  |  | +          </el-button>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +      </avue-crud>
 | 
	
		
			
				|  |  | +    </basic-container>
 | 
	
		
			
				|  |  | +    <detail-page
 | 
	
		
			
				|  |  | +      ref="detail"
 | 
	
		
			
				|  |  | +      @goBack="goBack"
 | 
	
		
			
				|  |  | +      :detailData="detailData"
 | 
	
		
			
				|  |  | +      v-else
 | 
	
		
			
				|  |  | +    ></detail-page>
 | 
	
		
			
				|  |  | +  </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |    import option from "./configuration/mainList.json";
 | 
	
		
			
				|  |  |    import { getList,remove} from "@/api/financialManagement/paymentRequest";
 |