|
|
@ -285,7 +285,7 @@ const handlePreviewPlan = async ()=>{ |
|
|
|
dialogVisiblePlan.value = true |
|
|
|
} |
|
|
|
|
|
|
|
const buttonBaseClickPlan = (val)=>{ |
|
|
|
const buttonBaseClickPlan = async (val)=>{ |
|
|
|
if (val == 'save') { |
|
|
|
// 保存 |
|
|
|
dialogVisiblePlan.value = false |
|
|
@ -295,7 +295,10 @@ const buttonBaseClickPlan = (val)=>{ |
|
|
|
}) |
|
|
|
console.log('预览要货计划', selectionPlanRows.value) |
|
|
|
console.log('预览要货计划', rows.join(',')) |
|
|
|
|
|
|
|
let res = await DemandforecastingDetailApi.generateOrderPlan(rows) |
|
|
|
message.success(t('common.submitSuccess')) |
|
|
|
buttonBaseClick('refresh', null) |
|
|
|
console.log('保存',res) |
|
|
|
} |
|
|
|
// 关闭 |
|
|
|
else if (val == 'close') { |
|
|
|