From e376c99d80df50257b80a0da99865e80cf6b55c5 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期六, 13 十二月 2025 11:09:54 +0800
Subject: [PATCH] no message
---
pages/listing/matnrPalletising.vue | 25 ++++++++++++++++++++-----
1 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/pages/listing/matnrPalletising.vue b/pages/listing/matnrPalletising.vue
index 1460548..10ecc4e 100644
--- a/pages/listing/matnrPalletising.vue
+++ b/pages/listing/matnrPalletising.vue
@@ -15,6 +15,8 @@
<view class="cu-form-group">
<view class="title">绁ㄥ彿</view>
<input placeholder="璇锋壂鎻忕幇鍝佺エ鍙�" v-model="fieldsIndex" @input="search()" focus></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>
<view class="cu-form-group">
@@ -169,11 +171,20 @@
}
that.getDetl(param);
},
-
+ clearCode() {
+ this.fieldsIndex = ''
+ },
async getDetl(req) {
let that = this;
-
- const { code, data, msg } = await request('/asnOrderItem/trackCode', {
+ uni.showLoading({
+ title: "鍔犺浇涓�...",
+ mask: true
+ })
+ const {
+ code,
+ data,
+ msg
+ } = await request('/asnOrderItem/trackCode', {
matnrCode: that.matnrCode,
asnCode: that.asnCode,
code: that.asnCode,
@@ -195,7 +206,7 @@
position: 'top'
})
}
- // uni.hideLoading();
+ uni.hideLoading();
},
async getList() {
@@ -312,7 +323,11 @@
};
});
- const { code, data, msg } = await request('/waitPakin/merge', {
+ const {
+ code,
+ data,
+ msg
+ } = await request('/waitPakin/merge', {
items: newArr,
isHalf: this.isHalf,
barcode: this.container,
--
Gitblit v1.9.1