修改时间格式
This commit is contained in:
@@ -48,8 +48,8 @@
|
|||||||
<span class="title-text-text">{{item.db_field_txt}}</span>
|
<span class="title-text-text">{{item.db_field_txt}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
||||||
@change="dateChange(item)"
|
|
||||||
<a-date-picker class="box-input"
|
<a-date-picker class="box-input"
|
||||||
|
@change="dateChange(item)"
|
||||||
format="YYYY-MM-DD"
|
format="YYYY-MM-DD"
|
||||||
v-model="formInline[item.db_field_name]"
|
v-model="formInline[item.db_field_name]"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@@ -285,9 +285,9 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// dateChange(item) {
|
dateChange(item) {
|
||||||
// this.formInline[item.db_field_name] = moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD')
|
this.formInline[item.db_field_name] = moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD')
|
||||||
// },
|
},
|
||||||
onChange(date, dateString) {
|
onChange(date, dateString) {
|
||||||
console.log(typeof date)
|
console.log(typeof date)
|
||||||
// moment(date).format('YYYY-MM-DD')
|
// moment(date).format('YYYY-MM-DD')
|
||||||
|
|||||||
@@ -161,17 +161,6 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-table {
|
|
||||||
width: 100%;
|
|
||||||
overflow: auto;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox {
|
|
||||||
min-width: 30px;
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
}
|
}
|
||||||
@@ -181,36 +170,3 @@
|
|||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
|
||||||
.box-th {
|
|
||||||
min-width: 100px;
|
|
||||||
max-width: 300px;
|
|
||||||
padding: 20px 20px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box-td {
|
|
||||||
min-width: 100px;
|
|
||||||
max-width: 300px;
|
|
||||||
padding: 20px 20px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box-th-po {
|
|
||||||
max-width: 340px;
|
|
||||||
position: sticky;
|
|
||||||
right: 0;
|
|
||||||
background: #fff;
|
|
||||||
padding: 20px 0 20px 20px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -139,8 +139,10 @@
|
|||||||
padding: 20px;
|
padding: 20px;
|
||||||
.doc-detail-wrap{
|
.doc-detail-wrap{
|
||||||
.doc-detail-header{
|
.doc-detail-header{
|
||||||
|
height: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
border-bottom:1px #9e9e9e solid ;
|
||||||
.doc-detail-title{
|
.doc-detail-title{
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
text-overflow:ellipsis;
|
text-overflow:ellipsis;
|
||||||
|
|||||||
Reference in New Issue
Block a user