|
@@ -7,12 +7,26 @@
|
|
|
</el-select>
|
|
|
|
|
|
<div style="display:flex;align-items:center">
|
|
|
- <el-switch :disabled="isEmpty" style="margin-right: 10px;" v-model="isTenThound" active-text="万元"
|
|
|
- inactive-text="元" />
|
|
|
- <el-date-picker :disabled="isEmpty" class="fr picker" v-model="daytime"
|
|
|
- :picker-options="{ disbaledData(time) { return time.getTime() > Date.now(); } }" placeholder="选择日期"
|
|
|
+ <el-switch
|
|
|
+ :disabled="isEmpty"
|
|
|
+ :inline-prompt="true"
|
|
|
+ style="margin-right: 10px;"
|
|
|
+ v-model="isTenThound"
|
|
|
+ active-text="万元"
|
|
|
+ inactive-text="元"
|
|
|
+ />
|
|
|
+
|
|
|
+ <el-date-picker
|
|
|
+ :disabled="isEmpty"
|
|
|
+ class="fr picker"
|
|
|
+ v-model="daytime"
|
|
|
+ :picker-options="{ disbaledData(time) { return time.getTime() > Date.now(); } }"
|
|
|
style=";width:140px" value-format="yyyy-MM-dd" format="yyyy-MM-dd" :editable="false" :clearable="false"
|
|
|
- :size="'small'" align="right" type="date" />
|
|
|
+ placeholder="选择日期"
|
|
|
+ :size="'small'"
|
|
|
+ align="right"
|
|
|
+ type="date"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -211,7 +225,6 @@ export default {
|
|
|
async requestData() {
|
|
|
this.loading = true;
|
|
|
this.list = [];
|
|
|
-
|
|
|
const res = await asyncRequest.departmentEveryDay({ daytime: this.daytime, companyNo: this.companyNo });
|
|
|
|
|
|
if (res.code === 0 && res.data && res.data.length > 0) {
|
|
@@ -283,6 +296,7 @@ export default {
|
|
|
justify-content:space-between;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
.table-size {
|
|
|
display: flex;
|
|
|
border-top: 1px solid #ebeef5;
|