- fixed bug in material mass edit
- removed geocoding from bulk import (temporarly)
This commit is contained in:
parent
108e89195c
commit
c573d7647f
3 changed files with 3 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue