Quellcode durchsuchen

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

XMLWAN vor 3 Jahren
Ursprung
Commit
25727c7b58

+ 25 - 2
src/xt_pages/hospitalStation/outpatientChargesManagement.vue Datei anzeigen

@@ -1324,8 +1324,31 @@ export default {
1324 1324
                     }).catch(() => {
1325 1325
                     })
1326 1326
                   } else {
1327
-                    that.changeRadioAndPatient(1)
1328
-                    that.$message({ message: '预结算成功', type: 'success', duration: 5000 })
1327
+                    if(response.data.data.order_way == 2){
1328
+                      that.$message({ message: '预结算成功', type: 'success', duration: 5000 })
1329
+                      var message = ""
1330
+                      var order = response.data.data.order
1331
+                      message = "总费用:" + order.medfee_sumamt+"元" + "\n"
1332
+                          + "基金支付总额:"+ order.fund_pay_sumamt+"元" + "\n"
1333
+                          +  "基本医疗保险统筹基金支出:"+ order.hifp_pay+"元" + "\n"
1334
+                          + "医疗救助基金支出:" + order.maf_pay + "元"+ "\n"
1335
+                          + "个人账户支付金额" + order.acct_pay + "元" + "\n"
1336
+                          +"个人支付金额:" + order.psn_cash_pay + "元" +"\n"
1337
+                          + "个人账户金额:" +  order.balc + "元"
1338
+
1339
+                      that.$confirm(message, '预结算信息', {
1340
+                        confirmButtonText: '确 定',
1341
+                        type: 'info'
1342
+                      }).then(() => {
1343
+
1344
+                      }).catch(() => {
1345
+                      })
1346
+                    }else{
1347
+                      that.changeRadioAndPatient(1)
1348
+                      that.$message({ message: '预结算成功', type: 'success', duration: 5000 })
1349
+
1350
+                    }
1351
+
1329 1352
                   }
1330 1353
                 }
1331 1354
               })

+ 18 - 15
src/xt_pages/supply/components/addSupply.vue Datei anzeigen

@@ -287,7 +287,7 @@ export default {
287 287
       supplier: {
288 288
         supplierName: "",
289 289
         supplierCode: "gsy001",
290
-        supplierType: "请选择类别",
290
+        supplierType: "",
291 291
         vatRate: 0,
292 292
         number: "",
293 293
         bank: "",
@@ -565,22 +565,25 @@ export default {
565 565
       let params = {
566 566
         id: data.id,
567 567
       };
568
-
569
-      if (this.show_type == 1) {
570
-        if (this.recordInfo.contacts.length <= 1) {
571
-          return;
572
-        } else {
573
-          this.recordInfo.contacts.splice(index, 1);
574
-        }
575
-      } else if (this.show_type == 2) {
576
-        delcontactone(params).then((res) => {
577
-          if (res.data.state == 1) {
578
-            this.$message.success("删除成功");
579
-            this.getcontacts(this.supplier_ids);
568
+      if (params.id==undefined||params.id=="undefined") {
569
+        this.recordInfo.contacts.splice(index, 1);
570
+      }else {
571
+        if (this.show_type == 1) {
572
+          if (this.recordInfo.contacts.length <= 1) {
573
+            return;
580 574
           } else {
581
-            this.$message.error(res.data.data.list);
575
+            this.recordInfo.contacts.splice(index, 1);
582 576
           }
583
-        });
577
+        } else if (this.show_type == 2) {
578
+          delcontactone(params).then((res) => {
579
+            if (res.data.state == 1) {
580
+              this.$message.success("删除成功!!:",index);
581
+              this.getcontacts(this.supplier_ids);
582
+            } else {
583
+              this.$message.error(res.data.data.list);
584
+            }
585
+          });
586
+        }
584 587
       }
585 588
     },
586 589