diff --git a/src/api/psi/outbound_order.ts b/src/api/psi/outbound_order.ts index 193bbfe1d..da0edb22c 100644 --- a/src/api/psi/outbound_order.ts +++ b/src/api/psi/outbound_order.ts @@ -29,15 +29,11 @@ export function apiOutboundOrderDetail(params: any) { export function apiOutboundOrderUpdateAmount(params: any) { return request.post({ url: '/outboundorder/updateAmount', params }, { urlPrefix: 'psi' }) } -// 导出商品仓储入库订单 -export function apiOutboundOrderRentryExport(params: any) { - return request.post({ url: '/outboundorder/rentry_export', params }) -} // 导出商品仓储出库订单 export function apiOutboundOrderExport(params: any) { - return request.post({ url: '/outboundorder/export', params }) + return request.post({ url: '/outboundorder/export', params }, { urlPrefix: 'psi' }) } // 导出商品标签 export function apiOutboundOrderExportTags(params: any) { - return request.post({ url: '/outboundorder/export_tags', params }) + return request.post({ url: '/outboundorder/export_tags', params }, { urlPrefix: 'psi' }) } diff --git a/src/api/psi/warehouse_order.ts b/src/api/psi/warehouse_order.ts index 945fb735a..53a15bc10 100644 --- a/src/api/psi/warehouse_order.ts +++ b/src/api/psi/warehouse_order.ts @@ -29,14 +29,6 @@ export function apiWarehouseOrderUpdateAmount(params: any) { return request.post({ url: '/warehouseorder/updateAmount', params }, { urlPrefix: 'psi' }) } // 导出商品仓储入库订单 -export function apiWarehouseOrderRentryExport(params: any) { - return request.post({ url: '/warehouse_order/warehouseorder/rentry_export', params }) -} -// 导出商品仓储出库订单 export function apiWarehouseOrderExport(params: any) { - return request.post({ url: '/warehouse_order/warehouseorder/export', params }) -} -// 导出商品标签 -export function apiWarehouseOrderExportTags(params: any) { - return request.post({ url: '/warehouse_order/warehouseorder/export_tags', params }) -} + return request.post({ url: '/warehouseorder/export', params }, { urlPrefix: 'psi' }) +} \ No newline at end of file diff --git a/src/views/psi/outbound_order/details.vue b/src/views/psi/outbound_order/details.vue index f2e30094a..2e6b52a1d 100644 --- a/src/views/psi/outbound_order/details.vue +++ b/src/views/psi/outbound_order/details.vue @@ -313,7 +313,7 @@ params: queryParams }) const xlsx2 = (id) => { - apiWarehouseOrderExportTags({ + apiOutboundOrderExportTags({ id: id }).then((res) => { window.open(res.url, '_blank') diff --git a/src/views/psi/warehouse_order/details.vue b/src/views/psi/warehouse_order/details.vue index 0f61803c1..36d1fd116 100644 --- a/src/views/psi/warehouse_order/details.vue +++ b/src/views/psi/warehouse_order/details.vue @@ -5,14 +5,10 @@
仓库:
{{ formData.warehouse_name }}
-
+
供应商:
{{ formData.supplier_name }}
-
-
门店:
-
{{ formData.system_store }}
-
单号:
{{ formData.code }}
@@ -31,12 +27,10 @@ 打印供货单 打印商户/会员单 打印零售单 - 打印商品标签
- + 入库 - 出库 @@ -83,8 +77,7 @@ 添加商品
- - +