计划模块(订单查询优化)

master
wws 1 year ago
parent 0c8251d6c6
commit b368b72d00

@ -1142,6 +1142,9 @@ export default {
if (this.queryParams.planDateArray != null) {
this.queryParams.planDateStart = moment(this.queryParams.planDateArray[0]).format('YYYY-MM-DD')
this.queryParams.planDateEnd = moment(this.queryParams.planDateArray[1]).format('YYYY-MM-DD')
}else {
this.queryParams.planDateStart = null
this.queryParams.planDateEnd = null
}
listOrder(this.queryParams).then(response => {
this.orderList = this.handleTree(response.data, 'orderCode', 'parentOrder')
@ -1240,7 +1243,7 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
planDateArray: [],
planDateArray: [new Date(), new Date()],
planFactoryCode: null,
orderType: null,
orderCode: null,

Loading…
Cancel
Save