liu
2026-08-31 a4b8633d8115bb1e0bf3a7e81ddfe1678a056fb7
fix(wls): 盘点方案表单盲盘/冻结开关默认false

不拨开关时默认按 false 提交(不盲盘、不冻结),避免后端参数校验报'不能为空'。

Co-Authored-By: Claude <noreply@anthropic.com>
已修改1个文件
2 ■■■■■ 文件已修改
src/views/wls/stocktaking/plan/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/stocktaking/plan/data.ts
@@ -116,6 +116,7 @@
      fieldName: 'blindFlag',
      label: '是否盲盘',
      component: 'Switch',
      defaultValue: false,
      componentProps: {
        checkedChildren: '是',
        unCheckedChildren: '否',
@@ -126,6 +127,7 @@
      fieldName: 'frozen',
      label: '冻结库存',
      component: 'Switch',
      defaultValue: false,
      componentProps: {
        checkedChildren: '是',
        unCheckedChildren: '否',