Browse Source

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

28169 1 year ago
parent
commit
71d591b518

+ 3 - 0
src/xt_pages/outpatientCharges/components/registerDialog.vue View File

@@ -293,6 +293,9 @@
293 293
         }, {
294 294
           value: 4,
295 295
           label: '电子凭证'
296
+        },{
297
+          value: 5,
298
+          label: '人脸识别'
296 299
         }],
297 300
         settlement: [
298 301
           { value: 1, label: '医保' },

+ 335 - 135
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -1752,7 +1752,7 @@ export default {
1752 1752
       }
1753 1753
       this.$refs.additionalCharges.hide()
1754 1754
 
1755
-    }, 
1755
+    },
1756 1756
     // 项目
1757 1757
     searchProjectAction() {
1758 1758
       console.log('~~~~',this.search_project_keyword)
@@ -1806,7 +1806,7 @@ export default {
1806 1806
       if (this.search_keyword.length == 0) {
1807 1807
         this.drugs = this.allDrugs
1808 1808
       } else {
1809
-       
1809
+
1810 1810
         let arr = []
1811 1811
         for (let i = 0; i < drug2.length; i++) {
1812 1812
           if (drug2[i].drug_name.indexOf(this.search_keyword) != -1 ||
@@ -3683,173 +3683,373 @@ export default {
3683 3683
       //   }
3684 3684
       // }
3685 3685
 
3686
-      for (let i = 0; i < this.prescriptions.length; i++) {
3687
-        if (this.prescriptions[i].name == this.editableTabsValue) {
3688
-          var temp = this.deepClone(this.curDrugs)
3689
-          var temp2 = this.deepClone(this.teamList)
3690
-
3691
-          var temp3 = this.deepClone(templateDrugs)
3692
-          if (temp3.length > 0) {
3693
-            for (let b = 0; b < temp3.length; b++) {
3694
-              let obj = {
3695
-                advice_id: 0,
3696
-                id: temp3[b].id,
3697
-                drug_name: temp3[b].advice_name,
3698
-                single_dose: temp3[b].single_dose.toString(),
3699
-                delivery_way: temp3[b].delivery_way,
3700
-                execution_frequency: temp3[b].execution_frequency,
3701
-                retail_price: temp3[b].drug.retail_price.toString(),
3702
-                remark: '',
3703
-                day: '1',
3704
-                prescribing_number: temp3[b].prescribing_number,
3705
-                single_dose_unit: temp3[b].drug.drug_dose_unit,
3706
-                prescribing_number_unit: temp3[b].drug.prescribing_number_unit,
3707
-                medical_insurance_number: temp3[b].drug.medical_insurance_number
3708
-              }
3709 3686
 
3710
-              if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
3711
-                obj.prescribing_number = 1
3712
-              }
3713
-
3714
-              this.prescriptions[i].advices.push(obj)
3687
+      //大丰限制用药提醒逻辑
3688
+      var temp = this.deepClone(this.curDrugs)
3689
+      console.log("-----~~~~")
3690
+      console.log(temp)
3691
+      console.log("-----~~~~")
3692
+
3693
+      let limit_remark = ""
3694
+      if (temp.length > 0) {
3695
+        for (let b = 0; b < temp.length; b++) {
3696
+          if(temp[b].limit_remark.length > 0){
3697
+            if(limit_remark.length == 0){
3698
+              limit_remark = temp[b].limit_remark
3699
+            }else{
3700
+              limit_remark = limit_remark +  "\n" + temp[b].limit_remark
3715 3701
             }
3716
-            this.curStatus = 1
3702
+
3717 3703
           }
3704
+        }
3705
+      }
3706
+      if((limit_remark.length > 0 && this.org_id == 10217)){
3707
+        this.$confirm(limit_remark, '限制用药提醒', {
3708
+          confirmButtonText: '确 定',
3709
+          cancelButtonText: '取 消',
3710
+          type: 'warning'
3711
+        }).then(() => {
3712
+          for (let i = 0; i < this.prescriptions.length; i++) {
3713
+            if (this.prescriptions[i].name == this.editableTabsValue) {
3714
+              var temp = this.deepClone(this.curDrugs)
3715
+              var temp2 = this.deepClone(this.teamList)
3718 3716
 
3719
-          let index = 0
3717
+              var temp3 = this.deepClone(templateDrugs)
3718
+              if (temp3.length > 0) {
3719
+                for (let b = 0; b < temp3.length; b++) {
3720
+                  let obj = {
3721
+                    advice_id: 0,
3722
+                    id: temp3[b].id,
3723
+                    drug_name: temp3[b].advice_name,
3724
+                    single_dose: temp3[b].single_dose.toString(),
3725
+                    delivery_way: temp3[b].delivery_way,
3726
+                    execution_frequency: temp3[b].execution_frequency,
3727
+                    retail_price: temp3[b].drug.retail_price.toString(),
3728
+                    remark: '',
3729
+                    day: '1',
3730
+                    prescribing_number: temp3[b].prescribing_number,
3731
+                    single_dose_unit: temp3[b].drug.drug_dose_unit,
3732
+                    prescribing_number_unit: temp3[b].drug.prescribing_number_unit,
3733
+                    medical_insurance_number: temp3[b].drug.medical_insurance_number
3734
+                  }
3720 3735
 
3721
-          if (this.curPrescriptions.advices.length > 0) {
3722
-            index = this.curPrescriptions.advices.length
3723
-          }
3736
+                  if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
3737
+                    obj.prescribing_number = 1
3738
+                  }
3724 3739
 
3725
-          if (temp.length > 0) {
3726
-            for (let b = 0; b < temp.length; b++) {
3727
-              if(temp[b].max_unit == temp[b].min_unit){
3728
-                temp[b].retail_price = temp[b].min_price
3740
+                  this.prescriptions[i].advices.push(obj)
3741
+                }
3742
+                this.curStatus = 1
3729 3743
               }
3730
-              let temp_index = 0
3731
-              if(this.org_id == 0 || this.org_id == 10206){
3732 3744
 
3733
-                 temp_index  = Math.floor(Math.random() * 90 + 10);
3734
-              }else{
3735
-                 temp_index = b + 1
3745
+              let index = 0
3746
+
3747
+              if (this.curPrescriptions.advices.length > 0) {
3748
+                index = this.curPrescriptions.advices.length
3736 3749
               }
3737
-              let obj = {
3738
-                advice_id: 0,
3739
-                id: temp[b].id,
3740
-                drug_name: temp[b].drug_name,
3741
-                single_dose: temp[b].single_dose,
3742
-                delivery_way: temp[b].delivery_way,
3743
-                execution_frequency: temp[b].execution_frequency,
3744
-                retail_price: temp[b].prescribing_number_unit == temp[b].max_unit ? temp[b].retail_price.toString() : temp[b].min_price.toString(),
3745
-                remark: '',
3746
-                day: temp[b].drug_day ? temp[b].drug_day : 1,
3747
-                prescribing_number: temp[b].prescribing_number,
3748
-                single_dose_unit: temp[b].dose_unit,
3749
-                prescribing_number_unit: temp[b].prescribing_number_unit,
3750
-                medical_insurance_number: temp[b].medical_insurance_number,
3751
-                drug: temp[b],
3752
-                groupno: index + temp_index,
3753
-                hosp_appr_flag: '1',
3754
-                execution_state:2,
3755 3750
 
3751
+              if (temp.length > 0) {
3752
+                for (let b = 0; b < temp.length; b++) {
3753
+                  if(temp[b].max_unit == temp[b].min_unit){
3754
+                    temp[b].retail_price = temp[b].min_price
3755
+                  }
3756
+                  let temp_index = 0
3757
+                  if(this.org_id == 0 || this.org_id == 10206){
3758
+
3759
+                    temp_index  = Math.floor(Math.random() * 90 + 10);
3760
+                  }else{
3761
+                    temp_index = b + 1
3762
+                  }
3763
+                  let obj = {
3764
+                    advice_id: 0,
3765
+                    id: temp[b].id,
3766
+                    drug_name: temp[b].drug_name,
3767
+                    single_dose: temp[b].single_dose,
3768
+                    delivery_way: temp[b].delivery_way,
3769
+                    execution_frequency: temp[b].execution_frequency,
3770
+                    retail_price: temp[b].prescribing_number_unit == temp[b].max_unit ? temp[b].retail_price.toString() : temp[b].min_price.toString(),
3771
+                    remark: '',
3772
+                    day: temp[b].drug_day ? temp[b].drug_day : 1,
3773
+                    prescribing_number: temp[b].prescribing_number,
3774
+                    single_dose_unit: temp[b].dose_unit,
3775
+                    prescribing_number_unit: temp[b].prescribing_number_unit,
3776
+                    medical_insurance_number: temp[b].medical_insurance_number,
3777
+                    drug: temp[b],
3778
+                    groupno: index + temp_index,
3779
+                    hosp_appr_flag: '1',
3780
+                    execution_state:2,
3781
+
3782
+
3783
+                  }
3784
+                  if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
3785
+                    obj.prescribing_number = 1
3786
+                  }
3787
+                  // 针对灵山圣康
3788
+                  if(this.org_id == 0 || this.org_id ==10375){
3789
+                    if(this.prescriptions[i]!=null){
3790
+                      console.log("禅古this.prescriptions[i].advices.length",this.prescriptions[i].advices.length)
3791
+                      if(this.prescriptions[i].advices.length >=5){
3792
+
3793
+                        this.$message.error("添加条数已经大于5条,添加失败!")
3794
+                        return false
3795
+                      }
3796
+
3797
+
3798
+                    }
3799
+                  }
3800
+                  this.prescriptions[i].advices.push(obj)
3801
+                }
3802
+                this.curStatus = 1
3756 3803
 
3757 3804
               }
3758
-              if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
3759
-                obj.prescribing_number = 1
3760
-              }
3761
-               // 针对灵山圣康
3762
-               if(this.org_id == 0 || this.org_id ==10375){
3763
-                if(this.prescriptions[i]!=null){
3764
-                  console.log("禅古this.prescriptions[i].advices.length",this.prescriptions[i].advices.length)
3765
-                  if(this.prescriptions[i].advices.length >=5){
3766
-
3767
-                    this.$message.error("添加条数已经大于5条,添加失败!")
3768
-                    return false
3805
+
3806
+              if (temp2.length > 0) {
3807
+                for (let b = 0; b < temp2.length; b++) {
3808
+                  let obj = {
3809
+                    id: 0,
3810
+                    project_id: temp2[b].id,
3811
+                    project_name: temp2[b].project_name,
3812
+                    statistical_classification: '',
3813
+                    single_dose: temp2[b].single_dose.toString(),
3814
+                    delivery_way: temp2[b].delivery_way,
3815
+                    execution_frequency: temp2[b].execution_frequency,
3816
+                    number_days: temp2[b].number_days.toString(),
3817
+                    total: temp2[b].cus_total,
3818
+                    price: temp2[b].price,
3819
+                    remark: '',
3820
+                    medical_code: temp2[b].medical_code,
3821
+                    type: temp2[b].type,
3822
+                    execution_state:2,
3823
+
3769 3824
                   }
3770
-                  
3771
-                  
3825
+
3826
+                  if (temp2[b].type == 2){
3827
+                    obj['project'] = temp2[b].project
3828
+                    obj['unit'] = temp2[b].project.unit
3829
+
3830
+
3831
+                  }else if(temp2[b].type == 3){
3832
+                    obj['good_info'] = temp2[b].good_info
3833
+                    obj['unit'] = temp2[b].good_info.packing_unit
3834
+
3835
+
3836
+                  }
3837
+                  if (temp2[b].team_id == undefined) {
3838
+                    obj['team_id'] = 0
3839
+                  } else {
3840
+                    obj['team_id'] = temp2[b].team_id
3841
+                  }
3842
+                  if (obj.total == 0 || obj.total == undefined) {
3843
+                    obj.total = 1
3844
+                  }
3845
+                  if (obj.type == 3) {
3846
+                    obj.single_dose = 1
3847
+                  }
3848
+                  // 针对灵山圣康
3849
+                  if(this.org_id == 0 || this.org_id ==10375){
3850
+                    if(this.prescriptions[i]!=null){
3851
+                      if(this.prescriptions[i].project.length >=5){
3852
+                        this.$message.error("添加条数已经大于5条,添加失败!")
3853
+                        return false
3854
+                      }
3855
+
3856
+
3857
+                    }
3858
+                  }
3859
+                  this.prescriptions[i].project.push(obj)
3772 3860
                 }
3861
+                this.curStatus = 2
3773 3862
               }
3774
-              this.prescriptions[i].advices.push(obj)
3775
-            }
3776
-            this.curStatus = 1
3777 3863
 
3864
+              this.curPrescriptions = this.prescriptions[i]
3865
+
3866
+
3867
+
3868
+
3869
+
3870
+              this.$refs.multipleTable.clearSelection()
3871
+              this.$refs.tables.clearSelection()
3872
+              this.clearSelection()
3873
+
3874
+            }
3778 3875
           }
3876
+          this.curDrugs = []
3877
+          this.preDrugs = []
3878
+          this.teamList = []
3879
+        }).catch(() => {
3880
+
3881
+        })
3882
+      }else{
3883
+        for (let i = 0; i < this.prescriptions.length; i++) {
3884
+          if (this.prescriptions[i].name == this.editableTabsValue) {
3885
+            var temp = this.deepClone(this.curDrugs)
3886
+            var temp2 = this.deepClone(this.teamList)
3779 3887
 
3780
-          if (temp2.length > 0) {
3781
-            for (let b = 0; b < temp2.length; b++) {
3782
-              let obj = {
3783
-                id: 0,
3784
-                project_id: temp2[b].id,
3785
-                project_name: temp2[b].project_name,
3786
-                statistical_classification: '',
3787
-                single_dose: temp2[b].single_dose.toString(),
3788
-                delivery_way: temp2[b].delivery_way,
3789
-                execution_frequency: temp2[b].execution_frequency,
3790
-                number_days: temp2[b].number_days.toString(),
3791
-                total: temp2[b].cus_total,
3792
-                price: temp2[b].price,
3793
-                remark: '',
3794
-                medical_code: temp2[b].medical_code,
3795
-                type: temp2[b].type,
3796
-                execution_state:2,
3888
+            var temp3 = this.deepClone(templateDrugs)
3889
+            if (temp3.length > 0) {
3890
+              for (let b = 0; b < temp3.length; b++) {
3891
+                let obj = {
3892
+                  advice_id: 0,
3893
+                  id: temp3[b].id,
3894
+                  drug_name: temp3[b].advice_name,
3895
+                  single_dose: temp3[b].single_dose.toString(),
3896
+                  delivery_way: temp3[b].delivery_way,
3897
+                  execution_frequency: temp3[b].execution_frequency,
3898
+                  retail_price: temp3[b].drug.retail_price.toString(),
3899
+                  remark: '',
3900
+                  day: '1',
3901
+                  prescribing_number: temp3[b].prescribing_number,
3902
+                  single_dose_unit: temp3[b].drug.drug_dose_unit,
3903
+                  prescribing_number_unit: temp3[b].drug.prescribing_number_unit,
3904
+                  medical_insurance_number: temp3[b].drug.medical_insurance_number
3905
+                }
3906
+
3907
+                if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
3908
+                  obj.prescribing_number = 1
3909
+                }
3797 3910
 
3911
+                this.prescriptions[i].advices.push(obj)
3798 3912
               }
3913
+              this.curStatus = 1
3914
+            }
3799 3915
 
3800
-              if (temp2[b].type == 2){
3801
-                obj['project'] = temp2[b].project
3802
-                obj['unit'] = temp2[b].project.unit
3916
+            let index = 0
3803 3917
 
3918
+            if (this.curPrescriptions.advices.length > 0) {
3919
+              index = this.curPrescriptions.advices.length
3920
+            }
3804 3921
 
3805
-              }else if(temp2[b].type == 3){
3806
-                obj['good_info'] = temp2[b].good_info
3807
-                obj['unit'] = temp2[b].good_info.packing_unit
3922
+            if (temp.length > 0) {
3923
+              for (let b = 0; b < temp.length; b++) {
3924
+                if(temp[b].max_unit == temp[b].min_unit){
3925
+                  temp[b].retail_price = temp[b].min_price
3926
+                }
3927
+                let temp_index = 0
3928
+                if(this.org_id == 0 || this.org_id == 10206){
3808 3929
 
3930
+                  temp_index  = Math.floor(Math.random() * 90 + 10);
3931
+                }else{
3932
+                  temp_index = b + 1
3933
+                }
3934
+                let obj = {
3935
+                  advice_id: 0,
3936
+                  id: temp[b].id,
3937
+                  drug_name: temp[b].drug_name,
3938
+                  single_dose: temp[b].single_dose,
3939
+                  delivery_way: temp[b].delivery_way,
3940
+                  execution_frequency: temp[b].execution_frequency,
3941
+                  retail_price: temp[b].prescribing_number_unit == temp[b].max_unit ? temp[b].retail_price.toString() : temp[b].min_price.toString(),
3942
+                  remark: '',
3943
+                  day: temp[b].drug_day ? temp[b].drug_day : 1,
3944
+                  prescribing_number: temp[b].prescribing_number,
3945
+                  single_dose_unit: temp[b].dose_unit,
3946
+                  prescribing_number_unit: temp[b].prescribing_number_unit,
3947
+                  medical_insurance_number: temp[b].medical_insurance_number,
3948
+                  drug: temp[b],
3949
+                  groupno: index + temp_index,
3950
+                  hosp_appr_flag: '1',
3951
+                  execution_state:2,
3809 3952
 
3953
+
3954
+                }
3955
+                if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
3956
+                  obj.prescribing_number = 1
3957
+                }
3958
+                // 针对灵山圣康
3959
+                if(this.org_id == 0 || this.org_id ==10375){
3960
+                  if(this.prescriptions[i]!=null){
3961
+                    console.log("禅古this.prescriptions[i].advices.length",this.prescriptions[i].advices.length)
3962
+                    if(this.prescriptions[i].advices.length >=5){
3963
+
3964
+                      this.$message.error("添加条数已经大于5条,添加失败!")
3965
+                      return false
3966
+                    }
3967
+
3968
+
3969
+                  }
3970
+                }
3971
+                this.prescriptions[i].advices.push(obj)
3810 3972
               }
3811
-              if (temp2[b].team_id == undefined) {
3812
-                obj['team_id'] = 0
3813
-              } else {
3814
-                obj['team_id'] = temp2[b].team_id
3815
-              }
3816
-              if (obj.total == 0 || obj.total == undefined) {
3817
-                obj.total = 1
3818
-              }
3819
-              if (obj.type == 3) {
3820
-                obj.single_dose = 1
3821
-              }
3822
-              // 针对灵山圣康
3823
-              if(this.org_id == 0 || this.org_id ==10375){
3824
-                if(this.prescriptions[i]!=null){
3825
-                  if(this.prescriptions[i].project.length >=5){
3826
-                    this.$message.error("添加条数已经大于5条,添加失败!")
3827
-                    return false
3973
+              this.curStatus = 1
3974
+
3975
+            }
3976
+
3977
+            if (temp2.length > 0) {
3978
+              for (let b = 0; b < temp2.length; b++) {
3979
+                let obj = {
3980
+                  id: 0,
3981
+                  project_id: temp2[b].id,
3982
+                  project_name: temp2[b].project_name,
3983
+                  statistical_classification: '',
3984
+                  single_dose: temp2[b].single_dose.toString(),
3985
+                  delivery_way: temp2[b].delivery_way,
3986
+                  execution_frequency: temp2[b].execution_frequency,
3987
+                  number_days: temp2[b].number_days.toString(),
3988
+                  total: temp2[b].cus_total,
3989
+                  price: temp2[b].price,
3990
+                  remark: '',
3991
+                  medical_code: temp2[b].medical_code,
3992
+                  type: temp2[b].type,
3993
+                  execution_state:2,
3994
+
3995
+                }
3996
+
3997
+                if (temp2[b].type == 2){
3998
+                  obj['project'] = temp2[b].project
3999
+                  obj['unit'] = temp2[b].project.unit
4000
+
4001
+
4002
+                }else if(temp2[b].type == 3){
4003
+                  obj['good_info'] = temp2[b].good_info
4004
+                  obj['unit'] = temp2[b].good_info.packing_unit
4005
+
4006
+
4007
+                }
4008
+                if (temp2[b].team_id == undefined) {
4009
+                  obj['team_id'] = 0
4010
+                } else {
4011
+                  obj['team_id'] = temp2[b].team_id
4012
+                }
4013
+                if (obj.total == 0 || obj.total == undefined) {
4014
+                  obj.total = 1
4015
+                }
4016
+                if (obj.type == 3) {
4017
+                  obj.single_dose = 1
4018
+                }
4019
+                // 针对灵山圣康
4020
+                if(this.org_id == 0 || this.org_id ==10375){
4021
+                  if(this.prescriptions[i]!=null){
4022
+                    if(this.prescriptions[i].project.length >=5){
4023
+                      this.$message.error("添加条数已经大于5条,添加失败!")
4024
+                      return false
4025
+                    }
4026
+
4027
+
3828 4028
                   }
3829
-                  
3830
-                  
3831 4029
                 }
4030
+                this.prescriptions[i].project.push(obj)
3832 4031
               }
3833
-              this.prescriptions[i].project.push(obj)
4032
+              this.curStatus = 2
3834 4033
             }
3835
-            this.curStatus = 2
3836
-          }
3837 4034
 
3838
-          this.curPrescriptions = this.prescriptions[i]
3839
-       
3840
-          
3841
-          
3842
-         
3843
-         
3844
-          this.$refs.multipleTable.clearSelection()
3845
-          this.$refs.tables.clearSelection()
3846
-          this.clearSelection()
4035
+            this.curPrescriptions = this.prescriptions[i]
4036
+
4037
+
4038
+
4039
+
4040
+
4041
+            this.$refs.multipleTable.clearSelection()
4042
+            this.$refs.tables.clearSelection()
4043
+            this.clearSelection()
3847 4044
 
4045
+          }
3848 4046
         }
4047
+        this.curDrugs = []
4048
+        this.preDrugs = []
4049
+        this.teamList = []
3849 4050
       }
3850
-      this.curDrugs = []
3851
-      this.preDrugs = []
3852
-      this.teamList = []
4051
+
4052
+
3853 4053
 
3854 4054
     }, changeAllGoodInfoTableDataTwo(row) {
3855 4055
       this.teamList = row

+ 5 - 1
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue View File

@@ -21,7 +21,11 @@
21 21
         >
22 22
           {{ orgname }}处方笺
23 23
         </div>
24
-        <div class="printTitle" v-else>{{ orgname }}处方笺</div>
24
+        <div class="printTitle" v-else>
25
+          <span>{{ orgname }}处方笺</span>
26
+          <span style="font-size: 14px;font-weight: normal;color: red;" 
27
+            v-if="prescriptions[index].med_type == '1112'">(精)</span>
28
+        </div>
25 29
         <div >
26 30
           <div  style="display: flex;border-top: 2px solid #000;margin-top: 10px;line-height: 24px;padding: 0 10px;">
27 31
             <p style="width: 200px;">姓名:{{ item.patient.name ? item.patient.name : "" }}</p>

+ 3 - 2
src/xt_pages/outpatientTool/components/detail.vue View File

@@ -547,7 +547,8 @@ export default {
547 547
               let new_name = tempPatientsTwo[i].new_order_info[b].item_name
548 548
               if (new_name != undefined){
549 549
                 if (new_name.length != 0) {
550
-                  total = parseFloat(total) + parseFloat((parseFloat(tempPatientsTwo[i].new_order_info[b].count.toString()) * parseFloat(tempPatientsTwo[i].new_order_info[b].price.toString())).toFixed(2))
550
+                  console.log(parseFloat(tempPatientsTwo[i].new_order_info[b].count) * parseFloat(tempPatientsTwo[i].new_order_info[b].price))
551
+                  total = parseFloat(total) + parseFloat((parseFloat(tempPatientsTwo[i].new_order_info[b].count) * parseFloat(tempPatientsTwo[i].new_order_info[b].price)).toFixed(2))
551 552
                 }
552 553
 
553 554
 
@@ -807,7 +808,7 @@ export default {
807 808
           // sums[index] = sums[index].toFixed(2)
808 809
           let num = 0
809 810
           data.map(item => {
810
-            num += item.price.toFixed(2) * item.count
811
+            num += item.price * item.count
811 812
           })
812 813
           sums[index] = num.toFixed(2)
813 814
         } else {