From 85f98bafda086c56581155962887cf9635bee408 Mon Sep 17 00:00:00 2001
From: guoxing <1369478551@qq.com>
Date: Thu, 15 Aug 2024 09:16:08 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=87=BA=E5=BA=93=E7=AE=A1?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/outStorage/outStorage.js | 185 +++--
src/api/system/dictType/index.js | 26 +-
src/router/index.js | 38 +-
.../outStorage/alreadyOutStorage/index.vue | 649 +++++++++++++++
.../{ => outStorage}/distributionAdd.vue | 0
.../outStorage/{ => outStorage}/index.vue | 0
.../{ => outStorage}/outStorageAdd.vue | 0
.../{ => outStorage}/outStorageInfo.vue | 0
.../relation/chooseproducts.vue | 0
src/views/outStorage/toAllocated/index.vue | 765 ++++++++++++++++++
src/views/outStorage/toOutStorage/index.vue | 649 +++++++++++++++
src/views/outStorage/zeroPicking/index.vue | 649 +++++++++++++++
src/views/system/menuManage/menuManage.vue | 181 +++--
.../system/userManage/userManageList.vue | 9 +-
14 files changed, 3008 insertions(+), 143 deletions(-)
create mode 100644 src/views/outStorage/alreadyOutStorage/index.vue
rename src/views/outStorage/{ => outStorage}/distributionAdd.vue (100%)
rename src/views/outStorage/{ => outStorage}/index.vue (100%)
rename src/views/outStorage/{ => outStorage}/outStorageAdd.vue (100%)
rename src/views/outStorage/{ => outStorage}/outStorageInfo.vue (100%)
rename src/views/outStorage/{ => outStorage}/relation/chooseproducts.vue (100%)
create mode 100644 src/views/outStorage/toAllocated/index.vue
create mode 100644 src/views/outStorage/toOutStorage/index.vue
create mode 100644 src/views/outStorage/zeroPicking/index.vue
diff --git a/src/api/outStorage/outStorage.js b/src/api/outStorage/outStorage.js
index 1ef43dd..ca57f77 100644
--- a/src/api/outStorage/outStorage.js
+++ b/src/api/outStorage/outStorage.js
@@ -5,7 +5,8 @@ export default {
// 查询分页列表
listPage: function(params) {
return request({
- url: '/wms/apiadmin/WmsOutBill/listPage',
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/wms/apiadmin/warehouseoutbill/listPage',
method: 'post',
data: params,
headers: {
@@ -14,86 +15,172 @@ export default {
})
},
- // 详情初始化
- init: function(data) {
+ // 订单商品明细
+ orderGoodsDetail: function(data) {
return request({
- url: '/wms/apiadmin/WmsOutBill/details',
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/wms/apiadmin/warehouseoutbilldetail/selectDetailsByBillSid',
method: 'get',
data: data
});
},
- // 初始配货单
- initDistribution: function(data) {
+ // 库位分配
+ orderRackDistributionDetail: function(data) {
return request({
- url: '/wms/apiadmin/WmsDistributeBill/getInit',
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/wms/apiadmin/warehouseinvoice/details',
method: 'get',
data: data
});
},
-
- // 新增、保存
- save: function(data) {
+ // 收货地址
+ orderReceivingAddressDetail: function(data) {
return request({
- url: '/wms/apiadmin/WmsOutBill/saveOrUpdateOutBill',
- method: 'post',
- data: data,
- headers: {
- 'Content-Type': 'application/json'
- }
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/wms/apiadmin/warehouseinvoice/details',
+ method: 'get',
+ data: data
});
},
- // 确认
- submit: function(data) {
+ // 发票明细
+ orderInvoiveDetail: function(data) {
return request({
- url: '/wms/apiadmin/WmsOutBill/confirm',
- method: 'post',
- data: data,
- headers: {
- 'Content-Type': 'application/json'
- }
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/wms/apiadmin/warehouseinvoice/details',
+ method: 'get',
+ data: data
});
},
-
-
-
- // 新增、保存 配货单
- saveDistribution: function(data) {
+ // 保存发票明细
+ saveOrderInvoive: function(data) {
return request({
- url: '/wms/apiadmin/WmsDistributeBill/saveOrUpdateBill',
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/apiadmin/warehouseinvoice/saveOrUpdate',
method: 'post',
- data: data,
+ data: params,
headers: {
'Content-Type': 'application/json'
}
});
},
-
- deleteBySids: function(data) {
+ // 备注/留言
+ orderRemarksDetail: function(data) {
return request({
- url: '/wms/apiadmin/WmsShelfBill/delBySids',
- method: 'DELETE',
- data: data,
- headers: {
- 'Content-Type': 'application/json'
- }
- })
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/wms/apiadmin/warehouseinvoice/details',
+ method: 'get',
+ data: data
+ });
},
- // 查询分页列表
- getGoodsListPage: function(params) {
+ // 操作记录
+ orderOperationDetail: function(data) {
return request({
- url: '/wms/apiadmin/WmsOutBill/getInventoryList',
- method: 'post',
- data: params,
- headers: {
- 'Content-Type': 'application/json'
- }
- })
+ baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
+ url: '/wms/apiadmin/warehouseinvoice/details',
+ method: 'get',
+ data: data
+ });
},
+
+ // // 查询分页列表
+ // listPage: function(params) {
+ // return request({
+ // url: '/wms/apiadmin/WmsOutBill/listPage',
+ // method: 'post',
+ // data: params,
+ // headers: {
+ // 'Content-Type': 'application/json'
+ // }
+ // })
+ // },
+
+ // // 详情初始化
+ // init: function(data) {
+ // return request({
+ // url: '/wms/apiadmin/WmsOutBill/details',
+ // method: 'get',
+ // data: data
+ // });
+ // },
+
+ // // 初始配货单
+ // initDistribution: function(data) {
+ // return request({
+ // url: '/wms/apiadmin/WmsDistributeBill/getInit',
+ // method: 'get',
+ // data: data
+ // });
+ // },
+
+
+ // // 新增、保存
+ // save: function(data) {
+ // return request({
+ // url: '/wms/apiadmin/WmsOutBill/saveOrUpdateOutBill',
+ // method: 'post',
+ // data: data,
+ // headers: {
+ // 'Content-Type': 'application/json'
+ // }
+ // });
+ // },
+
+ // // 确认
+ // submit: function(data) {
+ // return request({
+ // url: '/wms/apiadmin/WmsOutBill/confirm',
+ // method: 'post',
+ // data: data,
+ // headers: {
+ // 'Content-Type': 'application/json'
+ // }
+ // });
+ // },
+
+
+
+
+ // // 新增、保存 配货单
+ // saveDistribution: function(data) {
+ // return request({
+ // url: '/wms/apiadmin/WmsDistributeBill/saveOrUpdateBill',
+ // method: 'post',
+ // data: data,
+ // headers: {
+ // 'Content-Type': 'application/json'
+ // }
+ // });
+ // },
+
+
+ // deleteBySids: function(data) {
+ // return request({
+ // url: '/wms/apiadmin/WmsShelfBill/delBySids',
+ // method: 'DELETE',
+ // data: data,
+ // headers: {
+ // 'Content-Type': 'application/json'
+ // }
+ // })
+ // },
+
+ // // 查询分页列表
+ // getGoodsListPage: function(params) {
+ // return request({
+ // url: '/wms/apiadmin/WmsOutBill/getInventoryList',
+ // method: 'post',
+ // data: params,
+ // headers: {
+ // 'Content-Type': 'application/json'
+ // }
+ // })
+ // },
+
}
diff --git a/src/api/system/dictType/index.js b/src/api/system/dictType/index.js
index 253e8e1..5339e07 100644
--- a/src/api/system/dictType/index.js
+++ b/src/api/system/dictType/index.js
@@ -20,7 +20,11 @@ export function putDictType(data) {
return request({
url: '/wms/apiadmin/dicttypes/update/' + data.sid,
method: 'POST',
- data: qs.stringify(data)
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json',
+ 'token': tokens
+ }
})
}
@@ -30,7 +34,10 @@ export function saveDictType(data) {
url: '/wms/apiadmin/dicttypes/save',
method: 'POST',
data: data,
- headers: { 'Content-Type': 'application/json', 'token': tokens }
+ headers: {
+ 'Content-Type': 'application/json',
+ 'token': tokens
+ }
})
}
@@ -49,7 +56,10 @@ export function saveMappingList(data) {
url: '/wms/apiadmin/sysmapping/saveMappingList',
method: 'POST',
data: data,
- headers: { 'Content-Type': 'application/json', 'token': tokens }
+ headers: {
+ 'Content-Type': 'application/json',
+ 'token': tokens
+ }
})
}
@@ -59,7 +69,10 @@ export function selectMappingListInfo(data) {
url: '/wms/apiadmin/sysmapping/selectMappingListInfo',
method: 'post',
data: data,
- headers: { 'Content-Type': 'application/json', 'token': tokens }
+ headers: {
+ 'Content-Type': 'application/json',
+ 'token': tokens
+ }
})
}
@@ -69,6 +82,9 @@ export function delDictType(data) {
url: '/wms/apiadmin/dicttypes/delete/' + data.sid,
method: 'DELETE',
data: data,
- headers: { 'Content-Type': 'application/json', 'token': tokens }
+ headers: {
+ 'Content-Type': 'application/json',
+ 'token': tokens
+ }
})
}
diff --git a/src/router/index.js b/src/router/index.js
index ec1ced8..73d43d5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -226,13 +226,49 @@ export const constantRoutes = [
},
children: [{
path: '/outStorage/index',
- component: () => import('@/views/outStorage/index'),
+ component: () => import('@/views/outStorage/outStorage/index'),
name: 'OutStorage',
meta: {
title: '出库单管理',
noCache: true
}
},
+ {
+ path: '/toAllocated/index',
+ component: () => import('@/views/outStorage/toAllocated/index'),
+ name: 'ToAllocated',
+ meta: {
+ title: '待分配',
+ noCache: true
+ }
+ },
+ {
+ path: '/zeroPicking/index',
+ component: () => import('@/views/outStorage/zeroPicking/index'),
+ name: 'ZeroPicking',
+ meta: {
+ title: '零拣打单',
+ noCache: true
+ }
+ },
+ {
+ path: '/toOutStorage/index',
+ component: () => import('@/views/outStorage/toOutStorage/index'),
+ name: 'ToOutStorage',
+ meta: {
+ title: '待出库',
+ noCache: true
+ }
+ },
+ {
+ path: '/alreadyOutStorage/index',
+ component: () => import('@/views/outStorage/alreadyOutStorage/index'),
+ name: 'AlreadyOutStorage',
+ meta: {
+ title: '已出库',
+ noCache: true
+ }
+ },
]
},
diff --git a/src/views/outStorage/alreadyOutStorage/index.vue b/src/views/outStorage/alreadyOutStorage/index.vue
new file mode 100644
index 0000000..e9bd4cc
--- /dev/null
+++ b/src/views/outStorage/alreadyOutStorage/index.vue
@@ -0,0 +1,649 @@
+
+