样式调整
This commit is contained in:
parent
6a34911b89
commit
5c0dbf01cc
@ -41,7 +41,7 @@ export default function CapitalModal() {
|
||||
};
|
||||
// 点击搜索
|
||||
const onSearch = () => {
|
||||
console.log(newstartTime);
|
||||
// console.log(newstartTime);
|
||||
|
||||
|
||||
setPage(1)
|
||||
@ -66,7 +66,7 @@ export default function CapitalModal() {
|
||||
setIsLoading(true);
|
||||
},
|
||||
onSuccess(data: any) {
|
||||
console.log(page);
|
||||
// console.log(page);
|
||||
|
||||
setTableData(data.data.rows)
|
||||
// console.log(data.data);
|
||||
@ -136,7 +136,7 @@ export default function CapitalModal() {
|
||||
},
|
||||
onSuccess(data: any) {
|
||||
setTableData(data.data.rows)
|
||||
console.log(data.data);
|
||||
// console.log(data.data);
|
||||
setTotal(data.data.total)
|
||||
|
||||
},
|
||||
@ -325,7 +325,7 @@ export default function CapitalModal() {
|
||||
}
|
||||
scroll={{ y: 500 }}
|
||||
bordered
|
||||
key="dataTable" rowKey="orderId"
|
||||
key="orderId" rowKey="accountItemId"
|
||||
/>
|
||||
{/* <div className='product-release-pagination'>
|
||||
<Pagination defaultCurrent={page} total={total} defaultPageSize={10} onChange={(page) => {
|
||||
|
@ -39,7 +39,7 @@ export default function RecordModal() {
|
||||
};
|
||||
// 点击搜索
|
||||
const onSearch = () => {
|
||||
console.log(newstartTime);
|
||||
// console.log(newstartTime);
|
||||
setPage(1)
|
||||
setstartTime(newstartTime)
|
||||
setnewendTime(newendTime)
|
||||
@ -59,7 +59,7 @@ export default function RecordModal() {
|
||||
setIsLoading(true);
|
||||
},
|
||||
onSuccess(data: any) {
|
||||
console.log(page);
|
||||
// console.log(page);
|
||||
|
||||
setTableData(data.data.rows)
|
||||
// console.log(data.data);
|
||||
@ -125,7 +125,7 @@ export default function RecordModal() {
|
||||
},
|
||||
onSuccess(data: any) {
|
||||
setTableData(data.data.rows)
|
||||
console.log(data.data);
|
||||
// console.log(data.data);
|
||||
setTotal(data.data.total)
|
||||
|
||||
},
|
||||
|
@ -236,6 +236,9 @@ export default function MyOrder() {
|
||||
dataIndex: 'detail.notes',
|
||||
align: 'center',
|
||||
// width: 120,
|
||||
ellipsis: {
|
||||
showTitle: false,
|
||||
},
|
||||
render: (_value, record) => {
|
||||
return <Tooltip placement="top" title={record.notes}>{record.notes}</Tooltip>
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ type ProjInfo = {
|
||||
belongPeople: string;
|
||||
contacts: string;
|
||||
projDevCompleteDate: string;
|
||||
// coupon?:string
|
||||
};
|
||||
|
||||
export default function ProjNew() {
|
||||
@ -66,6 +67,8 @@ export default function ProjNew() {
|
||||
applyContactPhone: '',
|
||||
applyContactCompany: ''
|
||||
})
|
||||
// 优惠券弹窗
|
||||
// const [couponModal,setCouponModal] = useState(false)
|
||||
const setValue = (value: string) => {
|
||||
form.setFieldsValue({
|
||||
belongPeople: value
|
||||
@ -232,6 +235,21 @@ export default function ProjNew() {
|
||||
/>
|
||||
</Form.Item>
|
||||
</div>
|
||||
{/* <div className='formItemOne' style={{ marginTop: 20, position: 'relative' }}>
|
||||
<div className='formItem-title '>
|
||||
优惠券*
|
||||
</div>
|
||||
<Form.Item<ProjInfo>
|
||||
name="coupon"
|
||||
rules={[{ required: true, message: '请选择优惠券' }]}
|
||||
>
|
||||
<Input style={{ background: '#eeeeee', width: '800px', height: '50px', fontSize: '16px', color: '#3B3B3B' }} placeholder="请选择优惠券" disabled />
|
||||
|
||||
</Form.Item>
|
||||
<div style={{ position: 'absolute', right: 23, fontSize: 16, color: " #1F79FF", cursor: 'pointer' }} onClick={() => {
|
||||
setCouponModal(true)
|
||||
}}>选择</div>
|
||||
</div> */}
|
||||
<div className='software-protocol'>
|
||||
<Form.Item
|
||||
name="agreement"
|
||||
@ -396,6 +414,19 @@ export default function ProjNew() {
|
||||
|
||||
<BelongPeople closeModal={() => { setBelongModal(false) }} setBelongPeopleInfo={setBelongPeopleInfo} belongPeopleInfo={belongPeopleInfo} setValue={setValue} isShow={true}></BelongPeople>
|
||||
</Modal>
|
||||
{/* <Modal title="选择优惠券"
|
||||
destroyOnClose
|
||||
|
||||
open={couponModal}
|
||||
width={809}
|
||||
|
||||
footer={null}
|
||||
onCancel={() => {
|
||||
setCouponModal(false)
|
||||
|
||||
}}>
|
||||
<div>优惠券</div>
|
||||
</Modal> */}
|
||||
<Spin tip="正在提交..." spinning={loading} fullscreen />
|
||||
</>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user