|
@ -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 = [] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
// 扫描设备条码 |
|
|
// 扫描设备条码 |
|
|