Kaynağa Gözat

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

XMLWAN 4 yıl önce
ebeveyn
işleme
e24d545d5c

+ 62 - 63
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Dosyayı Görüntüle

@@ -29,8 +29,7 @@
29 29
           </el-radio-group>
30 30
         </div>
31 31
         <div class="mainCell" style="margin-bottom:10px;">
32
-          <el-input size="small" v-model="key" class="filter-item"/>
33
-
32
+          <!--<el-input size="small" v-model="key" class="filter-item"/>-->
34 33
           <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
35 34
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
36 35
             搜索
@@ -87,20 +86,20 @@
87 86
           <!--&gt;退号-->
88 87
           <!--</el-button>-->
89 88
 
90
-          <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"
91
-                     size="small" @click="open(11)" type="primary"
92
-          >撤销明细
93
-          </el-button>
89
+          <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"-->
90
+                     <!--size="small" @click="open(11)" type="primary"-->
91
+          <!--&gt;撤销明细-->
92
+          <!--</el-button>-->
94 93
 
95 94
 
96 95
           <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(12)" type="primary"-->
97 96
           <!--&gt;查编码-->
98 97
           <!--</el-button>-->
99 98
 
100
-          <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"
101
-                     size="small" @click="open(13)" type="primary"
102
-          >查待遇
103
-          </el-button>
99
+          <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"-->
100
+                     <!--size="small" @click="open(13)" type="primary"-->
101
+          <!--&gt;查待遇-->
102
+          <!--</el-button>-->
104 103
 
105 104
 
106 105
         </div>
@@ -179,61 +178,61 @@
179 178
                 </div>
180 179
               </div>
181 180
             </el-tab-pane>
182
-            <!--<el-tab-pane label="月结" name="second">-->
183
-            <!--<div style="display:flex;height:100%;">-->
184
-            <!--<div class="centerLeft">-->
185
-            <!--<div class="tabsBox">-->
186
-            <!--&lt;!&ndash;<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>&ndash;&gt;-->
187
-            <!--<el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>-->
188
-
189
-            <!--<el-tab-pane-->
190
-            <!--v-for="(item, index) in month_prescriptions"-->
191
-            <!--:key="index"-->
192
-            <!--:label="item.name"-->
193
-            <!--:name="item.name"-->
194
-            <!--&gt;-->
195
-            <!--</el-tab-pane>-->
196
-
197
-            <!--<div class="RP">-->
198
-            <!--Rp-->
199
-            <!--<el-date-picker-->
200
-            <!--v-model="other_start_time"-->
201
-            <!--prefix-icon="el-icon-date"-->
202
-            <!--@change="changeTime"-->
203
-            <!--:editable="false"-->
204
-            <!--style="width: 150px;"-->
205
-            <!--type="date"-->
206
-            <!--:picker-options="pickerOptions"-->
207
-            <!--placeholder="选择开始时间"-->
208
-            <!--align="right"-->
209
-            <!--format="yyyy-MM-dd"-->
210
-            <!--value-format="yyyy-MM-dd"-->
211
-            <!--&gt;</el-date-picker>-->
212
-            <!--<span class>-</span>-->
213
-            <!--<el-date-picker-->
214
-            <!--v-model="other_end_time"-->
215
-            <!--prefix-icon="el-icon-date"-->
216
-            <!--@change="changeEndTime"-->
217
-            <!--:editable="false"-->
218
-            <!--style="width: 150px;"-->
219
-            <!--type="date"-->
220
-            <!--placeholder="选择结束时间"-->
221
-            <!--align="right"-->
222
-            <!--format="yyyy-MM-dd"-->
223
-            <!--value-format="yyyy-MM-dd"-->
224
-            <!--&gt;</el-date-picker>-->
225
-            <!--</div>-->
226
-            <!--&lt;!&ndash;<prescription-table :preTableData='preTableData'></prescription-table>&ndash;&gt;-->
227
-            <!--</el-tabs>-->
181
+            <el-tab-pane label="月结" name="second">
182
+            <div style="display:flex;height:100%;">
183
+            <div class="centerLeft">
184
+            <div class="tabsBox">
185
+            <!--<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>-->
186
+            <el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>
187
+
188
+            <el-tab-pane
189
+            v-for="(item, index) in month_prescriptions"
190
+            :key="index"
191
+            :label="item.name"
192
+            :name="item.name"
193
+            >
194
+            </el-tab-pane>
228 195
 
196
+            <div class="RP">
197
+            Rp
198
+            <el-date-picker
199
+            v-model="other_start_time"
200
+            prefix-icon="el-icon-date"
201
+            @change="changeTime"
202
+            :editable="false"
203
+            style="width: 150px;"
204
+            type="date"
205
+            :picker-options="pickerOptions"
206
+            placeholder="选择开始时间"
207
+            align="right"
208
+            format="yyyy-MM-dd"
209
+            value-format="yyyy-MM-dd"
210
+            ></el-date-picker>
211
+            <span class>-</span>
212
+            <el-date-picker
213
+            v-model="other_end_time"
214
+            prefix-icon="el-icon-date"
215
+            @change="changeEndTime"
216
+            :editable="false"
217
+            style="width: 150px;"
218
+            type="date"
219
+            placeholder="选择结束时间"
220
+            align="right"
221
+            format="yyyy-MM-dd"
222
+            value-format="yyyy-MM-dd"
223
+            ></el-date-picker>
224
+            </div>
225
+            <!--<prescription-table :preTableData='preTableData'></prescription-table>-->
226
+            </el-tabs>
227
+
228
+            </div>
229
+            <!--<div class="costBox">-->
230
+            <!--<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>-->
231
+            <!--<span>{{ state }}</span>-->
229 232
             <!--</div>-->
230
-            <!--&lt;!&ndash;<div class="costBox">&ndash;&gt;-->
231
-            <!--&lt;!&ndash;<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>&ndash;&gt;-->
232
-            <!--&lt;!&ndash;<span>{{ state }}</span>&ndash;&gt;-->
233
-            <!--&lt;!&ndash;</div>&ndash;&gt;-->
234
-            <!--</div>-->
235
-            <!--</div>-->
236
-            <!--</el-tab-pane>-->
233
+            </div>
234
+            </div>
235
+            </el-tab-pane>
237 236
           </el-tabs>
238 237
 
239 238
 

+ 1 - 1
src/xt_pages/outpatientCharges/statementPrint.vue Dosyayı Görüntüle

@@ -150,7 +150,7 @@ export default {
150 150
 
151 151
     },
152 152
     getInfo(order_id) {
153
-      if (this.$store.getters.xt_user.org_id == 4) {
153
+      if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
154 154
 
155 155
         var that = this
156 156
 

+ 3 - 3
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue Dosyayı Görüntüle

@@ -186,9 +186,9 @@
186 186
             </tr>
187 187
             <tr>
188 188
                 <td>合计</td>
189
-                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total + info.operation_cost_total + info.other_cost_total + info.material_cost_total + info.western_medicine_cost_total + info.chinese_traditional_medicine_cost_total + info.check_cost_total + info.laboratory_cost_total + info.treat_cost_total}}</td>
190
-                <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total + info.operation_cost_self_total + info.other_cost_self_total + info.material_cost_self_total + info.western_medicine_cost_self_total + info.chinese_traditional_medicine_cost_self_total + info.check_cost_self_total + info.laboratory_cost_self_total + info.treat_cost_self_total}}</td>
191
-                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total + info.operation_cost_part_self_total + info.other_cost_part_self_total + info.material_cost_part_self_total + info.western_medicine_cost_part_self_total + info.chinese_traditional_medicine_cost_part_self_total + info.check_cost_part_self_total + info.laboratory_cost_part_self_total + info.treat_cost_part_self_total}}</td>
189
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{(info.bed_cost_total + info.operation_cost_total + info.other_cost_total + info.material_cost_total + info.western_medicine_cost_total + info.chinese_traditional_medicine_cost_total + info.check_cost_total + info.laboratory_cost_total + info.treat_cost_total) * 100 /100 }}</td>
190
+                <td style="text-align:right;padding-right:10px;">{{(info.bed_cost_self_total + info.operation_cost_self_total + info.other_cost_self_total + info.material_cost_self_total + info.western_medicine_cost_self_total + info.chinese_traditional_medicine_cost_self_total + info.check_cost_self_total + info.laboratory_cost_self_total + info.treat_cost_self_total)*100/100}}</td>
191
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{(info.bed_cost_part_self_total + info.operation_cost_part_self_total + info.other_cost_part_self_total + info.material_cost_part_self_total + info.western_medicine_cost_part_self_total + info.chinese_traditional_medicine_cost_part_self_total + info.check_cost_part_self_total + info.laboratory_cost_part_self_total + info.treat_cost_part_self_total)*100/100}}</td>
192 192
                 <td style="text-align:right;padding-right:10px;"></td>
193 193
                 <td colspan="2" style="text-align:right;padding-right:10px;"></td>
194 194
                 <td style="text-align:right;padding-right:10px;"></td>

+ 2 - 1
src/xt_pages/outpatientDoctorStation/components/callPrescription.vue Dosyayı Görüntüle

@@ -276,7 +276,7 @@
276 276
                 delivery_way: prescription.project[b].delivery_way,
277 277
                 execution_frequency: prescription.project[b].execution_frequency,
278 278
                 number_days: prescription.project[b].day,
279
-                total:prescription.project[b].count.toString(),
279
+                total:prescription.project[b].count,
280 280
                 price:prescription.project[b].price,
281 281
                 remark:prescription.project[b].remark,
282 282
                 medical_code:prescription.project[b].project.medical_code,
@@ -288,6 +288,7 @@
288 288
               advices: tempAdvice,
289 289
               project: tempProject,
290 290
               addition:tempAddition,
291
+              type:prescription.type,
291 292
               order_status:0,
292 293
             }
293 294
             prescriptions.push(obj)

+ 4 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Dosyayı Görüntüle

@@ -85,8 +85,8 @@
85 85
                 v-model="item.pre_time"
86 86
                 type="datetime"
87 87
                 :clearable="false"
88
-                format="yyyy-MM-dd hh:mm"
89
-                value-format="yyyy-MM-dd hh:mm"
88
+                format="yyyy-MM-dd HH:mm"
89
+                value-format="yyyy-MM-dd HH:mm"
90 90
                 placeholder="选择日期">
91 91
               </el-date-picker>
92 92
               <div style="float: right;margin-bottom:5px;margin-right:1%;">
@@ -105,12 +105,12 @@
105 105
                 </el-button>
106 106
               </div>
107 107
             </div>
108
-              
108
+
109 109
 
110 110
             </el-tab-pane>
111 111
             <el-tab-pane name="more" closable><span slot="label"><i class="el-icon-plus" @click="addTab"></i></span>
112 112
             </el-tab-pane>
113
-            
113
+
114 114
             <prescription-table ref="prescription_tables" :prescription="curPrescriptions" :preDrugs="preDrugs"
115 115
                                 :activeType="customTabIndex"></prescription-table>
116 116
           </el-tabs>