Commit 5187faac authored by 黄自鹏's avatar 黄自鹏

调整

parent 7f173c8b
......@@ -19,7 +19,7 @@
</el-row>
<!-- 表格-->
<div class="tablePagers" style="height: 380px;">
<TablePager :showPagination='false' @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem'
<TablePager :showPagination='false' @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
......@@ -78,7 +78,8 @@ import {
// {label: "设备ID", prop: "sbid", fieldType: "ftString",width:192},
// {label: "保养项目ID", prop: "xmid", fieldType: "ftString",width:192},
{label: "保养人员", prop: "byrName", fieldType: "ftString",width:192},
{label: "保养时间", prop: "bysj", fieldType: "ftDateTime"},
{label: "保养时间起", prop: "bysj", fieldType: "ftDateTime"},
{label: "保养时间终", prop: "bysjz", fieldType: "ftDateTime"},
{label: "保养说明", prop: "bysm", fieldType: "ftString",width:300},
// {label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
......
......@@ -3,13 +3,20 @@
<el-form slot="form" ref="form" :model="form" label-width="120px" :rules="rules">
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="保养日期" ref="bysj" prop="bysj">
<el-col :span="12">
<el-form-item label="保养日期" ref="bysj" prop="bysj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="datetime"
v-model="form.bysj" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="保养日期终" ref="bysjz" prop="bysj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="datetime"
v-model="form.bysjz" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
......@@ -73,10 +80,11 @@ props:['app'],
//序号
//保养项目
xmid:'',
//保养日期
//保养日期
bysj:new Date().getTime(),
//保养日期终
bysjz:new Date().getTime(),
//预计下次计划日期
//备注
bz:'',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment