廖井涛
2024-05-16 b79c8277a4a7a2e137e20055fbcd7339daaab7da
north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/MaterialOutbound.vue
@@ -29,13 +29,16 @@
        materialOutboundId:row.materialOutboundId
      })
      request.post("/MaterialInventory/deleteMaterialOutbound",flowData.value).then((res) => {
        if(res.code==200){
        if(res.code==200 && res.data===true){
          ElMessage.success(t('searchOrder.msgDeleteSuccess'))
          router.push({path:'/main/ingredientsStock/MaterialOutbound', query:{random:Math.random()}})
        }else{
          ElMessage.warning(res.msg)
          ElMessage.warning("删除失败")
          router.push("/login")
        }
      }).catch((err)=>{
        ElMessage.error('系统错误')
        router.push("/login")
      })
      return