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