Commit 55601512 by Joey

feat(@gms/gms-plugin-billexpand): 工作流轨迹支持显示再次提交的单据

parent a456e8d7
......@@ -165,7 +165,17 @@ export default {
bizObjId: this.context.bill.getMasterData().getValue('id'),
},
}).then((res) => {
this.data = res && res[0]
res = res || []
let count = 0
for (let o of res) {
if (o.procState == 1) {
this.data = o
;++count
}
}
if (count > 1) {
this.$Message.error('工作流数据异常')
}
if (!this.data) return
this.data.steps.push({
title: "提交申请",
......
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