filterByProject正在工作,但我想添加更多过滤器,即供应商名称。我想要当我按项目和供应商名称过滤它时的结果,它显示两次过滤的过滤结果
<div class="col-md-12">
<div class="row ml-1">
<span style="color:#424242;font-size:15px; margin-right:5px;">Project:</span>
<select class="form-control form-control-sm" style="padding:0;
margin-bottom:5px; height:25px; width:120px;" v-model="filterByProject"
@change="filterproject">
<option>ABC</option>
</select>
// Supplier name
<select class="form-control form-control-sm" style="padding:0;
margin-bottom:5px; height:25px; width:120px;"
<option>Steel Inc</option>
<option>L Inc</option>
</select>
</div>
<div class="card card-primary">
<div class="card-header" style="padding-bottom:0px;">
<h3 class="card-title">Item list <span class="fas fa-bookmark"></span>
</h3>
</div>
<!-- /.card-header -->
<div class="card-body table-responsive p-0">
<table class="table table-hover table-bordered table-sm" >
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">PO DATE</th>
<th scope="col">ITM</th>
<th scope="col">PRJ</th>
<th scope="col">SUPPLIER</th>
</tr>
</thead>
<tbody>
<tr v-for="(fetch,count) in item">
<td style="height:10px">{{count+1}}</td>
<td style="height:10px">{{fetch.po_date}}</td>
<td style="height:10px">{{fetch.project}}</td>
<td style="height:10px">{{fetch.supplier}}</td>
动漫人物
LEATH
相关分类