fix:列表页面排序问题调整
parent
04b59e281a
commit
983780b73b
|
|
@ -259,6 +259,8 @@ export default {
|
||||||
productName: null,
|
productName: null,
|
||||||
vendorCode: null,
|
vendorCode: null,
|
||||||
warehouseId: null,
|
warehouseId: null,
|
||||||
|
orderByColumn:'createdAt',
|
||||||
|
isAsc: 'desc'
|
||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {},
|
form: {},
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,9 @@ export default {
|
||||||
logisticsCompany: null,
|
logisticsCompany: null,
|
||||||
logisticsCode: null,
|
logisticsCode: null,
|
||||||
deliveryStatus: null,
|
deliveryStatus: null,
|
||||||
orderName: null
|
orderName: null,
|
||||||
|
orderByColumn: 'deliveryDate',
|
||||||
|
isAsc: 'desc'
|
||||||
},
|
},
|
||||||
// 字典
|
// 字典
|
||||||
deliveryTypeOptions: [],
|
deliveryTypeOptions: [],
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
<pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList"/>
|
<pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<OrderForm ref="orderForm" :orderId="orderId" @success="getList" />
|
<OrderForm ref="orderForm" :orderId="orderId" @success="getList" />
|
||||||
|
|
||||||
|
|
@ -122,7 +122,9 @@ export default {
|
||||||
orderType: null,
|
orderType: null,
|
||||||
projectCode: null,
|
projectCode: null,
|
||||||
orderAgentName: null,
|
orderAgentName: null,
|
||||||
orderPartnerName: null
|
orderPartnerName: null,
|
||||||
|
orderByColumn: 'orderDate',
|
||||||
|
isAsc: 'desc'
|
||||||
},
|
},
|
||||||
// 导入相关
|
// 导入相关
|
||||||
upload: {
|
upload: {
|
||||||
|
|
|
||||||
|
|
@ -306,7 +306,7 @@ export default {
|
||||||
province: null,
|
province: null,
|
||||||
city: null,
|
city: null,
|
||||||
isAsc : 'desc',
|
isAsc : 'desc',
|
||||||
orderByColumn : 'createTime',
|
orderByColumn : 'createAt',
|
||||||
},
|
},
|
||||||
// 省份选项
|
// 省份选项
|
||||||
provinceOptions: [],
|
provinceOptions: [],
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@ export default {
|
||||||
model: null,
|
model: null,
|
||||||
vendorName: null,
|
vendorName: null,
|
||||||
isAsc : 'desc',
|
isAsc : 'desc',
|
||||||
orderByColumn : 'createTime',
|
orderByColumn : 'createdAt',
|
||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {},
|
form: {},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue