From b265f78311f5bb0769f32a31f7006cc787bd2f53 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 27 三月 2024 19:00:09 +0800
Subject: [PATCH] 质检相关报工页面新增、接口联调

---
 src/views/dashboard/components/ReportProductionModal.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/views/dashboard/components/ReportProductionModal.vue b/src/views/dashboard/components/ReportProductionModal.vue
index ec61c1b..254cea5 100644
--- a/src/views/dashboard/components/ReportProductionModal.vue
+++ b/src/views/dashboard/components/ReportProductionModal.vue
@@ -1,8 +1,9 @@
 <template>
   <div class="report-production-modal">
     <BaseModal v-model="modelData" :wider="true" @close="closeModal">
-      <template #title> 鐢熶骇鎶ュ伐 </template>
+      <template #title> {{ modelTitle }} </template>
       <div class="report-content">
+        <div v-if="modelTitle == '鎻愪氦璐ㄦ'" class="r-c-title">鏁伴噺锛�</div>
         <div class="numbers">{{ inputNumber }}</div>
         <div class="buttons">
           <BigButton
@@ -24,8 +25,9 @@
 import { useVModel } from '@vueuse/core'
 import BigButton from './BigButton.vue'
 import { ref, watch } from 'vue'
-const props = withDefaults(defineProps<{ modelValue: boolean; amount?: number }>(), {
+const props = withDefaults(defineProps<{ modelValue: boolean; modelTitle: string; amount?: number }>(), {
   modelValue: false,
+  modelTitle: '',
   amount: 0
 })
 const emit = defineEmits<{
@@ -82,6 +84,14 @@
 .report-content {
   padding: 60px 0 0 230px;
   height: 520px;
+  position: relative;
+  .r-c-title {
+    position: absolute;
+    top: 70px;
+    left: 110px;
+    font-size: 26px;
+    color: #fff;
+  }
 }
 .numbers {
   height: 80px;

--
Gitblit v1.8.0