Commit 03447303 authored by lxd's avatar lxd

faet: 问题修复

parent 194cfcfe
...@@ -147,7 +147,9 @@ export function columns(res, pages) { ...@@ -147,7 +147,9 @@ export function columns(res, pages) {
</Button> </Button>
<Button <Button
type="primary" type="primary"
disabled={!(row.blueInvoiceState === 1 || row.blueInvoiceState === 3)} disabled={
!((row.blueInvoiceState === 1 || row.blueInvoiceState === 3) && row.payState === 3)
}
className={styles.button} className={styles.button}
onClick={() => res.edit(1, row)} onClick={() => res.edit(1, row)}
> >
...@@ -155,7 +157,7 @@ export function columns(res, pages) { ...@@ -155,7 +157,7 @@ export function columns(res, pages) {
</Button> </Button>
<Button <Button
type="primary" type="primary"
disabled={row.blueInvoiceState === 1 && row.payState !== 1} disabled={row.blueInvoiceState === 1}
className={styles.button} className={styles.button}
onClick={() => res.edit(2, row)} onClick={() => res.edit(2, row)}
> >
......
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