Ver código fonte

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

csx 3 anos atrás
pai
commit
0eab438928

+ 31 - 31
src/xt_pages/hospitalStation/components/deskPrescription.vue Ver arquivo

@@ -710,16 +710,16 @@
710 710
             }
711 711
           }
712 712
           //附加收费
713
-          for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
714
-            let obj = {
715
-              id: month_prescriptions[i].addition[a].item_id,
716
-              price: month_prescriptions[i].addition[a].price
717
-
718
-            }
719
-            additions_ids.push(obj)
720
-            addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
721
-
722
-          }
713
+          // for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
714
+          //   let obj = {
715
+          //     id: month_prescriptions[i].addition[a].item_id,
716
+          //     price: month_prescriptions[i].addition[a].price
717
+          //
718
+          //   }
719
+          //   additions_ids.push(obj)
720
+          //   addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
721
+          //
722
+          // }
723 723
 
724 724
         }
725 725
 
@@ -1127,16 +1127,16 @@
1127 1127
                   }
1128 1128
 
1129 1129
                   //附加收费
1130
-                  for (let b = 0; b < prescription.addition.length; b++) {
1131
-                    let obj = {
1132
-                      id: prescription.addition[b].id,
1133
-                      item_name: prescription.addition[b].item_name,
1134
-                      price: prescription.addition[b].price,
1135
-                      count: prescription.addition[b].count,
1136
-                      item_id: prescription.addition[b].item_id
1137
-                    }
1138
-                    tempAddition.push(obj)
1139
-                  }
1130
+                  // for (let b = 0; b < prescription.addition.length; b++) {
1131
+                  //   let obj = {
1132
+                  //     id: prescription.addition[b].id,
1133
+                  //     item_name: prescription.addition[b].item_name,
1134
+                  //     price: prescription.addition[b].price,
1135
+                  //     count: prescription.addition[b].count,
1136
+                  //     item_id: prescription.addition[b].item_id
1137
+                  //   }
1138
+                  //   tempAddition.push(obj)
1139
+                  // }
1140 1140
 
1141 1141
                   let index = i + 1
1142 1142
                   let obj = {
@@ -1248,16 +1248,16 @@
1248 1248
                   }
1249 1249
 
1250 1250
                   //附加收费
1251
-                  for (let b = 0; b < prescription.addition.length; b++) {
1252
-                    let obj = {
1253
-                      id: prescription.addition[b].id,
1254
-                      item_name: prescription.addition[b].item_name,
1255
-                      price: prescription.addition[b].price,
1256
-                      count: prescription.addition[b].count,
1257
-                      item_id: prescription.addition[b].item_id
1258
-                    }
1259
-                    tempAddition.push(obj)
1260
-                  }
1251
+                  // for (let b = 0; b < prescription.addition.length; b++) {
1252
+                  //   let obj = {
1253
+                  //     id: prescription.addition[b].id,
1254
+                  //     item_name: prescription.addition[b].item_name,
1255
+                  //     price: prescription.addition[b].price,
1256
+                  //     count: prescription.addition[b].count,
1257
+                  //     item_id: prescription.addition[b].item_id
1258
+                  //   }
1259
+                  //   tempAddition.push(obj)
1260
+                  // }
1261 1261
 
1262 1262
                   let index = i + 1
1263 1263
                   let obj = {
@@ -3233,7 +3233,7 @@
3233 3233
         }
3234 3234
       }
3235 3235
     }
3236
-  
3236
+
3237 3237
 
3238 3238
   }
3239 3239
 </script>