From 33e985f965dc390957eb9b9770d7d3dee714b4eb Mon Sep 17 00:00:00 2001 From: 15066119699 Date: Tue, 11 Mar 2025 00:08:18 +0800 Subject: [PATCH] 1 --- src/api/system/goods.js | 11 +- src/api/system/pmsOrderOut.js | 10 + src/api/system/stock.js | 8 + .../system/components/OutboundDialog.vue | 214 +++++++++++++++ src/views/system/goods/index.vue | 36 ++- .../pmsOrderOut/components/OutboundDialog.vue | 256 ++++++++++++++++++ src/views/system/pmsOrderOut/index.vue | 171 ++++++++---- src/views/system/rkTask/index.vue | 1 + src/views/system/stock/index.vue | 225 +++++++-------- 9 files changed, 762 insertions(+), 170 deletions(-) create mode 100644 src/views/system/components/OutboundDialog.vue create mode 100644 src/views/system/pmsOrderOut/components/OutboundDialog.vue diff --git a/src/api/system/goods.js b/src/api/system/goods.js index b8da8cf..2f32678 100644 --- a/src/api/system/goods.js +++ b/src/api/system/goods.js @@ -48,4 +48,13 @@ export function enableGoods(goodsId) { url: '/app/goods/changeGoodsIsEnableStatus/' + goodsId, method: 'post' }) -} \ No newline at end of file +} + + +// 查询物料类别下拉树结构 +export function goodsTypeTreeSelect() { + return request({ + url: '/system/goodsType/goodsTypeTree', + method: 'get' + }) +} diff --git a/src/api/system/pmsOrderOut.js b/src/api/system/pmsOrderOut.js index 2f1558e..e32bd5f 100644 --- a/src/api/system/pmsOrderOut.js +++ b/src/api/system/pmsOrderOut.js @@ -42,3 +42,13 @@ export function delPmsOrderOut(recordId) { method: 'delete' }) } + + +//新增出库通知单 +export function createOrderOut(data){ + return request({ + url: '/app/pms/orderOut', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/system/stock.js b/src/api/system/stock.js index f20d5ff..f46b59c 100644 --- a/src/api/system/stock.js +++ b/src/api/system/stock.js @@ -42,3 +42,11 @@ export function delStock(stockId) { method: 'delete' }) } +// 模糊查询库存统计 +export function queryListByGoodsId(query) { + return request({ + url: '/app/stock/queryListByGoodsId', + method: 'get', + params: query + }) +} diff --git a/src/views/system/components/OutboundDialog.vue b/src/views/system/components/OutboundDialog.vue new file mode 100644 index 0000000..9a2ded4 --- /dev/null +++ b/src/views/system/components/OutboundDialog.vue @@ -0,0 +1,214 @@ + + + + + + \ No newline at end of file diff --git a/src/views/system/goods/index.vue b/src/views/system/goods/index.vue index 127e01d..0b0c7d0 100644 --- a/src/views/system/goods/index.vue +++ b/src/views/system/goods/index.vue @@ -254,11 +254,13 @@ - - + + + + - + @@ -312,11 +314,14 @@ + + diff --git a/src/views/system/pmsOrderOut/index.vue b/src/views/system/pmsOrderOut/index.vue index 67b0382..b2bacac 100644 --- a/src/views/system/pmsOrderOut/index.vue +++ b/src/views/system/pmsOrderOut/index.vue @@ -120,6 +120,8 @@ + + diff --git a/src/views/system/rkTask/index.vue b/src/views/system/rkTask/index.vue index 51e075f..00dbbaa 100644 --- a/src/views/system/rkTask/index.vue +++ b/src/views/system/rkTask/index.vue @@ -274,6 +274,7 @@ + \ No newline at end of file