Sfoglia il codice sorgente

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

csx 3 anni fa
parent
commit
52c6ce2261

+ 3 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Vedi File

3807
             if (this.radio == 1) {
3807
             if (this.radio == 1) {
3808
               this.all_table_data = this.unique_four(this.all_table_data)
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
             switch (this.radio) {
3814
             switch (this.radio) {
3812
               case 1:
3815
               case 1:

+ 9 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Vedi File

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