28169 před 6 měsíci
rodič
revize
d50f2476ee

+ 1 - 0
package.json Zobrazit soubor

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

+ 5 - 0
src/xt_pages/qcd/basicInformationAnalysis.vue Zobrazit soubor

281
                       <p>HDF100:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
281
                       <p>HDF100:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
282
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
282
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
283
                   </span>
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
                   <span v-if="item.mode_id == 'HDF600'">
289
                   <span v-if="item.mode_id == 'HDF600'">
285
                       <p>HDF600:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
290
                       <p>HDF600:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
286
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
291
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>

+ 22 - 1
src/xt_pages/stock/stockInventoryModePrint.vue Zobrazit soubor

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

+ 13 - 13
src/xt_permission.js Zobrazit soubor

12
 
12
 
13
 router.beforeEach((to, from, next) => {
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
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))