From 83714b2115ad36677add7a83878e8206e822f8fb Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 15:16:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=98=A0=E5=B0=84=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oneCompany/reflection/components/info.vue | 62 +++++++++++++------ .../oneCompany/reflection/components/list.vue | 6 +- 2 files changed, 45 insertions(+), 23 deletions(-) diff --git a/src/views/oneCompany/reflection/components/info.vue b/src/views/oneCompany/reflection/components/info.vue index 3426505..1cd789a 100644 --- a/src/views/oneCompany/reflection/components/info.vue +++ b/src/views/oneCompany/reflection/components/info.vue @@ -12,16 +12,21 @@ - + + + + + + - + - - + + + + + + + + + + + + + + - + - + - + - - - - - - - - - + + @@ -120,7 +130,9 @@ export default { deviceName: '', id: '', idRemark: '', - remark: '' + remark: '', + userCardId: '', + userPhone: '' }, form: { required: { @@ -133,9 +145,11 @@ export default { deviceId: '', deviceName: '', id: '', - idRemark: '' + userCardId: '', + userPhone: '' }, - remark: '' + remark: '', + idRemark: '' }, normalizer(node) { return { @@ -166,6 +180,12 @@ export default { ], idRemark: [ { required: true, message: '请填写其他系统编号备注', trigger: 'change' } + ], + userPhone: [ + { required: true, message: '请填写负责人手机号', trigger: 'change' } + ], + userCardId: [ + { required: true, message: '请填写负责人身份证', trigger: 'change' } ] }, heirloom: {}, @@ -217,7 +237,9 @@ export default { this.form.required.deviceId = this.material.deviceId this.form.required.deviceName = this.material.deviceName this.form.required.id = this.material.id - this.form.required.idRemark = this.material.idRemark + this.form.required.userCardId = this.material.userCardId + this.form.required.userPhone = this.material.userPhone + this.form.idRemark = this.material.idRemark this.form.remark = this.material.remark requestFN( diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue index 8d173f7..cf26c0b 100644 --- a/src/views/oneCompany/reflection/components/list.vue +++ b/src/views/oneCompany/reflection/components/list.vue @@ -36,15 +36,15 @@ highlight-current-row> - - + + - +