Przeglądaj źródła

内审进度修改

cyy 6 miesięcy temu
rodzic
commit
9120ae5581
1 zmienionych plików z 17 dodań i 4 usunięć
  1. 17 4
      src/views/system/jbdScan/goods/neishenzhuangtai.vue

+ 17 - 4
src/views/system/jbdScan/goods/neishenzhuangtai.vue

@@ -465,12 +465,25 @@ export default {
         })
         return
       }
+      // if (
+      //   this.selectCheckData.filter((t) => t.shi_fou_guo_shen_ !== '已完成')
+      // ) {
+      //   this.$message({
+      //     showClose: true,
+      //     message: '选中的数据中存在已完成数据,请检查!',
+      //     type: 'warning'
+      //   })
+      //   return
+      // }
       if (
-        this.selectCheckData.filter((t) => t.shi_fou_guo_shen_ !== '已完成')
+        this.selectCheckData.filter(
+          (t) =>
+            t.shi_fou_guo_shen_ === '已完成' || t.shi_fou_guo_shen_ === '已编制'
+        ).length > 0
       ) {
         this.$message({
           showClose: true,
-          message: '选中的数据中存在已完成数据,请检查!',
+          message: '选中的数据中存在已完成或已编制数据,请检查!',
           type: 'warning'
         })
         return
@@ -522,7 +535,7 @@ export default {
           {
             type: 'gauge',
             min: 0,
-            max: 80,
+            max: 100,
             axisLine: {
               lineStyle: {
                 width: 30,
@@ -599,7 +612,7 @@ export default {
           {
             type: 'gauge',
             min: 0,
-            max: 80,
+            max: 100,
             axisLine: {
               lineStyle: {
                 width: 30,