diff --git a/src/api/wms/allocateOrder/types.ts b/src/api/wms/allocateOrder/types.ts index 745f7dc..d89e0aa 100644 --- a/src/api/wms/allocateOrder/types.ts +++ b/src/api/wms/allocateOrder/types.ts @@ -81,6 +81,9 @@ export interface AllocateOrderVO { */ allocateReason: string; + planWarehouseName?: string; + targetWarehouseName?: string; + } export interface AllocateOrderForm extends BaseEntity { @@ -166,6 +169,9 @@ export interface AllocateOrderForm extends BaseEntity { */ allocateReason?: string; + planWarehouseName?: string; + targetWarehouseName?: string; + } export interface AllocateOrderQuery extends PageQuery { @@ -252,6 +258,9 @@ export interface AllocateOrderQuery extends PageQuery { */ allocateReason?: string; + planWarehouseName?: string; + targetWarehouseName?: string; + /** * 日期范围参数 */ diff --git a/src/api/wms/allocateOrderDetail/types.ts b/src/api/wms/allocateOrderDetail/types.ts index 76e9516..de05799 100644 --- a/src/api/wms/allocateOrderDetail/types.ts +++ b/src/api/wms/allocateOrderDetail/types.ts @@ -29,6 +29,9 @@ export interface AllocateOrderDetailVO { */ erpSynchronousQty: number; + + materialName: string; + } export interface AllocateOrderDetailForm extends BaseEntity { @@ -92,6 +95,8 @@ export interface AllocateOrderDetailForm extends BaseEntity { */ erpSynchronousQty?: number; + + } export interface AllocateOrderDetailQuery extends PageQuery { @@ -126,6 +131,8 @@ export interface AllocateOrderDetailQuery extends PageQuery { */ erpSynchronousQty?: number; + materialName?: string; + /** * 日期范围参数 */ diff --git a/src/api/wms/linkage/index.ts b/src/api/wms/linkage/index.ts index cf48c3c..3685b36 100644 --- a/src/api/wms/linkage/index.ts +++ b/src/api/wms/linkage/index.ts @@ -147,3 +147,12 @@ export const deleteTasksByDetailId = (aoDId) => { method: 'delete' }); }; + +// 调拨工单审批 +export const approveAllocateOrder = (data) => { + return request({ + url: '/wms/allocateOrder/approveAllocateOrder', + method: 'put', + data: data + }); +}; diff --git a/src/views/wms/linkage/index.vue b/src/views/wms/linkage/index.vue index 5e7967d..dc98dd3 100644 --- a/src/views/wms/linkage/index.vue +++ b/src/views/wms/linkage/index.vue @@ -85,8 +85,7 @@ - - 审批 + 审批 + + + + + {{ dict.label }} + + + + + + + + + +