Browse Source

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

zhujindu 2 days ago
parent
commit
456e6ae5cc
1 changed files with 20 additions and 5 deletions
  1. 20 5
      src/views/historicalVisit/perfectStoreTask.vue

+ 20 - 5
src/views/historicalVisit/perfectStoreTask.vue

@@ -89,11 +89,15 @@
               <span class="tipTitle">{{ scope.row.skuProductName }}</span>
               <span class="tipTitle">{{ scope.row.skuProductName }}</span>
             </template>
             </template>
           </el-table-column>
           </el-table-column>
-          <el-table-column
-            label="排面数"
-            prop="identifyTheNumberOfCards"
-            align="center"
-            width="50"></el-table-column>
+          <el-table-column label="排面数" prop="identifyTheNumberOfCards" align="center" width="50">
+            <template slot-scope="scope"
+              ><van-field
+                v-model="scope.row.identifyTheNumberOfCards"
+                placeholder="请输入排面数"
+                type="digit"
+                @blur="inputbluwl(scope.row)"
+            /></template>
+          </el-table-column>
           <el-table-column label="要求" prop="conditionIdentifyNum" align="center" width="60px">
           <el-table-column label="要求" prop="conditionIdentifyNum" align="center" width="60px">
             <template slot-scope="scope">
             <template slot-scope="scope">
               <span
               <span
@@ -289,6 +293,17 @@ export default {
         startPosition: index,
         startPosition: index,
       });
       });
     },
     },
+    inputbluwl(row) {
+      console.log(row);
+      // if (row.identifyTheNumberOfCards != null) {
+      //   row.meetTheStandard =
+      //     Number(row.identifyTheNumberOfCards) >= Number(row.conditionIdentifyNum)
+      //       ? 1
+      //       : 0;
+      // } else {
+      //   row.meetTheStandard = null;
+      // }
+    },
     onClickLeft() {
     onClickLeft() {
       this.$router.go(-1);
       this.$router.go(-1);
     },
     },