Z vor 1 Jahr
Ursprung
Commit
691cec1139
1 geänderte Dateien mit 9 neuen und 1 gelöschten Zeilen
  1. 9 1
      src/views/bpm/handleTask/components/contractBook/addDialog.vue

+ 9 - 1
src/views/bpm/handleTask/components/contractBook/addDialog.vue

@@ -1320,11 +1320,19 @@ export default {
         if (this.form.fileId) {
           this.form.fileId = JSON.stringify(this.form.fileId);
         }
+        const rawDetailList =
+            (this.$refs.rawDetailListRef &&
+              this.$refs.rawDetailListRef.getTableValue()) ||
+            [];
+          const outputDetailList =
+            (this.$refs.outputDetailListRef &&
+              this.$refs.outputDetailListRef.getTableValue()) ||
+            [];
         let commitData = Object.assign(
           {},
           {
             contract: this.form,
-            productList: this.$refs.inventoryTable.getTableValue(),
+            productList: [...this.$refs.inventoryTable.getTableValue(),...rawDetailList,...outputDetailList],
             receiptPaymentList: this.$refs.paymentListTable.getTableValue()
           }
         );