浏览代码

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

csx 3 年前
父节点
当前提交
c453b0cee8

+ 6 - 0
src/xt_pages/hospitalStation/components/ChargePrescriptionTable.vue 查看文件

47
         </template>
47
         </template>
48
       </el-table-column>
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
       <el-table-column align="center" prop="name" width="60" label="执行状态">
57
       <el-table-column align="center" prop="name" width="60" label="执行状态">
52
         <template slot-scope="scope">
58
         <template slot-scope="scope">

+ 18 - 0
src/xt_pages/hospitalStation/components/settlePrescriptionTable.vue 查看文件

46
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
46
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
47
         </template>
47
         </template>
48
       </el-table-column>
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
       <el-table-column align="center" prop="name" width="50" label="备注">
59
       <el-table-column align="center" prop="name" width="50" label="备注">
50
         <template slot-scope="scope">
60
         <template slot-scope="scope">
51
           <!--<el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder="" readonly></el-input>-->
61
           <!--<el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder="" readonly></el-input>-->
105
 
115
 
106
         </template>
116
         </template>
107
       </el-table-column>
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
       <el-table-column align="center" prop="name" width="50" label="备注">
126
       <el-table-column align="center" prop="name" width="50" label="备注">
109
         <template slot-scope="scope">
127
         <template slot-scope="scope">
110
           <!--<el-input v-model="scope.row.remark" readonly></el-input>-->
128
           <!--<el-input v-model="scope.row.remark" readonly></el-input>-->