lilei 3 лет назад
Родитель
Сommit
2e8fd866e1
4 измененных файлов с 7 добавлено и 5 удалено
  1. 1 1
      App.vue
  2. 1 1
      pages/sales/list.vue
  3. 1 1
      pages/sales/listComponent.vue
  4. 4 2
      pages/sales/salesRecord.vue

+ 1 - 1
App.vue

@@ -5,7 +5,7 @@
 			token: '',
 			changeOrg:'',
 			version: '', // 当前版本号
-			buildType: 'dev', // 打包环境对应类型,pro 生产 uat 预发布 dev 本地开发
+			buildType: 'uat', // 打包环境对应类型,pro 生产 uat 预发布 dev 本地开发
 			envTips: '', // 环境文字提示
 			theme: 'default', // 主题,default
 			isIphoneXup: false //是否iphonex以及以上的版本

+ 1 - 1
pages/sales/list.vue

@@ -139,7 +139,7 @@
 			background-color: #fff;
 		}
 		.list-box{
-			padding: 0;
+			padding: 0 25upx;
 		}
 	}
 </style>

+ 1 - 1
pages/sales/listComponent.vue

@@ -227,7 +227,7 @@
 				.sales-list-item{
 					background: #ffffff;
 					padding: 20upx;
-					margin: 25upx;
+					margin: 25upx 0;
 					border-radius: 25upx;
 					box-shadow: 1px 1px 3px #EEEEEE;
 					.list-item-tit{

+ 4 - 2
pages/sales/salesRecord.vue

@@ -6,7 +6,7 @@
 		</view>
 		<view class="product-list">
 			<view class="search-box">
-				<u-cell-group>
+				<!-- <u-cell-group>
 					<u-cell-item value="去选择" @click="toChooseCust">
 						<view slot="title">
 							选择客户:
@@ -14,7 +14,8 @@
 							<u-tag v-else :text="'全部'" shape="circle" />
 						</view>
 					</u-cell-item>
-				</u-cell-group>
+				</u-cell-group> -->
+				<u-search placeholder="输入客户名称搜索" v-model="queryparams.buyerName" @clear="tagClick" @search="getList(1)" @custom="getList(1)"></u-search>
 			</view>
 			<scroll-view class="sales-list-con" :style="{height: scrollH+'upx'}" scroll-y @scrolltolower="onreachBottom">
 				<view class="sales-list-main">
@@ -161,6 +162,7 @@
 	.product-list{
 		flex-grow: 1;
 		.search-box{
+			padding: 0 20upx 20upx;
 			background: #fff;
 		}
 		.sales-list-con{