|
@@ -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)
|
|
|
// }
|