Parcourir la source

feature_20260420_陈列任务识别排面数修改

zhujindu il y a 1 jour
Parent
commit
0a5e27a42c
1 fichiers modifiés avec 9 ajouts et 2 suppressions
  1. 9 2
      src/views/historicalVisit/perfectStoreTask.vue

+ 9 - 2
src/views/historicalVisit/perfectStoreTask.vue

@@ -112,14 +112,15 @@
           </el-table-column>
           <el-table-column label="排面数" prop="identifyTheNumberOfCards" align="center" width="80">
             <template slot-scope="scope">
-              <span v-if="scope.row.identifyTheNumberOfCards == 0">
-                {{ scope.row.identifyTheNumberOfCards }}
+              <span v-if="!editTableFlag" :class="{ shelfEdit: scope.row.shelfEdit == 1 }"
+                >{{ scope.row.identifyTheNumberOfCards }}
               </span>
               <span v-else-if="!editTableFlag">
                 {{ scope.row.identifyTheNumberOfCards }}
               </span>
               <van-field
                 v-else
+                :class="{ shelfEdit: scope.row.shelfEdit == 1 }"
                 v-model="scope.row.identifyTheNumberOfCards"
                 placeholder="请输入排面数"
                 type="digit"
@@ -574,6 +575,12 @@ export default {
       }
     }
   }
+  .shelfEdit {
+    color: red;
+    input {
+      color: red;
+    }
+  }
 }
 .identifyResultdialog {
   width: vw(690) !important;