You need to sign in or sign up before continuing.
Commit 01b5491c authored by limengyang's avatar limengyang

fix(lmy): 批量上传修改

parent 46972609
......@@ -132,13 +132,13 @@ export class VAxios {
if (params.data) {
Object.keys(params.data).forEach((key) => {
const value = params.data![key];
if (Array.isArray(value)) {
value.forEach((item) => {
formData.append(`${key}[]`, item);
});
return;
}
// const value = params.data![key];
// if (Array.isArray(value)) {
// value.forEach((item) => {
// formData.append(`${key}[]`, item);
// });
// return;
// }
formData.append(key, params.data![key]);
});
......
......@@ -294,6 +294,7 @@
const res = await regionalSpotManageOpsDeleteProductApi(param.value);
if (res.success) {
message.success('删除成功');
delVisibleCancel();
} else {
message.success(res.message);
}
......@@ -393,7 +394,7 @@
{
ghsCode: ghsCode,
ghsName: ghsName,
areaIds: impotrCheckboxValue.value,
areaIds: impotrCheckboxValue.value.join(','),
},
productExcelList.value[0],
);
......
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