|
|
@@ -1122,7 +1122,9 @@
|
|
|
|
|
|
const appendStart = this.form.datasource.length;
|
|
|
this.form.datasource = [...this.form.datasource,...data];
|
|
|
- data.forEach(async (item, index) => {
|
|
|
+ const startIndex = this.form.datasource.length - data.length;
|
|
|
+ data.forEach(async (item, i) => {
|
|
|
+ const index = startIndex + i;
|
|
|
if (item.warehouseId) {
|
|
|
this.$set(
|
|
|
this.form.datasource[appendStart + index],
|