Bläddra i källkod

fix: 库存管理增加关键字搜索条件,修复搜索页码传错问题,工作台售后标题显示问题

liujt 9 månader sedan
förälder
incheckning
10fb259eb9
2 ändrade filer med 3 tillägg och 2 borttagningar
  1. 1 1
      pages/index/index.vue
  2. 2 1
      pages/warehouse/inventory/index.vue

+ 1 - 1
pages/index/index.vue

@@ -56,7 +56,7 @@
 			</view>
 		</view>
 		<view>
-			<CellTip title="售后服务管理"></CellTip>
+			<CellTip title="售后服务管理" v-if="serviceList.length > 0"></CellTip>
 			<view class="nav">
 				<view class="nav-content">
 					<view class="nav-item" v-for="(item, index) in serviceList" @click="toNav(item.path)">

+ 2 - 1
pages/warehouse/inventory/index.vue

@@ -3,7 +3,7 @@
 		<uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="库存查询" @clickLeft="back"></uni-nav-bar>
 		<view class="top-wrapper">
 			<uni-section>
-				<uni-easyinput prefixIcon="search" style="width: 460rpx" v-model="form.keyWord" placeholder="请输入编码/名称">
+				<uni-easyinput prefixIcon="search" style="width: 460rpx" v-model="form.keyWord" placeholder="请输入编码/名称/规格/型号">
 				</uni-easyinput>
 			</uni-section>
 			<view style="display: flex;">
@@ -492,6 +492,7 @@
 			// },
 			search() {
 				this.listData = []
+				this.page = 1
 				this.getData()
 			},
 			getMoreLists() {