| | |
| | | trigger: ["blur", "change"] |
| | | },], |
| | | }, |
| | | |
| | | { |
| | | label: "时间", |
| | | labelWidth: labelWidth, |
| | | placeholder: "时间", |
| | | prop: "createTime", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请选择缴费周期", |
| | | trigger: ["blur", "change"] |
| | | },], |
| | | }, |
| | | ], |
| | | }, |
| | | data: [], |
| | |
| | | // }, |
| | | beforeOpen (done, type) { |
| | | if (["edit", "view"].includes(type)) { |
| | | getDetail(this.form.id).then((res) => { |
| | | this.form = res.data.data |
| | | const column = this.findObject(this.option.column, "principalId") |
| | | let arr = [] |
| | | arr.push(this.form.areaId) |
| | | column.defaultExpandedKeys = arr |
| | | }) |
| | | // getDetail(this.form.id).then((res) => { |
| | | // this.form = res.data.data |
| | | // const column = this.findObject(this.option.column, "principalId") |
| | | // let arr = [] |
| | | // arr.push(this.form.areaId) |
| | | // column.defaultExpandedKeys = arr |
| | | // }) |
| | | } |
| | | |
| | | // //如果当前角色为物业管理员,则默认物业公司为该用户的物业公司 |
| | |
| | | prop: "communityName", |
| | | align: 'center', |
| | | labelWidth: 110, |
| | | row:true, |
| | | }, |
| | | { |
| | | width: 100, |