Bläddra i källkod

调整财务管理样式
对账中心 进行对账和签收时 需要本人操作 不允许他人操作

Qukatie 4 dagar sedan
förälder
incheckning
ea32a46af0

+ 1 - 1
src/styles/variables.scss

@@ -93,7 +93,7 @@ p{
 }
 ::-webkit-scrollbar-thumb {
   border-radius: 6px !important;
-  background-color: hsla(226, 12%, 71%, 0.25) !important;
+  background-color: hsla(226, 12%, 71%, 0.5) !important;
 }
 .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
   margin-bottom: 2px !important;

+ 2 - 2
src/views/iosBasicData/financialManagement/computationCenter/components/pickedData.vue

@@ -104,7 +104,7 @@ export default {
       },
       option: {},
       optionBack: {
-        height: 480,
+        height: 400,
         calcHeight: 30,
         menuWidth: 60,
         tip: false,
@@ -830,6 +830,6 @@ export default {
   color: #c0c4cc !important;
 }
 ::v-deep.current-row {
-  background: #ecf3ff;
+  background: #a0cfff;
 }
 </style>

+ 17 - 5
src/views/iosBasicData/financialManagement/finstlbills/components/pickedData.vue

@@ -207,7 +207,7 @@ export default {
       },
       option: {},
       optionBack: {
-        height: 480,
+        height: 400,
         calcHeight: 30,
         menuWidth: 60,
         tip: false,
@@ -630,6 +630,9 @@ export default {
           return;
         }
         for (let item of this.selectionList) {
+          if (this.$store.getters.userInfo.user_name != item.createUserName) {
+            return this.$message.error("不是本人的数据不允许操作");
+          }
           if (item.isChecked == 1) {
             return this.$message.error("请选择未对账的数据");
           }
@@ -668,6 +671,9 @@ export default {
           return;
         }
         for (let item of this.selectionList) {
+          if (this.$store.getters.userInfo.user_name != item.createUserName) {
+            return this.$message.error("不是本人的数据不允许操作");
+          }
           if (item.isSignfor == 1) {
             return this.$message.error("请先撤销签收再撤销对账");
           }
@@ -709,6 +715,9 @@ export default {
           return;
         }
         for (let item of this.selectionList) {
+          if (this.$store.getters.userInfo.user_name != item.createUserName) {
+            return this.$message.error("不是本人的数据不允许操作");
+          }
           if (item.isChecked == 0) {
             return this.$message.error("请先对账再签收");
           }
@@ -750,6 +759,9 @@ export default {
           return;
         }
         for (let item of this.selectionList) {
+          if (this.$store.getters.userInfo.user_name != item.createUserName) {
+            return this.$message.error("不是本人的数据不允许操作");
+          }
           if (item.isSignfor == 0) {
             return this.$message.error("请选择已签收的数据");
           }
@@ -921,9 +933,9 @@ export default {
     },
     rowClassName({ row, rowIndex }) {
       let rowName = "",
-      findRow = this.selectionList.find((c) => c.$index === rowIndex);
+        findRow = this.selectionList.find((c) => c.$index === rowIndex);
       if (findRow) {
-        rowName = "current-row "; // elementUI 默认高亮行的class类 不用再样式了^-^,也可通过css覆盖改变背景颜色
+        rowName = "current-row"; // elementUI 默认高亮行的class类 不用再样式了^-^,也可通过css覆盖改变背景颜色
       }
       return rowName; //也可以再加上其他类名 如果有需求的话
     },
@@ -966,7 +978,7 @@ export default {
 .el-button--text.is-disabled {
   color: #c0c4cc !important;
 }
-::v-deep.current-row {
-  background: #ecf3ff;
+.current-row {
+  background: #a0cfff !important;
 }
 </style>

+ 3 - 3
src/views/iosBasicData/financialManagement/finstlbills/components/queryData.vue

@@ -134,7 +134,7 @@ export default {
       },
       option: {},
       optionBack: {
-        height: 480,
+        height: 400,
         calcHeight: 30,
         menuWidth: 60,
         tip: false,
@@ -673,7 +673,7 @@ export default {
 .el-button--text.is-disabled {
   color: #c0c4cc !important;
 }
-::v-deep.current-row {
-  background: #ecf3ff;
+.current-row {
+  background: #a0cfff !important;
 }
 </style>

+ 2 - 2
src/views/iosBasicData/fininvoicesApplyfor/assembly/fininvoicesitems.vue

@@ -128,7 +128,7 @@ export default {
       curCodeData: [], // 本次币种
       option: {},
       optionBack: {
-        height: "auto",
+        height: 400,
         calcHeight: 30,
         menuWidth: 60,
         tip: false,
@@ -565,7 +565,7 @@ export default {
 }
 
 ::v-deep.current-row {
-  background: #ecf3ff;
+  background: #a0cfff;
 }
 
 .textHide {

+ 3 - 3
src/views/iosBasicData/fininvoicesApplyfor/assembly/fininvoicesitems2.vue

@@ -128,7 +128,7 @@ export default {
       curCodeData: [], // 本次币种
       option: {},
       optionBack: {
-        height: "auto",
+        height: 400,
         calcHeight: 30,
         menuWidth: 60,
         tip: false,
@@ -587,8 +587,8 @@ export default {
   text-overflow: ellipsis;
 }
 
-::v-deep.current-row {
-  background: #ecf3ff;
+.current-row {
+  background: #a0cfff !important;
 }
 
 .textHide {

+ 1 - 1
src/views/iosBasicData/siamends/assembly/billgenerated.vue

@@ -161,7 +161,7 @@
                 let rowName = "",
                     findRow = this.handleSelectionData.find(c => c.rowIndex === row.rowIndex);
                 if (findRow) {
-                    rowName = "current-row "; // elementUI 默认高亮行的class类 不用再样式了^-^,也可通过css覆盖改变背景颜色
+                    rowName = "current-row"; // elementUI 默认高亮行的class类 不用再样式了^-^,也可通过css覆盖改变背景颜色
                 }
                 return rowName; //也可以再加上其他类名 如果有需求的话
             },