Browse Source

新分支

28169 6 months ago
parent
commit
d50f2476ee

+ 1 - 0
package.json View File

@@ -80,6 +80,7 @@
80 80
     "vue-i18n": "7.3.2",
81 81
     "vue-json-excel": "^0.3.0",
82 82
     "vue-multiselect": "2.0.8",
83
+    "vue-pdf": "^4.3.0",
83 84
     "vue-quill-editor": "^3.0.6",
84 85
     "vue-router": "3.0.1",
85 86
     "vue-splitpane": "1.0.2",

+ 5 - 0
src/xt_pages/qcd/basicInformationAnalysis.vue View File

@@ -281,6 +281,11 @@
281 281
                       <p>HDF100:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
282 282
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
283 283
                   </span>
284
+
285
+                  <span v-if="item.mode_id == 'HDF1000'">
286
+                      <p>HDF1000:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
287
+                      <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
288
+                  </span>
284 289
                   <span v-if="item.mode_id == 'HDF600'">
285 290
                       <p>HDF600:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
286 291
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>

+ 22 - 1
src/xt_pages/stock/stockInventoryModePrint.vue View File

@@ -299,6 +299,7 @@ export default {
299 299
       warehouseinfoList: [],
300 300
       warehouseOutInfoList: [],
301 301
       cancelInfoList: [],
302
+      cancelFlowList:[]
302 303
 
303 304
     }
304 305
   },
@@ -368,6 +369,8 @@ export default {
368 369
           this.warehouseOutInfoList = warehouseOutInfo
369 370
           var cancelInfoList = response.data.data.cancelInfo
370 371
           this.cancelInfoList = cancelInfoList
372
+
373
+          this.CancelFlowList = response.data.data.CancelFlowList
371 374
           loading.close()
372 375
           //  console.log("list===============",list)
373 376
 
@@ -559,14 +562,32 @@ export default {
559 562
 
560 563
       var newArr = []
561 564
       var newArrOne = []
565
+      
562 566
       var total_count = 0
563 567
       var total_count_one = 0
568
+      var total_count_two = 0
564 569
       var total = 0
570
+
571
+      var cancelNewArr = []
565 572
       for (let i = 0; i < this.outinfo.length; i++) {
566 573
         if (good_id == this.outinfo[i].good_id) {
567 574
           newArr.push(this.outinfo[i])
568 575
         }
569 576
       }
577
+
578
+      for(let i=0;i<this.cancelFlowList.length;i++){
579
+         if(good_id == this.cancelFlowList[i].good_id){
580
+            cancelNewArr.push(this.cancelFlowList[i])
581
+         }
582
+      }
583
+
584
+      if(cancelNewArr!=null){
585
+        for(let i=0;i<cancelNewArr.length;i++){
586
+            total_count_two += cancelNewArr[i].count
587
+        }
588
+      }
589
+
590
+
570 591
       if (newArr != null) {
571 592
         for (let i = 0; i < newArr.length; i++) {
572 593
           total_count += parseInt(newArr[i].count)
@@ -585,7 +606,7 @@ export default {
585 606
       }
586 607
 
587 608
 
588
-      total = total_count + total_count_one
609
+      total = total_count + total_count_one - total_count_two
589 610
       return total
590 611
     },
591 612
     getSumCount(good_id) {

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