Commit 442a73ce by Joey

fix(@gms/gms-plugin-billexpand): 弹出审批意见框进入页面第一次不应显示审批意见

parent 03d1d7dc
......@@ -141,6 +141,15 @@ export const showCommentModal = (bill, param, checkComment) => {
},
}
)
const obj = bill.getGlobalParam(BILL_GLOBAL_PARAM.APPROVAL_COMMENT) || {}
bill.setGlobalParam(
BILL_GLOBAL_PARAM.APPROVAL_COMMENT,
{
...obj,
suggestions: '',
}
)
window.GMS.vbus.$emit(GLOBAL_EVENT.APPROVAL_USER_CONTROL_RESETVALUE)
return GMS.$hideContainer.$msgbox({
......
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