Commit e0b4249a by zhouzy

领用搜索

1 parent 3d40e02e
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
设备SN: 设备SN:
<div class="Input"> <div class="Input">
<el-input <el-input
v-model="collectionListSearch.searchValue" v-model="collectionListSearch.condition.searchValue"
placeholder="请输入批次号" placeholder="请输入批次号"
size="small" size="small"
></el-input> ></el-input>
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
账号: 账号:
<div class="Input"> <div class="Input">
<el-input <el-input
v-model="collectionListSearch.mobile" v-model="collectionListSearch.condition.mobile"
placeholder="请输入账号" placeholder="请输入账号"
size="small" size="small"
></el-input> ></el-input>
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
<div class="firstpickerContainer"> <div class="firstpickerContainer">
权益套餐: 权益套餐:
<el-select <el-select
v-model="collectionListSearch.defineCode" v-model="collectionListSearch.condition.defineCode"
placeholder="请选择权益套餐" placeholder="请选择权益套餐"
> >
<el-option <el-option
...@@ -469,11 +469,14 @@ export default { ...@@ -469,11 +469,14 @@ export default {
}, },
// 领用弹窗列表搜索 // 领用弹窗列表搜索
collectionListSearch: { collectionListSearch: {
beginTime: "" || undefined, condition:{
endTime: "" || undefined, beginTime: "" ,
searchValue: "" || undefined, endTime: "" ,
mobile: "" || undefined, searchValue: "" ,
defineCode: "" || undefined, mobile: "" ,
defineCode: ""
}
}, },
// 批次弹窗列表搜索项 // 批次弹窗列表搜索项
batchPopupListSearch: { batchPopupListSearch: {
...@@ -867,10 +870,10 @@ export default { ...@@ -867,10 +870,10 @@ export default {
changeCollectionDataFormat() { changeCollectionDataFormat() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
console.log(this.colletionDate) console.log(this.colletionDate)
this.collectionListSearch.endTime = this.colletionDate this.collectionListSearch.condition.endTime = this.colletionDate
? this.colletionDate[1] + '23:59:59' ? this.colletionDate[1] + '23:59:59'
: '' || undefined : '' || undefined
this.collectionListSearch.beginTime = this.colletionDate this.collectionListSearch.condition.beginTime = this.colletionDate
? this.colletionDate[0] + '00:00:01' ? this.colletionDate[0] + '00:00:01'
: '' || undefined : '' || undefined
resolve() resolve()
......
...@@ -63,7 +63,15 @@ export default { ...@@ -63,7 +63,15 @@ export default {
}, },
{ {
label: '权益内容', label: '权益内容',
prop: 'name' prop: 'name',
formatter: (cellValue) => {
let arr = []
cellValue.memberRights.map(e => {
if(e) arr.push(e.name)
})
return arr.join('、')
}
}, },
{ {
label: '领卡人数', label: '领卡人数',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!