Bladeren bron

规格选择车牌号缓存

高敬炎 2 jaren geleden
bovenliggende
commit
89a0bfcf43
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 3 1
      pages/erpbusiness/add_quality_testing.vue

+ 3 - 1
pages/erpbusiness/add_quality_testing.vue

@@ -1122,12 +1122,14 @@
 					})
 				}
 			}
-			if(uni.getStorageSync('carNo')&&this.typevalue==1){
+			if(uni.getStorageSync('carNo')&&uni.getStorageSync('gridList')&&this.typevalue==1){
+				this.gridList=uni.getStorageSync('gridList')
 				this.gridList.carNumber=uni.getStorageSync('carNo')
 			}
 		},
 		methods: {
 			carchange(){
+				uni.setStorageSync('gridList', this.gridList)
 				uni.navigateTo({
 					url: '/pages/erpbusiness/customercar?cangid=' + this.cangid + '&warehouseName=' + this.gridList
 						.warehouseName + '&goodsName=' + this.gridList.goodsName