|
|
@@ -340,6 +340,12 @@ export function useReplenisher(tableRef: Ref) {
|
|
|
const generatingCode = ref(false);
|
|
|
|
|
|
function openBindingCodeDialog(row: ReplenisherFormItem) {
|
|
|
+ // 已绑定微信的补货员无需生成绑定码,只提示不弹窗
|
|
|
+ if (row.wechatOpenid) {
|
|
|
+ message("该补货员已绑定微信,无需重新生成绑定码", { type: "info" });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ currentReplenisher.value = row;
|
|
|
bindingCodeData.replenisherName = row.name;
|
|
|
bindingCodeData.bindingCode = "";
|
|
|
bindingCodeData.qrCodeDataUrl = "";
|