|
@@ -240,7 +240,7 @@ const handleSubmit = async (_type) => {
|
|
|
}
|
|
|
} else if (flowForm.flowKey == "contract_flow") {
|
|
|
if (flowForm.tenantType === "EHSD") {
|
|
|
- let fileList = data.fileList.map((item) => {
|
|
|
+ data.fileList = data.fileList.map((item) => {
|
|
|
return {
|
|
|
id: item.raw.id,
|
|
|
fileName: item.raw.fileName,
|
|
@@ -249,7 +249,6 @@ const handleSubmit = async (_type) => {
|
|
|
});
|
|
|
data.ehsdJson = JSON.stringify({
|
|
|
deliveryTime: data.deliveryTime,
|
|
|
- fileList: fileList,
|
|
|
});
|
|
|
data.contractProductList = data.contractProductList.map((item) => {
|
|
|
let ehsdJson = JSON.stringify({
|
|
@@ -263,7 +262,7 @@ const handleSubmit = async (_type) => {
|
|
|
});
|
|
|
}
|
|
|
} else if (flowForm.flowKey == "sample_flow") {
|
|
|
- let fileList = data.fileList.map((item) => {
|
|
|
+ data.fileList = data.fileList.map((item) => {
|
|
|
return {
|
|
|
id: item.raw.id,
|
|
|
fileName: item.raw.fileName,
|
|
@@ -272,7 +271,6 @@ const handleSubmit = async (_type) => {
|
|
|
});
|
|
|
data.ehsdJson = JSON.stringify({
|
|
|
deliveryTime: data.deliveryTime,
|
|
|
- fileList: fileList,
|
|
|
});
|
|
|
data.sampleProductList = data.sampleProductList.map((item) => {
|
|
|
let ehsdJson = JSON.stringify({
|