yusheng 1 неделя назад
Родитель
Сommit
2b65fb11a3
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      src/views/bpm/handleTask/components/qualityReportApproval/detailDialog.vue

+ 4 - 2
src/views/bpm/handleTask/components/qualityReportApproval/detailDialog.vue

@@ -370,8 +370,10 @@
       },
       },
       async getTableValue() {
       async getTableValue() {
         let unqualifiedProducts = this.$refs.unqualifiedProductRef.getValue();
         let unqualifiedProducts = this.$refs.unqualifiedProductRef.getValue();
-        let contentText = await this.$refs.unqualifiedHtmlRef.getValue();
-
+        let contentText = null;
+        if (this.businessType?.includes('不良品处置')) {
+          contentText = await this.$refs.unqualifiedHtmlRef.getValue();
+        }
         if (unqualifiedProducts == 'isNodisposeType') {
         if (unqualifiedProducts == 'isNodisposeType') {
           return unqualifiedProducts;
           return unqualifiedProducts;
         }
         }