Commit a82bfedc by wusiyi

feat: 配货分拣规则添加启用状态、名称字段

parent e99e47ee
......@@ -539,6 +539,13 @@ const handleSubmit = async () => {
}),
),
}
if (!submitData.name) {
const desc = areaList.value.find(
(item) => item.code === submitData.areaCode,
)?.desc
submitData.name = `${desc}-${props.warehouseName}`
}
if (props.isEdit) {
submitData.id = props.editData?.id
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment