From 928e30463fc7e6e88fa3f3c1bdd3f4f94c518011 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 18 十一月 2025 16:15:17 +0800
Subject: [PATCH] 1
---
pages/outbound/PickItemDetl.vue | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/pages/outbound/PickItemDetl.vue b/pages/outbound/PickItemDetl.vue
index 0bc23ee..3aa7266 100644
--- a/pages/outbound/PickItemDetl.vue
+++ b/pages/outbound/PickItemDetl.vue
@@ -14,9 +14,8 @@
<form>
<view class="cu-form-group" v-show="!isconfirm">
<view class="title">绁ㄥ彿锛�</view>
- <input placeholder="璇锋壂鎻忕エ鍙�" v-model="fieldsIndex" focus></input>
+ <input placeholder="璇锋壂鎻忕エ鍙�" v-model="fieldsIndex" focus @input="search()"></input>
<text class='cuIcon-close text-gray margin-right-xs' v-show="fieldsIndex!==''" @click="clearCode"></text>
- <text class='cuIcon-search text-blue' @click="search"></text>
</view>
</form>
</view>
@@ -116,9 +115,9 @@
},
async search() {
let that = this;
- // if(this.barcode === '' || this.barcode ===null){
- // return ;
- // }
+ if(this.fieldsIndex === '' || this.fieldsIndex.length > 30){
+ return ;
+ }
const { code, data, msg } = await request('/wave/order/items', {
barcode: this.orderDetl.barcode,
orderId: that.orderDetl.orderId,
--
Gitblit v1.9.1