diff --git a/src/views/wms/productionManage/productionplan/productionMain/index.vue b/src/views/wms/productionManage/productionplan/productionMain/index.vue index e4e45fff2..99292bfd1 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMain/index.vue @@ -338,7 +338,7 @@ const buttonTableClick = async (val, row) => { }) } else if (val == 'mainPlanSub') { // 提交审批 if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') - await message.confirm('确认要提交审批吗?') + // await message.confirm('确认要提交审批吗?') tableObject.loading = true await ProductionMainApi.submit(row.masterId).then((res) => { if (res.status == '6') { @@ -499,7 +499,7 @@ const autoCreatePlanRequest = async (row)=>{ await ProductionMainApi.generateProductreceiptRequest(row.number) } } finally { - message.success(t('common.updateSuccess')) + message.success(t('common.submitSuccess')) tableObject.loading = false buttonBaseClick('refresh',null) } diff --git a/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue b/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue index 8928b57ca..e8631d2c3 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue @@ -338,7 +338,7 @@ const buttonTableClick = async (val, row) => { // 重新获取开关数据 await getSwitch() if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') - await message.confirm('确认要提交审批吗?') + // await message.confirm('确认要提交审批吗?') tableObject.loading = true await ProductionMainApi.submit(row.masterId).then((res) => { if (res.status == '6') { @@ -630,7 +630,7 @@ const autoCreatePlanRequest = async (row)=>{ await ProductionMainApi.generateProductreceiptRequest(row.number) } } finally { - message.success(t('common.updateSuccess')) + message.success(t('common.submitSuccess')) tableObject.loading = false buttonBaseClick('refresh',null) }