uu
This commit is contained in:
parent
24f8db07af
commit
0c91627370
@ -74,12 +74,15 @@
|
|||||||
return list
|
return list
|
||||||
},
|
},
|
||||||
filDataSearchParam() {
|
filDataSearchParam() {
|
||||||
let filedName = this.searchFiledName
|
let filedName = this.searchFiledName
|
||||||
return {
|
const obj = {
|
||||||
...this.searchParam,
|
...this.searchParam,
|
||||||
searchValue: this.keyword, // 默认
|
searchValue: this.keyword, // 默认
|
||||||
[filedName]: this.keyword,
|
[filedName]: this.keyword,
|
||||||
}
|
}
|
||||||
|
// 每次显示都重新刷新数据
|
||||||
|
obj._datetimeval = this._showDatetimeval
|
||||||
|
return obj
|
||||||
},
|
},
|
||||||
filDatacheckedList() {
|
filDatacheckedList() {
|
||||||
let list = (this.getListFun ? this.resObject.checkedList : this.checkedList)
|
let list = (this.getListFun ? this.resObject.checkedList : this.checkedList)
|
||||||
@ -224,7 +227,8 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
componentId: uni.$u.guid(20),
|
componentId: uni.$u.guid(20),
|
||||||
show: false,
|
show: false,
|
||||||
|
_showDatetimeval: new Date().valueOf(),
|
||||||
modeEnum: Object.assign({}, modeEnum),
|
modeEnum: Object.assign({}, modeEnum),
|
||||||
keyword: '',
|
keyword: '',
|
||||||
// searchFiledName: this.transKeyVal?.['searchKey'] || '_searchValue',
|
// searchFiledName: this.transKeyVal?.['searchKey'] || '_searchValue',
|
||||||
@ -256,7 +260,11 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// this.$emit('update:show', !this.show)
|
// this.$emit('update:show', !this.show)
|
||||||
this.show = !this.show
|
this.show = !this.show
|
||||||
|
if(this.show) {
|
||||||
|
// 更新时间戳,列表数自动刷新
|
||||||
|
this._showDatetimeval = new Date().valueOf()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleDataItemChange(val, text, checkedList) {
|
handleDataItemChange(val, text, checkedList) {
|
||||||
this.$emit('onChange', val, text, checkedList)
|
this.$emit('onChange', val, text, checkedList)
|
||||||
|
|||||||
@ -104,11 +104,11 @@
|
|||||||
<template v-if="isShowYueJie">
|
<template v-if="isShowYueJie">
|
||||||
<view class="yunf-input-item">
|
<view class="yunf-input-item">
|
||||||
<tpx-select v-model:value="submitParam.custNo" v-model:text="submitParam.custName" v-model:resObject="yuejieRes" :getListFun="getMonthpayAccountList" :transKeyVal="{valKey: 'custNo',titleKey: 'custName'}"
|
<tpx-select v-model:value="submitParam.custNo" v-model:text="submitParam.custName" v-model:resObject="yuejieRes" :getListFun="getMonthpayAccountList" :transKeyVal="{valKey: 'custNo',titleKey: 'custName'}"
|
||||||
@onChange="handleYueJieSelect" placeholder="请选择月结账户"
|
@onChange="handleYueJieSelect" placeholder="请选择月结账户" ref="yjSltRef"
|
||||||
>
|
>
|
||||||
<tpx-text-item label="月结账户" :value="submitParam.custName"></tpx-text-item>
|
<tpx-text-item label="月结账户" :value="submitParam.custName"></tpx-text-item>
|
||||||
<template #listTop>
|
<template #listTop>
|
||||||
<view class="mb-20" @click="goto(`user/monthCardList`)">
|
<view class="mb-20" @click="handleToMonthCardManage">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-icon name="order" color="#B12D29" size="36"></u-icon>
|
<u-icon name="order" color="#B12D29" size="36"></u-icon>
|
||||||
<view class="pl-10 clr-prm font-28">管理月结卡</view>
|
<view class="pl-10 clr-prm font-28">管理月结卡</view>
|
||||||
@ -388,6 +388,10 @@
|
|||||||
this.submitParam.dispatchMethod = 2
|
this.submitParam.dispatchMethod = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
handleToMonthCardManage(){
|
||||||
|
this.$refs.yjSltRef.show = false
|
||||||
|
this.goto(`user/monthCardList`)
|
||||||
},
|
},
|
||||||
handleDialogClick(curModal){
|
handleDialogClick(curModal){
|
||||||
curModal.show = true
|
curModal.show = true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user