Qukatie před 10 měsíci
rodič
revize
59c1285d28
1 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 5 5
      src/views/iosBasicData/warehouse/index.vue

+ 5 - 5
src/views/iosBasicData/warehouse/index.vue

@@ -364,7 +364,7 @@ export default {
       });
     },
     rowDel(row) {
-      if (row.status === 1) {
+      if (row.status == 1) {
         this.$confirm("确定将选择数据删除?", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
@@ -388,7 +388,7 @@ export default {
       }
     },
     handleDelete() {
-      if (this.selectionList.length === 0) {
+      if (this.selectionList.length == 0) {
         this.$message.warning("请选择至少一条数据");
         return;
       }
@@ -492,10 +492,10 @@ export default {
     headerClassName(tab) {
       //颜色间隔
       let back = ""
-      if (tab.columnIndex >= 0 && tab.column.level === 1) {
-        if (tab.columnIndex % 2 === 0) {
+      if (tab.columnIndex >= 0 && tab.column.level == 1) {
+        if (tab.columnIndex % 2 == 0) {
           back = "back-one"
-        } else if (tab.columnIndex % 2 === 1) {
+        } else if (tab.columnIndex % 2 == 1) {
           back = "back-two"
         }
       }