1. 后台交易订单列表改为按时间倒序,并增加订单号,商家账号,用户账号以及订单状态查询
This commit is contained in:
2026-05-21 10:20:33 +08:00
parent 5891895897
commit 99a7918658
3 changed files with 25 additions and 17 deletions

View File

@@ -2,7 +2,7 @@ import request from '@/axios';
export const getList = (current, size, params) => {
return request({
url: '/market/merchant-order/list',
url: '/market/merchant-order/page',
method: 'get',
params: {
...params,

View File

@@ -21,6 +21,7 @@ export default {
editDisplay: false,
viewDisplay: false,
overHidden:true,
search: true,
},
{
label: "下单用户ID",
@@ -28,12 +29,26 @@ export default {
type: "input",
hide: true,
},
{
label: "下单账户",
prop: "userAccount",
type: "input",
overHidden:true,
search: true,
},
{
label: "商家ID",
prop: "sellerId",
type: "input",
hide: true,
},
{
label: "商家账户",
prop: "sellerAccount",
type: "input",
overHidden:true,
search: true,
},
{
label: "商品名称",
prop: "productName",
@@ -91,7 +106,7 @@ export default {
type: "input",
},
{
label: "赠品总数量",
label: "赠品数量",
prop: "totalGiftAmount",
type: "input",
},
@@ -125,7 +140,7 @@ export default {
type: "input",
},
{
label: "收货人手机",
label: "联系方式",
prop: "consigneePhone",
type: "input",
overHidden: true,
@@ -184,7 +199,7 @@ export default {
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true,
overHidden: true,
},
{
label: "更新人用户ID",

View File

@@ -26,11 +26,11 @@
<!-- v-if="permission.merchantOrder_delete"-->
<!-- @click="handleDelete">删 除-->
<!-- </el-button>-->
<el-button type="warning"
plain
icon="el-icon-download"
@click="handleExport">导 出
</el-button>
<!-- <el-button type="warning"-->
<!-- plain-->
<!-- icon="el-icon-download"-->
<!-- @click="handleExport">导 出-->
<!-- </el-button>-->
</template>
</avue-crud>
</basic-container>
@@ -202,14 +202,7 @@
},
onLoad(page, params = {}) {
this.loading = true;
const {
} = this.query;
let values = {
};
getList(page.currentPage, page.pageSize, values).then(res => {
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;