12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import request from '@/utils/request'
- // 查询仓库主(出入库)列表
- export function listWarehousebills(query) {
- return request({
- url: '/warehouseBusiness/outStock/list',
- method: 'get',
- params: query
- })
- }
- // 查询仓库主(出入库)详细
- export function getWarehousebills(fId) {
- return request({
- url: '/warehouseBusiness/outStock/' + fId,
- method: 'get'
- })
- }
- // 入库详情信息入账
- export function addWhgenleg(data) {
- return request({
- url: '/warehouseBusiness/outStock/addCredit',
- method: 'post',
- data: data
- })
- }
- // 新增仓库主(出入库)
- export function addWarehousebills(data) {
- return request({
- url: '/warehouseBusiness/outStock/add',
- method: 'post',
- data: data
- })
- }
- // 修改仓库主(出入库)
- export function updateWarehousebills(data) {
- return request({
- url: '/warehouseBusiness/outStock',
- method: 'put',
- data: data
- })
- }
- // 删除仓库主(出入库)
- export function delWarehousebills(fId) {
- return request({
- url: '/warehouseBusiness/outStock/' + fId,
- method: 'delete'
- })
- }
- // 导出仓库主(出入库)
- export function exportWarehousebills(query) {
- return request({
- url: '/warehouseBusiness/outStock/export',
- method: 'get',
- params: query
- })
- }
|