fix(supplierSet): 供应商类型接口问题修复 bug-130
This commit is contained in:
parent
87d7ba9e0d
commit
86262cd54d
|
@ -64,6 +64,14 @@ export function supplierProduct(params) {
|
|||
})
|
||||
}
|
||||
|
||||
// 供应商类型
|
||||
export function getCustTypeList(params) {
|
||||
return request({
|
||||
url: '/system/pub/enums/supply-type',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 供应商管理列表
|
||||
export function getSupplierList(params) {
|
||||
return request({
|
||||
|
|
|
@ -351,6 +351,12 @@ export default {
|
|||
site.areaList().then((res) => {
|
||||
this.areaData = res.data
|
||||
})
|
||||
this.getCustTypeList()
|
||||
},
|
||||
getCustTypeList() {
|
||||
api.getCustTypeList().then((res) => {
|
||||
this.custTypeList = res.data
|
||||
})
|
||||
},
|
||||
reset() {
|
||||
this.select = {}
|
||||
|
|
Loading…
Reference in New Issue