公共退款
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
end-placeholder="结束日期"
|
||||
@change=search
|
||||
></el-date-picker>
|
||||
<el-select v-model="searchModel.ProductIds" placeholder="选择产品" collapse-tags multiple clearable size="small" @change=search>
|
||||
<el-select v-model="searchModel.ProductIds" placeholder="选择产品" collapse-tags clearable size="small" @change=search>
|
||||
<el-option v-for="item in products" :key="item.Name" :label="item.Name" :value="item.Id"></el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
@@ -31,14 +31,22 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="block">
|
||||
<el-pagination
|
||||
<!-- <el-pagination
|
||||
v-if="retData.Data.length>0"
|
||||
@current-change="get"
|
||||
:current-page.sync="searchModel.PageIndex"
|
||||
:page-size="50"
|
||||
layout="total,prev, pager, next"
|
||||
:total="retData.TotalCount"
|
||||
></el-pagination>
|
||||
></el-pagination> -->
|
||||
|
||||
<el-pagination
|
||||
@current-change="get"
|
||||
:current-page.sync="searchModel.PageIndex"
|
||||
:page-size="50"
|
||||
layout="prev, pager, next, jumper"
|
||||
:total="retData.TotalCount">
|
||||
</el-pagination>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -73,6 +81,7 @@ export default {
|
||||
this.get()
|
||||
},
|
||||
get () {
|
||||
this.loading = true
|
||||
if (this.dateRange && this.dateRange.length == 2) {
|
||||
this.searchModel.Btime = this.dateRange[0]
|
||||
this.searchModel.Etime = this.dateRange[1]
|
||||
@@ -82,7 +91,8 @@ export default {
|
||||
// })
|
||||
this.$api.get(this.$api.phpURL + 'order/OpenRefund/getList', this.searchModel).then(res => {
|
||||
this.retData.Data = res.data.list
|
||||
this.retData.TotalCount = res.data.count
|
||||
this.retData.TotalCount = parseInt(res.data.count.count)
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
getProduct () {
|
||||
|
||||
Reference in New Issue
Block a user