修改bug

This commit is contained in:
zyx.net
2022-08-17 14:04:12 +08:00
parent ba214ff920
commit b3b8d5a05d
+4 -3
View File
@@ -87,8 +87,6 @@
class="box-input" class="box-input"
@change="onChange" @change="onChange"
style='margin-left: -1px' style='margin-left: -1px'
format="YYYY-MM-DD"
:getCalendarContainer="(trigger) => trigger.parentNode"
v-model="queryParams.time" v-model="queryParams.time"
:disabled="false"/> :disabled="false"/>
</div> </div>
@@ -780,7 +778,7 @@ export default {
//搜索 //搜索
searchQuery(item) { searchQuery(item) {
this.pageNo = 1 this.pageNo = 1
if(this.queryParams.time){ if(this.queryParams.time && this.queryParams.time instanceof Array){
this.queryParams.time = this.queryParams.time.join(',') this.queryParams.time = this.queryParams.time.join(',')
} }
this.loadData(item) this.loadData(item)
@@ -1087,6 +1085,9 @@ export default {
/deep/.ant-table td{ /deep/.ant-table td{
white-space: nowrap; white-space: nowrap;
} }
.ant-calendar-range-picker-input{
width: 46% !important;
}
.title-text { .title-text {
width: 114px; width: 114px;
text-align: right; text-align: right;