From b30fdabd8f424d708d9131f59871cd166372e12b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E5=B0=9B?= <1254210241@qq.com> Date: Mon, 29 Jun 2026 09:20:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/zhishu/orderExternalGoods/index.vue | 14 +- src/views/zhishu/warehouseSettings/index.vue | 596 ++++++++---------- 2 files changed, 288 insertions(+), 322 deletions(-) diff --git a/src/views/zhishu/orderExternalGoods/index.vue b/src/views/zhishu/orderExternalGoods/index.vue index b3a6707..59ad020 100644 --- a/src/views/zhishu/orderExternalGoods/index.vue +++ b/src/views/zhishu/orderExternalGoods/index.vue @@ -1052,7 +1052,11 @@ const printNew = async () => { const LODOP = (await createPrintTask(expressType.value, res.data)) as LODOPObject; LODOP.SET_PRINTER_INDEX(printerData.value); LODOP.PRINT(); - faHuo('POSTBBZ', res.data.waybillNo, currentItem.erpOrderId); + if (expressType.value == 'YZXB') { + faHuo('POSTBBZ', res.data.waybillNo, currentItem.erpOrderId); + } else { + faHuo(expressType.value, res.data.waybillNo, currentItem.erpOrderId); + } } } catch (error) { buttonLoading.value = false; @@ -1077,7 +1081,11 @@ const printNew = async () => { const LODOP = (await createPrintTask(expressType.value, res.data)) as LODOPObject; LODOP.SET_PRINTER_INDEX(printerData.value); LODOP.PRINT(); - faHuo('POSTBBZ', res.data.waybillNo, erpOrderId.value); + if (expressType.value == 'YZXB') { + faHuo('POSTBBZ', res.data.waybillNo, erpOrderId.value); + } else { + faHuo(expressType.value, res.data.waybillNo, erpOrderId.value); + } buttonLoading.value = false; dialogCompany.visible = false; getList(); @@ -1266,7 +1274,7 @@ const getFastMailLabel = (item) => { return '协议客户号:' + item.partnerId; } else if (item.type == 'JTSD') { return '客户编码:' + item.partnerId + ' 客户密码:' + item.secret; - }else if (item.type == 'YTO') { + } else if (item.type == 'YTO') { return '商家代码:' + item.partnerId + ' 商家秘钥:' + item.secret; } } else if (item.fastMailType == '2') { diff --git a/src/views/zhishu/warehouseSettings/index.vue b/src/views/zhishu/warehouseSettings/index.vue index 7785942..18751c1 100644 --- a/src/views/zhishu/warehouseSettings/index.vue +++ b/src/views/zhishu/warehouseSettings/index.vue @@ -23,10 +23,14 @@ 新增 - 修改 + 修改 - 删除 + 删除 @@ -36,43 +40,42 @@ - + - + - + - + - + - - + - - @@ -91,66 +100,43 @@ - + - - -
- 基本规则 -
- - - - - - - - + +
基本规则
+ + + + + + - - - + 下单减库存 支付减库存 -
下单减库存功能暂未开放
+
下单减库存功能暂未开放
- + @@ -158,103 +144,90 @@
-
- 商品匹配规则 -
+
商品匹配规则
- - - - - - - - - - - - - - - - - - - - - - - - -
- -
- 退货规则(仅针对未发货订单退款,自动回退库存) -
- - - - + + + + + + + + + + + + + + + + + + + + +
退货规则(仅针对未发货订单退款,自动回退库存)
+ + + + + + + +