소스 검색

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

csx 4 년 전
부모
커밋
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
           })