| | |
| | | let hasvoucher = false |
| | | |
| | | // 凭证-显示列中选取,必须选行 |
| | | if (verify.voucher && verify.voucher.enabled && btn.Ot !== 'requiredOnce') { |
| | | if (verify.voucher && verify.voucher.enabled && btn.Ot !== 'notRequired') { |
| | | let _voucher = verify.voucher |
| | | |
| | | hasvoucher = true |
| | |
| | | let hasvoucher = false |
| | | |
| | | // 凭证-显示列中选取,必须选行 |
| | | if (verify.voucher && verify.voucher.enabled && btn.Ot !== 'requiredOnce') { |
| | | if (verify.voucher && verify.voucher.enabled && btn.Ot !== 'notRequired') { |
| | | hasvoucher = true |
| | | } |
| | | if (hasvoucher) { |
| | |
| | | <EditTable actions={['edit', 'move', 'del', 'status', 'sql']} data={verify.uniques} columns={card.Ot !== 'requiredOnce' ? uniqueColumns : onceUniqueColumns} onChange={this.changeUniques}/> |
| | | </TabPane> : null} |
| | | {verifyInter === 'system' ? <TabPane tab={ |
| | | <span title={card.Ot === 'requiredOnce' ? '多行拼接时不可用' : ''}> |
| | | <span title={card.Ot === 'notRequired' ? '不选行时创建凭证不可用' : ''}> |
| | | 创建凭证 |
| | | {verify.voucher && verify.voucher.enabled ? <span className="count-tip">1</span> : null} |
| | | </span> |
| | | } key="voucher" disabled={card.Ot === 'requiredOnce'}> |
| | | } key="voucher" disabled={card.Ot === 'notRequired'}> |
| | | <VoucherForm |
| | | voucher={voucher} |
| | | columns={columns} |