Browse Source

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

zhujindu 23 hours ago
parent
commit
bce94c0890
1 changed files with 20 additions and 3 deletions
  1. 20 3
      src/views/historicalVisit/perfectStoreTask.vue

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

@@ -84,8 +84,10 @@
           <div
             class="skuDeatilHeaderRight"
             v-if="!formData.displayRewardTaskEditable"
-            style="margin-right: 85px">
-            <van-button round @click="editTable" v-if="!editTableFlag">编辑</van-button>
+            style="margin-right: 72px">
+            <van-button plain type="primary" @click="editTable" v-if="!editTableFlag"
+              >编辑</van-button
+            >
             <van-button type="primary" @click="saveTable" v-if="editTableFlag">保存</van-button>
             <!-- <span style="color: #07c160" @click="editTable" v-if="!editTableFlag">编辑</span>
             <span style="color: red" @click="saveTable" v-if="editTableFlag">保存</span> -->
@@ -384,7 +386,6 @@ export default {
       console.log(this.editCountArr);
       if (this.editCountArr.length == 0) {
         // this.$toast('请至少修改一项排面数');
-        return;
       } else {
         updateDisplayRewardCaseSkuCount(this.editCountArr).then((res) => {
           if (res.code == 200) {
@@ -646,4 +647,20 @@ export default {
 .el-table::before {
   height: 0;
 }
+.skuDeatilHeaderRight {
+  button {
+    // width: 120px;
+    height: 36px;
+    border-radius: 18px;
+  }
+  .van-button--primary {
+    background-color: #2b73cf;
+    border-color: #2b73cf;
+  }
+  .van-button--primary.van-button--plain {
+    color: #3875c6;
+    border-color: #dcdfe6;
+    background-color: rgba(217, 233, 255, 1);
+  }
+}
 </style>