|
|
@@ -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()
|
|
|
}
|
|
|
);
|