Commit 24a3f573 authored by XieZhiXiong's avatar XieZhiXiong

chore: 完善代码

parent d3657e68
......@@ -455,18 +455,18 @@ const ReturnForm: React.FC<BillsFormProps> = ({
);
setDetailInfo({
applyTime: moment().format('YYYY-MM-DD HH:mm:ss'),
applyTime: moment().format('YYYY-MM-DD HH:mm:ss'),
supplierMember:
vendorMemberName ?
vendorMemberName ?
[
{
name: vendorMemberName,
memberId: vendorMemberId,
roleId: vendorRoleId,
},
name: vendorMemberName,
memberId: vendorMemberId,
roleId: vendorRoleId,
},
] :
[]
,
,
orderNo,
orderType: +outerOrderType,
});
......
......@@ -295,11 +295,6 @@ export const addSchema = (orderType: number): ISchema => {
title: '单位',
'x-component': 'Text',
},
purchaseCount: {
type: 'string',
title: '采购数量',
'x-component': 'Text',
},
})
: ({
orderNo: {
......@@ -339,6 +334,11 @@ export const addSchema = (orderType: number): ISchema => {
},
})
),
purchaseCount: {
type: 'string',
title: '采购数量',
'x-component': 'Text',
},
purchasePrice: {
type: 'string',
title: '采购单价',
......
/*
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:34
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-25 10:55:26
* @Description:
*/
import React from 'react';
import { usePageStatus } from '@/hooks/usePageStatus';
import ReturnForm from './components/ReturnForm';
const EditReturn: React.FC = () => {
const { id, creditId } = usePageStatus();
const { id } = usePageStatus();
return (
<ReturnForm id={id} isEdit />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment