Переглянути джерело

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

wangchao 3 роки тому
батько
коміт
462a5cfaa8
1 змінених файлів з 3 додано та 5 видалено
  1. 3 5
      pages/erpbusiness/add_quality_testing.vue

+ 3 - 5
pages/erpbusiness/add_quality_testing.vue

@@ -312,12 +312,10 @@
 			// 	}
 			// })
 			this.managementType = options.managementType
-		},
-		onShow() {
 			let that = this
 			this.purchasePriceList = uni.getStorageSync('purchasePriceList')
 			if (uni.getStorageSync('checkcustomer')) {
-
+			
 				let _customerInfo = uni.getStorageSync('checkcustomer')
 				if (_customerInfo.shipperName) {
 					this.gridList.identityId = _customerInfo.id
@@ -330,7 +328,7 @@
 					this.gridList.customerName = _customerInfo.customerName
 					this.gridList.customerPhone = _customerInfo.customerPhone
 				}
-
+			
 				this.gridList.customerNumberCard = _customerInfo.customerNumberCard
 			}
 			this.gridList.grade = this.gradeList[0].value
@@ -351,7 +349,7 @@
 						uni.setStorageSync('purchasePriceList', that.goodsList)
 						that.purchasePriceList = uni.getStorageSync('purchasePriceList')
 					}
-
+			
 					// for (let i = 0; i < res.data.data.length; i++) {
 					// 	this.goodsList.push(res.data.data[i].goodsName)
 					// }