瀏覽代碼

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

csx 3 年之前
父節點
當前提交
52c6ce2261

+ 3 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

@@ -3807,6 +3807,9 @@
3807 3807
             if (this.radio == 1) {
3808 3808
               this.all_table_data = this.unique_four(this.all_table_data)
3809 3809
             }
3810
+            console.log("~~~~~~~~~~")
3811
+
3812
+            console.log(this.all_table_data)
3810 3813
 
3811 3814
             switch (this.radio) {
3812 3815
               case 1:

+ 9 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

@@ -387,6 +387,9 @@
387 387
                                         <el-table-column label="规格" width="60">
388 388
                                             <template slot-scope="scope">{{ scope.row.single_dose }}</template>
389 389
                                         </el-table-column>
390
+                                        <el-table-column label="库存" width="40">
391
+                                            <template slot-scope="scope">{{ scope.row.total }}</template>
392
+                                        </el-table-column>
390 393
                                         <el-table-column label="单价" width="40">
391 394
                                             <template slot-scope="scope">{{ scope.row.price }}</template>
392 395
                                         </el-table-column>
@@ -2750,7 +2753,8 @@
2750 2753
                 price: project[i].price,
2751 2754
                 medical_code: project[i].medical_code,
2752 2755
                 unit: project[i].unit,
2753
-                type: 2
2756
+                type: 2,
2757
+                total:project[i].total
2754 2758
               }
2755 2759
 
2756 2760
               this.tabProject.push(obj)
@@ -2763,14 +2767,15 @@
2763 2767
                 id: good_info[i].id,
2764 2768
                 project_name: good_info[i].good_name,
2765 2769
                 statistical_classification: 0,
2766
-                single_dose: 1,
2770
+                single_dose: good_info[i].specification_name,
2767 2771
                 delivery_way: '',
2768 2772
                 execution_frequency: '',
2769 2773
                 number_days: 1,
2770
-                price: good_info[i].retail_price,
2774
+                price: good_info[i].packing_price,
2771 2775
                 medical_code: good_info[i].medical_insurance_number,
2772 2776
                 unit: this.getGoodUnit(good_info[i].good_unit),
2773
-                type: 3
2777
+                type: 3,
2778
+                total:good_info[i].total
2774 2779
               }
2775 2780
               this.tabProject.push(obj)
2776 2781
             }