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() {
if (form.value.id) {
form.value.receiverType = "";
form.value.deviceNumber = '';
form.value.deviceName = '';
form.value.receiverUserId = '';
form.value = {
receiverType: "",
deviceNumber: '',
deviceName: '',
receiverUserId: '',
status: 0,
statusTxt: '设备',
factoryAreaNumber: '',
factoryAreaName: '',
}
form.value.receiverType = deviceMoldType.value[0].value
form.value.receiverTypeTxt = deviceMoldType.value[0].label
selecUserList.value = []
} else {
form.value = {
id: '',
@ -208,9 +217,13 @@
deviceName: '',
receiverUserId: '',
status: 0,
statusTxt: '',
factoryAreaNumber: ''
statusTxt: '设备',
factoryAreaNumber: '',
factoryAreaName: '',
}
form.value.receiverType = deviceMoldType.value[0].value
form.value.receiverTypeTxt = deviceMoldType.value[0].label
selecUserList.value = []
}
}
//

Loading…
Cancel
Save