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

csx 4 yıl önce
ebeveyn
işleme
6b101b2a95

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

@@ -87,7 +87,8 @@
87 87
           <!--&gt;退号-->
88 88
           <!--</el-button>-->
89 89
 
90
-          <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(11)" type="primary"
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"
91 92
           >撤销明细
92 93
           </el-button>
93 94
 
@@ -96,7 +97,8 @@
96 97
           <!--&gt;查编码-->
97 98
           <!--</el-button>-->
98 99
 
99
-          <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(13)" type="primary"
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"
100 102
           >查待遇
101 103
           </el-button>
102 104
 
@@ -178,59 +180,59 @@
178 180
               </div>
179 181
             </el-tab-pane>
180 182
             <!--<el-tab-pane label="月结" name="second">-->
181
-              <!--<div style="display:flex;height:100%;">-->
182
-                <!--<div class="centerLeft">-->
183
-                  <!--<div class="tabsBox">-->
184
-                    <!--&lt;!&ndash;<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>&ndash;&gt;-->
185
-                    <!--<el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>-->
186
-
187
-                      <!--<el-tab-pane-->
188
-                        <!--v-for="(item, index) in month_prescriptions"-->
189
-                        <!--:key="index"-->
190
-                        <!--:label="item.name"-->
191
-                        <!--:name="item.name"-->
192
-                      <!--&gt;-->
193
-                      <!--</el-tab-pane>-->
194
-
195
-                      <!--<div class="RP">-->
196
-                        <!--Rp-->
197
-                        <!--<el-date-picker-->
198
-                          <!--v-model="other_start_time"-->
199
-                          <!--prefix-icon="el-icon-date"-->
200
-                          <!--@change="changeTime"-->
201
-                          <!--:editable="false"-->
202
-                          <!--style="width: 150px;"-->
203
-                          <!--type="date"-->
204
-                          <!--:picker-options="pickerOptions"-->
205
-                          <!--placeholder="选择开始时间"-->
206
-                          <!--align="right"-->
207
-                          <!--format="yyyy-MM-dd"-->
208
-                          <!--value-format="yyyy-MM-dd"-->
209
-                        <!--&gt;</el-date-picker>-->
210
-                        <!--<span class>-</span>-->
211
-                        <!--<el-date-picker-->
212
-                          <!--v-model="other_end_time"-->
213
-                          <!--prefix-icon="el-icon-date"-->
214
-                          <!--@change="changeEndTime"-->
215
-                          <!--:editable="false"-->
216
-                          <!--style="width: 150px;"-->
217
-                          <!--type="date"-->
218
-                          <!--placeholder="选择结束时间"-->
219
-                          <!--align="right"-->
220
-                          <!--format="yyyy-MM-dd"-->
221
-                          <!--value-format="yyyy-MM-dd"-->
222
-                        <!--&gt;</el-date-picker>-->
223
-                      <!--</div>-->
224
-                      <!--&lt;!&ndash;<prescription-table :preTableData='preTableData'></prescription-table>&ndash;&gt;-->
225
-                    <!--</el-tabs>-->
226
-
227
-                  <!--</div>-->
228
-                  <!--&lt;!&ndash;<div class="costBox">&ndash;&gt;-->
229
-                    <!--&lt;!&ndash;<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>&ndash;&gt;-->
230
-                    <!--&lt;!&ndash;<span>{{ state }}</span>&ndash;&gt;-->
231
-                  <!--&lt;!&ndash;</div>&ndash;&gt;-->
232
-                <!--</div>-->
233
-              <!--</div>-->
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>-->
228
+
229
+            <!--</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>-->
234 236
             <!--</el-tab-pane>-->
235 237
           </el-tabs>
236 238
 
@@ -295,8 +297,8 @@
295 297
     data() {
296 298
       return {
297 299
         key: "",
298
-        other_start_time:"",
299
-        other_end_time:"",
300
+        other_start_time: "",
301
+        other_end_time: "",
300 302
         crumbs: [
301 303
           {path: false, name: '门诊收费'},
302 304
           {path: false, name: '门诊收费管理'}
@@ -365,25 +367,27 @@
365 367
       this.getPatientList()
366 368
     },
367 369
     methods: {
368
-      changeTime(val){
370
+      changeTime(val) {
369 371
         this.other_start_time = val
370 372
 
371 373
 
372
-      },changeEndTime(val){
374
+      }, changeEndTime(val) {
373 375
         this.other_end_time = val
374 376
 
375 377
 
376
-
377 378
       }, chargeConfirm(form) {
378 379
 
379 380
         form['id'] = this.patientInfo.id
380 381
         form['record_time'] = this.record_date
381
-        if(this.activeName == 'first'){
382
+        form['admin_user_id'] = this.$store.getters.xt_user.user.id
383
+
384
+        if (this.activeName == 'first') {
382 385
           form['settle_accounts_type'] = 1
383
-        }else {
386
+        } else {
384 387
           form['start_time'] = this.other_start_time
385 388
           form['end_time'] = this.other_end_time
386 389
           form['settle_accounts_type'] = 2
390
+
387 391
         }
388 392
 
389 393
         this.loadingtwo = true
@@ -439,8 +443,9 @@
439 443
       },
440 444
       confirm(forms) {
441 445
         forms['id'] = this.patientInfo.id,
442
-          forms['record_time'] = this.record_date,
443
-          this.loadingone = true
446
+        forms['record_time'] = this.record_date,
447
+        forms['admin_user_id'] = this.$store.getters.xt_user.user.id
448
+        this.loadingone = true
444 449
 
445 450
         if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
446 451
           var that = this
@@ -705,6 +710,8 @@
705 710
                 'number': this.order.number,
706 711
                 'patient_id': this.patientInfo.id,
707 712
                 'record_time': this.record_date,
713
+                'admin_user_id':this.$store.getters.xt_user.user.id
714
+
708 715
 
709 716
               }
710 717
               axios.get('http://127.0.0.1:9532/api/refund/post', {