jiangyy 3 years ago
parent
commit
48c5b78a22
  1. 7
      src/views/modules/communityService/fuwujilu/addForm.vue

7
src/views/modules/communityService/fuwujilu/addForm.vue

@ -533,6 +533,13 @@ export default {
app.util.validateRule(messageObj)
this.btnDisable = false
} else {
var oDate1 = new Date(this.formData.serviceTimeStart);
var oDate2 = new Date(this.formData.serviceTimeEnd);
if (oDate1.getTime() > oDate2.getTime()) {
this.$message.error('服务截止时间必须大于服务开始时间')
return false
}
if (this.showFeedback) {
this.$refs['ref_form_feedback'].validate((valid, messageObj) => {

Loading…
Cancel
Save