lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
9d243abebf
Modificáronse 4 ficheiros con 15 adicións e 7 borrados
  1. 1 1
      App.vue
  2. 5 1
      pages/common/productBrand.vue
  3. 4 1
      pages/common/productType.vue
  4. 5 4
      pages/stock/index.vue

+ 1 - 1
App.vue

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

+ 5 - 1
pages/common/productBrand.vue

@@ -100,6 +100,7 @@
 				this.brandSn = null
 				this.$emit('clean')
 				this.isShow = false
+				this.getBrandList()
 			}
 		},
 		watch: {
@@ -140,7 +141,7 @@
 			padding: 10upx 20upx;
 		}
 		.picker-content{
-			height: 300upx;
+			height: 50vh;
 			padding: 6upx 0 20upx;
 			position: relative;
 			.picker-main{
@@ -162,6 +163,9 @@
 						right: 100upx;
 						top: 19upx;
 					}
+					&:active{
+						background: #f8f8f8;
+					}
 				}
 			}
 		}

+ 4 - 1
pages/common/productType.vue

@@ -174,7 +174,7 @@
 			color: rgb(96, 98, 102);
 		}
 		.picker-content{
-			height: 300upx;
+			height: 50vh;
 			padding: 6upx 0 20upx;
 			position: relative;
 			.picker-main{
@@ -196,6 +196,9 @@
 						right: 100upx;
 						top: 19upx;
 					}
+					&:active{
+						background: #f8f8f8;
+					}
 				}
 			}
 		}

+ 5 - 4
pages/stock/index.vue

@@ -37,9 +37,9 @@
 			</view>
 		</view>
 		<!-- 产品品牌 -->
-		<productBrand :openModal="brandModal" :itemSn="form.productBrandSn" @choose="brandChoose" @clean="brandClean" @close="brandModal=false" />
+		<productBrand ref="productBrand" :openModal="brandModal" :itemSn="form.productBrandSn" @choose="brandChoose" @clean="brandClean" @close="brandModal=false" />
 		<!-- 产品分类 -->
-		<productType :openModal="showTypeModal" :nowData="nowData" @choose="typeChoose" @clean="typeClean" @close="showTypeModal=false" />
+		<productType ref="productType" :openModal="showTypeModal" :nowData="nowData" @choose="typeChoose" @clean="typeClean" @close="showTypeModal=false" />
 	</view>
 </template>
 
@@ -154,8 +154,9 @@
 				this.form.productTypeSn2 = undefined
 				this.form.productTypeSn3 = undefined
 				this.form.zeroQtyFlag = false
-				this.queryParam.minUnsalableDays = undefined // 滞销天数最小值
-				this.queryParam.maxUnsalableDays = undefined // 滞销天数最大值
+				this.form.minUnsalableDays = undefined // 滞销天数最小值
+				this.form.maxUnsalableDays = undefined // 滞销天数最大值
+				this.$refs.productBrand.onClean()
 			},
 			// 查询
 			handleSearch(){