From 80b33eec021972536bc7fdcd96a689ab52171dd5 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 20 Jan 2025 14:27:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?update=20=E7=BB=93=E6=9E=84BOM=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/baseStructureBom/index.vue | 26 ++++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/mes/baseStructureBom/index.vue b/src/views/mes/baseStructureBom/index.vue index 4124880..809896a 100644 --- a/src/views/mes/baseStructureBom/index.vue +++ b/src/views/mes/baseStructureBom/index.vue @@ -72,15 +72,15 @@ --> - + - - - - + + + + + + + + + @@ -611,7 +622,25 @@ const childrenTableUpdate = async (e) => { childrenTableInfoForm.value = (await viewAllocateOrderDetail(e.aoDId)).data childrenTableInfoVisible.value = true } +// 子表格数据新增删除 +const tableUDelete = (row) => { +ElMessageBox.confirm( + '确定要删除这些数据吗?', + 'Warning', + { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning', + } +) + .then(async () => { + const index = dialogtable.value.indexOf(row); + console.log(index) + dialogtable.value.splice(index,1) + }) + +} // 子表格删除 const childrenTableUDelete = (e) => { diff --git a/src/views/wms/outstockOrderCopy/index.vue b/src/views/wms/outstockOrderCopy/index.vue index e634ea6..8bed4ec 100644 --- a/src/views/wms/outstockOrderCopy/index.vue +++ b/src/views/wms/outstockOrderCopy/index.vue @@ -132,7 +132,7 @@ - + @@ -225,6 +225,17 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 新增 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{dict.label}} + + + + + + + + + + + + + + + + + + +