diff --git a/src/api/setting.warehouse/settingwarehouse.ts b/src/api/setting.warehouse/settingwarehouse.ts index beaff0a5..e442e864 100644 --- a/src/api/setting.warehouse/settingwarehouse.ts +++ b/src/api/setting.warehouse/settingwarehouse.ts @@ -17,15 +17,30 @@ export type SettingWarehouseAutoOutboundRule = { require_weigh?: boolean /** 是否要求已同步(sync_status=fin),默认 true */ require_sync?: boolean - /** 是否不出库当天复核的订单(默认 true):按订单复核时间所在日计算,需等到该日的「放行时间」才自动出库 */ + /** + * 是否不出库当天复核订单(flag),默认 true;开启后按订单复核时间所在日计算:复核时间在「允许当天出库最后时间」之后的订单, + * 需等到该复核日的「放行时间」才自动出库;复核时间早于该最后时间、或为空的订单不受影响 + */ exclude_same_day_outbound?: boolean - /** 允许当天出库最后时间,格式 HH:mm,默认 06:00(当天内 00:00~23:59),不能大于放行时间 */ + /** + * 允许当天出库最后时间(HH:mm,默认 06:00,**当天内 00:00~23:59**,不支持 24:00); + * 复核时间早于该时间的订单不受「不出库当天订单」影响,**不能大于放行时间**; + * 想表达「当天复核的订单全天不出库」时设为 00:00(配合放行时间 23:59 = 过了零点后全部出库) + */ same_day_outbound_deadline_time?: string - /** 放行时间,格式 HH:mm,默认 22:00;支持跨天 00:00~47:59(24:00 之后表示次日,如 27:00 = 次日 03:00) */ + /** + * 放行时间(HH:mm,默认 22:00,**支持跨天 00:00~47:59**:24:00 之后的数字表示次日,如 27:00 = 次日 03:00); + * 到达该时刻后,该复核日被限制的订单放行。常用:23:59 = 当天不放、过了零点出库;27:00 = 到次日 03:00 才出库 + */ same_day_outbound_release_time?: string } -/** 自动出库规则(subject_config.auto_outbound_rules):数组,空数组表示不自动出库任何订单 */ +/** + * 自动出库规则(subject_config.auto_outbound_rules):**数组**,空数组表示不自动出库任何订单。 + * 每项规则独立判断,订单满足任意一条规则即自动出库;规则内条件为「与」关系。 + * 固定前置条件(不可配置):已复核 recheck_status=fin + 已分配储位 storage_status=fin。 + * ⚠️ 旧版本的对象结构(含 enabled/require_recheck/require_print/require_pick)已废弃不再兼容,**保存为非数组时后端返回 400** + */ export type SettingWarehouseAutoOutboundRules = SettingWarehouseAutoOutboundRule[] /** 规则中的布尔(flag)子项 */ @@ -54,22 +69,22 @@ export const DEFAULT_AUTO_OUTBOUND_RULE: Required

新增语言信息

- + + diff --git a/src/views/data/packingflow/index.vue b/src/views/data/packingflow/index.vue index 90e4346c..99b20158 100644 --- a/src/views/data/packingflow/index.vue +++ b/src/views/data/packingflow/index.vue @@ -293,7 +293,7 @@ :close-on-click-modal="false" align-center > - + {{ operatingRow?.id ?? '—' }} diff --git a/src/views/material/packageMaterial/index.vue b/src/views/material/packageMaterial/index.vue index e28d61b9..ef89ea5b 100644 --- a/src/views/material/packageMaterial/index.vue +++ b/src/views/material/packageMaterial/index.vue @@ -92,7 +92,7 @@ align-center @close="resetForm" > - + diff --git a/src/views/material/packageSupplier/index.vue b/src/views/material/packageSupplier/index.vue index 977069b2..f9bec665 100644 --- a/src/views/material/packageSupplier/index.vue +++ b/src/views/material/packageSupplier/index.vue @@ -80,7 +80,7 @@ align-center @close="resetForm" > - + diff --git a/src/views/stock/stock/component/add.vue b/src/views/stock/stock/component/add.vue index 7450e65d..11d6b60a 100644 --- a/src/views/stock/stock/component/add.vue +++ b/src/views/stock/stock/component/add.vue @@ -1,6 +1,6 @@