123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- import request from '@/router/axios';
- //删除单据
- export function deleteTemplate(data) {
- return request({
- url: '/api/blade-stock/stockgoods/remove',
- method: 'post',
- params: {
- ids:data
- }
- })
- }
- //价格列表查询
- export function customerList(data) {
- return request({
- url: '/api/blade-stock/stockgoods/list',
- method: 'get',
- params: data
- })
- }
- //列表修改和新增
- export function typeSave(data) {
- return request({
- url: '/api/blade-stock/stockgoods/submit',
- method: 'post',
- data: data
- })
- }
- // 查询商品库存
- export function selectGoodsNum(data) {
- return request({
- url: '/api/blade-stock/client/get_stock',
- method: 'get',
- params: data
- })
- }
- // 查询进口库存
- export function selectJKGoodsNum(data) {
- return request({
- url: '/api/blade-stock/client/getStockByCondition',
- method: 'get',
- params: data
- })
- }
- // 库存账查询锁定库存订单信息
- export const getStock = (current, size, params) => {
- return request({
- url: '/api/blade-purchase-sales/order/ListMessage',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- }
- })
- }
- // 库存账获得详情
- export function getDetail(data) {
- return request({
- url: '/api/blade-stock/stockgoods/message',
- method: 'get',
- params: data
- })
- }
- // 计算内贸锁定
- export function LockingQuantity() {
- return request({
- url: '/api/blade-stock/stockgoods/batchModifyLockingQuantity',
- method: 'get'
- })
- }
- //明细账
- export const selectStockInventory = (params) => {
- return request({
- url: '/api/blade-deliver-goods/allot/selectStockInventory',
- method: 'get',
- params: {
- ...params
- }
- })
- }
- // 计算库存
- export function calculateInventory() {
- return request({
- url: '/api/blade-deliver-goods/allot/calculateInventory',
- method: 'get'
- })
- }
- //轮胎库存查询明细账
- export const stockDataDetails = (params) => {
- return request({
- url: '/api/blade-sales-part/ship/stockDataDetails',
- method: 'get',
- params: {
- ...params
- }
- })
- }
|