Commit 32b9737e by zhouzy

批次搜索传参改变

1 parent 85856be0
...@@ -518,10 +518,10 @@ export default { ...@@ -518,10 +518,10 @@ export default {
}, },
getlistMemberBatch: listMemberBatch, getlistMemberBatch: listMemberBatch,
// 批次列表搜索项 // 批次列表搜索项
selectBatchId: '', selectBatchId: ''||null,
batchListSearch: { batchListSearch: {
batchId: +'', batchId: ''||null ,
defineId: '', defineId: '' || null,
createdDateStart: '', createdDateStart: '',
createdDateEnd: '' createdDateEnd: ''
}, },
...@@ -977,8 +977,12 @@ export default { ...@@ -977,8 +977,12 @@ export default {
: '' : ''
this.batchListSearch.createdDateStart = this.batchDate this.batchListSearch.createdDateStart = this.batchDate
? this.batchDate[0] + ' 00:00:01' ? this.batchDate[0] + ' 00:00:01'
: '' : ''
this.batchListSearch.batchId = parseInt(this.selectBatchId) if(this.selectBatchId){
this.batchListSearch.batchId = +this.selectBatchId
}else{
this.batchListSearch.batchId = null
}
console.log(this.batchListSearch) console.log(this.batchListSearch)
resolve() resolve()
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!