Free javascript Hosting


968-c653f10c.js

Uploaded on May 09 2022 19:08 by jerald.vinfrank

'use strict'; (self.webpackChunktms_ui_inward = self.webpackChunktms_ui_inward || []).push([[968], { 7544: function (e, t, a) { a.r(t), a.d(t, { default: function () { return b } }); const n = function () { const e = this; const t = e.$createElement; const a = e._self._c || t; return a('div', [a('section', { staticClass: 'scan-wrapper' }, [a('BliDropdown', { ref: 'loadingDockDropdown', staticClass: 'loading-dock-dropdown', attrs: { selection: '', autoclose: '', searchable: '', 'search-placeholder': e.$i18n('SCAN_LOADING_DOCK'), title: e.$i18n('LOADING_DOCK') }, model: { value: e.selectedLoadingDock, callback: function (t) { e.selectedLoadingDock = t }, expression: 'selectedLoadingDock' } }, [a('label', { attrs: { slot: 'label' }, slot: 'label' }, [e._v(e._s(e.$i18n('LOADING_DOCK')))]), a('BliList', { attrs: { scrollable: '' } }, e._l(e.loadingDocks, function (t) { return a('BliListItem', { key: t.value, attrs: { value: t.value } }, [e._v(' ' + e._s(t.text) + ' ')]) }), 1)], 1), a('BliField', { staticClass: 'awb-input', attrs: { 'b-clearable': '', 'trailing-icon': '' } }, [a('img', { attrs: { slot: 'trailing-icon', src: e.scanIcon }, slot: 'trailing-icon' }), a('BliInput', { model: { value: e.enteredAwbNumber, callback: function (t) { e.enteredAwbNumber = t }, expression: 'enteredAwbNumber' } }), a('label', [e._v(e._s(e.$i18n('SCAN_AWB_NUMBER')))])], 1), a('BliButton', { attrs: { color: 'info', icon: '' }, on: { click: e.validateAwbAndGenerateRunsheetId } }, [a('img', { attrs: { src: e.arrowRight } })])], 1), a('transition', [e.generatedRunsheetId ? a('section', { staticClass: 'feedback-panel margin-top-16 font-bold font-20' }, [e._v(' ' + e._s(e.$i18n('FEEDBACK_PANEL_TEXT', e.generatedRunsheetId)) + ' ')]) : e._e()]), a('section', { staticClass: 'margin-top-16' }, [a('BliTable', { staticClass: 'receipt-table', attrs: { type: 'primary', sort: !0, 'sortable-rows': [0, 1, 4, 5], titles: e.tableColumns, items: e.tableContents } }, [e._l(e.tableContents, function (t, n) { return a('div', { key: t.receiptId, staticClass: 'receipt-id-link', attrs: { slot: 'receiptId-' + n }, slot: 'receiptId-' + n }, [e._v(' ' + e._s(t.receiptId) + ' ')]) }), e._l(e.tableContents, function (t, n) { return a('div', { key: t.receiptId, staticClass: 'receipt-id-link', attrs: { slot: 'action-' + n }, slot: 'action-' + n }, [e._v(' ' + e._s(e.$i18n('PRINT')) + ' ')]) })], 2)], 1), a('section', { staticClass: 'pagination-section margin-top-24' }, [a('BliPagination', { attrs: { total: 100, current: e.pageNumber, 'per-page': 10 }, on: { 'update:current': function (t) { e.pageNumber = t }, change: e.onPageChange } })], 1)], 1) }; const i = []; const s = a(1709); const r = a.p + 'img/barcode.66a263a6.svg'; const o = a.p + 'img/white-right-arrow.4b89c2a9.svg'; const l = { setup (e, { refs: t, root: { $i18n: a, $store: n } }) { const i = () => { const e = t.loadingDockDropdown.$el; e.querySelector('.blu-dropdown__trigger').click() }; (0, s.bv)(i); const l = (0, s.iH)({}); const c = [{ text: 'Dock 1', value: '1' }, { text: 'Dock 2', value: '2' }]; const d = (0, s.iH)(''); const u = (0, s.iH)(''); const b = () => { u.value = ''; const e = e => { u.value = e }; n.dispatch('dropshipStore/VALIDATE_AWB', { payload: { accept: !0, awbNumber: d.value, hubId: 18666, loadingDockId: 4411, runSheetId: '', userId: 99, userName: 'tmsadmin' }, success: e }) }; const p = [a('RECEIPT_ID'), a('COLLECTION_ID'), a('LOCATION'), a('SOURCE'), a('CLIENT'), a('INWARD_TIME'), a('ACTION')]; const g = Array.from(new Array(10)).map((e, t) => ({ receiptId: `RDNJN39481092012${t}`, runsheetId: `DSKN39489393984${t}`, location: 'Hub Cikarang', source: 'Hub Bekasi', client: 'blibli.com', inwardTime: (new Date()).toLocaleDateString(), action: 'Print receipt' })); const _ = (0, s.iH)(1); const I = e => { _.value = e }; return { selectedLoadingDock: l, loadingDocks: c, enteredAwbNumber: d, validateAwbAndGenerateRunsheetId: b, generatedRunsheetId: u, scanIcon: r, arrowRight: o, tableColumns: p, tableContents: g, pageNumber: _, onPageChange: I } } }; const c = l; const d = a(1001); const u = (0, d.Z)(c, n, i, !1, null, 'b82a26cc', null); var b = u.exports } }])

Back to list