Commit 2edc5eec authored by 李苏's avatar 李苏 💬

修复bug

parent 8bb1a55d
......@@ -6,7 +6,7 @@
<el-col :span="12">
<el-form-item label="职工姓名" ref="userid" prop="userid">
<!-- <el-input :readonly="readonly" v-model="form.userid" ></el-input> -->
<personSelector :label="form.username||form.userid||'暂无'" @selected='userSelected' ></personSelector>
<personSelector :label="form.userName||form.userid||'暂无'" @selected='userSelected' ></personSelector>
</el-form-item>
</el-col>
<el-col :span="12">
......@@ -120,6 +120,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
userName:'',
//ID
id:'',
//用户编码
......
......@@ -354,6 +354,7 @@ export default {
init() {},
getRow(currentRow, oldCurrentRow){
this.form=currentRow;
this.rowItem=currentRow
}
},
components: {
......
......@@ -222,6 +222,7 @@ export default {
init() {},
getRow(currentRow, oldCurrentRow){
this.form=currentRow;
this.rowItem=currentRow
}
},
components: {
......
......@@ -356,6 +356,7 @@ export default {
apiDelete: doDelete,
init() {},
getRow(currentRow, oldCurrentRow){
this.rowItem=currentRow
this.form=currentRow;
this.form.sprNameTime=this.form.sprName+" "+new Date(this.form.spsj).Format("yyyy-MM-dd");
this.form.qrrNameTime=this.form.qrrName+" "+new Date(this.form.qrsj).Format("yyyy-MM-dd")
......
......@@ -228,7 +228,7 @@ export default {
/* 初始化赋值操作*/
init() {},
getRow(val) {
this.rowItem=val
}
},
......
......@@ -57,15 +57,15 @@
<el-tab-pane label="详细" name="first" >
<Details ref="Details" />
</el-tab-pane>
<el-tab-pane label="检查周期" name="second">
<!-- <el-tab-pane label="检查周期" name="second">
<Cycle />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="检查内容" name="third">
<Content ref="Content" />
</el-tab-pane>
<el-tab-pane label="责任人" name="fourth">
<!-- <el-tab-pane label="责任人" name="fourth">
<PersonLiable />
</el-tab-pane>
</el-tab-pane> -->
</el-tabs>
</div>
......
......@@ -28,6 +28,11 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="处罚金额" ref="cfje" prop="cfje">
<el-input type='number' :readonly="readonly" v-model="form.cfje" ></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="违章行为" ref="wzxw" prop="wzxw">
<el-input type='textarea' :readonly="readonly" v-model="form.wzxw" ></el-input>
......@@ -154,11 +159,7 @@
<el-input :readonly="readonly" v-model="form.cfbz" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="处罚金额" ref="cfje" prop="cfje">
<el-input :readonly="readonly" v-model="form.cfje" ></el-input>
</el-form-item>
</el-col>
</el-row> -->
</el-form>
</RelDialog>
......
......@@ -111,7 +111,7 @@
// {label: "纠正验证人编码", prop: "jzyzrid", fieldType: "ftString",width:192},
// {label: "纠正验证时间", prop: "jzyzsj", fieldType: "ftDateTime"},
// {label: "处罚标志", prop: "cfbz", fieldType: "ftString",width:60},
// {label: "处罚金额", prop: "cfje", fieldType: "float"},
{label: "处罚金额", prop: "cfje", fieldType: "float"},
]
}
},
......
......@@ -137,7 +137,7 @@
// {label: "纠正验证人编码", prop: "jzyzrid", fieldType: "ftString",width:192},
// {label: "纠正验证时间", prop: "jzyzsj", fieldType: "ftDateTime"},
// {label: "处罚标志", prop: "cfbz", fieldType: "ftString",width:60},
// {label: "处罚金额", prop: "cfje", fieldType: "float"},
{label: "处罚金额", prop: "cfje", fieldType: "float"},
]
}
},
......
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