update text

This commit is contained in:
LittleBoy 2024-06-24 08:58:14 +08:00
parent 189d5af81e
commit a64a4c3456
3 changed files with 3 additions and 18 deletions

View File

@ -68,21 +68,6 @@ const BillQuery = () => {
} }
return (<div> return (<div>
<SearchForm showApply loading={loading} onSearch={setBillQueryParams}/> <SearchForm showApply loading={loading} onSearch={setBillQueryParams}/>
{/*<Button onClick={()=>{*/}
{/* Sentry.showReportDialog({*/}
{/* eventId:'Error: Query bill error',//'QueryBill Report'*/}
{/* user:{*/}
{/* email:'123123123',*/}
{/* name:'test'*/}
{/* },*/}
{/* lang:'zh-CN',*/}
{/* title:'看起来出现问题了',*/}
{/* subtitle:'请填写你遇到的问题',*/}
{/* subtitle2:'',*/}
{/* labelComments:'问题类型',*/}
{/* labelName:'问题类型',*/}
{/* })*/}
{/*}}></Button>*/}
<BillList <BillList
type={'query'} loading={loading} type={'query'} loading={loading}
operationRender={operation} source={data} operationRender={operation} source={data}

View File

@ -83,10 +83,10 @@ const PayIndex = () => {
<div className={styles.billInfo}> <div className={styles.billInfo}>
<div className="pay-item"> <div className="pay-item">
<span className="title">Bill Number:</span> <span className="title">Bill Number:</span>
<span className="value">{bill.student_number || bill.application_number} - {bill.student_english_name}/{bill.student_chinese_name}</span> <span className="value">{bill.application_number || bill.student_number} - {bill.student_english_name}/{bill.student_chinese_name}</span>
</div> </div>
<div className="pay-item"> <div className="pay-item">
<span className="title">Order Number:</span> <span className="title">Bill ID:</span>
<span className="value">{bill.id}</span> <span className="value">{bill.id}</span>
</div> </div>
</div> </div>

View File

@ -58,7 +58,7 @@ export function GeneratePdf(bill: BillModel) {
body: [ body: [
...(bill.details.map(it=>{ ...(bill.details.map(it=>{
return [ return [
`#${it.id || bill.id}`, `#${bill.id}${it.id?'-' + it.id:''}`,
dayjs(bill.paid_at).format('YYYY-MM-DD'), dayjs(bill.paid_at).format('YYYY-MM-DD'),
it.bill_type, it.bill_type,
`${bill.payment_channel}(${bill.payment_method})`, `${bill.payment_channel}(${bill.payment_method})`,