diff --git a/src/pages/FinancialMgm/SettleBill/PayRepeat/index.scss b/src/pages/FinancialMgm/SettleBill/PayRepeat/index.scss index 9af65ff..1528cf7 100644 --- a/src/pages/FinancialMgm/SettleBill/PayRepeat/index.scss +++ b/src/pages/FinancialMgm/SettleBill/PayRepeat/index.scss @@ -167,10 +167,12 @@ $color-primary: var(--color-primary); background: linear-gradient(180deg, #3aa9ff, #59b7ff); } } - .ant-table-body { - @include scrollBar(var(--color-user-list-bg), #3B97FF); - - } + + .ant-table-body { + @include scrollBar(var(--color-user-list-bg), #3B97FF); + + } + .ant-table-thead { th { @@ -262,8 +264,11 @@ $color-primary: var(--color-primary); .ant-table-tbody { tr { - &:nth-last-child(1) { - color: red; + + color: red; + + &:first-child { + color: #ffffff; } } } diff --git a/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx b/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx index 259eca1..c2ae105 100644 --- a/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx +++ b/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx @@ -429,24 +429,24 @@ function PayRepeat() { } //退款操作 const getRepeatTD = (text) => { - ajax.ElectInvoice.getRepeatDetail({ re_mark: text }).then( - (res) => { - if (parseInt(res?.status) === 20000) { - message.success(res?.message); - setOpen(false); - setTabdata({ - order: [], - flow_list: [], - }); - setTextcl(""); - } else { - message.error(res?.message); - } - }, - (err) => { - console.log(err); - } - ); + // ajax.ElectInvoice.getRepeatDetail({ re_mark: text }).then( + // (res) => { + // if (parseInt(res?.status) === 20000) { + // message.success(res?.message); + // setOpen(false); + // setTabdata({ + // order: [], + // flow_list: [], + // }); + // setTextcl(""); + // } else { + // message.error(res?.message); + // } + // }, + // (err) => { + // console.log(err); + // } + // ); }; //获取查看详情显示数据 const getRepeatDetail = (id) => { @@ -456,13 +456,7 @@ function PayRepeat() { if (parseInt(res?.status) === 20000) { setTabdata({ order: [res?.data?.order || {}], - flow_list: [ - { - ...res?.data?.flow_list[0], - repeat_out_trade_no: "", - }, - { ...res?.data?.flow_list[0] }, - ], + flow_list: res?.data?.flow_list || [], }); setOpen(true); } else {