From ff6783c112f6615f1df31f97c7ff955a59dcedb2 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 27 Mar 2024 08:54:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A3=80=E4=BF=AE=E5=92=8C=E7=BB=B4?= =?UTF-8?q?=E4=BF=AE=E5=86=85=E5=AE=B9=E9=87=8D=E7=BD=AE=E4=B9=8B=E5=90=8E?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/overhaulOrder/addServiceRecord.vue | 23 +++++++++----------- src/pages/repairOrder/addServiceRecord.vue | 13 +++++------ 2 files changed, 15 insertions(+), 21 deletions(-) diff --git a/src/pages/overhaulOrder/addServiceRecord.vue b/src/pages/overhaulOrder/addServiceRecord.vue index 9cd12e9..b203492 100644 --- a/src/pages/overhaulOrder/addServiceRecord.vue +++ b/src/pages/overhaulOrder/addServiceRecord.vue @@ -324,19 +324,16 @@ } // 重置 function reset() { - form.value = { - number: '', - name: '', - peoples: null, - estimatedMinutes: '', - actualMinutes: '', - chargePeoples: '', - status:null, - completionTime: '', - engineer: '', - uncompleted: '', - itemNumbers: [] - } + form.value.name = '' + form.value.peoples = null + form.value.estimatedMinutes = '' + form.value.actualMinutes = '' + form.value.chargePeoples = '' + form.value.status = null + form.value.completionTime = '' + form.value.engineer = '' + form.value.uncompleted = '' + form.value.itemNumbers = [] } // 获取人员列表 async function getSelecUser() { diff --git a/src/pages/repairOrder/addServiceRecord.vue b/src/pages/repairOrder/addServiceRecord.vue index 6f4ec97..f1c1f0e 100644 --- a/src/pages/repairOrder/addServiceRecord.vue +++ b/src/pages/repairOrder/addServiceRecord.vue @@ -220,14 +220,11 @@ } // 重置 function reset() { - form.value = { - number: '', - describes: '', - describes1: '', - workOut: '', - maintenances: '', - itemNumbers: [], - } + form.value.describes = '' + form.value.describes1 = '' + form.value.workOut = '' + form.value.maintenances = '' + form.value.itemNumbers = [] } // 获取人员列表