see999 3 年之前
父節點
當前提交
68bcd08ece
共有 1 個文件被更改,包括 18 次插入17 次删除
  1. 18 17
      src/xt_pages/outpatientCharges/listTemplate/printTwo.vue

+ 18 - 17
src/xt_pages/outpatientCharges/listTemplate/printTwo.vue 查看文件

@@ -158,13 +158,13 @@ export default {
158 158
         }
159 159
     },
160 160
     created(){
161
-        let obj = {
162
-            检查费:[{name:1,age:2},{name:'张三',age:41}],
163
-            床位费:[{name:3,age:4}],
164
-            检验费:[{name:5,age:6}],
165
-        }
166
-        this.obj = obj
167
-        console.log(1111,Object.values(obj))
161
+        // let obj = {
162
+        //     检查费:[{name:1,age:2},{name:'张三',age:41}],
163
+        //     床位费:[{name:3,age:4}],
164
+        //     检验费:[{name:5,age:6}],
165
+        // }
166
+        // this.obj = obj
167
+        // console.log(1111,Object.values(obj))
168 168
         // obj.map(item => {
169 169
         //     console.log(111,item)
170 170
 
@@ -203,15 +203,15 @@ export default {
203 203
         "order_infos.order_infos":{
204 204
             handler(newVal){
205 205
                 let obj = {
206
-                    'item.med_chrgitm_type01':[],
207
-                    'item.med_chrgitm_type03':[],
208
-                    'item.med_chrgitm_type04':[],
209
-                    'item.med_chrgitm_type05':[],
210
-                    'item.med_chrgitm_type06':[],
211
-                    'item.med_chrgitm_type08':[],
212
-                    'item.med_chrgitm_type09':[],
213
-                    'item.med_chrgitm_type11':[],
214
-                    'item.med_chrgitm_type14':[],
206
+                    'med_chrgitm_type01':[],
207
+                    'med_chrgitm_type03':[],
208
+                    'med_chrgitm_type04':[],
209
+                    'med_chrgitm_type05':[],
210
+                    'med_chrgitm_type06':[],
211
+                    'med_chrgitm_type08':[],
212
+                    'med_chrgitm_type09':[],
213
+                    'med_chrgitm_type11':[],
214
+                    'med_chrgitm_type14':[],
215 215
                 }
216 216
                 newVal.map(item => {
217 217
                     
@@ -237,7 +237,8 @@ export default {
237 237
                     
238 238
                 })
239 239
                 this.obj = obj
240
-            }
240
+            },
241
+            deep:true
241 242
         }
242 243
     }
243 244
 }