瀏覽代碼

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

csx 3 年之前
父節點
當前提交
f70c6ee33e
共有 1 個文件被更改,包括 69 次插入69 次删除
  1. 69 69
      src/xt_pages/hospitalStation/doctorDesk.vue

+ 69 - 69
src/xt_pages/hospitalStation/doctorDesk.vue 查看文件

@@ -639,15 +639,15 @@
639 639
             }
640 640
           }
641 641
           //附加收费
642
-          for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
643
-            let obj = {
644
-              id: month_prescriptions[i].addition[a].item_id,
645
-              price: month_prescriptions[i].addition[a].price
646
-
647
-            }
648
-            additions_ids.push(obj)
649
-            addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
650
-          }
642
+          // for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
643
+          //   let obj = {
644
+          //     id: month_prescriptions[i].addition[a].item_id,
645
+          //     price: month_prescriptions[i].addition[a].price
646
+          //
647
+          //   }
648
+          //   additions_ids.push(obj)
649
+          //   addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
650
+          // }
651 651
         }
652 652
 
653 653
         const obj = {}
@@ -1169,16 +1169,16 @@
1169 1169
                 }
1170 1170
 
1171 1171
                 //附加收费
1172
-                for (let b = 0; b < prescription.addition.length; b++) {
1173
-                  let obj = {
1174
-                    id: prescription.addition[b].id,
1175
-                    item_name: prescription.addition[b].item_name,
1176
-                    price: prescription.addition[b].price,
1177
-                    count: prescription.addition[b].count,
1178
-                    item_id: prescription.addition[b].item_id
1179
-                  }
1180
-                  tempAddition.push(obj)
1181
-                }
1172
+                // for (let b = 0; b < prescription.addition.length; b++) {
1173
+                //   let obj = {
1174
+                //     id: prescription.addition[b].id,
1175
+                //     item_name: prescription.addition[b].item_name,
1176
+                //     price: prescription.addition[b].price,
1177
+                //     count: prescription.addition[b].count,
1178
+                //     item_id: prescription.addition[b].item_id
1179
+                //   }
1180
+                //   tempAddition.push(obj)
1181
+                // }
1182 1182
 
1183 1183
                 var preTime = ''
1184 1184
 
@@ -1545,16 +1545,16 @@
1545 1545
                       }
1546 1546
 
1547 1547
                       //附加收费
1548
-                      for (let b = 0; b < prescription.addition.length; b++) {
1549
-                        let obj = {
1550
-                          id: prescription.addition[b].id,
1551
-                          item_name: prescription.addition[b].item_name,
1552
-                          price: prescription.addition[b].price,
1553
-                          count: prescription.addition[b].count,
1554
-                          item_id: prescription.addition[b].item_id
1555
-                        }
1556
-                        tempAddition.push(obj)
1557
-                      }
1548
+                      // for (let b = 0; b < prescription.addition.length; b++) {
1549
+                      //   let obj = {
1550
+                      //     id: prescription.addition[b].id,
1551
+                      //     item_name: prescription.addition[b].item_name,
1552
+                      //     price: prescription.addition[b].price,
1553
+                      //     count: prescription.addition[b].count,
1554
+                      //     item_id: prescription.addition[b].item_id
1555
+                      //   }
1556
+                      //   tempAddition.push(obj)
1557
+                      // }
1558 1558
 
1559 1559
                       var preTime = ''
1560 1560
 
@@ -2021,16 +2021,16 @@
2021 2021
                       }
2022 2022
 
2023 2023
                       //附加收费
2024
-                      for (let b = 0; b < prescription.addition.length; b++) {
2025
-                        let obj = {
2026
-                          id: prescription.addition[b].id,
2027
-                          item_name: prescription.addition[b].item_name,
2028
-                          price: prescription.addition[b].price,
2029
-                          count: prescription.addition[b].count,
2030
-                          item_id: prescription.addition[b].item_id
2031
-                        }
2032
-                        tempAddition.push(obj)
2033
-                      }
2024
+                      // for (let b = 0; b < prescription.addition.length; b++) {
2025
+                      //   let obj = {
2026
+                      //     id: prescription.addition[b].id,
2027
+                      //     item_name: prescription.addition[b].item_name,
2028
+                      //     price: prescription.addition[b].price,
2029
+                      //     count: prescription.addition[b].count,
2030
+                      //     item_id: prescription.addition[b].item_id
2031
+                      //   }
2032
+                      //   tempAddition.push(obj)
2033
+                      // }
2034 2034
 
2035 2035
                       var preTime = ''
2036 2036
 
@@ -2477,16 +2477,16 @@
2477 2477
                     }
2478 2478
 
2479 2479
                     //附加收费
2480
-                    for (let b = 0; b < prescription.addition.length; b++) {
2481
-                      let obj = {
2482
-                        id: prescription.addition[b].id,
2483
-                        item_name: prescription.addition[b].item_name,
2484
-                        price: prescription.addition[b].price,
2485
-                        count: prescription.addition[b].count,
2486
-                        item_id: prescription.addition[b].item_id
2487
-                      }
2488
-                      tempAddition.push(obj)
2489
-                    }
2480
+                    // for (let b = 0; b < prescription.addition.length; b++) {
2481
+                    //   let obj = {
2482
+                    //     id: prescription.addition[b].id,
2483
+                    //     item_name: prescription.addition[b].item_name,
2484
+                    //     price: prescription.addition[b].price,
2485
+                    //     count: prescription.addition[b].count,
2486
+                    //     item_id: prescription.addition[b].item_id
2487
+                    //   }
2488
+                    //   tempAddition.push(obj)
2489
+                    // }
2490 2490
 
2491 2491
                     var preTime = ''
2492 2492
 
@@ -2992,16 +2992,16 @@
2992 2992
                       }
2993 2993
 
2994 2994
                       //附加收费
2995
-                      for (let b = 0; b < prescription.addition.length; b++) {
2996
-                        let obj = {
2997
-                          id: prescription.addition[b].id,
2998
-                          item_name: prescription.addition[b].item_name,
2999
-                          price: prescription.addition[b].price,
3000
-                          count: prescription.addition[b].count,
3001
-                          item_id: prescription.addition[b].item_id
3002
-                        }
3003
-                        tempAddition.push(obj)
3004
-                      }
2995
+                      // for (let b = 0; b < prescription.addition.length; b++) {
2996
+                      //   let obj = {
2997
+                      //     id: prescription.addition[b].id,
2998
+                      //     item_name: prescription.addition[b].item_name,
2999
+                      //     price: prescription.addition[b].price,
3000
+                      //     count: prescription.addition[b].count,
3001
+                      //     item_id: prescription.addition[b].item_id
3002
+                      //   }
3003
+                      //   tempAddition.push(obj)
3004
+                      // }
3005 3005
 
3006 3006
                       var preTime = ''
3007 3007
 
@@ -3537,16 +3537,16 @@
3537 3537
                       }
3538 3538
 
3539 3539
                       //附加收费
3540
-                      for (let b = 0; b < prescription.addition.length; b++) {
3541
-                        let obj = {
3542
-                          id: prescription.addition[b].id,
3543
-                          item_name: prescription.addition[b].item_name,
3544
-                          price: prescription.addition[b].price,
3545
-                          count: prescription.addition[b].count,
3546
-                          item_id: prescription.addition[b].item_id
3547
-                        }
3548
-                        tempAddition.push(obj)
3549
-                      }
3540
+                      // for (let b = 0; b < prescription.addition.length; b++) {
3541
+                      //   let obj = {
3542
+                      //     id: prescription.addition[b].id,
3543
+                      //     item_name: prescription.addition[b].item_name,
3544
+                      //     price: prescription.addition[b].price,
3545
+                      //     count: prescription.addition[b].count,
3546
+                      //     item_id: prescription.addition[b].item_id
3547
+                      //   }
3548
+                      //   tempAddition.push(obj)
3549
+                      // }
3550 3550
 
3551 3551
                       var preTime = ''
3552 3552