From 4bb9e864d6aa5ca7e3d8996fbf1edf8f49ed79e8 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Tue, 16 Apr 2024 15:28:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9C=AF=E5=A3=AB=E5=A5=97=E5=8C=85?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E5=8D=95=E6=8D=AE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/receiveOrder.js | 7 + src/api/purchase/purApply.js | 9 ++ src/api/purchase/purOrder.js | 9 ++ src/api/purchase/purPlan.js | 9 ++ src/views/basic/destiny/warlockBagModel.vue | 124 +++++++++++++++--- src/views/inout/PanelCreateOrderBizDetail.vue | 1 + src/views/inout/receive/DialogNewReceive.vue | 63 +++++++-- .../purchase/purApply/purApplyEditDiaolog.vue | 54 +++++++- .../purchase/purOrder/purOrderEditDialog.vue | 73 ++++++++++- .../purchase/purPlan/purPlanEditDialog.vue | 70 +++++++++- 10 files changed, 381 insertions(+), 38 deletions(-) diff --git a/src/api/inout/receiveOrder.js b/src/api/inout/receiveOrder.js index 699814c5..c45c1729 100644 --- a/src/api/inout/receiveOrder.js +++ b/src/api/inout/receiveOrder.js @@ -18,6 +18,13 @@ export function addDetail(query) { data: query }); } +export function addWarlockBag(query) { + return axios({ + url: "/udiwms/receive/detail/addWarlockBag", + method: "post", + data: query + }); +} export function repeatAdd(query) { return axios({ diff --git a/src/api/purchase/purApply.js b/src/api/purchase/purApply.js index 01bb62d3..23c97875 100644 --- a/src/api/purchase/purApply.js +++ b/src/api/purchase/purApply.js @@ -95,6 +95,15 @@ export function addApplyDetail(data) { }) } +// 添加pur +export function addDetailByWarlockBag(data) { + return request({ + url: "/purchase/apply/addDetailByWarlockBag", + method: 'post', + data: data + }) +} + // 添加app export function addApplyId() { return request({ diff --git a/src/api/purchase/purOrder.js b/src/api/purchase/purOrder.js index 37579a1c..579b78ed 100644 --- a/src/api/purchase/purOrder.js +++ b/src/api/purchase/purOrder.js @@ -93,6 +93,15 @@ export function addOrderId() { }) } +// 添加puan +export function addOrderDetailByWarlockBag(data) { + return request({ + url: "/purchase/order/addDetailByWarlockBag", + method: 'post', + data: data + }) +} + // 根据申购单添加详情表 export function addPlanDetailAndOrder(data) { return request({ diff --git a/src/api/purchase/purPlan.js b/src/api/purchase/purPlan.js index c6e36f88..33e49df0 100644 --- a/src/api/purchase/purPlan.js +++ b/src/api/purchase/purPlan.js @@ -102,6 +102,15 @@ export function addPlanId() { }) } +// 添加puan +export function addPlanDetailByWarlockBag(data) { + return request({ + url: "/purchase/plan/addDetailByWarlockBag", + method: 'post', + data: data + }) +} + // 根据申购单添加详情表 export function addPlanDetailAndApply(data) { return request({ diff --git a/src/views/basic/destiny/warlockBagModel.vue b/src/views/basic/destiny/warlockBagModel.vue index 144ed22a..67518400 100644 --- a/src/views/basic/destiny/warlockBagModel.vue +++ b/src/views/basic/destiny/warlockBagModel.vue @@ -125,17 +125,16 @@