廖井涛
2024-05-16 b79c8277a4a7a2e137e20055fbcd7339daaab7da
north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue
@@ -120,12 +120,15 @@
  if(isBool){
    request.post("/MaterialStore/saveMaterialStore", materialStore).then((res) => {
      if(res.code==200){
      if(res.code==200 && res.data===true){
        resetForm()
        ElMessage.success('保存成功')
      }else{
        ElMessage.warning(res.msg)
        ElMessage.warning("保存失败")
      }
    }).catch((err)=>{
      ElMessage.error('系统错误')
      router.push("/login")
    })
  }