Browse Source

学生报修教师报修联系电话必填

塔里木分支
wwp 11 months ago
parent
commit
7d7c5ca1a8
4 changed files with 14 additions and 1 deletions
  1. +1
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportStudent/handle/single.vue
  2. +6
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportStudent/single.vue
  3. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportTeacher/handle/single.vue
  4. +6
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportTeacher/single.vue

+ 1
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportStudent/handle/single.vue View File

@@ -43,6 +43,7 @@
:value="getValue('RepairReportStudenthandle.Contact')"
:disabled="!add"
title="联系电话"
required
/>
<l-input
@input="setValue('RepairReportStudenthandle.Address', $event)"


+ 6
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportStudent/single.vue View File

@@ -43,6 +43,7 @@
:value="getValue('RepairReportStudent.Contact')"
:disabled="!edit"
title="联系电话"
required
/>
<l-input
@input="setValue('RepairReportStudent.Address', $event)"
@@ -375,6 +376,11 @@ export default {
this.CONFIRM('表单验证失败', verifyResult.join('\n'))
return
}
if (!this.getValue('RepairReportStudent.Contact')) {
this.TOAST("联系电话不能为空!")
return
}
if (!this.getValue('RepairReportStudent.Address')) {
this.TOAST("报修地址不能为空!")
return


+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportTeacher/handle/single.vue View File

@@ -10,7 +10,7 @@
:value="getValue('RepairReportTeacherhandle.DeptNo')" :disabled="!add"
:range="dataSource.RepairReportTeacherhandle.DeptNo" @change="deptChange($event)" title="所在部门" />
<l-input @input="setValue('RepairReportTeacherhandle.Contact', $event)"
:value="getValue('RepairReportTeacherhandle.Contact')" :disabled="!add" title="联系电话" />
:value="getValue('RepairReportTeacherhandle.Contact')" :disabled="!add" title="联系电话" required />
<l-input @input="setValue('RepairReportTeacherhandle.Address', $event)"
:value="getValue('RepairReportTeacherhandle.Address')" :disabled="!add" title="报修地址" required />
<l-select @input="setValue('RepairReportTeacherhandle.ServiceType', $event)"


+ 6
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/LogisticsManagement/RepairReportTeacher/single.vue View File

@@ -27,6 +27,7 @@
:value="getValue('RepairReportTeacher.Contact')"
:disabled="!edit"
title="联系电话"
required
/>
<l-input
@input="setValue('RepairReportTeacher.Address', $event)"
@@ -357,6 +358,11 @@ export default {
this.CONFIRM('表单验证失败', verifyResult.join('\n'))
return
}
if (!this.getValue('RepairReportTeacher.Contact')) {
this.TOAST("联系电话不能为空!")
return
}
if (!this.getValue('RepairReportTeacher.Address')) {
this.TOAST("报修地址不能为空!")
return


Loading…
Cancel
Save