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