- fixed bug in material mass edit

- removed geocoding from bulk import (temporarly)
This commit is contained in:
Jan 2025-10-19 13:47:40 +02:00
parent 108e89195c
commit c573d7647f
3 changed files with 3 additions and 4 deletions

View file

@ -194,7 +194,7 @@ export default {
modalType: null,
componentsData: {
price: {props: {price: 0, overSeaShare: 0, includeFcaFee: false}},
material: {props: {partNumber: "", hsCode: "", tariffRate: 0.00, description: "", hideDescription: false}},
material: {props: {partNumber: "", hsCode: null, tariffRate: 0.00, description: "", hideDescription: false}},
packaging: {
props: {
length: 0,
@ -294,7 +294,7 @@ export default {
// clear
this.componentsData = {
price: {props: {price: null, overSeaShare: null, includeFcaFee: null}},
material: {props: {partNumber: "", hsCode: "", tariffRate: null, description: null, hideDescription: hideDescription}},
material: {props: {partNumber: "", hsCode: null, tariffRate: null, description: null, hideDescription: hideDescription}},
packaging: {
props: {
length: null,

View file

@ -273,7 +273,6 @@ export const usePremiseEditStore = defineStore('premiseEdit', {
...p,
material: {
...p.material,
...(materialData.partNumber !== null && {part_number: materialData.partNumber}),
...(materialData.hsCode !== null && {hs_code: materialData.hsCode})
},
...(materialData.tariffRate !== null && {tariff_rate: materialData.tariffRate})

View file

@ -91,7 +91,7 @@ public class BulkImportService {
break;
case NODE:
var nodeInstructions = nodeExcelMapper.extractSheet(sheet);
batchGeoApiService.geocodeBatch(nodeInstructions);
// batchGeoApiService.geocodeBatch(nodeInstructions);
nodeInstructions.forEach(nodeBulkImportService::processNodeInstructions);
break;
default: