From 5a398a803760d9489057cc824c423cd6e6f3e8e1 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Thu, 30 Nov 2023 18:10:42 +0800 Subject: [PATCH] =?UTF-8?q?plm=E5=AD=97=E6=AE=B5=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../technicalSpecificationList.js | 2 + .../base/propertiesItem/bmPropertiesModel.vue | 15 +++- .../base/propertiesItem/propertiesItem.vue | 2 +- .../com_bm_bom.vue | 2 +- ...om_bm_prepress.vue => com_bm_demoSlot.vue} | 70 +++++++++++++++---- .../com_bm_routing.vue | 2 +- .../technicalSpecificationDetail.vue | 20 +++++- .../technicalSpecificationList.vue | 18 ++++- 8 files changed, 109 insertions(+), 22 deletions(-) rename src/views/modules/sampleManagement/technicalSpecificationDetail/{com_bm_prepress.vue => com_bm_demoSlot.vue} (56%) diff --git a/src/api/sampleManagement/technicalSpecificationList.js b/src/api/sampleManagement/technicalSpecificationList.js index 7ef8a0d..f6766cc 100644 --- a/src/api/sampleManagement/technicalSpecificationList.js +++ b/src/api/sampleManagement/technicalSpecificationList.js @@ -21,3 +21,5 @@ export const deleteBMBom= data => createAPI(`/technicalSpecification/deleteBMBom export const searchBMRoutingDetail= data => createAPI(`/technicalSpecification/searchBMRoutingDetail`,'post',data) export const updateBMRoutingDetail= data => createAPI(`/technicalSpecification/updateBMRoutingDetail`,'post',data) export const searchBMPropertiesValue= data => createAPI(`/technicalSpecification/searchBMPropertiesValue`,'post',data) +export const saveBMPropertiesValue= data => createAPI(`/technicalSpecification/saveBMPropertiesValue`,'post',data) +export const refreshBMPageModal= data => createAPI(`/technicalSpecification/refreshBMPageModal`,'post',data) diff --git a/src/views/modules/base/propertiesItem/bmPropertiesModel.vue b/src/views/modules/base/propertiesItem/bmPropertiesModel.vue index a5e0904..2c36ede 100644 --- a/src/views/modules/base/propertiesItem/bmPropertiesModel.vue +++ b/src/views/modules/base/propertiesItem/bmPropertiesModel.vue @@ -95,6 +95,17 @@ border v-loading="dataListLoading" style="width: 100%;"> + + + diff --git a/src/views/modules/base/propertiesItem/propertiesItem.vue b/src/views/modules/base/propertiesItem/propertiesItem.vue index 2125bdb..171c132 100644 --- a/src/views/modules/base/propertiesItem/propertiesItem.vue +++ b/src/views/modules/base/propertiesItem/propertiesItem.vue @@ -605,7 +605,7 @@ createdBy:this.$store.state.user.name, maxValue:'', minValue:'', - itemType:'A', + itemType:this.searchData.itemType!=''?JSON.parse(JSON.stringify(this.searchData.itemType)):'A', updateBy: this.$store.state.user.name, }; this.modalDisableFlag = false; diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue index e201d30..03b3517 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue @@ -342,7 +342,7 @@ }, //初始化组件的参数 init(inData) { - if(this.dataForm.codeNo!=null&&this.dataForm.codeNo!=''){ + if(this.searchData.codeNo!=null&&this.searchData.codeNo!=''){ return false; } //初始化参数 diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue similarity index 56% rename from src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue rename to src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue index 18c611c..dae7744 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_prepress.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue @@ -2,9 +2,9 @@
- 更新模板 + 更新模板 刷新数据 - 新增 + 保存数据