| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import request from '@/utils/request'
- // 查询仓库主(出入库)列表
- export function listStorageFeeCalculation(query) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/list',
- method: 'get',
- params: query
- })
- }
- // 计算仓储费
- export function calculateStorageFees(data) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/calculateFees',
- method: 'post',
- data: data
- })
- }
- // 查询仓库主(出入库)详细
- export function getStorageFeeCalculation(fId) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/' + fId,
- method: 'get'
- })
- }
- // 新增仓库主(出入库)
- export function addStorageFeeCalculation(data) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/add',
- method: 'post',
- data: data
- })
- }
- // 撤销入库
- export function updateCredit(data) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/updateCredit',
- method: 'post',
- data: data
- })
- }
- // 入库确认
- export function addWhgenleg(data) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/addCredit',
- method: 'post',
- data: data
- })
- }
- // 修改仓库主(出入库)
- export function updateStorageFeeCalculation(data) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation',
- method: 'put',
- data: data
- })
- }
- // 删除仓库主(出入库)
- export function delStorageFeeCalculation(fId) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/' + fId,
- method: 'delete'
- })
- }
- // 导出仓库主(出入库)
- export function exportStorageFeeCalculation(query) {
- return request({
- url: '/warehouseBusiness/storageFeeCalculation/export',
- method: 'get',
- params: query
- })
- }
|