|
@@ -207,6 +207,9 @@ export async function getBom(params) {
|
|
|
|
|
|
|
|
// 修改BOM属性
|
|
// 修改BOM属性
|
|
|
export async function bomCategoryUpdate(data) {
|
|
export async function bomCategoryUpdate(data) {
|
|
|
|
|
+ if(data && data.category){
|
|
|
|
|
+ delete data.category;
|
|
|
|
|
+ }
|
|
|
const res = await request.post(`/main/bomCategory/update`, data);
|
|
const res = await request.post(`/main/bomCategory/update`, data);
|
|
|
if (res.data.code == 0) {
|
|
if (res.data.code == 0) {
|
|
|
return res.data;
|
|
return res.data;
|