From 6705efe18a3d82c1baf4130e74872f2509af760f Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期一, 26 一月 2026 13:59:17 +0800
Subject: [PATCH] 修改为下单类型
---
ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue b/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
index 63da0e6..69c36f9 100644
--- a/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
+++ b/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
@@ -180,7 +180,7 @@
// 鍒ゆ柇 itemType 鏄惁涓� '0'锛屽苟涓� itemName 鏈夊��
if (form.value.itemType === '0' && val) {
// 鍦ㄨ繖閲屾坊鍔犱綘鐨勮姹傛帴鍙i�昏緫
- debouncedItemNameChange(val.value);
+ debouncedItemNameChange(val);
// 绀轰緥璇锋眰璋冪敤锛堥渶瑕佹浛鎹负瀹為檯鐨凙PI璋冪敤锛�
// yourApiRequestFunction(val).then(response => {
// // 澶勭悊鍝嶅簲
@@ -361,9 +361,9 @@
// 瀹氫箟瀹為檯瑕佹墽琛岀殑鍑芥暟
const handleItemNameChange = (val: any) => {
// 鍒ゆ柇 itemType 鏄惁涓� '0'锛屽苟涓� itemName 鏈夊��
- if (form.value.itemType === '0' && val) {
+ if (form.value.itemType == 0 && val) {
// 鍦ㄨ繖閲屾坊鍔犱綘鐨勮姹傛帴鍙i�昏緫
- smartLockerApplicationQuery({ licensePlateNumber: val }).then(response => {
+ smartLockerApplicationQuery({ licensePlateNumber: form.value.itemName }).then(response => {
if (response.code == 200) {
form.value.lockerPort = response.data || '';
}
@@ -377,13 +377,13 @@
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);
})
}
-const handleEditBtn = (row, index) => {
+const handleEditBtn = (row:any, index:any) => {
crudRef.value.rowEdit(row, index)
// option.value.editBtn = true;
}
--
Gitblit v1.8.0