fix: 审批退回无法编辑, fix #71
This commit is contained in:
parent
ccc0a1c3c1
commit
c1ee9415a1
@ -648,7 +648,9 @@ func (h *Handle) HandleWorkOrder(
|
|||||||
|
|
||||||
// 是否可写,只有可写的模版可以更新数据
|
// 是否可写,只有可写的模版可以更新数据
|
||||||
updateStatus := false
|
updateStatus := false
|
||||||
if writeTplList, writeOK := h.stateValue["writeTpls"]; writeOK {
|
if h.stateValue["clazz"].(string) == "start" {
|
||||||
|
updateStatus = true
|
||||||
|
} else if writeTplList, writeOK := h.stateValue["writeTpls"]; writeOK {
|
||||||
tplListTag:
|
tplListTag:
|
||||||
for _, writeTplId := range writeTplList.([]interface{}) {
|
for _, writeTplId := range writeTplList.([]interface{}) {
|
||||||
if writeTplId == t["tplId"] { // 可写
|
if writeTplId == t["tplId"] { // 可写
|
||||||
|
Loading…
x
Reference in New Issue
Block a user