Browse Source

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

csx 3 years ago
parent
commit
c453b0cee8

+ 6 - 0
src/xt_pages/hospitalStation/components/ChargePrescriptionTable.vue View File

@@ -47,6 +47,12 @@
47 47
         </template>
48 48
       </el-table-column>
49 49
 
50
+      <el-table-column align="center" prop="name" width="60" label="总价">
51
+        <template slot-scope="scope">
52
+          <div> {{scope.row.retail_price * scope.row.prescribing_number}}元</div>
53
+        </template>
54
+      </el-table-column>
55
+
50 56
 
51 57
       <el-table-column align="center" prop="name" width="60" label="执行状态">
52 58
         <template slot-scope="scope">

+ 18 - 0
src/xt_pages/hospitalStation/components/settlePrescriptionTable.vue View File

@@ -46,6 +46,16 @@
46 46
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
47 47
         </template>
48 48
       </el-table-column>
49
+      <el-table-column align="center" prop="name" width="60" label="总价">
50
+        <template slot-scope="scope">
51
+          <div> {{scope.row.prescribing_number * scope.row.retail_price}}元</div>
52
+
53
+          <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
54
+        </template>
55
+      </el-table-column>
56
+
57
+
58
+
49 59
       <el-table-column align="center" prop="name" width="50" label="备注">
50 60
         <template slot-scope="scope">
51 61
           <!--<el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder="" readonly></el-input>-->
@@ -105,6 +115,14 @@
105 115
 
106 116
         </template>
107 117
       </el-table-column>
118
+
119
+      <el-table-column align="center" prop="name" width="60" label="总价">
120
+        <template slot-scope="scope">
121
+          <div> {{scope.row.total * scope.row.price}}元</div>
122
+
123
+          <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
124
+        </template>
125
+      </el-table-column>
108 126
       <el-table-column align="center" prop="name" width="50" label="备注">
109 127
         <template slot-scope="scope">
110 128
           <!--<el-input v-model="scope.row.remark" readonly></el-input>-->