|
@@ -31,7 +31,7 @@
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<span class="table-page-search-submitButtons">
|
|
<span class="table-page-search-submitButtons">
|
|
<a-button type="info" style="margin-left: 5px" @click="taskIn" :disabled="disabled" >定时任务</a-button>
|
|
<a-button type="info" style="margin-left: 5px" @click="taskIn" :disabled="disabled" >定时任务</a-button>
|
|
- <a-button type="primary" style="margin-left: 5px" @click="$refs.table.refresh(true)" :disabled="disabled" id="replenishmentManagementList-refresh">查询</a-button>
|
|
|
|
|
|
+ <a-button type="primary" style="margin-left: 5px" @click="queryByTypeSum" :disabled="disabled" id="replenishmentManagementList-refresh">查询</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm()" :disabled="disabled" id="replenishmentManagementList-reset">重置</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm()" :disabled="disabled" id="replenishmentManagementList-reset">重置</a-button>
|
|
<a @click="advanced = !advanced" style="margin-left: 5px">
|
|
<a @click="advanced = !advanced" style="margin-left: 5px">
|
|
{{ advanced ? '收起' : '展开' }}
|
|
{{ advanced ? '收起' : '展开' }}
|
|
@@ -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.bizName!='全部'">({{ item.countNum }})</span></p>
|
|
|
|
|
|
+ <p slot="tab">{{ item.bizName }}<span v-if="item.countNum && item.bizName!='全部'&&item.bizName!='已完成'&&item.bizName!='已取消'" style="color: red;">({{ item.countNum }})</span></p>
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
</a-tabs>
|
|
</a-tabs>
|
|
<s-table
|
|
<s-table
|
|
@@ -60,7 +60,6 @@
|
|
@expand="expandFun"
|
|
@expand="expandFun"
|
|
:expandRowByClick="true"
|
|
:expandRowByClick="true"
|
|
:scroll="{ y: tableHeight }"
|
|
:scroll="{ y: tableHeight }"
|
|
- :showPagination="false"
|
|
|
|
:defaultLoadData="false"
|
|
:defaultLoadData="false"
|
|
bordered>
|
|
bordered>
|
|
<a-table
|
|
<a-table
|
|
@@ -350,7 +349,7 @@ export default {
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
this.resetData()
|
|
this.resetData()
|
|
- this.$refs.table.refresh(true)
|
|
|
|
|
|
+ this.queryByTypeSum()
|
|
},
|
|
},
|
|
// 重置数据
|
|
// 重置数据
|
|
resetData () {
|
|
resetData () {
|
|
@@ -402,7 +401,7 @@ export default {
|
|
this.tabPaneData[3].countNum = res.data.WAIT_CHECK || 0
|
|
this.tabPaneData[3].countNum = res.data.WAIT_CHECK || 0
|
|
this.tabPaneData[4].countNum = res.data.FINISH || 0
|
|
this.tabPaneData[4].countNum = res.data.FINISH || 0
|
|
this.tabPaneData[5].countNum = res.data.CANCEL || 0
|
|
this.tabPaneData[5].countNum = res.data.CANCEL || 0
|
|
- this.$refs.table.refresh()
|
|
|
|
|
|
+ this.$refs.table.refresh(true)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|