From 7ed2a032d0724e68aec8af940f2ce0023a9f0eb7 Mon Sep 17 00:00:00 2001
From: sen <sen@qq.com>
Date: 星期三, 15 四月 2026 09:27:51 +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 df4f40c..e95ae23 100644
--- a/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
+++ b/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
@@ -3,7 +3,7 @@
     <avue-crud :option="option" :table-loading="pageF.loading" :data="tableData" :page="page"
       :permission="permissionList" :before-open="beforeOpen" v-model="form" ref="crudRef" @row-update="rowUpdate"
       @row-save="rowSave" @refresh-change="refreshChange" @row-del="rowDel" @search-change="searchChange"
-      @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange"
+      @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange" v-model:search="queryParams"
       @size-change="sizeChange" @on-load="onLoad">
       <template #menu-left>
         <!-- <el-button type="success" icon="Edit" :disabled="pageF.single" v-hasPermi="['cwgl:smartLockerApplication:edit']"
@@ -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,7 +377,7 @@
 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);
   })

--
Gitblit v1.8.0