yusheng 1 settimana fa
parent
commit
2b65fb11a3

+ 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;
         }