From 1946f6a5e9dcc601eb077f8fa2a923fbdf839179 Mon Sep 17 00:00:00 2001 From: hexiaodong <1@1.com> Date: Tue, 31 Mar 2026 11:48:23 +0800 Subject: [PATCH] feat(douyin): 退款中状态、发货单重提重建销售出库单;wtSp/NCC 相关调整 --- Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/Form.vue | 11 ++++++++--- Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/index.vue | 6 +++--- Antis.Erp.Plat/douyin/DouyinLogistics.API/Controllers/OrdersController.cs | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------- Antis.Erp.Plat/douyin/DouyinLogistics.API/Controllers/WaybillController.cs | 26 +++++++++++++++++--------- Antis.Erp.Plat/douyin/DouyinLogistics.API/Models/Order.cs | 2 +- Antis.Erp.Plat/douyin/DouyinLogistics.API/Services/DouyinService.cs | 141 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------- Antis.Erp.Plat/douyin/DouyinLogistics.API/Services/OrderService.cs | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------- Antis.Erp.Plat/douyin/DouyinLogistics.API/appsettings.Development.json | 3 +++ Antis.Erp.Plat/douyin/frontend/src/api/order.ts | 6 +++++- Antis.Erp.Plat/douyin/frontend/src/utils/config.ts | 11 +++++++++++ Antis.Erp.Plat/douyin/frontend/src/views/CreateWaybillView.vue | 197 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------- Antis.Erp.Plat/douyin/frontend/src/views/OrderListView.vue | 23 +++++++++++++++-------- Antis.Erp.Plat/netcore/src/Application/NCC.API/Properties/launchSettings.json | 2 +- Antis.Erp.Plat/netcore/src/Modularity/Extend/NCC.Extend.Entitys/Dto/WtSpCrInput.cs | 2 +- Antis.Erp.Plat/netcore/src/Modularity/Extend/NCC.Extend/WtSpService.cs | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------- 15 files changed, 511 insertions(+), 208 deletions(-) diff --git a/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/Form.vue b/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/Form.vue index 57cfd23..f5f2264 100644 --- a/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/Form.vue +++ b/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/Form.vue @@ -10,7 +10,7 @@ - + @@ -161,7 +161,7 @@ dataForm: { id:'', spmc:undefined, - pl:undefined, + pl:[], pp:undefined, spbm:undefined, dyspid:undefined, @@ -313,6 +313,9 @@ this.dataForm = res.data; if(!this.dataForm.spzt)this.dataForm.spzt=[]; if(!this.dataForm.xsmd)this.dataForm.xsmd=[]; + // 商品品类:接口为逗号分隔的多个 F_Id + const plRaw = this.dataForm.pl; + this.dataForm.pl = plRaw ? String(plRaw).split(',').map(s => s.trim()).filter(Boolean) : []; this.getStock(this.dataForm.spbm); }) } else { @@ -386,7 +389,9 @@ tcfs_bl: this.dataForm.tcfs_bl || null, spxlhType: this.dataForm.spxlhType || null, xsqd: this.dataForm.xsqd || null, - pl: this.dataForm.pl || null, + pl: Array.isArray(this.dataForm.pl) && this.dataForm.pl.length + ? this.dataForm.pl.join(',') + : (this.dataForm.pl && typeof this.dataForm.pl === 'string' ? this.dataForm.pl : null), pp: this.dataForm.pp || null, spbm: this.dataForm.spbm || null, dyspid: this.dataForm.dyspid || null, diff --git a/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/index.vue b/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/index.vue index 23df5a4..37d376d 100644 --- a/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/index.vue +++ b/Antis.Erp.Plat/antis-ncc-admin/src/views/wtSp/index.vue @@ -1,4 +1,4 @@ -