Bugfix: price mass edit
This commit is contained in:
parent
3d3a4dbfab
commit
de896cea30
1 changed files with 2 additions and 2 deletions
|
|
@ -709,8 +709,8 @@ export const usePremiseEditStore = defineStore('premiseEdit', {
|
|||
|
||||
const body = {
|
||||
premise_ids: toBeUpdated.map(p => p.id),
|
||||
material_cost: priceData === null ? toBeUpdated[0].material_cost : priceData.material_cost,
|
||||
oversea_share: priceData === null ? toBeUpdated[0].oversea_share : priceData.oversea_share,
|
||||
material_cost: priceData === null ? toBeUpdated[0].material_cost : priceData.price,
|
||||
oversea_share: priceData === null ? toBeUpdated[0].oversea_share : priceData.overSeaShare,
|
||||
is_fca_enabled: priceData === null ? toBeUpdated[0].is_fca_enabled : priceData.includeFcaFee
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue