1. 处方修复未通过或者审核中依然能看到药品的问题

This commit is contained in:
李琦
2026-06-15 15:57:12 +08:00
parent a2cb9fd8ba
commit dcf6c37195
3 changed files with 50 additions and 7 deletions

View File

@@ -75,6 +75,18 @@ export async function performLogin(options = { silent: false, toastRef: null })
console.error('绑定推广员失败:', err);
});
}
// 5.2 绑定推广员(如果存在)
const salId = uni.getStorageSync('sal_id');
if (salId) {
bindUserApi({
user_id: res.data.data.data.user.id,
salesperson_id: salId,
}).then((bindRes) => {
console.log(bindRes, 'bindUserApi', bindRes);
}).catch((err) => {
console.error('绑定推广员失败:', err);
});
}
// 5.3 处理门店切换/设置
const storeId = uni.getStorageSync('store_id');