From 9e36197b78fc0cb450d76e32cf6c8914c17e3d3f Mon Sep 17 00:00:00 2001 From: ruanqi Date: Tue, 21 Jan 2025 14:26:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E5=93=81=E5=A4=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/partspare/partSpareLocation.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/views/modules/partspare/partSpareLocation.vue b/src/views/modules/partspare/partSpareLocation.vue index 0077ae8..993c0d4 100644 --- a/src/views/modules/partspare/partSpareLocation.vue +++ b/src/views/modules/partspare/partSpareLocation.vue @@ -148,6 +148,18 @@ + + + + + + + + 保存 关闭 @@ -564,6 +576,7 @@ export default { } this.modalDisableFlag = false this.modalFlag = true + this. getBu () }, // 编辑模态框 @@ -606,6 +619,10 @@ export default { this.$message.warning("请选择是否在用!") return false } + if (this.modalData.buNo === '' || this.modalData.buNo == null) { + this.$message.warning("请选择BU!") + return false + } if(this.modalData.flag === '1'){ savePartSpareLocation(this.modalData).then(({data}) => { if (data && data.code === 0) {