src/views/quality/rawMaterial/rawMaterial-form.vue
@@ -704,6 +704,7 @@ if(res.data.code == 0 && (res.data.data=='1'|| res.data.data=='0')){ sessionStorage.setItem("raw-resultVal-"+this.dataForm.id,res.data.data) this.$message.success("上报成功"); this.$router.go(-1) }else{ this.$message.error("上报失败,",res.data.data); } @@ -1012,7 +1013,7 @@ data.rawInsProducts = this.list addRawInspects(data).then(res=>{ this.$message.success("保存成功") // this.$router.go(-1) this.$router.go(-1) }).catch(error=>{ this.$message.error(error) })