Procházet zdrojové kódy

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

csx před 3 roky
rodič
revize
a6f7d6ffc0
1 změnil soubory, kde provedl 10 přidání a 2 odebrání
  1. 10 2
      src/xt_pages/outpatientCharges/summary.vue

+ 10 - 2
src/xt_pages/outpatientCharges/summary.vue Zobrazit soubor

@@ -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
           })