Commit 4d85cd19 by zhouzy

日期传递格式规范及领用搜索框布局

1 parent 42e1db48
......@@ -268,7 +268,7 @@
<div class="Input">
<el-input
v-model="collectionListSearch.condition.searchValue"
placeholder="请输入批次号"
placeholder="请输入设备SN"
size="small"
></el-input>
</div>
......@@ -622,8 +622,7 @@ export default {
},
],
},
// 领用记录表格表格
// 领用记录表格
collectionTableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: "list",
......@@ -681,7 +680,8 @@ export default {
prop: "status",
formatter: (cellValue) => {
return {
1: "正常",
1: '已激活',
0:'未激活'
}[cellValue.status];
},
minWidth: "200",
......@@ -856,10 +856,10 @@ export default {
changeBatchDataFormat() {
return new Promise((resolve, reject) => {
this.batchListSearch.createdDateEnd = this.batchDate
? this.batchDate[1] + '23:59:59'
? this.batchDate[1] + ' 23:59:59'
: ''
this.batchListSearch.createdDateStart = this.batchDate
? this.batchDate[0] + '00:00:01'
? this.batchDate[0] + ' 00:00:01'
: '';
this.batchListSearch.batchId = parseInt(this.selectBatchId)
console.log(this.batchListSearch)
......@@ -871,10 +871,10 @@ export default {
return new Promise((resolve, reject) => {
console.log(this.colletionDate)
this.collectionListSearch.condition.endTime = this.colletionDate
? this.colletionDate[1] + '23:59:59'
? this.colletionDate[1] + ' 23:59:59'
: '' || undefined
this.collectionListSearch.condition.beginTime = this.colletionDate
? this.colletionDate[0] + '00:00:01'
? this.colletionDate[0] + ' 00:00:01'
: '' || undefined
resolve()
})
......@@ -1004,12 +1004,12 @@ export default {
.InputContainer {
display: flex;
flex-direction: row;
margin-left: 20px;
margin-left: -100px;
}
.lastInputContainer {
display: flex;
flex-direction: row;
margin-left: 100px;
margin-left: 40px;
}
.firstpickerContainer {
margin-left: 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!