From 31592df35f63a1e06dc93e09bd2d89a458c6a56f Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Mon, 3 Jun 2024 17:34:12 +0800
Subject: [PATCH] =?UTF-8?q?2024-06-03=20=E6=9B=B4=E6=96=B03?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/part/bomManagement.vue | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue
index 4a73b55..9f63bab 100644
--- a/src/views/modules/part/bomManagement.vue
+++ b/src/views/modules/part/bomManagement.vue
@@ -480,7 +480,7 @@
- 子物料编码
+ 子物料编码
子物料编码
@@ -3204,7 +3204,8 @@ export default {
/**
* 物料列表
*/
- queryComponentPartList () {
+ queryComponentPartModal () {
+ this.componentPartData.status = 'Y'
// 查询所有物料
queryPartList(this.componentPartData).then(({data}) => {
if (data && data.code === 0) {
@@ -3218,6 +3219,20 @@ export default {
})
},
+ /**
+ * 物料列表
+ */
+ queryComponentPartList () {
+ // 查询所有物料
+ queryPartList(this.componentPartData).then(({data}) => {
+ if (data && data.code === 0) {
+ this.componentPartList = data.rows
+ } else {
+ this.componentPartList = []
+ }
+ })
+ },
+
// 子物料编码失焦事件
componentPartBlur () {
this.componentPartData.partNo = this.componentData.componentPart