From 53a8080b06485a70ee44d1f59e1170f628c2fa38 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 14:46:09 +0800
Subject: [PATCH] 检验状态中的原材料单上传附件后,点击删除,页面未响应
---
src/components/Table/value-table.vue | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/src/components/Table/value-table.vue b/src/components/Table/value-table.vue
index 5269c88..1d50835 100644
--- a/src/components/Table/value-table.vue
+++ b/src/components/Table/value-table.vue
@@ -1120,10 +1120,6 @@
},
})
.then((res) => {
- if (res.code === 201) {
- this.addLoad = false;
- return;
- }
this.$message.success("娣诲姞鎴愬姛");
this.addDia = false;
this.selectList("page");
@@ -1162,10 +1158,6 @@
}
)
.then((res) => {
- if (res.code === 201) {
- this.loading = false;
- return;
- }
this.downDia = false;
this.loading = false;
this.$message.success("瀵煎嚭鎴愬姛");
@@ -1213,7 +1205,7 @@
this.$refs.upload.clearFiles();
this.uploadDia = false;
this.uploading = false;
- if (response.code == 201) {
+ if (response.code != 200) {
this.$message.error(response.message);
return;
}
@@ -1315,9 +1307,6 @@
),
})
.then((res) => {
- if (res.code === 201) {
- return;
- }
this.$message.success("鍒犻櫎鎴愬姛");
this.selectList("page");
})
@@ -1352,9 +1341,6 @@
}
)
.then((res) => {
- if (res.code === 201) {
- return;
- }
this.$parent.submitBatchCheckDialog();
this.$message.success("鎿嶄綔鎴愬姛");
});
--
Gitblit v1.9.3