修改bug

This commit is contained in:
‘937886381’
2024-03-08 16:20:03 +08:00
parent a81f961aca
commit 2e214b52a6
11 changed files with 46 additions and 27 deletions

View File

@@ -22,8 +22,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="报废时间" prop="logTime">
<el-date-picker v-model="dataForm.logTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss"
placeholder="选择日期">
<el-date-picker v-model="dataForm.logTime" type="datetime" value-format="timestamp" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>

View File

@@ -1,7 +1,7 @@
/*
* @Author: zhp
* @Date: 2024-02-28 09:51:25
* @LastEditTime: 2024-02-28 10:05:00
* @LastEditTime: 2024-03-08 13:46:46
* @LastEditors: zhp
* @Description:
*/
@@ -41,7 +41,7 @@ export default {
console.log(response)
this.dataForm = response.data
this.dataForm.detId = response.data.detIdList
this.dataForm.logTime = new Date(response.data.createTime)
this.dataForm.logTime = new Date(response.data.logTime)
// if (this.setData) {
// this.setDataForm()

View File

@@ -36,7 +36,7 @@ const tableProps = [
// filter: parseTime
// },
{
prop: 'logTime',
prop: 'createTime',
label: '报废时间',
filter: parseTime
},