diff --git a/src/api/system/goodsinformation.js b/src/api/system/goodsinformation.js new file mode 100644 index 0000000..c8a2635 --- /dev/null +++ b/src/api/system/goodsinformation.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询水果产品详情列表 +export function listGoodsinformation(query) { + return request({ + url: '/system/goodsinformation/list', + method: 'get', + params: query + }) +} + +// 查询水果产品详情详细 +export function getGoodsinformation(goodsinformationid) { + return request({ + url: '/system/goodsinformation/' + goodsinformationid, + method: 'get' + }) +} + +// 新增水果产品详情 +export function addGoodsinformation(data) { + return request({ + url: '/system/goodsinformation', + method: 'post', + data: data + }) +} + +// 修改水果产品详情 +export function updateGoodsinformation(data) { + return request({ + url: '/system/goodsinformation', + method: 'put', + data: data + }) +} + +// 删除水果产品详情 +export function delGoodsinformation(goodsinformationid) { + return request({ + url: '/system/goodsinformation/' + goodsinformationid, + method: 'delete' + }) +} diff --git a/src/views/system/goods/index.vue b/src/views/system/goods/index.vue index 0c1a9ca..aa7d10b 100644 --- a/src/views/system/goods/index.vue +++ b/src/views/system/goods/index.vue @@ -33,10 +33,18 @@ @keyup.enter="handleQuery" /> - + + + + @@ -96,12 +104,13 @@ - + +