浏览代码

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

yq1 1 个月前
父节点
当前提交
2f6aafcfec

+ 36 - 6
src/xt_pages/eleFaPiao/settleDetail.vue 查看文件

@@ -168,7 +168,7 @@
168 168
           </template>
169 169
         </el-table-column>
170 170
 
171
-        <el-table-column align="center" prop="name" label="操作" v-if="$store.getters.xt_user.org_id != 10318">
171
+        <el-table-column align="center" prop="name" label="操作" v-if="$store.getters.xt_user.org_id != 10318 && $store.getters.xt_user.org_id != 0">
172 172
           <template slot-scope="scope">
173 173
             <el-button v-if="scope.row.result.id == 0" size="mini" type="primary"
174 174
                         @click="blue(scope.row)">
@@ -212,10 +212,10 @@
212 212
                        @click="yulan(scope.row)">
213 213
               下载
214 214
             </el-button>
215
-            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.fapiao_status > 0"
216
-                       @click="BWchaxun(scope.row)">
217
-              查询并同步发票号码
218
-            </el-button>
215
+<!--            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.fapiao_status > 0"-->
216
+<!--                       @click="BWchaxun(scope.row)">-->
217
+<!--              查询并同步发票号码-->
218
+<!--            </el-button>-->
219 219
           </template>
220 220
         </el-table-column>
221 221
 
@@ -441,7 +441,7 @@ export default {
441 441
         "admin_user_id":this.$store.getters.xt_user.user.id,
442 442
       }
443 443
       var that = this;
444
-      axios.get('http://127.0.0.1:9532/api/fapiao/query',{params:params}).then(function(response) {
444
+      axios.get('http://127.0.0.1:9532/api/bwfapiao/query',{params:params}).then(function(response) {
445 445
         if (response.data.state == 0) {
446 446
           that.$message.error(response.data.data.msg);
447 447
           return false
@@ -867,8 +867,38 @@ export default {
867 867
 
868 868
 
869 869
     }, BWchaxun(row){
870
+      let params = {
871
+        "id": row.result.id,
872
+        "admin_user_id":this.$store.getters.xt_user.user.id,
873
+      }
874
+      var that = this;
875
+      axios.get('http://127.0.0.1:9531/api/bwfapiao/query',{params:params}).then(function(response) {
876
+        if (response.data.state == 0) {
877
+          that.$message.error(response.data.data.msg);
878
+          return false
879
+        } else {
880
+          if(response.data.data.failed_code == -10){
881
+            that.settlementVisible = false
882
+            that.$confirm(response.data.data.msg, '错误信息', {
883
+              confirmButtonText: '确 定',
884
+              type: 'warning'
885
+            }).then(() => {
870 886
 
887
+            }).catch(() => {
888
+            })
889
+          }else{
890
+            that.getHisOrderList()
891
+            that.$confirm(response.data.data.msg, '信息', {
892
+              confirmButtonText: '确 定',
893
+              type: 'warning'
894
+            }).then(() => {
871 895
 
896
+            }).catch(() => {
897
+            })
898
+          }
899
+        }
900
+      }).catch(function(error) {
901
+      })
872 902
 
873 903
 
874 904
     },yulan(row){

+ 2 - 2
src/xt_pages/hospitalStation/statementTemplate/printOne.vue 查看文件

@@ -106,9 +106,9 @@
106 106
         <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
107 107
         <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
108 108
         <td>入院第一诊断</td>
109
-        <td colspan="3">{{info.diagnosis}}</td>
109
+        <td colspan="3">{{"慢性肾功能不全(血透治疗)"}}</td>
110 110
         <td>出院第一诊断</td>
111
-        <td colspan="4">{{info.diagnosis}}</td>
111
+        <td colspan="4">{{"慢性肾功能不全(血透治疗)"}}</td>
112 112
 
113 113
 
114 114
       </tr>

+ 4 - 2
src/xt_pages/role/components/AdminInfoForm.vue 查看文件

@@ -461,7 +461,8 @@ export default {
461 461
         { index: 2, name: '医生' },
462 462
         { index: 3, name: '护士' },
463 463
         { index: 4, name: '行政' },
464
-        { index: 5, name: '其他' }
464
+        { index: 5, name: '其他' },
465
+        { index: 6, name: '药师' }
465 466
       ],
466 467
       user_titles: [
467 468
         { index: 1, name: '医士' },
@@ -476,7 +477,8 @@ export default {
476 477
         { index: 10, name: '副主任护师' },
477 478
         { index: 11, name: '主任护师' },
478 479
         { index: 12, name: '运营专员' },
479
-        { index: 13, name: '运营主管' }
480
+        { index: 13, name: '运营主管' },
481
+        { index: 14, name: '其他' }
480 482
       ],
481 483
       roles: [], // [{id, name, intro, status}]
482 484
       loading: true,

+ 1 - 0
src/xt_pages/role/components/EditAdminInfo.vue 查看文件

@@ -90,6 +90,7 @@ export default {
90 90
                 { index: 11, name: '主任护师' },
91 91
                 { index: 12, name: '运营专员' },
92 92
                 { index: 13, name: '运营主管' },
93
+                {  index:14, name:  "其他"}
93 94
             ],
94 95
             roles: [], // [{id, name, intro, status}]
95 96
             loading: true,

+ 5 - 7
src/xt_pages/stock/drugs/drugStockFlow.vue 查看文件

@@ -708,21 +708,19 @@
708 708
             }
709 709
 
710 710
            
711
-            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number) >0)){
712
-            
711
+            if((this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7 ) && (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number) >0)){
712
+             
713
+              console.log("hhhhhhhhhhhhhhhhhhhhhh1111")
713 714
               this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.min_unit
714 715
               
715 716
             }
716 717
 
717
-            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number) >0)){
718
-             
718
+            if((this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7)  && (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number) >0)){
719
+              console.log("hhhhhhhhhhhhhhhhhhhhhh2222")
719 720
               this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.max_unit
720 721
              
721 722
             }
722 723
 
723
-            
724
-
725
-
726 724
 
727 725
             if(this.tableList[i].price>0){
728 726
               this.tableList[i].total_price = this.tableList[i].price