cz 2 年 前
コミット
a4842e071e

+ 1 - 2
src/views/inventory-management/combination/addCombination.vue

@@ -269,8 +269,7 @@ export default {
           this.loading = true;
           if (this.submitType === "20") {
             this.form.productList = this.form.productList.map((x) => ({
-              productId: x.productId,
-              combinationQuantity: x.combinationQuantity,
+              ...x,
               combinationWarehouseId: this.form.combinationWarehouseId,
               sourceWarehouseId: this.form.sourceWarehouseId,
             }));