Browse Source

fix: 检修和维修内容重置之后不能提交

master
zhang_li 8 months ago
parent
commit
ff6783c112
  1. 23
      src/pages/overhaulOrder/addServiceRecord.vue
  2. 13
      src/pages/repairOrder/addServiceRecord.vue

23
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() {

13
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 = []
}
//

Loading…
Cancel
Save