fix(supplierSet): 供应商类型接口问题修复 bug-130

This commit is contained in:
woody 2025-05-28 16:45:28 +08:00
parent 1bef7f01d3
commit b55c1469ca
2 changed files with 14 additions and 0 deletions

View File

@ -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({

View File

@ -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 = {}