diff --git a/src/api/base/inStore.js b/src/api/base/inStore.js new file mode 100644 index 0000000..68cf878 --- /dev/null +++ b/src/api/base/inStore.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询入库记录列表 +export function listInStore(query) { + return request({ + url: '/base/inStore/list', + method: 'get', + params: query + }) +} + +// 查询入库记录详细 +export function getInStore(objid) { + return request({ + url: '/base/inStore/' + objid, + method: 'get' + }) +} + +// 新增入库记录 +export function addInStore(data) { + return request({ + url: '/base/inStore', + method: 'post', + data: data + }) +} + +// 修改入库记录 +export function updateInStore(data) { + return request({ + url: '/base/inStore', + method: 'put', + data: data + }) +} + +// 删除入库记录 +export function delInStore(objid) { + return request({ + url: '/base/inStore/' + objid, + method: 'delete' + }) +} diff --git a/src/api/base/outStore.js b/src/api/base/outStore.js new file mode 100644 index 0000000..69e0c41 --- /dev/null +++ b/src/api/base/outStore.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询出库记录列表 +export function listOutStore(query) { + return request({ + url: '/base/outStore/list', + method: 'get', + params: query + }) +} + +// 查询出库记录详细 +export function getOutStore(objId) { + return request({ + url: '/base/outStore/' + objId, + method: 'get' + }) +} + +// 新增出库记录 +export function addOutStore(data) { + return request({ + url: '/base/outStore', + method: 'post', + data: data + }) +} + +// 修改出库记录 +export function updateOutStore(data) { + return request({ + url: '/base/outStore', + method: 'put', + data: data + }) +} + +// 删除出库记录 +export function delOutStore(objId) { + return request({ + url: '/base/outStore/' + objId, + method: 'delete' + }) +} diff --git a/src/views/base/inStore/index.vue b/src/views/base/inStore/index.vue new file mode 100644 index 0000000..e943b51 --- /dev/null +++ b/src/views/base/inStore/index.vue @@ -0,0 +1,427 @@ + + + diff --git a/src/views/base/outStore/index.vue b/src/views/base/outStore/index.vue new file mode 100644 index 0000000..b99f13d --- /dev/null +++ b/src/views/base/outStore/index.vue @@ -0,0 +1,414 @@ + + + diff --git a/src/views/base/spaceInfo/index.vue b/src/views/base/spaceInfo/index.vue index d609725..9814b94 100644 --- a/src/views/base/spaceInfo/index.vue +++ b/src/views/base/spaceInfo/index.vue @@ -35,40 +35,6 @@ /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 重置 @@ -143,9 +109,7 @@ - - - +