Browse Source

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

yq1 6 months ago
parent
commit
c13b6cdb56

+ 6 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1208,8 +1208,8 @@
1208 1208
                               : "/"
1209 1209
                           }}
1210 1210
                         </div>
1211
-                        <span v-if="org_id!=10598"> ml</span>
1212
-                        <span v-if="org_id==10598"> L</span>
1211
+                        <span v-if="org_id!=10598 && org_id!=10471"> ml</span>
1212
+                        <span v-if="org_id==10598 || org_id ==10471"> L</span>
1213 1213
                       </div>
1214 1214
                       <div class="inline_block" style="flex: 1">
1215 1215
                         干体重:
@@ -1728,7 +1728,10 @@
1728 1728
                           </td>
1729 1729
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1730 1730
                           <td width="50" v-if=" org_id ==0 || org_id ==10489">超滤率<br />(ml/h)</td>
1731
-                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />(ml)</td>
1731
+                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />
1732
+                            <span v-if="org_id!=10471"> (ml)</span>
1733
+                            <span v-if="org_id==10471">L</span>
1734
+                          </td>
1732 1735
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1733 1736
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1734 1737
                           <td

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -20,8 +20,8 @@
20 20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
21 21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22 22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
23
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
24
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
23
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 " width="76px" > 超滤量(ml)</th>
24
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471"  width="76px"> 超滤量(L) </th>
25 25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26 26
           <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27 27
           <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>

+ 5 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1822,7 +1822,11 @@
1822 1822
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1823 1823
                         <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1824 1824
                         <td width="50" v-if="org_id ==10489">超滤率<br/>(ml/h)</td>
1825
-                        <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">超滤量<br />(ml)</td>
1825
+                        <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">
1826
+                          超滤量<br />
1827
+                         <span v-if="org_id == 10471">L</span>
1828
+                         <span v-if="org_id != 10471"> (ml)</span>
1829
+                        </td>
1826 1830
                         <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
1827 1831
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 ">累计超滤量<br />(ml)</td>
1828 1832
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0 && org_id!=10206" width="50">

+ 30 - 2
src/xt_pages/eleFaPiao/fapiao.vue View File

@@ -116,7 +116,7 @@
116 116
         <el-table-column align="center" prop="name" label="操作">
117 117
           <template slot-scope="scope">
118 118
 
119
-            <el-button v-if="scope.row.id > 0 && scope.row.is_red_washed == 1" size="mini" type="primary"
119
+            <el-button v-if="scope.row.id > 0 && scope.row.is_red_washed == 0" size="mini" type="primary"
120 120
                        @click="hongchong(scope.row)">
121 121
               红冲
122 122
             </el-button>
@@ -260,10 +260,38 @@ export default {
260 260
     blue(row){
261 261
 
262 262
     }, yulan(row){
263
-
263
+      window.open( row.pdf_url, "_blank");
264 264
 
265 265
     },hongchong(row){
266
+      var  id = row.id
267
+
268
+      let params = {
269
+        "id":id,
270
+        "admin_user_id":this.$store.getters.xt_user.user.id,
271
+      }
266 272
 
273
+      var that = this;
274
+      axios.get('http://127.0.0.1:9532/api/fapiao/red',{params:params}).then(function(response) {
275
+        if (response.data.state == 0) {
276
+          that.$message.error(response.data.data.msg);
277
+          return false
278
+        } else {
279
+          if(response.data.data.failed_code == -10){
280
+            that.$confirm(response.data.data.msg, '错误信息', {
281
+              confirmButtonText: '确 定',
282
+              type: 'warning'
283
+            }).then(() => {
284
+
285
+            }).catch(() => {
286
+            })
287
+          }else{
288
+            that.$message.success(response.data.data.msg)
289
+            that.getHisOrderList()
290
+          }
291
+
292
+        }
293
+      }).catch(function(error) {
294
+      })
267 295
     },
268 296
     getAllstaff(){
269 297
       adminMainView()

+ 23 - 23
src/xt_pages/eleFaPiao/settleDetail.vue View File

@@ -151,19 +151,24 @@
151 151
                         @click="blue(scope.row)">
152 152
               开票
153 153
             </el-button>
154
-            <el-button v-if="scope.row.result.id > 0 && scope.row.result.fapiao_status == 1" disabled="true" size="mini" type="primary"
155
-                       @click="blue(scope.row)">
154
+            <el-button v-if="scope.row.result.id > 0  && scope.row.result.fapiao_status == '1'" disabled="true" size="mini" type="primary"
155
+            >
156 156
               开票审核中
157 157
             </el-button>
158
-            <el-button v-if="scope.row.result.id > 0 && scope.row.result.is_red_washed == 0 && scope.row.result.fapiao_status == 2" size="mini" type="primary"
158
+            <el-button v-if="scope.row.result.id == 0 && scope.row.result.fapiao_status == '3'" size="mini" type="primary"
159
+                       @click="blue(scope.row)">
160
+              开具蓝票失败,点击查看原因
161
+            </el-button>
162
+            <el-button v-if="scope.row.result.id > 0 && scope.row.result.is_red_washed == 0 && scope.row.result.fapiao_status == '2'" size="mini" type="primary"
159 163
                         @click="hongchong(scope.row)">
160 164
               红冲
161 165
             </el-button>
162
-            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.is_red_washed == 0 && scope.row.result.fapiao_status == 2"
166
+            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.is_red_washed == 0 && scope.row.result.fapiao_status == '2'"
163 167
                        @click="yulan(scope.row)">
164 168
               下载
165 169
             </el-button>
166
-            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.is_red_washed == 0 && scope.row.result.fapiao_status == 2 && scope.row.fapiao_number == ''"
170
+
171
+            <el-button size="mini" type="primary" v-if="scope.row.result.id > 0 && scope.row.result.fapiao_status > 0"
167 172
                        @click="chaxun(scope.row)">
168 173
               查询并同步发票号码
169 174
             </el-button>
@@ -399,7 +404,7 @@ export default {
399 404
             }).catch(() => {
400 405
             })
401 406
           }else{
402
-            this.getHisOrderList()
407
+            that.getHisOrderList()
403 408
             that.$confirm(response.data.data.msg, '信息', {
404 409
               confirmButtonText: '确 定',
405 410
               type: 'warning'
@@ -605,23 +610,18 @@ export default {
605 610
             })
606 611
           }else{
607 612
             if(response.data.data.cus_status == 1){
608
-              Vue.nextTick(() => {
609
-                // 确保二维码数据存在
610
-                if (response.data.data.qr_code) {
611
-                  // 生成新的二维码
612
-                  var qrcode = new QRCode(that.$refs.qrCodeUrl, {
613
-                    text: response.data.data.qr_code,
614
-                    width: 120,
615
-                    height: 120,
616
-                    colorDark: '#000000',
617
-                    colorLight: '#ffffff',
618
-                    correctLevel: QRCode.CorrectLevel.H
619
-                  });
620
-                  that.qr_dialogVisible = true;
621
-                } else {
622
-                  that.$message.error('二维码数据为空。');
623
-                }
624
-              });
613
+              that.$nextTick(() =>{
614
+                that.$refs.qrCodeUrl.innerHTML = ""
615
+                var qrcode = new QRCode(that.$refs.qrCodeUrl, {
616
+                  text: response.data.data.qr_code, // 需要转换为二维码的内容
617
+                  width: 120,
618
+                  height: 120,
619
+                  colorDark: '#000000',
620
+                  colorLight: '#ffffff',
621
+                  correctLevel: QRCode.CorrectLevel.H
622
+                })
623
+              })
624
+              that.qr_dialogVisible =true
625 625
             }else if(response.data.data.cus_status == -1){
626 626
               // this.$message.error(response.data.msg)/*  */
627 627
               that

+ 3 - 3
src/xt_pages/outpatientCharges/summary.vue View File

@@ -72,7 +72,7 @@
72 72
                      type="primary" @click="export_detail_ten_two">报表下载3
73 73
           </el-button>
74 74
 
75
-          
75
+
76 76
         </div>
77 77
       </div>
78 78
 
@@ -222,10 +222,10 @@
222 222
 
223 223
         <el-table-column align="center" width="60" prop="name" label="收费类型">
224 224
           <template slot-scope="scope">
225
-            <div v-if="scope.row.his_patient.balance_accounts_type != 2">
225
+            <div v-if="scope.row.is_medicine_insurance == 1">
226 226
               医保
227 227
             </div>
228
-            <div v-if="scope.row.his_patient.balance_accounts_type == 2">
228
+            <div v-if="scope.row.is_medicine_insurance != 1">
229 229
               自费
230 230
             </div>
231 231
           </template>

+ 13 - 2
src/xt_pages/outpatientTool/components/settle.vue View File

@@ -83,6 +83,13 @@
83 83
               </template>
84 84
           </el-table-column>
85 85
 
86
+        <el-table-column align="center" prop="item_name" label="参保地">
87
+          <template slot-scope="scope">
88
+            {{scope.row.clr_optins}}
89
+          </template>
90
+        </el-table-column>
91
+
92
+
86 93
         <el-table-column align="center" prop="item_name" label="病种名称">
87 94
           <template slot-scope="scope">
88 95
             {{scope.row.sick_name}}
@@ -250,14 +257,18 @@
250 257
           {{scope.row.setl_time?scope.row.setl_time.split(" ")[0]:getTimes(scope.row.settle_accounts_date)}}
251 258
         </template>
252 259
       </el-table-column>
253
-
254
-
255 260
       <el-table-column align="center" prop="item_name" label="病种名称">
256 261
         <template slot-scope="scope">
257 262
           {{scope.row.sick_name}}
258 263
         </template>
259 264
       </el-table-column>
260 265
 
266
+      <el-table-column align="center" prop="item_name" label="参保地">
267
+        <template slot-scope="scope">
268
+          {{scope.row.clr_optins}}
269
+        </template>
270
+      </el-table-column>
271
+
261 272
       <el-table-column align="center" prop="item_name" label="结算类型">
262 273
         <template slot-scope="scope">
263 274
           <div v-if="scope.row.is_medicine_insurance == 0">自费</div>

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

@@ -771,6 +771,8 @@ export default {
771 771
           const params = {
772 772
             stockIn: this.recordInfo.recordData
773 773
           };
774
+          console.log("params---------",params)
775
+         
774 776
           EditDrugWarehouse(
775 777
             params,
776 778
             this.warehousing_time,

+ 4 - 2
src/xt_pages/stock/stockOutOrderAdd.vue View File

@@ -958,13 +958,15 @@ export default {
958 958
 
959 959
     getStockBatchNumber(id){
960 960
        var params = {
961
-         id:id
961
+         id:id,
962
+         storehouse_id:this.storehouse_id,
962 963
        }
964
+       console.log("parmas----------------------",params)
963 965
       getStockBatchNumber(params).then(response=>{
964 966
         if(response.data.state == 1){
965 967
           var list = response.data.data.list
966
-
967 968
           this.numberList = list
969
+          // var lastWarehouseInfoTwo = response.data.data.lastWarehouseInfoTwo
968 970
         }
969 971
      })
970 972
     },

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))