From 77a6b04432c2b21a3c3c85ace13ef8e0dddd19e8 Mon Sep 17 00:00:00 2001 From: 15066119699 Date: Tue, 11 Mar 2025 12:33:39 +0800 Subject: [PATCH] 1 --- src/api/system/goods.js | 10 + src/api/system/pmsOrderIn.js | 12 +- src/views/system/goods/index.vue | 22 +- .../pmsOrderIn/components/InboundDialog.vue | 250 ++++++++++++++++++ src/views/system/pmsOrderIn/index.vue | 127 ++++----- src/views/system/pmsOrderOut/index.vue | 2 +- 6 files changed, 357 insertions(+), 66 deletions(-) create mode 100644 src/views/system/pmsOrderIn/components/InboundDialog.vue diff --git a/src/api/system/goods.js b/src/api/system/goods.js index 2f32678..dfdd45c 100644 --- a/src/api/system/goods.js +++ b/src/api/system/goods.js @@ -58,3 +58,13 @@ export function goodsTypeTreeSelect() { method: 'get' }) } + + +// 模糊查询物料信息 +export function queryListByGoodsId(query) { + return request({ + url: '/app/goods/queryListByGoodsId', + method: 'get', + params: query + }) +} diff --git a/src/api/system/pmsOrderIn.js b/src/api/system/pmsOrderIn.js index ec9b431..651539b 100644 --- a/src/api/system/pmsOrderIn.js +++ b/src/api/system/pmsOrderIn.js @@ -36,9 +36,17 @@ export function updateIn(data) { } // 删除【请填写功能名称】 -export function delIn(listId) { +export function delIn(ids) { return request({ - url: '/app/pmsOrderIn/' + listId, + url: '/app/pmsOrderIn/' + ids, method: 'delete' }) } +//新增出库通知单 +export function createOrderIn(data){ + return request({ + url: '/app/pms/orderInList', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/views/system/goods/index.vue b/src/views/system/goods/index.vue index 0b0c7d0..d514a25 100644 --- a/src/views/system/goods/index.vue +++ b/src/views/system/goods/index.vue @@ -41,9 +41,17 @@ @keyup.enter.native="handleQuery" /> - + + + + - - + + + + + + + + @@ -374,6 +388,7 @@ export default { id: null, goodsId: null, goodsName: null, + goodsDesc: null, goodsUnit: null, goodsType: null, normalVehicleType: null, @@ -483,6 +498,7 @@ export default { this.form = { id: null, goodsName: null, + goodsCode: null, goodsUnit: null, goodsType: null, normalVehicleType: null, diff --git a/src/views/system/pmsOrderIn/components/InboundDialog.vue b/src/views/system/pmsOrderIn/components/InboundDialog.vue new file mode 100644 index 0000000..444f152 --- /dev/null +++ b/src/views/system/pmsOrderIn/components/InboundDialog.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/views/system/pmsOrderIn/index.vue b/src/views/system/pmsOrderIn/index.vue index 959aba5..c08d3f6 100644 --- a/src/views/system/pmsOrderIn/index.vue +++ b/src/views/system/pmsOrderIn/index.vue @@ -1,23 +1,15 @@