Browse Source

fix: bug

master
zhang_li 8 months ago
parent
commit
faac650914
  1. 25
      src/pages/repairOrder/transfer.vue

25
src/pages/repairOrder/transfer.vue

@ -196,10 +196,19 @@
// //
function reset() { function reset() {
if (form.value.id) { if (form.value.id) {
form.value.receiverType = ""; form.value = {
form.value.deviceNumber = ''; receiverType: "",
form.value.deviceName = ''; deviceNumber: '',
form.value.receiverUserId = ''; deviceName: '',
receiverUserId: '',
status: 0,
statusTxt: '设备',
factoryAreaNumber: '',
factoryAreaName: '',
}
form.value.receiverType = deviceMoldType.value[0].value
form.value.receiverTypeTxt = deviceMoldType.value[0].label
selecUserList.value = []
} else { } else {
form.value = { form.value = {
id: '', id: '',
@ -208,9 +217,13 @@
deviceName: '', deviceName: '',
receiverUserId: '', receiverUserId: '',
status: 0, status: 0,
statusTxt: '', statusTxt: '设备',
factoryAreaNumber: '' factoryAreaNumber: '',
factoryAreaName: '',
} }
form.value.receiverType = deviceMoldType.value[0].value
form.value.receiverTypeTxt = deviceMoldType.value[0].label
selecUserList.value = []
} }
} }
// //

Loading…
Cancel
Save