Commit e5f626e6 authored by 黄自鹏's avatar 黄自鹏

调整

parent 27221567
......@@ -14,7 +14,8 @@
<!-- 公司,班组-->
<el-col :span="24">
<el-form-item label="公司" ref="gsid" prop="gsid">
<RelSelect style="width: 100%;" :readonly="readonly" src='jcsj/common/bm/queryGs' :match="{value:'id',label:'bmmc'}" v-model='form.gsid' ></RelSelect>
<RelSelect style="width: 100%;" :readonly="readonly" src='jcsj/common/bm/queryGs'
:match="{value:'id',label:'bmmc'}" v-model='form.gsid'></RelSelect>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
......@@ -24,12 +25,14 @@
</el-col> -->
<el-col :span="12">
<el-form-item label="三违等级" ref="swdj" prop="swdj">
<RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/swdj' clearable :match="{value:'id',label:'name'}" v-model='form.swdj' ></RelSelect>
<RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/swdj' clearable
:match="{value:'id',label:'name'}" v-model='form.swdj'></RelSelect>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="三违类型" ref="wglx" prop="wglx">
<RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/wglx' clearable :match="{value:'id',label:'name'}" v-model='form.wglx' ></RelSelect>
<RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/wglx' clearable
:match="{value:'id',label:'name'}" v-model='form.wglx'></RelSelect>
</el-form-item>
</el-col>
......@@ -37,19 +40,19 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="罚款金额(元)" ref="fkje" prop="fkje">
<el-input type='number' :readonly="readonly" v-model="form.fkje" ></el-input>
<el-input type='number' :readonly="readonly" v-model="form.fkje"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="考核分数" ref="khfs" prop="khfs">
<el-input type='number' :readonly="readonly" v-model="form.khfs" ></el-input>
<el-input type='number' :readonly="readonly" v-model="form.khfs"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
<el-input :readonly="readonly" v-model="form.bz"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -58,6 +61,7 @@
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
......@@ -78,40 +82,44 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
gsid:'',
gsid: '',
//ID
id:'',
id: '',
//序号
xh:'',
xh: '',
//三违内容
content:'',
content: '',
//类型
wglx:'',
wglx: '',
//考核分数
khfs:'',
khfs: '',
//罚款金额
fkje:'',
fkje: '',
//罚款金额下限
fkjexx:'',
fkjexx: '',
//罚款金额上限
fkjesx:'',
fkjesx: '',
//备注
bz:''
bz: ''
},
/* form提交时的规则,具体规则参考官网*/
rules: {
xh: [{
required: true,
trigger: 'blur'
}, ],
},],
swdj: [{
required: true,
trigger: 'blur'
}, ],
},],
wglx: [{
required: true,
trigger: 'blur'
}, ]
},],
gsid: [{
required: true,
trigger: 'blur'
},],
}
}
},
......
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