|
@@ -136,10 +136,11 @@
|
|
|
const handleSubmit = async () => {
|
|
|
try {
|
|
|
const params = await validate();
|
|
|
+ console.log('params', )
|
|
|
// let authorizeTime = params.authorizeTime.split('_');
|
|
|
const apiData = {
|
|
|
...params,
|
|
|
- snCodes:params.snCodes && params.snCodes.replace(/\s*/g,""),
|
|
|
+ snCodes:params.snCodes && params.snCodes.split(' ').join(''),
|
|
|
machineCode:params.machineCode && params.machineCode.replace(/\s*/g,""),
|
|
|
userId: params.id,
|
|
|
// authorizeTime: authorizeTime[0],
|