yusheng преди 1 седмица
родител
ревизия
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() {
         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') {
           return unqualifiedProducts;
         }