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