From 7f599469671c56a4141eb37952d5f038bbf84afb Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期一, 29 十二月 2025 14:58:58 +0800
Subject: [PATCH] 天津双奇点-修复仓储物流入库时间显示
---
src/pages/inventoryManagement/stockManagement/index.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/pages/inventoryManagement/stockManagement/index.vue b/src/pages/inventoryManagement/stockManagement/index.vue
index c1af4cb..9c3c27b 100644
--- a/src/pages/inventoryManagement/stockManagement/index.vue
+++ b/src/pages/inventoryManagement/stockManagement/index.vue
@@ -4,8 +4,7 @@
<view class="search-section">
<view class="search-bar">
<view class="search-input">
- <up-input class="search-text" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉版悳绱�" v-model="productCategoryValue"
- @change="reloadPage" clearable />
+ <up-input class="search-text" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉版悳绱�" v-model="productCategoryValue" clearable @change="reloadPage"/>
</view>
<view class="filter-button" @click="reloadPage">
<up-icon name="search" size="24" color="#999"></up-icon>
@@ -21,7 +20,7 @@
<view class="item-box item-box0">
<view class="item">
<view class="label">鍏ュ簱鏃堕棿</view>
- <view class="value">{{ item.inboundDate }}</view>
+ <view class="value">{{ item.createTime }}</view>
</view>
<view class="item">
<view class="label">浜у搧鍚嶇О</view>
@@ -75,7 +74,7 @@
</view>
<view class="item">
<view class="label">鍏ュ簱鏃堕棿</view>
- <view class="value">{{ item.inboundDate }}</view>
+ <view class="value">{{ item.createTime }}</view>
</view>
<view class="item">
<view class="label">浜у搧鍚嶇О</view>
@@ -125,7 +124,7 @@
</template>
<script setup>
-import { ref, reactive, computed } from 'vue'
+import { ref, reactive, computed, nextTick } from 'vue'
import { listPage, listPageByCustom } from '@/api/inventoryManagement/stockManagement.js'
import { onShow, onReachBottom, onPullDownRefresh } from '@dcloudio/uni-app'
import config from '@/config'
@@ -187,7 +186,8 @@
pageParams.current += 1
getList()
}
-const reloadPage = () => {
+const reloadPage = async() => {
+ await nextTick()
pageParams.current = 1
contentList.value = []
getList()
@@ -200,7 +200,7 @@
getListApi = listPage
}
loading.value = true
- let params = pageParams
+ let params = {...pageParams}
if (productCategoryValue.value) {
params.productCategory = productCategoryValue.value
}
--
Gitblit v1.9.3