| | |
| | | width="600px" |
| | | @confirm="confirm" |
| | | > |
| | | |
| | | <el-form :model="form" ref="form" :rules="rules " label-suffix=":"> |
| | | <el-form-item label="处理说明" prop="dealInfo"> |
| | | <el-input |
| | |
| | | v-trim |
| | | /> |
| | | </el-form-item> |
| | | |
| | | </el-form> |
| | | </GlobalAlertWindow> |
| | | </template> |
| | |
| | | // 表单数据 |
| | | form: { |
| | | id: null, |
| | | dealInfo: '', |
| | | status: '', |
| | | |
| | | dealInfo: '' |
| | | // status: '' |
| | | }, |
| | | backInfoRequired: false, |
| | | // 验证规则 |
| | | rules: { |
| | | duration: [ |
| | | { required: true, validator: numRule, message: '请输入计费时长', tigger: 'blur' } |
| | | { required: true, validator: numRule, message: '请输入计费时长', tigger: 'blur' } |
| | | ], |
| | | backReason: [ |
| | | { required: true, message: '请选择调整原因', tigger: 'change'}, |
| | |
| | | api: '/business/bikeRepair', |
| | | 'field.id': 'id', |
| | | }) |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | /** |
| | |
| | | open (title, target) { |
| | | this.title = title |
| | | this.visible = true |
| | | debugger |
| | | // debugger |
| | | // 新建 |
| | | if (target == null) { |
| | | this.$nextTick(() => { |
| | |
| | | for (const key in this.form) { |
| | | this.form[key] = target[key] |
| | | } |
| | | this.form.status = '1' |
| | | // this.form.status = '1' |
| | | this.$refs.form.clearValidate() |
| | | }) |
| | | }, |