logistics.page.js
592 Bytes
const Vue = require('vue');
const Logistics = require('me/refund/logistics.vue');
const LogisticsCompany = require('me/refund/logistics-company.vue');
new Vue({
el: '#logistics',
data: {
company_id: '',
company_name: '',
currentView: 'logistics',
},
components: {
logistics: Logistics,
logisticsCompany: LogisticsCompany
},
events: {
changeView: function(obj) {
this.currentView = obj.view;
this.company_id = obj.company_id;
this.company_name = obj.company_name;
}
}
});