diff --git a/src/api/system/custom.js b/src/api/system/custom.js new file mode 100644 index 0000000..abac7d6 --- /dev/null +++ b/src/api/system/custom.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询【请填写功能名称】列表 +export function listProvider(query) { + return request({ + url: '/app/provider/list', + method: 'get', + params: query + }) +} + +// 查询【请填写功能名称】详细 +export function getProvider(providerId) { + return request({ + url: '/app/provider/' + providerId, + method: 'get' + }) +} + +// 新增【请填写功能名称】 +export function addProvider(data) { + return request({ + url: '/app/provider', + method: 'post', + data: data + }) +} + +// 修改【请填写功能名称】 +export function updateProvider(data) { + return request({ + url: '/app/provider', + method: 'put', + data: data + }) +} + +// 删除【请填写功能名称】 +export function delProvider(providerId) { + return request({ + url: '/app/provider/' + providerId, + method: 'delete' + }) +} diff --git a/src/api/system/goodsType.js b/src/api/system/goodsType.js new file mode 100644 index 0000000..640ea3c --- /dev/null +++ b/src/api/system/goodsType.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询物料类别管理列表 +export function listGoodsType(query) { + return request({ + url: '/system/goodsType/list', + method: 'get', + params: query + }) +} + +// 查询物料类别管理详细 +export function getGoodsType(typeId) { + return request({ + url: '/system/goodsType/' + typeId, + method: 'get' + }) +} + +// 新增物料类别管理 +export function addGoodsType(data) { + return request({ + url: '/system/goodsType', + method: 'post', + data: data + }) +} + +// 修改物料类别管理 +export function updateGoodsType(data) { + return request({ + url: '/system/goodsType', + method: 'put', + data: data + }) +} + +// 删除物料类别管理 +export function delGoodsType(typeId) { + return request({ + url: '/system/goodsType/' + typeId, + method: 'delete' + }) +} diff --git a/src/views/system/custom/index.vue b/src/views/system/custom/index.vue new file mode 100644 index 0000000..cf5c8df --- /dev/null +++ b/src/views/system/custom/index.vue @@ -0,0 +1,286 @@ + + + diff --git a/src/views/system/goodsType/index.vue b/src/views/system/goodsType/index.vue new file mode 100644 index 0000000..647a9f9 --- /dev/null +++ b/src/views/system/goodsType/index.vue @@ -0,0 +1,256 @@ + + + diff --git a/src/views/system/location/index.vue b/src/views/system/location/index.vue index 3c36611..3418b26 100644 --- a/src/views/system/location/index.vue +++ b/src/views/system/location/index.vue @@ -33,63 +33,63 @@