Commit f8c5eb22 authored by caixingbing's avatar caixingbing
parents 8dd24252 e76fd182
...@@ -345,8 +345,7 @@ export default { ...@@ -345,8 +345,7 @@ export default {
getCustomerList(this.searchParam).then(result=>{ getCustomerList(this.searchParam).then(result=>{
this.tableData = result this.tableData = result
this.tableData.rows.forEach(item=>{ this.tableData.rows.forEach(item=>{
item.registerCapital.replace('万','') item.registerCapital.replace(/^\D*(\d*(?:\.\d{0,6})?).*$/g, '$1')
item.registerCapital.replace('元','')
if(item.mainBusiness != "" && item.mainBusiness != null && item.mainBusiness.length>84){ if(item.mainBusiness != "" && item.mainBusiness != null && item.mainBusiness.length>84){
item.mainBusiness1 = item.mainBusiness.substring(0,81) item.mainBusiness1 = item.mainBusiness.substring(0,81)
item.sq1 = true item.sq1 = true
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-table <el-table
:data="tableData.rows" :data="tableData.rows"
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'depth', order: 'ascending'}" :default-sort = "{prop: 'depth', order: 'descending'}"
> >
<template slot="empty"> <template slot="empty">
<div class="empty"> <div class="empty">
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<el-table <el-table
:data="fileDatas.rows" :data="fileDatas.rows"
style="width: 100%" style="width: 100%"
:default-sort = "{prop: 'creatTime', order: 'ascending'}" :default-sort = "{prop: 'creatTime', order: 'descending'}"
> >
<template slot="empty"> <template slot="empty">
<div class="empty"> <div class="empty">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment