Commit f55cae9a authored by liuyanfang's avatar liuyanfang

增加约单

parent 5cec7645
{ {
"name": "菜芽-自动约单", "name": "菜芽-自动约单",
"version": "1.0.5", "version": "1.0.6",
"description": "辅助手机壳厂家打印发货易的快递单", "description": "辅助手机壳厂家打印发货易的快递单",
"manifest_version": 2, "manifest_version": 2,
......
...@@ -120,6 +120,7 @@ async function booking(wayCompanyId: string, orderNo: string,fhy_type:Number) { ...@@ -120,6 +120,7 @@ async function booking(wayCompanyId: string, orderNo: string,fhy_type:Number) {
//取消打印 //取消打印
await delayDate(1000); await delayDate(1000);
domEle.btnDialogCancel.click(); domEle.btnDialogCancel.click();
result.data=printError
return result; return result;
} }
...@@ -193,7 +194,6 @@ async function waitPrintResult() { ...@@ -193,7 +194,6 @@ async function waitPrintResult() {
} }
if(domEle.printErrorModal() && domEle.printErrorModal().innerText==' 获取电子面单失败,从9月1日起淘宝平台开启付费解密虚拟号方案(查看详情),因此不支持非菜鸟电子面单打印,请尽量使用菜鸟电子面单打印,如需付费解密虚拟号打印非菜鸟电子面单请联系发货易客服咨询'){ if(domEle.printErrorModal() && domEle.printErrorModal().innerText==' 获取电子面单失败,从9月1日起淘宝平台开启付费解密虚拟号方案(查看详情),因此不支持非菜鸟电子面单打印,请尽量使用菜鸟电子面单打印,如需付费解密虚拟号打印非菜鸟电子面单请联系发货易客服咨询'){
result.msg="获取电子面单失败"; result.msg="获取电子面单失败";
domEle.printErrorConfirm().click(); domEle.printErrorConfirm().click();
return result; return result;
} }
......
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