Commit da08aa18 authored by huangjie's avatar huangjie

供应商管理

parent 787914bb
......@@ -25,7 +25,6 @@
<p>
<label class="label">证件选择</label>
<span></span>
<!--<span>{{custmerInfo.registerCapital || '&#45;&#45;'}}</span>-->
<label class="label">统一社会信用代码</label>
<span>{{custmerInfo.unifySocialCode || '--'}}</span>
</p>
......@@ -203,9 +202,9 @@
<div class="main3-box">
<p>
<label class="label">公司意见</label>
<span></span>
<span>{{custmerInfo.purchasePrincipal || '--'}}</span>
<label class="label">准入时间</label>
<span></span>
<span>{{custmerInfo.approveDate2||'--'}}</span>
</p>
</div>
</el-tab-pane>
......
......@@ -75,7 +75,7 @@
<span class="excel" @click="$message({message: '功能正在开发中',type: 'warning'})">导出EXCEL</span>
</p>
</div>
<div class="table-item-jf table-item-jf1 empty-table" v-if="!tableData.length && !isSkeleton">
<div class="table-item-jf table-item-jf1 empty-table" v-if="total == 0 && !isSkeleton">
<img class="item-jf-img" src="@/assets/images/kong.png" alt="">
<div class="item-jf-titel">暂无相关数据</div>
<div class="item-jf-text">抱歉,暂无数据,试试更换搜索条件吧</div>
......
......@@ -32,7 +32,7 @@
</el-form-item>
<el-form-item label="专业类别">
<el-cascader clearable
v-model="formdata.groupSpecialty"
v-model="formdata.groupSpecialtys"
:options="groupSpecialty" :collapse-tags="true"
:props="groupprops"></el-cascader>
</el-form-item>
......@@ -76,6 +76,11 @@
<div class="total-title">
<div class="totals">{{total}}</div>
</div>
<div class="table-item-jf table-item-jf1 empty-table" v-if="total == 0 && !isSkeleton">
<img class="item-jf-img" src="@/assets/images/kong.png" alt="">
<div class="item-jf-titel">暂无相关数据</div>
<div class="item-jf-text">抱歉,暂无数据,试试更换搜索条件吧</div>
</div>
<skeleton v-if="isSkeleton"></skeleton>
<div class="table-item-jf table-item" v-if="!isSkeleton&&tableData.length>0">
......@@ -294,7 +299,7 @@
areas:[],
customerState:[],
credential:[],
groupSpecialty:[],
groupSpecialtys:[],
groupSpecialtyId:[],
creditLevel:[],
paytaxType:[],
......@@ -359,7 +364,7 @@
areas: [],
customerState: [],
credential: [],
groupSpecialty: [],
groupSpecialtys: [],
groupSpecialtyId: [],
creditLevel: [],
paytaxType: [],
......@@ -381,12 +386,11 @@
param.approveDate2Start = ''
param.approveDate2End = ''
}
if(param.groupSpecialty){
param.groupSpecialty.forEach(item=>{
param.groupSpecialtyId = []
if(param.groupSpecialtys){
param.groupSpecialtys.forEach(item=>{
param.groupSpecialtyId.push(item[item.length-1])
})
}else{
param.groupSpecialtyId = []
}
if(param.areas){
let province = []
......@@ -406,8 +410,6 @@
param.registerProvince = []
param.registerCity = []
}
console.log(queryConditionFiltering(this.formdata))
return false
custmerInfolist(queryConditionFiltering(this.formdata)).then(res=>{
this.isSkeleton = false
this.tableData = res.rows
......
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