Browse Source

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

zhujindu 21 hours ago
parent
commit
df43259f98
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/views/historicalVisit/perfectStoreTask.vue

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

@@ -83,7 +83,7 @@
           </div>
           </div>
           <div
           <div
             class="skuDeatilHeaderRight"
             class="skuDeatilHeaderRight"
-            v-if="!formData.displayRewardTaskEditable"
+            v-if="formData.displayRewardTaskEditable"
             style="margin-right: 72px">
             style="margin-right: 72px">
             <van-button plain type="primary" @click="editTable" v-if="!editTableFlag"
             <van-button plain type="primary" @click="editTable" v-if="!editTableFlag"
               >编辑</van-button
               >编辑</van-button
@@ -112,7 +112,12 @@
           </el-table-column>
           </el-table-column>
           <el-table-column label="排面数" prop="identifyTheNumberOfCards" align="center" width="80">
           <el-table-column label="排面数" prop="identifyTheNumberOfCards" align="center" width="80">
             <template slot-scope="scope">
             <template slot-scope="scope">
-              <span v-if="!editTableFlag">{{ scope.row.identifyTheNumberOfCards }}</span>
+              <span v-if="scope.row.identifyTheNumberOfCards == 0">
+                {{ scope.row.identifyTheNumberOfCards }}
+              </span>
+              <span v-else-if="!editTableFlag">
+                {{ scope.row.identifyTheNumberOfCards }}
+              </span>
               <van-field
               <van-field
                 v-else
                 v-else
                 v-model="scope.row.identifyTheNumberOfCards"
                 v-model="scope.row.identifyTheNumberOfCards"