1. 【新增】售后单售后原因类型支持搜索

2. 【新增】手工创建订单折扣可输入正数

3. 【优化】盘点申请单确认

4. 【修复】采购退货单模拟出库失败问题

5. 【新增】订单金额客户实付与结算金额

6. 【优化】仓库发货统计报表物料名称显示

7. 【优化】自有仓储虚拟发货逻辑

8. 【修复】基础物料分类管理问题
This commit is contained in:
chenping
2026-04-01 11:59:17 +08:00
parent 9341122827
commit 61783b7d01
754 changed files with 46179 additions and 5700 deletions

View File

@@ -89,6 +89,10 @@ class brush_ctl_admin_condition extends desktop_controller{
$opInfo = kernel::single('ome_func')->getDesktopUser();
$_POST['op_id'] = $opInfo['op_id'];
$_POST['op_name'] = $opInfo['op_name'];
// 如果 condition 是空字符串,移除该字段,让数据库使用默认值或 NULL
if (isset($_POST['condition']) && $_POST['condition'] === '') {
unset($_POST['condition']);
}
$flag = $farm_obj->save($_POST);
if($flag){
$opObj = app::get('ome')->model('operation_log');