Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 10 months ago
parent
commit
b020246eb3

+ 5 - 1
src/xt_pages/outpatientCharges/components/chargeDialog.vue View File

@@ -153,7 +153,7 @@
153 153
 
154 154
     <span slot="footer" class="dialog-footer">
155 155
     <el-button @click="cancel('formValue')">取 消</el-button>
156
-    <el-button type="primary" @click="confirm('formValue')">确 定</el-button>
156
+    <el-button type="primary" :disabled="loading"  @click="confirm('formValue')">确 定</el-button>
157 157
   </span>
158 158
   </el-dialog>
159 159
 
@@ -180,6 +180,7 @@
180 180
         IsShow:false,
181 181
         tmp_pay:"",//临时付款金额
182 182
         isshow:false,
183
+        loading:false,
183 184
         id:0,
184 185
         decimal:0,//当前押金余额
185 186
         record_date:'',
@@ -392,6 +393,7 @@
392 393
         this.visibility = true
393 394
 
394 395
       }, hide: function () {
396
+        this.loading = false
395 397
         this.form = Object.assign({}, this.resetForm)
396 398
         this.loadingtwo = false
397 399
         this.visibility = false
@@ -409,9 +411,11 @@
409 411
         }
410 412
         this.$refs['formValue'].validate((valid) => {
411 413
           if (valid) {
414
+            this.loading = true
412 415
             let value = {}
413 416
             value = this.getValue()
414 417
             console.log(value)
418
+
415 419
             this.$emit('confirm', value)
416 420
 
417 421
             this.loadingtwo = true

+ 14 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -1676,6 +1676,7 @@ export default {
1676 1676
             this.loadingtwo = false
1677 1677
             this.newLoading = false
1678 1678
             this.$refs.charge.hide()
1679
+
1679 1680
             return false
1680 1681
           } else {
1681 1682
             if(response.data.data.msg == 2){
@@ -1790,9 +1791,8 @@ export default {
1790 1791
                 name = this.patientTableData[i].name
1791 1792
               }
1792 1793
             }
1793
-            this.$refs.call_prescription.show(name, id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id,response.data.data.patient_id)
1794
+            this.$refs.call_prescription.show(name, id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id)
1794 1795
 
1795
-            // this.$refs.call_prescription.show(this.patientInfo.name, this.patientInfo.id,  this.record_date, this.record_date,response.data.data.ps,response.data.data.his_patient_id,response.data.data.patient_id)
1796 1796
           }
1797 1797
         }
1798 1798
       })
@@ -3748,9 +3748,18 @@ export default {
3748 3748
               that.$message.error(response.data.msg)
3749 3749
               return false
3750 3750
             } else {
3751
-              that.changeRadioAndPatient(1)
3752
-              // that.$message({ message: '退号成功', type: 'success' })
3753
-              that.$message({ message: '退明细成功', type: 'success', duration: 5000 })
3751
+              if (response.data.data.failed_code == -10) {
3752
+                that.$confirm(response.data.data.msg, '医保错误信息', {
3753
+                  confirmButtonText: '确 定',
3754
+                  type: 'warning'
3755
+                }).then(() => {
3756
+
3757
+                }).catch(() => {
3758
+                })
3759
+              }else{
3760
+                that.changeRadioAndPatient(1)
3761
+                that.$message({ message: '退明细成功', type: 'success', duration: 5000 })
3762
+              }
3754 3763
             }
3755 3764
           })
3756 3765
           .catch(function(error) {

+ 2 - 2
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -369,7 +369,7 @@
369 369
             <template slot-scope="scope">
370 370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
371 371
                   <td style="border-right: none; border-inline-end: none;text-align: center">
372
-                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217  && org_id!=0 && org_id!=10088 ">
372
+                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217  && org_id!=0 && org_id!=10088 && org_id!=10510">
373 373
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
374 374
                     <span v-if="is_sys == 0">
375 375
                       <span v-if="scope.row.child.length == 1">{{item.count * item.retail_price}} </span> 
@@ -377,7 +377,7 @@
377 377
                     </span>
378 378
                     </span>
379 379
 
380
-                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id==0 || org_id ==10088">
380
+                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id==0 || org_id ==10088 || org_id ==10510">
381 381
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
382 382
                      <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{(getOutCountNightTen(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*scope.row.min_price).toFixed(2)}}</span>  
383 383
                      <span v-if="is_sys==0"> {{(getOutCountNightTenOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*item.price).toFixed(2)}}</span>