|
@@ -991,7 +991,7 @@ export default {
|
|
|
value: item.id
|
|
|
}))
|
|
|
// 默认显示全部物料至下方表格,预测数量默认 0,用户可手动删除不需要的物料
|
|
|
- this.stockTableData = stockList.map(item => ({ ...item, forecastQuantity: 0 }))
|
|
|
+ this.stockTableData = stockList.map(item => ({ ...item, forecastQuantity: 1 }))
|
|
|
} catch (e) {
|
|
|
console.error('加载用户关联商品失败:', e)
|
|
|
this.$message.error(e.message || '加载用户关联商品失败')
|