|
|
@@ -912,6 +912,14 @@
|
|
|
const res = await outInRecordsPage(params);
|
|
|
this.sourceList = res.list || [];
|
|
|
console.log(res, 'list333');
|
|
|
+
|
|
|
+ // 在获取数据后执行后续操作:处理来源清单并设置样品清单
|
|
|
+ if (this.sourceList && this.sourceList.length > 0) {
|
|
|
+ // 处理来源清单数据
|
|
|
+ const processedData = this.proceSources([...this.sourceList]);
|
|
|
+ // 更新样品清单
|
|
|
+ await this.updatePackingList(processedData);
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
//成品类型检验类型,计划来源库存台账, 生成来源清单
|