浏览代码

1. 优化

MONSTER-ygh 1 月之前
父节点
当前提交
4c2fdec60b
共有 1 个文件被更改,包括 38 次插入0 次删除
  1. 38 0
      src/views/otaMr/meituan/dialog/dataEdit.vue

+ 38 - 0
src/views/otaMr/meituan/dialog/dataEdit.vue

@@ -62,6 +62,21 @@
             <dict-tag :options="dict.type.tiktok_scheduling_status" :value="scope.row.status"/>
           </template>
         </el-table-column>
+        <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            v-if="scope.row.status"
+            @click="openCalendarFun(scope.row)"
+          >日历价格配置</el-button>
+          <!-- <el-button
+            size="mini"
+            type="text"
+            @click="submitForm1(scope.row)"
+          >{{ scope.row.status == 1  ? '下架':'上架' }}</el-button> -->
+        </template>
+      </el-table-column>
       </el-table>
     </div>
     <span slot="footer" class="dialog-footer">
@@ -617,4 +632,27 @@ export default {
     cursor: pointer;
   }
 }
+
+.calendar-dialog ::v-deep .el-calendar-table .el-calendar-day {
+  padding: none !important;
+  height: auto;
+}
+
+.calendar_box {
+  width: 100%;
+  min-height: 86px;
+}
+
+.disable_time {
+  user-select: none;
+  cursor: not-allowed;
+}
+
+.is-select_time {
+  background-color: rgba(30,144,255,0.8);
+}
+
+.is-select_time_hover {
+  background-color: rgba(30,144,255,0.4);
+}
 </style>