From 3da6b6dd36b4366f41174d2b2cb23729a8f96662 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Tue, 19 Nov 2024 19:22:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93=E5=8D=95=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=8A=8A=E9=87=87=E8=B4=AD=E5=8D=95=E7=9A=84=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=87=BA=E6=9D=A5=EF=BC=8C=E5=B9=B6=E4=B8=94?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E4=BF=AE=E6=94=B9=EF=BC=8C=E9=9D=9E=E5=BF=85?= =?UTF-8?q?=E5=A1=AB=EF=BC=8C=E9=9C=80=E8=A6=81=E6=9C=89=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E3=80=82=E6=98=BE=E7=A4=BA=E6=97=B6=E6=8C=89?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E8=BF=9B=E8=A1=8C=E5=88=86=E7=BB=84=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=EF=BC=8C=E5=8F=AF=E4=BB=A5=E6=8C=89=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E5=B1=95=E5=BC=80=E6=94=B6=E8=B5=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repair/stockOperate/stockOperateItem.js | 8 + .../stockOperate/Components/SoIndex.vue | 351 +++++++++++++----- .../stockOperate/Components/WaresItem.vue | 1 - 3 files changed, 268 insertions(+), 92 deletions(-) diff --git a/src/api/repair/stockOperate/stockOperateItem.js b/src/api/repair/stockOperate/stockOperateItem.js index cd77133..0368042 100644 --- a/src/api/repair/stockOperate/stockOperateItem.js +++ b/src/api/repair/stockOperate/stockOperateItem.js @@ -26,3 +26,11 @@ export function getRepairSoiBySoId(soId){ method: 'get' }) } + +// 根据主表的ID得到子表的所有数据,按类型区分的map,支持条件查询 +export function getMapBySoIdAndQuery(id, query){ + return request({ + url: preUrl + "/getMapBySoIdAndQuery?id=" + id + "&query=" + query, + method: 'get' + }) +} diff --git a/src/views/repair/stockOperate/Components/SoIndex.vue b/src/views/repair/stockOperate/Components/SoIndex.vue index 40407ce..4b7df47 100644 --- a/src/views/repair/stockOperate/Components/SoIndex.vue +++ b/src/views/repair/stockOperate/Components/SoIndex.vue @@ -42,41 +42,41 @@ - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -88,9 +88,11 @@ - + - +