Commit 4aa5a5f8 authored by wuhao's avatar wuhao 🎯

asder

parent a6d7ed12
...@@ -109,6 +109,7 @@ const Dic = (props) => { ...@@ -109,6 +109,7 @@ const Dic = (props) => {
ifsc = record.isBasis == 2; ifsc = record.isBasis == 2;
return [ return [
ifs && ifs &&
ifsc &&
getPrem("sysDepartment_save", action, "新增", () => { getPrem("sysDepartment_save", action, "新增", () => {
for (let i in defaultFields) { for (let i in defaultFields) {
defaultFields[i].value = null; defaultFields[i].value = null;
...@@ -135,7 +136,7 @@ const Dic = (props) => { ...@@ -135,7 +136,7 @@ const Dic = (props) => {
type: "edit", type: "edit",
fields: defaultFields, fields: defaultFields,
curitem: record, curitem: record,
title: `修改${record.title}`, title: `修改${record.title}`4,
}); });
}), }),
!ifs && !ifs &&
......
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