|
@@ -0,0 +1,46 @@
|
|
|
+import request from '@/utils/request'
|
|
|
+import * as url from 'url'
|
|
|
+
|
|
|
+// 查询仓库调拨列表
|
|
|
+export function allocationListQuery(query) {
|
|
|
+ return request({
|
|
|
+ url: '/anPin/anPinAllot/cannibalizeList',
|
|
|
+ method: 'get',
|
|
|
+ params:query
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 查看详情
|
|
|
+export function selectMessage(fid) {
|
|
|
+ return request({
|
|
|
+ url: '/anPin/anPinAllot/' + fid,
|
|
|
+ method: 'get',
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+//获取库管员
|
|
|
+export function getKeeper(query) {
|
|
|
+ return request({
|
|
|
+ url: '/system/user/selectUserByRoleName',
|
|
|
+ method: 'get',
|
|
|
+ params: query
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 获取库存数量与单价
|
|
|
+export function getStockNumPrice(data) {
|
|
|
+ return request({
|
|
|
+ url: '/warehouseBusiness/whgenleg/getTWhGenLeg',
|
|
|
+ method: 'post',
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+//调拨确认与撤销 1确认 2撤销
|
|
|
+export function isAllocation(data) {
|
|
|
+ return request({
|
|
|
+ url: '/anPin/anPinAllot/cannibalize',
|
|
|
+ method: 'post',
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+}
|