28169 8 månader sedan
förälder
incheckning
c970d62154

+ 9 - 0
src/router/modules/stock.js Visa fil

@@ -115,6 +115,15 @@ export default {
115 115
       meta: { title: 'print_all', noCache: true }
116 116
     },
117 117
 
118
+    {
119
+      path: '/stock/stockInventoryPrint',
120
+      component: () => import('@/xt_pages/stock/stockInventoryPrint'),
121
+      name: 'stockInventoryPrint',
122
+      hidden: true,
123
+      is_menu: false,
124
+      meta: { title: 'stockInventoryPrint', noCache: true }
125
+    },
126
+
118 127
     // {
119 128
     //   path: "/stock/",
120 129
     //   component: Layout,

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Visa fil

@@ -2203,7 +2203,7 @@
2203 2203
 
2204 2204
 
2205 2205
                       <tr
2206
-                      v-if="org_id == 0 || org_id ==10206 || org_id == 10644"
2206
+                      v-if="org_id == 0 || org_id ==10206 || org_id == 10644 || org_id == 10489"
2207 2207
                       v-for="(advice, advice_index) in projectsOne"
2208 2208
                       :key="advice_index"
2209 2209
                     >
@@ -5645,7 +5645,7 @@ export default {
5645 5645
 
5646 5646
         console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
5647 5647
 
5648
-        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0){
5648
+        if(this.org_id ==10206 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0 || this.org_id == 10489){
5649 5649
           let projectsOne = [];
5650 5650
           response.data.data.projects.map((item) => {
5651 5651
               projectsOne.push(item);

+ 1 - 1
src/xt_pages/stock/inventoryRecord.vue Visa fil

@@ -188,7 +188,7 @@ export default {
188 188
              this.$message.error("请勾选需要打印的内容")
189 189
              return false
190 190
           }              
191
-          this.$router.push({path:'/stock/print_all?storehouse_id='+this.storehouse_id+"&good_name="+this.searchKey+"&limit="+this.limit+"&page="+this.page+"&ids="+this.ids})
191
+          this.$router.push({path:'/stock/stockInventoryPrint?storehouse_id='+this.storehouse_id+"&good_name="+this.searchKey+"&limit="+this.limit+"&page="+this.page+"&ids="+this.ids})
192 192
         },
193 193
 
194 194
         search(){

+ 2 - 2
src/xt_pages/stock/stockInventory.vue Visa fil

@@ -22,9 +22,9 @@
22 22
                 <stockDamaged ref="childOne"></stockDamaged>
23 23
             </el-tab-pane>
24 24
 
25
-            <!-- <el-tab-pane label="盘点记录表" name="seven">
25
+            <el-tab-pane label="盘点记录表" name="seven">
26 26
                 <inventory-record ref="childSeven"></inventory-record>
27
-            </el-tab-pane> -->
27
+            </el-tab-pane>
28 28
         </el-tabs>
29 29
         
30 30
     </div>

+ 0 - 0
src/xt_pages/stock/stockInventoryPrint.vue Visa fil


+ 13 - 13
src/xt_permission.js Visa fil

@@ -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))