页面修改
This commit is contained in:
parent
2ce7696349
commit
937fdf799a
|
|
@ -146,7 +146,7 @@
|
|||
<el-table-column label="菜品数量" align="center" prop="dishesCount" v-if="activeName=='pageRecipe'"/>
|
||||
<el-table-column label="菜谱生效日期" align="center" prop="applyDateStringList" v-if="activeName=='pageRecipe'">
|
||||
<template slot-scope="scope" v-if="activeName=='pageRecipe'">
|
||||
<el-popover placement="top" width="400">
|
||||
<el-popover placement="top" width="400" v-if="scope.row.applyDateStringList&&scope.row.applyDateStringList.length>0">
|
||||
<div style="width: 100%;padding: 10px;border-bottom: 1px solid #ccc;margin-bottom: 10px;">
|
||||
{{currentMonth}}
|
||||
</div>
|
||||
|
|
@ -154,10 +154,11 @@
|
|||
<div v-for="(item,index) in currentWeekList" :key="index" style="width: 14%;text-align: center;">{{item}}</div>
|
||||
</div>
|
||||
<div style="width: 100%;display: flex;align-items: center;margin-bottom: 10px;flex-wrap: wrap;">
|
||||
<div v-for="(item,index) in monthDaysList" :key="index" :class="scope.row.applyDateStringList.findIndex(v=>v==item)>-1 ? 'dateTable2' : 'dateTable'" class="" >{{item}}</div>
|
||||
<div v-for="(item,index) in monthDaysList" :key="index" :class="scope.row.applyDateStringList.findIndex(v=>v==item)>-1 ? 'dateTable2' : 'dateTable'">{{item}}</div>
|
||||
</div>
|
||||
<div style="color: #1890ff;cursor: pointer;" slot="reference">查看详情</div>
|
||||
<div style="color: #1890ff;cursor: pointer;" slot="reference">查看详情</div>
|
||||
</el-popover>
|
||||
<span v-else>无</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="用户范围" align="center" prop="effName" v-if="activeName=='pageRecipe'"/> -->
|
||||
|
|
|
|||
|
|
@ -410,7 +410,7 @@
|
|||
<el-input
|
||||
v-model="form.userCode"
|
||||
placeholder="请输入用户编码"
|
||||
maxlength="30"
|
||||
maxlength="30" @input="(v)=>(form.userCode=v.replace(/[^\d]/g,''))"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
|
|||
Loading…
Reference in New Issue