|
@@ -865,7 +865,7 @@
|
|
|
detailData(data, dimension) {
|
|
detailData(data, dimension) {
|
|
|
this.dimension = dimension;
|
|
this.dimension = dimension;
|
|
|
console.log(this.formData.outInDetailList, data, 'outInDetailList~~~~~');
|
|
console.log(this.formData.outInDetailList, data, 'outInDetailList~~~~~');
|
|
|
- const mergedData = [...(this.formData.outInDetailList || []), ...data];
|
|
|
|
|
|
|
+ const mergedData = [...this.productList, ...data];
|
|
|
this.formData.outInDetailList = mergedData;
|
|
this.formData.outInDetailList = mergedData;
|
|
|
|
|
|
|
|
this.productList = data.map((productItem) => {
|
|
this.productList = data.map((productItem) => {
|
|
@@ -1425,6 +1425,7 @@
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
this.productList.splice(index, 1);
|
|
this.productList.splice(index, 1);
|
|
|
|
|
+ this.formData.outInDetailList = this.productList;
|
|
|
|
|
|
|
|
// this.$nextTick(() => {
|
|
// this.$nextTick(() => {
|
|
|
// this.$refs.productListTable?.doLayout()
|
|
// this.$refs.productListTable?.doLayout()
|