Commit a6e1b377 by Joey

fix(@gms/gms-plugin-billexpand): 不选电子签章时不应能提交审批

parent 7c7f7f99
......@@ -82,6 +82,18 @@ export const showSignModal = (bill, param, nodeName) => {
showCancelButton: true,
confirmButtonText: '确定',
cancelButtonText: '取消',
beforeClose: (action, instance, done) => {
if (action === 'confirm') {
if (signInfoObj && signInfoObj.imgData) {
done()
}
else {
GMS.$hideContainer.$Message.error('请添加电子签章')
}
} else {
done()
}
}
}).then(action => {
saveSubTableData(signInfoObj)
vNode.componentInstance && vNode.componentInstance.init()
......
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