From e9dccfcecc3abaa2d79180beff3835c7cd1b6663 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Sat, 31 May 2025 12:56:14 +0800 Subject: [PATCH] =?UTF-8?q?2025-05-31=20Dead=E7=8A=B6=E6=80=81=E6=97=B6?= =?UTF-8?q?=E5=92=8C=E5=B7=B2=E5=AE=8C=E6=88=90=E7=9A=84=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4=EF=BC=8C=E4=B8=8D=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E7=BC=96=E8=BE=91=E5=8D=95=E6=8D=AE=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=20-=20=E4=BF=AE=E6=94=B9=E6=8C=89=E9=92=AE=20=E5=B0=86?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E8=A1=A8=E7=9A=84step=5Fid=E6=94=B9=E4=B8=BA?= =?UTF-8?q?NULL=20=E6=8F=90=E4=BA=A4=E3=80=81=E9=A9=B3=E5=9B=9E=E6=97=B6?= =?UTF-8?q?=E9=9C=80=E6=A0=A1=E9=AA=8C=E5=8D=95=E6=8D=AE=E7=9A=84=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=BF=85=E9=A1=BB=E6=98=AF=E5=AE=A1=E6=89=B9=E4=B8=AD?= =?UTF-8?q?=EF=BC=88Dead=E4=B9=8B=E5=90=8E=E8=BF=98=E8=83=BD=E5=A4=9F?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=89=20=E8=8F=9C=E5=8D=95=EF=BC=9AInvent?= =?UTF-8?q?ory=20part=20=E3=80=81Bom=20=E3=80=81Routing=20=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=8C=89=E9=92=AE=E9=9C=80=E8=A6=81=E6=8C=89=E7=85=A7?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=8E=88=E6=9D=83=EF=BC=8C=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=85=A8=E9=83=A8=E7=BD=AE=E7=81=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/part/bomManagement.vue | 47 +++++-- src/views/modules/part/partInformation.vue | 128 +++++++++++++++++- src/views/modules/part/routingManagement.vue | 103 +++++++------- .../com_bm_bom.vue | 2 +- .../com_bm_customerInformation.vue | 3 +- .../com_bm_demoSlot.vue | 4 +- .../com_bm_routing.vue | 2 +- .../com_tsd_basicInformation.vue | 8 +- .../technicalSpecificationList.vue | 6 +- 9 files changed, 229 insertions(+), 74 deletions(-) diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index 331925f..8bc5b48 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -24,8 +24,8 @@ 查询 - 新增 - 删除 + 新增 + 删除 @@ -174,7 +175,8 @@ - + + 新增 删除 编辑 @@ -217,7 +219,8 @@ - + + 新增 删除 @@ -248,6 +251,7 @@ - + + 新增 删除 @@ -293,6 +298,7 @@ - 保存 + 保存 关闭 @@ -2948,6 +2955,30 @@ export default { }) }, + // 详情 + async detailsModal (row) { + this.modalData = { + ...row, + flag: '3', + updateBy: this.$store.state.user.name, + } + this.subDetailTable = 'bom_sub_detail' + // 查bom明细 + queryBomDetail(this.modalData).then(({data}) => { + if (data && data.code === 0) { + this.detailDataList = data.rows.detailList + this.subDetailList = data.rows.componentList + this.detailData = data.rows.detailData + this.modalDisableFlag = true + this.modalFlag = true + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) + }, + // 替代新增模态框 saveBomDetail () { if (this.modalData.partNo === '' || this.modalData.partNo == null) { diff --git a/src/views/modules/part/partInformation.vue b/src/views/modules/part/partInformation.vue index 092ebd7..48a0f96 100644 --- a/src/views/modules/part/partInformation.vue +++ b/src/views/modules/part/partInformation.vue @@ -112,9 +112,10 @@ fixed="right" header-align="center" align="center" - width="100" + width="120" label="操作">