优化商品和单据的重置按钮的查询逻辑
This commit is contained in:
@@ -66,7 +66,8 @@ export const BillListMixin = {
|
||||
searchReset() {
|
||||
this.queryParam = {
|
||||
type: this.queryParam.type,
|
||||
subType: this.queryParam.subType
|
||||
subType: this.queryParam.subType,
|
||||
roleType: Vue.ls.get('roleType')
|
||||
}
|
||||
this.loadData(1);
|
||||
},
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import {findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail, getUserList, getPersonByType, getAccount} from '@/api/api'
|
||||
import Vue from 'vue'
|
||||
|
||||
export const FinancialListMixin = {
|
||||
data () {
|
||||
@@ -59,7 +60,8 @@ export const FinancialListMixin = {
|
||||
},
|
||||
searchReset() {
|
||||
this.queryParam = {
|
||||
type: this.queryParam.type
|
||||
type: this.queryParam.type,
|
||||
roleType: Vue.ls.get('roleType')
|
||||
}
|
||||
this.loadData(1);
|
||||
},
|
||||
|
||||
@@ -362,6 +362,12 @@
|
||||
if(this.btnEnableList.indexOf(1)===-1) {
|
||||
this.$refs.modalForm.isReadOnly = true
|
||||
}
|
||||
},
|
||||
searchReset() {
|
||||
this.queryParam = {
|
||||
mpList: getMpListShort(Vue.ls.get('materialPropertyList')) //扩展属性
|
||||
}
|
||||
this.loadData(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user