diff --git a/src/views/qms/qualityNotice/addForm.vue b/src/views/qms/qualityNotice/addForm.vue
index e6a1ecaac..8b0f5e54e 100644
--- a/src/views/qms/qualityNotice/addForm.vue
+++ b/src/views/qms/qualityNotice/addForm.vue
@@ -14,8 +14,8 @@
-
-
+
+
上一步
@@ -393,14 +393,22 @@ watch(
() => active.value,
(val) => {
if(val == 2){
- Butttondata = [
- defaultButtons.formSaveBtn(null), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
+ // 如果是详情不显示保存
+ if(disabled.value){
+ Butttondata = [
+ defaultButtons.formCloseBtn(null) // 关闭
+ ]
+ }else{
+ Butttondata = [
+ defaultButtons.formSaveBtn(null), // 保存
+ defaultButtons.formCloseBtn(null) // 关闭
+ ]
+ }
+
}else{
Butttondata = [
- defaultButtons.formCloseBtn(null) // 关闭
- ]
+ defaultButtons.formCloseBtn(null) // 关闭
+ ]
}
}
)
diff --git a/src/views/qms/qualityNotice/components/qualityBatch.vue b/src/views/qms/qualityNotice/components/qualityBatch.vue
index 37d9f2da8..76617e21e 100644
--- a/src/views/qms/qualityNotice/components/qualityBatch.vue
+++ b/src/views/qms/qualityNotice/components/qualityBatch.vue
@@ -15,7 +15,7 @@
:label="item.sequenceCode"
:name="item.name"
>
-
+
-
+
@@ -78,12 +78,12 @@
-
+
@@ -104,10 +104,10 @@
-
+
@@ -365,6 +365,11 @@ const props = defineProps({
type: String,
default: ''
},
+ // 是否可输入
+ disabled:{
+ type:Boolean,
+ default: false
+ }
})
const editableTabsValue = ref('1')
const dialogVisible = ref(false)//弹窗