Commit 32b9737e by zhouzy

批次搜索传参改变

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