Commit 860a5ca8 authored by 季圣华's avatar 季圣华
Browse files

优化商品和单据的重置按钮的查询逻辑

parent 1b610f97
...@@ -66,7 +66,8 @@ export const BillListMixin = { ...@@ -66,7 +66,8 @@ export const BillListMixin = {
searchReset() { searchReset() {
this.queryParam = { this.queryParam = {
type: this.queryParam.type, type: this.queryParam.type,
subType: this.queryParam.subType subType: this.queryParam.subType,
roleType: Vue.ls.get('roleType')
} }
this.loadData(1); this.loadData(1);
}, },
......
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType, getAccount} from '@/api/api' import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType, getAccount} from '@/api/api'
import Vue from 'vue'
export const FinancialListMixin = { export const FinancialListMixin = {
data () { data () {
...@@ -59,7 +60,8 @@ export const FinancialListMixin = { ...@@ -59,7 +60,8 @@ export const FinancialListMixin = {
}, },
searchReset() { searchReset() {
this.queryParam = { this.queryParam = {
type: this.queryParam.type type: this.queryParam.type,
roleType: Vue.ls.get('roleType')
} }
this.loadData(1); this.loadData(1);
}, },
......
...@@ -362,6 +362,12 @@ ...@@ -362,6 +362,12 @@
if(this.btnEnableList.indexOf(1)===-1) { if(this.btnEnableList.indexOf(1)===-1) {
this.$refs.modalForm.isReadOnly = true this.$refs.modalForm.isReadOnly = true
} }
},
searchReset() {
this.queryParam = {
mpList: getMpListShort(Vue.ls.get('materialPropertyList')) //扩展属性
}
this.loadData(1);
} }
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment