ソースを参照

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 年 前
コミット
a6f7d6ffc0
共有1 個のファイルを変更した10 個の追加2 個の削除を含む
  1. 10 2
      src/xt_pages/outpatientCharges/summary.vue

+ 10 - 2
src/xt_pages/outpatientCharges/summary.vue ファイルの表示

@@ -237,8 +237,16 @@
237 237
               that.$message.error(response.data.msg)
238 238
               return false
239 239
             } else {
240
-              that.$message.success("上传成功")
241
-              row.result.id = response.data.data.result.id
240
+
241
+              if (response.data.data.failed_code == -10) {
242
+                that.$message.error(response.data.data.msg)
243
+
244
+              } else {
245
+                that.$message.success("上传成功")
246
+                row.result.id = response.data.data.result.id
247
+              }
248
+
249
+
242 250
             }
243 251
           }).catch(function (error) {
244 252
           })