Commit 3db2170e authored by jingnan's avatar jingnan 👀

配套出库确认左侧计划时间查询参数修改

parent 5cb9274c
......@@ -135,18 +135,8 @@ export default {
methods: {
// 加载左侧申请表
init() {
// const searchData = obtainedParams.searchFormData ? obtainedParams.searchFormData.items : []
// const extraItems = obtainedParams.extraBaseParams || []
const items = []
if (this.form.scheduledStart) {
items.push({
fieldName: 'joExecutePlan.scheduledStart',
operator: 'BTWN',
searchItemType: 'Date',
value: this.form.scheduledStart[0] + ' 00:00:00',
value1: this.form.scheduledStart[1] + ' 23:59:59'
})
}
const timeStr = this.form.scheduledStart && `&startTime=${this.form.scheduledStart[0] + ' 00:00:00'}&endTime=${this.form.scheduledStart[1] + ' 23:59:59'}` || ''
const params = {
'pageFrom': 1,
'pageSize': 9999,
......@@ -191,8 +181,7 @@ export default {
this.checkedAll = false
this.isIndeterminate = false
this.checkedLists = []
// return new Promise((resolve, reject) => {
post(`OutStorageRequest/search/matchStorageExpireToAo?taskDefinitionKey=${this.selectData.taskKey}`, params).then(res => {
post(`OutStorageRequest/search/matchStorageExpireToAo?taskDefinitionKey=${this.selectData.taskKey}${timeStr}`, params).then(res => {
const data = res.items.content.map(item => {
return {
...item,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment