| | |
| | | }, |
| | | useId: { |
| | | rules: [ |
| | | { required: true, message: '请选择使用部门!' }, |
| | | { required: false, message: '请选择使用部门!' }, |
| | | ] |
| | | }, |
| | | maintenanceCycleId: { |
| | |
| | | |
| | | onSearchMaintenanceStandard() { |
| | | let data = this.form.getFieldsValue(['useId']); |
| | | if (data.useId == null || data.useId == "") { |
| | | this.$message.warning("请先选择使用部门!"); |
| | | return |
| | | } |
| | | // if (data.useId == null || data.useId == "") { |
| | | // this.$message.warning("请先选择使用部门!"); |
| | | // return |
| | | // } |
| | | this.$refs.DailyMaintenanceStandardList.list(data.useId); |
| | | this.$refs.DailyMaintenanceStandardList.title = "选择日常保养标准"; |
| | | }, |