Commit c34a0ae1 authored by liuyanfang's avatar liuyanfang

1

parent 07cbef4d
......@@ -19,9 +19,9 @@ let domEle = {
printErrorModal:()=>document.querySelector(".bootbox-message") as HTMLDivElement,
printErrorConfirm:()=>document.querySelector(".bootbox-accept") as HTMLButtonElement,
reauthDialog: document.querySelector("#reauthDialog") as HTMLDivElement,//店铺授权
reauthDialogTitle: document.querySelector("#reauthDialog modal-title") as HTMLDivElement,//店铺授权
shopName: document.querySelector("#reauthDialog shopName") as HTMLDivElement,//店铺授权
reauthDialogTitle: document.querySelector("#reauthDialog .modal-title") as HTMLDivElement,//店铺授权
shopName: document.querySelector("#reauthDialog .shopName") as HTMLDivElement,//店铺授权
reauthDialogClose:document.querySelector("#reauthDialog .btn-default") as HTMLButtonElement,
}
async function booking(wayCompanyId: string, orderNo: string,fhy_type:Number) {
let checkOptionObj = platformObj
......@@ -160,6 +160,7 @@ async function waitreauthDialog() {
if (domEle.reauthDialog&&domEle.reauthDialogTitle.innerText=='店铺授权') {
console.log('店铺授权',domEle.shopName.innerText)
result.msg=`获取${domEle.shopName.innerText}店铺授权失败`
document.reauthDialogClose.click()
return result
}
}
......@@ -218,6 +219,7 @@ async function waitPrintResult() {
console.log('店铺授权',domEle.shopName.innerText);
result.status = 5;
result.msg=`获取${domEle.shopName.innerText}店铺授权失败`;
document.reauthDialogClose.click()
return result;
}
if (domEle.modalResult.className == 'modal fade sui-modal none in') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment