@@ -15,7 +15,7 @@ export const supplierList = (params) => {
export const supplierQueryList = (params) => {
return axios.request({
url: '/supplier/queryList',
- data: {},
+ data: params,
method: 'post'
})
}
@@ -162,7 +162,7 @@ export default {
},
// 供应商下拉数据
getPartnerQueryList () {
- supplierQueryList().then(res => {
+ supplierQueryList({ state: 1 }).then(res => {
if (res.status == 200) {
this.partnerList = res.data
} else {
@@ -130,7 +130,7 @@ export default {