Browse Source

门店详情增加提示

liyuan 6 days ago
parent
commit
0f14b6057b
1 changed files with 13 additions and 0 deletions
  1. 13 0
      src/views/store/detailsPage.vue

+ 13 - 0
src/views/store/detailsPage.vue

@@ -11,6 +11,7 @@
             >返回列表
           </el-button>
         </div>
+          <div class="hint" v-if="Number(form.enableOrNot) === 1"><i class="el-icon-warning"/>  如需修改请先禁用</div>
         <div class="add-customer-btn">
           <el-button type="primary" size="small" @click="editCustomer"> 保存数据 </el-button>
           <el-button
@@ -598,6 +599,7 @@ export default {
         dialogWidth: "80%",
         addRowBtn: false,
         cellBtn: true,
+          cancelBtnText:'删除',
         rowKey: "index",
         cancelBtn: false,
         columnBtn: false,
@@ -1274,4 +1276,15 @@ export default {
     text-align: center;
   }
 }
+
+.hint {
+    width: 150px;
+    position: fixed;
+    right: 250px;
+    top: 53px;
+    font-size: 13px;
+    color: #747070;
+    height: 45px;
+}
+
 </style>