Преглед изворни кода

去缴费,分页问题,链属问题

sqg пре 3 година
родитељ
комит
f6ac8a12f4

+ 8 - 0
front-vue/src/api/service/cost/costManage.js

@@ -58,4 +58,12 @@ export function getUser() {
     url: '/sc-service/rel/getUser',
     method: 'get'
   })
+}
+
+// 去缴费
+export function changeZfiStatus(zciId) {
+  return request({
+    url: '/sc-service/cost/changeZfiStatus/'+ zciId,
+    method: 'put'
+  })
 }

+ 5 - 1
front-vue/src/views/service/company/coreCompanyManage.vue

@@ -79,7 +79,11 @@
     </el-row>
 
     <el-table v-loading="loading" :data="companyList" @selection-change="handleSelectionChange" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="企业名称" align="center" prop="scyName" :show-overflow-tooltip="true" v-if="uncheckList.scyName"/>
       <el-table-column label="社会统一代码" align="center" prop="scySocialCode" v-if="uncheckList.scySocialCode"/>
       <el-table-column label="联系人" align="center" prop="scyLegal" v-if="uncheckList.scyLegal" />

+ 5 - 1
front-vue/src/views/service/company/supCompanyManage.vue

@@ -68,7 +68,11 @@
     </el-card>
 
     <el-table v-loading="loading" :data="companyList" @selection-change="handleSelectionChange" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="企业名称" align="center" prop="scyName" :show-overflow-tooltip="true" v-if="uncheckList.scyName"/>
       <el-table-column label="社会统一代码" align="center" prop="scySocialCode" v-if="uncheckList.scySocialCode"/>
       <el-table-column label="联系人" align="center" prop="scyLegal" v-if="uncheckList.scyLegal" />

+ 79 - 8
front-vue/src/views/service/cost/costManage.vue

@@ -85,16 +85,20 @@
     </el-row>
 
     <el-table v-loading="loading" :data="costList" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="融资编号" align="center" prop="zfrNumber" v-if="uncheckList.zfiNumber" />
       <el-table-column label="融资企业" align="center" prop="supScyName" v-if="uncheckList.supScyName" />
       <el-table-column label="开立企业" align="center" prop="coreScyName" v-if="uncheckList.coreScyName" show-overflow-tooltip />
       <el-table-column label="融资产品" align="center" prop="zfpName" v-if="uncheckList.zfpName" show-overflow-tooltip />
-      <el-table-column label="融资金额" align="center" prop="zfrAmount" v-if="uncheckList.zfrAmount" show-overflow-tooltip />
+      <el-table-column label="融资金额" align="center" prop="zfrAmount" :formatter="moneyFormat" v-if="uncheckList.zfrAmount" show-overflow-tooltip />
       <el-table-column label="融资状态" align="center" prop="zfrStatus" :formatter="zfrStatusFormat" v-if="uncheckList.zfrStatus" show-overflow-tooltip />
       <el-table-column label="费用状态" align="center" prop="zciStatus" :formatter="zciStatusFormat" v-if="uncheckList.zciStatus" show-overflow-tooltip />
       <el-table-column label="创建时间" align="center" prop="createTime" v-if="uncheckList.createTime" show-overflow-tooltip />
-      <el-table-column label="手续费" align="center" prop="zciAmount" v-if="uncheckList.zciAmount " show-overflow-tooltip />
+      <el-table-column label="手续费" align="center" prop="zciAmount" :formatter="moneyFormat" v-if="uncheckList.zciAmount " show-overflow-tooltip />
       <el-table-column label="发票状态" align="center" prop="zciInvoiceStatus" :formatter="zciInvoiceStatusFormat" v-if="uncheckList.zciInvoiceStatus" show-overflow-tooltip />
       <el-table-column label="快递单号" align="center" prop="zciExpressNo" v-if="uncheckList.zciExpressNo" show-overflow-tooltip />
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
@@ -134,7 +138,6 @@
   </el-tab-pane>
 
 <el-tab-pane label="开票列表">
-    <!-- 未认证列表 -->
     <el-card class="fiche">
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getInvoice">收起</right-toolbar>
           <span style="margin-bottom: 10px;color:#333333;font:14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial,sans-serif">所选条件:</span>
@@ -219,16 +222,20 @@
 
     <!-- 开票列表 -->
     <el-table v-loading="loading" :data="invoiceList" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(invoiceParams.pageNum - 1) * invoiceParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="融资编号" align="center" prop="zfrNumber" v-if="uncheckList.zfiNumber" />
       <el-table-column label="融资企业" align="center" prop="supScyName" v-if="uncheckList.supScyName" />
       <el-table-column label="开立企业" align="center" prop="coreScyName" v-if="uncheckList.coreScyName" show-overflow-tooltip />
       <el-table-column label="融资产品" align="center" prop="zfpName" v-if="uncheckList.zfpName" show-overflow-tooltip />
-      <el-table-column label="融资金额" align="center" prop="zfrAmount" v-if="uncheckList.zfrAmount" show-overflow-tooltip />
+      <el-table-column label="融资金额" align="center" prop="zfrAmount" :formatter="moneyFormat" v-if="uncheckList.zfrAmount" show-overflow-tooltip />
       <el-table-column label="融资状态" align="center" prop="zfrStatus" :formatter="zfrStatusFormat" v-if="uncheckList.zfrStatus" show-overflow-tooltip />
       <el-table-column label="费用状态" align="center" prop="zciStatus" :formatter="zciStatusFormat" v-if="uncheckList.zciStatus" show-overflow-tooltip />
       <el-table-column label="创建时间" align="center" prop="createTime" v-if="uncheckList.createTime" show-overflow-tooltip />
-      <el-table-column label="手续费" align="center" prop="zciAmount" v-if="uncheckList.zciAmount " show-overflow-tooltip />
+      <el-table-column label="手续费" align="center" prop="zciAmount" :formatter="moneyFormat" v-if="uncheckList.zciAmount " show-overflow-tooltip />
       <el-table-column label="发票状态" align="center" prop="zciInvoiceStatus" :formatter="zciInvoiceStatusFormat" v-if="uncheckList.zciInvoiceStatus" show-overflow-tooltip />
       <el-table-column label="快递单号" align="center" prop="zciExpressNo" v-if="uncheckList.zciExpressNo" show-overflow-tooltip />
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
@@ -541,6 +548,19 @@ export default {
     this.columnQuery();
   },
   methods: {
+    //列表格式化金额
+    moneyFormat(row, column, cellValue) {
+        if(cellValue == null || cellValue== undefined || cellValue == ''){
+            cellValue = '0.00'
+        }
+        cellValue += '';
+        if (!cellValue.includes('.')) {
+            cellValue += '.00';
+        }
+        return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
+            return $1 + ',';
+          }).replace(/\.$/, '');
+    },
     //获取当前客户是否之前设置过列展示隐藏
     columnQuery(){
         //获取页面路径
@@ -626,8 +646,25 @@ export default {
       this.dateInvoiceRange = [];
       this.handleInvoiceQuery();
     },
-    /** 发票按钮操作 */
+    /** 编辑按钮操作 */
     handleUpdate(row) {
+      this.reset();
+      if(row.zciId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无费用数据",
+          });
+        return;
+      }
+      if(row.zfiSupplierId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无融资企业信息",
+          });
+        return;
+      }
       const zciId  = row.zciId || this.ids;
       const scyId = row.zfiSupplierId || this.ids;
       listInvoice(scyId,zciId).then(response => {
@@ -692,6 +729,23 @@ export default {
 
     /* 发票列表开票按钮 */
     handleInvoiceOpen(row) {
+      this.reset();
+      if(row.zciId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无费用数据",
+          });
+        return;
+      }
+      if(row.zfiSupplierId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无融资企业信息",
+          });
+        return;
+      }
       const zciId  = row.zciId || this.ids;
       const scyId = row.zfiSupplierId || this.ids;
       listInvoice(scyId,zciId).then(response => {
@@ -737,6 +791,23 @@ export default {
 
     //冲红按钮
     handleInvoiceFlush(row) {
+      this.reset();
+      if(row.zciId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无费用数据",
+          });
+        return;
+      }
+      if(row.zfiSupplierId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无融资企业信息",
+          });
+        return;
+      }
       const zciId  = row.zciId || this.ids;
       const scyId = row.zfiSupplierId || this.ids;
       listInvoice(scyId,zciId).then(response => {

+ 85 - 4
front-vue/src/views/service/cost/userCostManage.vue

@@ -84,15 +84,19 @@
     </el-row>
 
     <el-table v-loading="loading" :data="costList" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="融资编号" align="center" prop="zfrNumber" v-if="uncheckList.zfiNumber" />
       <el-table-column label="开立企业" align="center" prop="coreScyName" v-if="uncheckList.coreScyName" show-overflow-tooltip />
       <el-table-column label="融资产品" align="center" prop="zfpName" v-if="uncheckList.zfpName" show-overflow-tooltip />
-      <el-table-column label="融资金额" align="center" prop="zfrAmount" v-if="uncheckList.zfrAmount" show-overflow-tooltip />
+      <el-table-column label="融资金额" align="center" prop="zfrAmount" :formatter="moneyFormat" v-if="uncheckList.zfrAmount" show-overflow-tooltip />
       <el-table-column label="融资状态" align="center" prop="zfrStatus" :formatter="zfrStatusFormat" v-if="uncheckList.zfrStatus" show-overflow-tooltip />
       <el-table-column label="费用状态" align="center" prop="zciStatus" :formatter="zciStatusFormat" v-if="uncheckList.zciStatus" show-overflow-tooltip />
       <el-table-column label="创建时间" align="center" prop="createTime" v-if="uncheckList.createTime" show-overflow-tooltip />
-      <el-table-column label="手续费" align="center" prop="zciAmount" v-if="uncheckList.zciAmount " show-overflow-tooltip />
+      <el-table-column label="手续费" align="center" prop="zciAmount" :formatter="moneyFormat" v-if="uncheckList.zciAmount " show-overflow-tooltip />
       <el-table-column label="发票状态" align="center" prop="zciInvoiceStatus" :formatter="zciInvoiceStatusFormat" v-if="uncheckList.zciInvoiceStatus" show-overflow-tooltip />
       <el-table-column label="快递单号" align="center" prop="zciExpressNo" v-if="uncheckList.zciExpressNo" show-overflow-tooltip />
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
@@ -105,6 +109,13 @@
             v-hasPermi="['service:cost:update']"
           >发票</el-button>
           <el-button
+            v-if="scope.row.zciStatus == '00'"
+            size="mini"
+            type="text"
+            @click="handlePay(scope.row)"
+            v-hasPermi="['service:cost:update']"
+          >去缴费</el-button>
+          <el-button
             v-if="scope.row.zciInvoiceStatus == '0' && scope.row.zciStatus == '02'"
             size="mini"
             type="text"
@@ -186,7 +197,7 @@
 </template>
 
 <script>
-import { listCost, listInvoice, selectInvoiceList, applyInvoice, invoicing, daleteInvoice, getUser } from "@/api/service/cost/costManage";
+import { listCost, listInvoice, selectInvoiceList, applyInvoice, invoicing, daleteInvoice, getUser, changeZfiStatus } from "@/api/service/cost/costManage";
 import { uploadFileNew } from "@/api/common/file";
 import { getToken } from "@/utils/auth";
 import {columnQuery,columnfilter} from "@/api/common/columnSetting";
@@ -362,6 +373,19 @@ export default {
     this.columnQuery();
   },
   methods: {
+    //列表格式化金额
+    moneyFormat(row, column, cellValue) {
+        if(cellValue == null || cellValue== undefined || cellValue == ''){
+            cellValue = '0.00'
+        }
+        cellValue += '';
+        if (!cellValue.includes('.')) {
+            cellValue += '.00';
+        }
+        return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
+            return $1 + ',';
+          }).replace(/\.$/, '');
+    },
     //获取当前客户是否之前设置过列展示隐藏
     columnQuery(){
         //获取页面路径
@@ -428,6 +452,23 @@ export default {
     },
     /** 发票按钮操作 */
     handleUpdate(row) {
+      this.reset();
+      if(row.zciId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无费用数据",
+          });
+        return;
+      }
+      if(row.zfiSupplierId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无融资企业信息",
+          });
+        return;
+      }
       const zciId  = row.zciId || this.ids;
       const scyId = row.zfiSupplierId || this.ids;
       listInvoice(scyId,zciId).then(response => {
@@ -440,6 +481,23 @@ export default {
 
     /** 发票按钮操作 */
     handleApply(row) {
+      this.reset();
+      if(row.zciId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无费用数据",
+          });
+        return;
+      }
+      if(row.zfiSupplierId){
+      }else{
+        this.$message({
+            type: "warning",
+            message: "无融资企业信息",
+          });
+        return;
+      }
       const zciId  = row.zciId || this.ids;
       const scyId = row.zfiSupplierId || this.ids;
       listInvoice(scyId,zciId).then(response => {
@@ -449,6 +507,29 @@ export default {
       this.openApply = true;
       this.titleApply = "申请开票信息";
     },
+    //去缴费
+    handlePay(row){
+      const zciId  = row.zciId || this.ids;
+      const maney = row.zfrAmount || this.ids;
+      debugger
+      this.$confirm('是否缴费融资金额"' + maney + '"元?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return changeZfiStatus(zciId);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("缴费成功");
+        })
+        .catch(() => {
+          this.$message({
+            type: "warning",
+            message: "已取消缴费",
+           
+          });
+        });
+    },
       
   /** 提交按钮 */
   submitForm() {

+ 46 - 22
front-vue/src/views/service/rel/companyRel.vue

@@ -45,9 +45,9 @@
                     ></el-option>
             </el-select>
         </el-form-item>
-        <el-form-item label="企业类型" prop="scrType">
+        <el-form-item label="链属关系" prop="scrType">
             <el-select v-model="queryParams.scrType"
-                placeholder="企业类型"
+                placeholder="链属关系"
                 clearable
                 size="small"
                 style="width: 215px">
@@ -86,7 +86,11 @@
     </el-row>
 
     <el-table v-loading="loading" :data="companyRelList" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="社会统一代码" align="center" prop="companyCode" v-if="uncheckList.companyCode" show-overflow-tooltip>
         <template slot-scope="scope">
             <span v-if="scope.row.launch">{{scope.row.receiveScySocialCode}}</span>
@@ -99,7 +103,7 @@
             <span v-else>{{scope.row.launchScyName}}</span>
         </template>
       </el-table-column>
-      <el-table-column label="企业类型" align="center" prop="companyType" v-if="uncheckList.companyType">
+      <el-table-column label="链属关系" align="center" prop="companyType" v-if="uncheckList.companyType">
         <template slot-scope="scope">
             <span v-if="scope.row.launch">{{companyTypeFormat(scope.row.launchScrReceiveType)}}</span>
             <span v-else>{{companyTypeFormat(scope.row.launchScrLaunchType)}}</span>
@@ -189,9 +193,9 @@
           @keyup.enter.native="handleSpareQuery"
         />
       </el-form-item>
-        <el-form-item label="企业类型" prop="scrType">
+        <el-form-item label="链属关系" prop="scrType">
             <el-select v-model="spareParams.scrType"
-                placeholder="企业类型"
+                placeholder="请选择链属关系"
                 clearable
                 size="small"
                 style="width: 215px">
@@ -231,10 +235,14 @@
 
     <!-- 未认证企业信息列表 -->
     <el-table v-loading="loading" :data="spareOwnlist" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(spareParams.pageNum - 1) * spareParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="企业名称" align="center" width="202" prop="scpName" show-overflow-tooltip/>
       <el-table-column label="社会统一代码" align="center" width="151" prop="scpSocialCode" show-overflow-tooltip/>
-      <el-table-column label="企业类型" align="center" width="91" prop="scpType" :formatter="scpTypeFormat" />
+      <el-table-column label="链属关系" align="center" width="91" prop="scpType" :formatter="scpTypeFormat" />
       <el-table-column label="联系人" align="center" width="83" prop="scpContarct" />
       <el-table-column label="联系电话" align="center" width="109" prop="scpContarctPhone" show-overflow-tooltip />
       <el-table-column label="邮箱" align="center" width="187" prop="scpContarctEmail" show-overflow-tooltip/>
@@ -273,9 +281,9 @@
         <el-form-item label="企业编号" prop="scyId" style="display:none" >
           <el-input v-model="form.scyId" disabled />
         </el-form-item>
-        <el-form-item label="企业类型" prop="scrReceiveType">
+        <el-form-item label="链属关系" prop="scrReceiveType">
             <el-select v-model="form.scrReceiveType"
-                placeholder="请选择企业类型"
+                placeholder="请选择链属关系"
                 clearable
                 size="small"
                 style="width: 215px">
@@ -465,7 +473,7 @@ export default {
             },
             {
               label: 'companyType',
-              value: '企业类型'
+              value: '链属关系'
             },
             {
               label: 'launchScrContarct',
@@ -508,7 +516,7 @@ export default {
           { required: true, message: "公司名称不能为空", trigger: ["blur", "change"] },
         ],
         scrReceiveType:[
-            { required: true, message: "企业类型不能为空", trigger: ["blur", "change"] },
+            { required: true, message: "链属关系不能为空", trigger: ["blur", "change"] },
         ],
         scrContarctPhone: [
           {
@@ -609,7 +617,7 @@ export default {
       return this.selectDictLabel(this.scrTypeOptions, companyType);
     },
     scpTypeFormat(row, column) {
-      return this.selectDictLabel(this.scpTypeOptions, row.scpType);
+      return this.selectDictLabel(this.scrTypeOptions, row.scpType);
     },
     scpStatusFormat(row, column) {
       return this.selectDictLabel(this.scpStatusOptions, row.scpStatus);
@@ -665,6 +673,7 @@ export default {
       this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
       this.getList();
       this.getSpare();
+      this.getCompanyList();
     },
     // 提交上传文件
     submitFileForm() {
@@ -831,6 +840,7 @@ submitForm() {
             this.open = false;
             this.getList();
             this.getSpare();
+            this.getCompanyList();
           });
           loading.close();
           }
@@ -849,8 +859,10 @@ submitForm() {
           const state = "01";
           return updateRel(launchScrId,state);
         }).then(() => {
-          this.getList();
           this.msgSuccess("链属成功");
+          this.getList();
+          this.getSpare();
+          this.getCompanyList();
         })
         .catch(() => {
           this.$message({
@@ -868,8 +880,10 @@ submitForm() {
           const state = "01";
           return updateRel(launchScrId,state);
         }).then(() => {
-          this.getList();
           this.msgSuccess("链属成功");
+          this.getList();
+          this.getSpare();
+          this.getCompanyList();
         })
         .catch(() => {
           this.$message({
@@ -893,8 +907,10 @@ submitForm() {
           const state = "02";
           return updateRel(launchScrId,state);
         }).then(() => {
-          this.getList();
           this.msgSuccess("拒绝成功");
+          this.getList();
+          this.getSpare();
+          this.getCompanyList();
         })
         .catch(() => {
           this.$message({
@@ -913,8 +929,10 @@ submitForm() {
           const state = "02";
           return updateRel(launchScrId,state);
         }).then(() => {
-          this.getList();
           this.msgSuccess("拒绝成功");
+          this.getList();
+          this.getSpare();
+          this.getCompanyList();
         })
         .catch(() => {
           this.$message({
@@ -937,8 +955,10 @@ submitForm() {
         }).then(function() {
           return delRel(launchScrId);
         }).then(() => {
-          this.getList();
           this.msgSuccess("解绑成功");
+          this.getList();
+          this.getSpare();
+          this.getCompanyList();
         })
         .catch(() => {
           this.$message({
@@ -956,8 +976,10 @@ submitForm() {
         }).then(function() {
           return delRel(launchScrId);
         }).then(() => {
-          this.getList();
           this.msgSuccess("解绑成功");
+          this.getList();
+          this.getSpare();
+          this.getCompanyList();
         })
         .catch(() => {
           this.$message({
@@ -1000,12 +1022,14 @@ submitForm() {
             background: "rgba(0, 0, 0, 0.7)",
           })
       againInvite(row).then(response => {
-            this.getList();
-            this.getSpare();
-        }).then(() => {
           this.getList();
           this.getSpare();
+          this.getCompanyList();
+        }).then(() => {
           this.msgSuccess("重邀成功");
+          this.getList();
+          this.getSpare();
+          this.getCompanyList();
           loading.close();
         }).catch((e) => {
           loading.close();

+ 24 - 30
front-vue/src/views/service/rel/companyRelManage.vue

@@ -21,11 +21,11 @@
           @keyup.enter.native="handleQuery"
         />
       </el-form-item>
-      <el-form-item label="社会统一代码" prop="scySocialCode" >
+      <el-form-item label="联系人" prop="scrContarct" >
         <el-input
           maxlength="30"
-          v-model="queryParams.scySocialCode"
-          placeholder="请输入社会统一代码"
+          v-model="queryParams.scrContarct"
+          placeholder="请输入联系人"
           clearable
           size="small"
           @keyup.enter.native="handleQuery"
@@ -45,20 +45,6 @@
                     ></el-option>
             </el-select>
         </el-form-item>
-        <el-form-item label="企业类型" prop="scrType">
-            <el-select v-model="queryParams.scrType"
-                placeholder="企业类型"
-                clearable
-                size="small"
-                style="width: 215px">
-                    <el-option
-                    v-for="dict in scrTypeOptions"
-                    :key="dict.dictValue"
-                    :label="dict.dictLabel"
-                    :value="dict.dictValue"
-                    ></el-option>
-            </el-select>
-        </el-form-item>
     </el-form>
     </el-card>
 
@@ -76,7 +62,11 @@
     </el-row>
 
     <el-table v-loading="loading" :data="companyRelList" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="发起方" align="center" prop="launchScyName" v-if="uncheckList.launchScyName" show-overflow-tooltip>
       </el-table-column>
       <el-table-column label="链属关系(发起方)" align="center" prop="launchScrLaunchType" 
@@ -137,9 +127,9 @@
           @keyup.enter.native="handleSpareQuery"
         />
       </el-form-item>
-        <el-form-item label="企业类型" prop="scrType">
+        <el-form-item label="链属关系" prop="scrType">
             <el-select v-model="spareParams.scrType"
-                placeholder="企业类型"
+                placeholder="链属关系"
                 clearable
                 size="small"
                 style="width: 215px">
@@ -169,15 +159,19 @@
 
     <!-- 未认证企业信息列表 -->
     <el-table v-loading="loading" :data="spareOwnlist" stripe border>
-      <el-table-column label="序号" type="index" width="55" align="center" />
-      <el-table-column label="企业名称" align="center"  prop="scpName" show-overflow-tooltip/>
-      <el-table-column label="社会统一代码" align="center"  prop="scpSocialCode" show-overflow-tooltip/>
-      <el-table-column label="企业类型" align="center"  prop="scpType" :formatter="scpTypeFormat" />
-      <el-table-column label="联系人" align="center"  prop="scpContarct" />
-      <el-table-column label="联系电话" align="center"  prop="scpContarctPhone" show-overflow-tooltip />
-      <el-table-column label="链属企业" align="center"  prop="scyName" show-overflow-tooltip/>
+      <el-table-column label="序号" type="index" width="50" align="center">
+        <template slot-scope="scope">
+          <span>{{(spareParams.pageNum - 1) * spareParams.pageSize + scope.$index + 1}}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="发起方" align="center"  prop="scyName" show-overflow-tooltip/>
+      <el-table-column label="接收方" align="center"  prop="scpName" show-overflow-tooltip/>
+      <el-table-column label="社会统一代码(接收方)" align="center" width="150px" prop="scpSocialCode" show-overflow-tooltip/>
+      <el-table-column label="链属关系(接收方)" align="center" width="113px" prop="scpType" :formatter="scpTypeFormat" />
+      <el-table-column label="联系人" align="center" width="100px" prop="scpContarct" />
+      <el-table-column label="联系电话" align="center" width="100px" prop="scpContarctPhone" show-overflow-tooltip />
       <el-table-column label="邮箱" align="center"  prop="scpContarctEmail" show-overflow-tooltip/>
-      <el-table-column label="状态" align="center" prop="scpStatus" :formatter="scpStatusFormat" />
+      <el-table-column label="状态" align="center" width="100px" prop="scpStatus" :formatter="scpStatusFormat" />
     </el-table>
     <pagination
       v-show="spareTitol > 0"
@@ -326,7 +320,7 @@ export default {
         companyName: null,
         scySocialCode: null,
         scrStatus: null,
-        scrType: null
+        scrContarct : null
       },
       //未认证列表查询参数
       spareParams:{
@@ -472,7 +466,7 @@ export default {
       return this.selectDictLabel(this.scrTypeOptions, row.launchScrReceiveType);
     },
     scpTypeFormat(row, column) {
-      return this.selectDictLabel(this.scpTypeOptions, row.scpType);
+      return this.selectDictLabel(this.scrTypeOptions, row.scpType);
     },
     scpStatusFormat(row, column) {
       return this.selectDictLabel(this.scpStatusOptions, row.scpStatus);