|
@@ -45,7 +45,7 @@
|
|
<!-- 标签页 -->
|
|
<!-- 标签页 -->
|
|
<a-tabs type="card" v-model="queryParam.bizType" @change="handleTabChange" class="replenishmentManagementList-tabs ">
|
|
<a-tabs type="card" v-model="queryParam.bizType" @change="handleTabChange" class="replenishmentManagementList-tabs ">
|
|
<a-tab-pane v-for="item in tabPaneData" :key="item.bizType">
|
|
<a-tab-pane v-for="item in tabPaneData" :key="item.bizType">
|
|
- <p slot="tab">{{ item.bizName }}<span v-if="item.countNum || item.countNum==0">({{ item.countNum }})</span></p>
|
|
|
|
|
|
+ <p slot="tab">{{ item.bizName }}<span v-if="(item.countNum || item.countNum==0)&&item.bizName!='全部'">({{ item.countNum }})</span></p>
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
</a-tabs>
|
|
</a-tabs>
|
|
<s-table
|
|
<s-table
|
|
@@ -384,7 +384,9 @@ export default {
|
|
},
|
|
},
|
|
// 获取类型
|
|
// 获取类型
|
|
queryByTypeSum () {
|
|
queryByTypeSum () {
|
|
- shelfReplenishStateCount({}).then(res => {
|
|
|
|
|
|
+ const params = JSON.parse(JSON.stringify(this.queryParam))
|
|
|
|
+ delete params.bizType
|
|
|
|
+ shelfReplenishStateCount(params).then(res => {
|
|
if (res.data && res.status == 200) {
|
|
if (res.data && res.status == 200) {
|
|
this.tabPaneData = [
|
|
this.tabPaneData = [
|
|
{ bizName: '全部', bizType: 'ALL', countNum: 0 },
|
|
{ bizName: '全部', bizType: 'ALL', countNum: 0 },
|