|
@@ -20,7 +20,7 @@
|
|
import { BasicModal, useModalInner } from '/@/components/Modal';
|
|
import { BasicModal, useModalInner } from '/@/components/Modal';
|
|
import { BasicForm, FormSchema, useForm } from '/@/components/Form/index';
|
|
import { BasicForm, FormSchema, useForm } from '/@/components/Form/index';
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
- import { remarkschemas, Addschemas } from './data';
|
|
|
|
|
|
+ import { remarkschemas, Addschemas, newAddschemas } from './data';
|
|
import { InvoiceRegister } from '/@/api/order';
|
|
import { InvoiceRegister } from '/@/api/order';
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
import { uploadApi } from '/@/api/product/index';
|
|
import { uploadApi } from '/@/api/product/index';
|
|
@@ -87,7 +87,7 @@
|
|
|
|
|
|
const [registerForm, { validate, resetFields, setFieldsValue, updateSchema }] = useForm({
|
|
const [registerForm, { validate, resetFields, setFieldsValue, updateSchema }] = useForm({
|
|
labelWidth: 120,
|
|
labelWidth: 120,
|
|
- schemas: [...Addschemas, ...schemas, ...remarkschemas],
|
|
|
|
|
|
+ schemas: [...newAddschemas, ...Addschemas, ...schemas, ...remarkschemas],
|
|
showActionButtonGroup: false,
|
|
showActionButtonGroup: false,
|
|
actionColOptions: {
|
|
actionColOptions: {
|
|
span: 24,
|
|
span: 24,
|
|
@@ -155,7 +155,7 @@
|
|
const handleSubmit = async () => {
|
|
const handleSubmit = async () => {
|
|
try {
|
|
try {
|
|
const params = await validate();
|
|
const params = await validate();
|
|
- console.log('params', )
|
|
|
|
|
|
+ console.log('params', params)
|
|
// let authorizeTime = params.authorizeTime.split('_');
|
|
// let authorizeTime = params.authorizeTime.split('_');
|
|
const apiData = {
|
|
const apiData = {
|
|
...params,
|
|
...params,
|