|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<view style="padding-bottom: 140rpx;background-color: #fff;overflow: hidden;">
|
|
|
- <uni-table ref="table" border stripe emptyText="暂无更多数据">
|
|
|
+ <uni-table ref="table" border stripe emptyText="暂无更多数据" style="display: static;
|
|
|
+ overflow: visible;">
|
|
|
<uni-tr>
|
|
|
<uni-th width="300rpx" align="center">日期</uni-th>
|
|
|
<uni-th align="center">考勤</uni-th>
|
|
@@ -141,12 +142,12 @@
|
|
|
<uni-td align="center" width="200rpx">
|
|
|
<view class="select">
|
|
|
上午:
|
|
|
- <uni-data-select v-model="list.saturdayMorning" :disabled="type" :localdata="range" @change="change"
|
|
|
+ <uni-data-select :position="position" v-model="list.saturdayMorning" :disabled="type" :localdata="range" @change="change"
|
|
|
:clear="false"></uni-data-select>
|
|
|
</view>
|
|
|
<view class="select" style="margin-top: 40rpx;">
|
|
|
下午:
|
|
|
- <uni-data-select v-model="list.saturdayAfternoon" :disabled="type" :localdata="range" @change="change"
|
|
|
+ <uni-data-select :position="position" v-model="list.saturdayAfternoon" :disabled="type" :localdata="range" @change="change"
|
|
|
:clear="false"></uni-data-select>
|
|
|
</view>
|
|
|
</uni-td>
|
|
@@ -165,12 +166,12 @@
|
|
|
<uni-td align="center" width="200rpx">
|
|
|
<view class="select">
|
|
|
上午:
|
|
|
- <uni-data-select v-model="list.sundayMorning" :disabled="type" :localdata="range" @change="change"
|
|
|
+ <uni-data-select :position="position" v-model="list.sundayMorning" :disabled="type" :localdata="range" @change="change"
|
|
|
:clear="false"></uni-data-select>
|
|
|
</view>
|
|
|
<view class="select" style="margin-top: 40rpx;">
|
|
|
下午:
|
|
|
- <uni-data-select v-model="list.sundayAfternoon" :disabled="type" :localdata="range" @change="change"
|
|
|
+ <uni-data-select :position="position" v-model="list.sundayAfternoon" :disabled="type" :localdata="range" @change="change"
|
|
|
:clear="false"></uni-data-select>
|
|
|
</view>
|
|
|
</uni-td>
|
|
@@ -227,6 +228,7 @@
|
|
|
//下拉框
|
|
|
range: [],
|
|
|
type:true,//能否修改
|
|
|
+ position:'bottom'
|
|
|
|
|
|
}
|
|
|
},
|