Commit 2b8ba06a by wusiyi

feat: 工厂订单new快捷生产添加操作成功提示

parent c7717cdd
...@@ -2859,6 +2859,7 @@ const downloadOperationById = (ids: number[]) => ...@@ -2859,6 +2859,7 @@ const downloadOperationById = (ids: number[]) =>
downloadOperationMaterialApi(ids) downloadOperationMaterialApi(ids)
const handleFastProductionSuccess = (data: ResultInfoDataItem[]) => { const handleFastProductionSuccess = (data: ResultInfoDataItem[]) => {
if (fastKey.value === 'productionScan') { if (fastKey.value === 'productionScan') {
ElMessage.success('操作成功')
return return
} }
const result = data[0] const result = data[0]
...@@ -2871,6 +2872,8 @@ const handleFastProductionSuccess = (data: ResultInfoDataItem[]) => { ...@@ -2871,6 +2872,8 @@ const handleFastProductionSuccess = (data: ResultInfoDataItem[]) => {
}, },
) )
return return
} else {
ElMessage.success('操作成功')
} }
} }
const createLogisticsSuccess = (data: ResultInfoDataItem[]) => { const createLogisticsSuccess = (data: ResultInfoDataItem[]) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment