Elements-SY

modify

......@@ -1445,6 +1445,8 @@ export default {
sortRoutes.push(item.route);
});
formdata.route = sortRoutes;
// console.log(sortRoutes)
// console.log(reuslt)
//高价百分比和低价百分比和不可以大于100
if (
this.form.highLowPriceFlg &&
......@@ -1481,17 +1483,17 @@ export default {
) {
formdata.extraWeightPercent = 0;
}
//处理数据
saveOrUpdate(formdata).then((response) => {
if (response.code === 200) {
this.msgSuccess("保存成功");
this.routeList = [];
this.open = false;
this.findAllFltData();
} else {
this.msgError(response.msg);
}
});
// //处理数据
// saveOrUpdate(formdata).then((response) => {
// if (response.code === 200) {
// this.msgSuccess("保存成功");
// this.routeList = [];
// this.open = false;
// this.findAllFltData();
// } else {
// this.msgError(response.msg);
// }
// }).catch(()=>{});
}
})
.catch(() => {});
......