| | |
| | | // 定义实际要执行的函数 |
| | | const handleItemNameChange = (val: any) => { |
| | | // 判断 itemType 是否为 '0',并且 itemName 有值 |
| | | if (form.value.itemType === '0' && val) { |
| | | if (form.value.itemType == 0 && val) { |
| | | // 在这里添加你的请求接口逻辑 |
| | | smartLockerApplicationQuery({ licensePlateNumber: val }).then(response => { |
| | | if (response.code == 200) { |
| | |
| | | const handleInvalid = (row: any) => { |
| | | proxy.$modal.confirm(`是否作废该申领人编码 :${row.applicantCode}?`).then(function () { |
| | | return smartLockerApplicationInvalid(row.id); |
| | | }).then((res) => { |
| | | }).then((res:any) => { |
| | | onLoad(page.value); |
| | | proxy.$modal.msgSuccess(res.msg); |
| | | }) |