fix:指纹改用PSI phoneNumber,不再使用kongfz_shop_name

This commit is contained in:
ShenQiLun 2026-06-29 11:52:36 +08:00
parent 0bb82e5861
commit 5a4968881a

View File

@ -1297,11 +1297,11 @@ export default {
//
onShow() {
//
// PSI
var savedAccount = uni.getStorageSync('pendingAccount') || ''
var currentAccount = uni.getStorageSync('kongfz_shop_name') || ''
var currentAccount = uni.getStorageSync('phoneNumber') || ''
if (savedAccount && savedAccount !== currentAccount) {
//
// PSI
this.clearPendingData()
}
@ -2256,8 +2256,8 @@ export default {
this.pendingProductList.push(entry)
this.pendingCount = this.pendingProductList.length
uni.setStorageSync('pendingProductList', this.pendingProductList)
var shopName = uni.getStorageSync('kongfz_shop_name') || ''
uni.setStorageSync('pendingAccount', shopName)
var psiAccount = uni.getStorageSync('phoneNumber') || ''
uni.setStorageSync('pendingAccount', psiAccount)
// /
await this.appendWaveItem(warehouseData, productId, this.stock ?? '1', salePrice)
if (this.pendingCount >= 200) {
@ -2421,8 +2421,8 @@ export default {
this.pendingProductList.push(entry)
this.pendingCount = this.pendingProductList.length
uni.setStorageSync('pendingProductList', this.pendingProductList)
var shopName = uni.getStorageSync('kongfz_shop_name') || ''
uni.setStorageSync('pendingAccount', shopName)
var psiAccount = uni.getStorageSync('phoneNumber') || ''
uni.setStorageSync('pendingAccount', psiAccount)
// /
await this.appendWaveItem(this.noIsbnWarehouseData, productId, this.noIsbnStock ?? '1', salePrice)
if (this.pendingCount >= 200) {