Selaa lähdekoodia

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

csx 4 vuotta sitten
vanhempi
commit
761ce44590
1 muutettua tiedostoa jossa 7 lisäystä ja 57 poistoa
  1. 7 57
      src/xt_pages/outpatientCharges/listTemplate/printOne.vue

+ 7 - 57
src/xt_pages/outpatientCharges/listTemplate/printOne.vue Näytä tiedosto

@@ -45,12 +45,12 @@
45 45
 
46 46
   export default {
47 47
     props: {
48
-    //   list: {
49
-    //     type: Array,
50
-    //     default: function () {
51
-    //       return [];
52
-    //     }
53
-    //   }, 
48
+      list: {
49
+        type: Array,
50
+        default: function () {
51
+          return [];
52
+        }
53
+      },
54 54
       patient: {
55 55
         type: Object,
56 56
         default: function () {
@@ -72,56 +72,6 @@
72 72
         return{
73 73
             page:1,
74 74
             pageArr:[],
75
-            list:[
76
-                {count: 1,
77
-med_chrgitm_type: "西药费",
78
-name: "左卡尼汀注射液",
79
-p_time: "2020-12-31 15:41",
80
-price: 28.8,
81
-spec: "5ml:1g"},
82
-                {count: 1,
83
-med_chrgitm_type: "西药费",
84
-name: "左卡尼汀注射液",
85
-p_time: "2020-12-31 15:41",
86
-price: 28.8,
87
-spec: "5ml:1g"},
88
-                {count: 1,
89
-med_chrgitm_type: "西药费",
90
-name: "左卡尼汀注射液",
91
-p_time: "2020-12-31 15:41",
92
-price: 28.8,
93
-spec: "5ml:1g"},
94
-                {count: 1,
95
-med_chrgitm_type: "西药费",
96
-name: "左卡尼汀注射液",
97
-p_time: "2020-12-31 15:41",
98
-price: 28.8,
99
-spec: "5ml:1g"},
100
-                {count: 1,
101
-med_chrgitm_type: "西药费",
102
-name: "左卡尼汀注射液",
103
-p_time: "2020-12-31 15:41",
104
-price: 28.8,
105
-spec: "5ml:1g"},
106
-                {count: 1,
107
-med_chrgitm_type: "西药费",
108
-name: "左卡尼汀注射液",
109
-p_time: "2020-12-31 15:41",
110
-price: 28.8,
111
-spec: "5ml:1g"},
112
-                {count: 1,
113
-med_chrgitm_type: "西药费",
114
-name: "左卡尼汀注射液",
115
-p_time: "2020-12-31 15:41",
116
-price: 28.8,
117
-spec: "5ml:1g"},
118
-                {count: 1,
119
-med_chrgitm_type: "西药费",
120
-name: "左卡尼汀注射液",
121
-p_time: "2020-12-31 15:41",
122
-price: 28.8,
123
-spec: "5ml:1g"},
124
-            ]
125 75
         }
126 76
     },
127 77
     mounted(){
@@ -153,7 +103,7 @@ spec: "5ml:1g"},
153 103
         }else if(this.list.length > 13){
154 104
             this.page = parseInt(this.list.length / 13)
155 105
             let num = this.list.length % 13
156
-            for (var i=0;i<this.page;i++){ 
106
+            for (var i=0;i<this.page;i++){
157 107
                 this.pageArr.push(13)
158 108
             }
159 109
             if(num != 0){