Fix Bug #571: 添加缺失的 isIssuedStatus 函数定义,修复检验申请撤回操作报错
模板中使用了 isIssuedStatus() 但脚本中未定义该函数,导致已签发状态的检验申请 在非申请者本人账号下查看时触发 ReferenceError,撤回按钮无法正常显示和操作。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -395,6 +395,8 @@ const isWithdrawableStatus = (row) => String(getBillStatus(row)) === '1';
|
||||
|
||||
const isReportStatus = (row) => ['6', '8'].includes(String(getBillStatus(row)));
|
||||
|
||||
const isIssuedStatus = (row) => String(getBillStatus(row)) === '1';
|
||||
|
||||
/**
|
||||
* 是否可管理该申请单:申请者本人或管理员
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user