فهرست منبع

fix: 修复维保计划设备选择默认字段

- 设备选择生成计划行时不再沿用设备 code 和 type
- 移除维保计划页面遗留调试文本
Zimo 19 ساعت پیش
والد
کامیت
33d56a4d62
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      src/views/pms/maintenance/maintenance-plan-manage.vue

+ 2 - 3
src/views/pms/maintenance/maintenance-plan-manage.vue

@@ -531,8 +531,8 @@ const deviceChoose = async (rows: DeviceList[]) => {
           kiloCycleLead: null,
           timePeriodLead: null,
           naturalDatePeriodLead: null,
-          code: item.code ?? null,
-          type: item.type ?? null
+          code: null,
+          type: null
         }
 
         attrs.value.set(getRowKey(row), {
@@ -574,7 +574,6 @@ const editPlan = (row: List) => {
 </script>
 
 <template>
-  123
   <div
     v-loading="panelLoading"
     class="flex flex-col gap-4 h-[calc(100vh-20px-var(--top-tool-height)-var(--tags-view-height)-var(--app-footer-height))]">