|
|
@@ -125,6 +125,7 @@
|
|
|
:defaultVal="filterOption.defaultVal"
|
|
|
:selectOption="filterOption.selectOption"
|
|
|
@selectAction="onSelectAction"
|
|
|
+ @valueAction="onValueAction"
|
|
|
:title="filterOption.title"></base-filter>
|
|
|
</div>
|
|
|
<ul class="mp-list record-list mp-list-record">
|
|
|
@@ -316,9 +317,6 @@
|
|
|
EmptyStatus,
|
|
|
BaseFilter
|
|
|
},
|
|
|
- fetch ({store, route}) {
|
|
|
- return
|
|
|
- },
|
|
|
filters: {
|
|
|
payTypeFilter: function (type) {
|
|
|
if (type === 'PAIDTOVENDOR') {
|
|
|
@@ -473,7 +471,7 @@
|
|
|
this.showSelectCurrency = false
|
|
|
}
|
|
|
},
|
|
|
- setSelect (type, val) {
|
|
|
+ setSelect (type, val, isReload) {
|
|
|
// if (type === 'method') {
|
|
|
// this.filterParams.method = val
|
|
|
// this.setShowSelect('method', false)
|
|
|
@@ -495,10 +493,13 @@
|
|
|
} else {
|
|
|
this.filterParams[type] = val
|
|
|
}
|
|
|
- this.filterRecord()
|
|
|
+ isReload && this.filterRecord()
|
|
|
},
|
|
|
onSelectAction (selectObj) {
|
|
|
- this.setSelect(selectObj.key, selectObj.value)
|
|
|
+ this.setSelect(selectObj.key, selectObj.value, true)
|
|
|
+ },
|
|
|
+ onValueAction (selectObj) {
|
|
|
+ this.setSelect(selectObj.key, selectObj.value, false)
|
|
|
},
|
|
|
setDate (type) {
|
|
|
if (this.dateObj[type]) {
|