合并代码

This commit is contained in:
孙景学
2025-07-02 16:18:03 +08:00
parent 2b3eb5672d
commit 3ae57eb23b
87 changed files with 3852 additions and 19276 deletions

View File

@ -50,6 +50,8 @@ const InvoiceFormModal: React.FC<props> = ({
...data,
id: data.id ? data.id : null,
};
console.log(fields);
form.setFieldsValue(fields);
setViewData(fields);
}
@ -68,7 +70,6 @@ const InvoiceFormModal: React.FC<props> = ({
...values,
"supplierId": "9c12e8ea-a681-4184-81ba-5fa276299a00",
};
if (!values.id) {
bankAdd(payload).then((res) => {
if (res.code == 200) {
@ -183,6 +184,9 @@ const InvoiceFormModal: React.FC<props> = ({
<Input />
</Form.Item>
</Col>
<Form.Item name="id" noStyle>
<Input type="hidden" />
</Form.Item>
</Row>
</Form>
)}