From 3f783b4c4a8b23045e67d664cf78c022410e62fc Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期五, 15 九月 2023 13:10:17 +0800
Subject: [PATCH] 改bug
---
src/components/view/finishedProductInspectionUp.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/components/view/finishedProductInspectionUp.vue b/src/components/view/finishedProductInspectionUp.vue
index 0bb486e..7c421b3 100644
--- a/src/components/view/finishedProductInspectionUp.vue
+++ b/src/components/view/finishedProductInspectionUp.vue
@@ -322,13 +322,19 @@
this.$axios.post(this.$api.url.finishedInspectUpdateFinishInspectsById, {
id: this.detailId
}).then(res => {
- console.log(res);
if (res.code == 200) {
+ if(res.message==='椤圭洰鏈楠屽畬!'){
+ this.$message({
+ message: res.message,
+ type: 'warning'
+ });
+ return
+ }
this.$message({
message: '涓婃姤鎴愬姛',
type: 'success'
});
- this.$refs.comBackMain()
+ this.$refs.comBackMain(true)
} else {
this.$message({
message: res.message,
@@ -336,6 +342,7 @@
});
}
})
+
},
changeOptionsSamplename(){
let id=this.processInspectVo.material.split("-")[0]
--
Gitblit v1.9.3