diff --git a/.env.example b/.env.example index f4ec277f..682bbaf6 100644 --- a/.env.example +++ b/.env.example @@ -7,6 +7,6 @@ VUE_APP_PERMISSION_ID= VUE_APP_ALIAS={} VUE_APP_MAPPING_TYPES={"PO": "PO_MAPPING_PREF","RSTINV": "INV_MAPPING_PREF"} VUE_APP_MAPPING_PO={"orderId": { "label": "Order ID", "required": true }, "productSku": { "label": "Shopify product SKU", "required": true },"orderDate": { "label": "Arrival date", "required": true }, "quantity": { "label": "Ordered quantity", "required": true }, "facility": { "label": "Facility ID", "required": true }} -VUE_APP_MAPPING_RSTINV={"productSku": { "label": "Product SKU", "required": true }, "quantity": { "label": "Quantity", "required": true }, "facility": { "label": "Facility ID", "required": true }, "locationSeqId": { "label": "Facility Location", "required": true }} +VUE_APP_MAPPING_RSTINV={"productIdentification": { "label": "Product Identification", "required": true }, "quantity": { "label": "Quantity", "required": true }, "facility": { "label": "Facility ID", "required": true }} VUE_APP_DEFAULT_LOG_LEVEL="error" VUE_APP_LOGIN_URL="http://launchpad.hotwax.io/login" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 55fb1c4a..20c07039 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "import", - "version": "2.13.0", + "version": "2.14.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "import", - "version": "2.13.0", + "version": "2.14.0", "dependencies": { "@capacitor/android": "^2.4.7", "@capacitor/core": "^2.4.7", diff --git a/package.json b/package.json index 0ad2329e..a303624b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "import", - "version": "2.13.0", + "version": "2.14.0", "private": true, "description": "Import App", "scripts": { diff --git a/src/components/BulkInventoryAdjustmentModal.vue b/src/components/BulkInventoryAdjustmentModal.vue deleted file mode 100644 index 1b33335c..00000000 --- a/src/components/BulkInventoryAdjustmentModal.vue +++ /dev/null @@ -1,118 +0,0 @@ - - \ No newline at end of file diff --git a/src/components/ConfigureDateTimeFormatModal.vue b/src/components/ConfigureDateTimeFormatModal.vue deleted file mode 100644 index 929afd72..00000000 --- a/src/components/ConfigureDateTimeFormatModal.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/components/CreateMappingModal.vue b/src/components/CreateMappingModal.vue index b148aefb..59a7e103 100644 --- a/src/components/CreateMappingModal.vue +++ b/src/components/CreateMappingModal.vue @@ -18,9 +18,19 @@
- - {{ prop }} - + +
@@ -78,17 +88,20 @@ export default defineComponent({ return { mappingName: "", fieldMapping: {} as any, - fileColumns: [] as any + fileColumns: [] as any, + identificationTypeId: 'SHOPIFY_PROD_SKU' } }, props: ["content", "seletedFieldMapping", "mappingType"], mounted() { this.fieldMapping = { ...this.seletedFieldMapping } this.fileColumns = Object.keys(this.content[0]); + this.store.dispatch('util/fetchGoodIdentificationTypes'); }, computed: { ...mapGetters({ - fieldMappings: 'user/getFieldMappings' + fieldMappings: 'user/getFieldMappings', + goodIdentificationTypes: 'util/getGoodIdentificationTypes' }) }, methods: { diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 0df28ddb..b4ad60cb 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -1,38 +1,38 @@