diff --git a/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue b/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue index 5290a5b..ba321a5 100644 --- a/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue +++ b/src/views/inboundOutboundManagement/glassCakeOutbound/index.vue @@ -303,17 +303,19 @@ export default { width: 120, searchLabelWidth: 100, hide: true, + format:"YYYY-MM-DD", + valueFormat:"YYYY-MM-DD", type: "date", searchRange: true, startPlaceholder: "开始时间", endPlaceholder: "结束时间", }, - // { - // label: "预计使用时间", - // prop: "estUseTime", - // search: false, - // width: 120, - // }, + { + label: "预计使用时间", + prop: "estUseTime", + search: false, + width: 120, + }, { label: "创建时间", prop: "createTime", diff --git a/src/views/inboundOutboundManagement/materialIssuing.vue b/src/views/inboundOutboundManagement/materialIssuing.vue index 5b5d2c1..f03b956 100644 --- a/src/views/inboundOutboundManagement/materialIssuing.vue +++ b/src/views/inboundOutboundManagement/materialIssuing.vue @@ -370,6 +370,8 @@ export default { label: '提请日期', prop: 'crDate', type: 'date', + valueFormat:"YYYY-MM-DD", + format:"YYYY-MM-DD", searchRange: true, startPlaceholder: '开始时间', endPlaceholder: "结束时间", diff --git a/src/views/inboundOutboundManagement/otherReceiving.vue b/src/views/inboundOutboundManagement/otherReceiving.vue index 296ba2e..1e8a8ef 100644 --- a/src/views/inboundOutboundManagement/otherReceiving.vue +++ b/src/views/inboundOutboundManagement/otherReceiving.vue @@ -380,6 +380,8 @@ export default { prop: 'inOutDate', type: 'date', searchRange: true, + valueFormat:"YYYY-MM-DD", + format: 'YYYY-MM-DD', startPlaceholder: '开始时间', endPlaceholder: "结束时间", span: 8, @@ -485,10 +487,16 @@ export default { }, onLoad() { console.log('query--------',this.query) + let params = { + ...this.query, + startInOutDate:this.query.inOutDate && this.query.inOutDate.length != 0 && this.query.inOutDate[0], + endInOutDate:this.query.inOutDate && this.query.inOutDate.length != 0 && this.query.inOutDate[1], + } + if(params.inOutDate) delete params.inOutDate getOtherInList({ current:this.page.currentPage, size:this.page.pageSize, - ...this.query + ...params }).then(res =>{ console.log('res---------------',res) this.data = res.data.data.records diff --git a/src/views/oem/oemProcess/index.vue b/src/views/oem/oemProcess/index.vue index 77f59cd..4fea0ed 100644 --- a/src/views/oem/oemProcess/index.vue +++ b/src/views/oem/oemProcess/index.vue @@ -17,6 +17,7 @@ @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad" + :before-open="beforeOpen" >