Explorar el Código

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

csx hace 3 años
padre
commit
a6f7d6ffc0
Se han modificado 1 ficheros con 10 adiciones y 2 borrados
  1. 10 2
      src/xt_pages/outpatientCharges/summary.vue

+ 10 - 2
src/xt_pages/outpatientCharges/summary.vue Ver fichero

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