Changeset View
Changeset View
Standalone View
Standalone View
src/resources/vue/User/Info.vue
Show First 20 Lines • Show All 266 Lines • ▼ Show 20 Lines | export default { | ||||
}) | }) | ||||
this.user.skus = skus | this.user.skus = skus | ||||
} else { | } else { | ||||
this.user.package = this.package_id | this.user.package = this.package_id | ||||
} | } | ||||
axios[method](location, this.user) | axios[method](location, this.user) | ||||
.then(response => { | .then(response => { | ||||
if (response.data.statusInfo) { | |||||
this.$store.state.authInfo.statusInfo = response.data.statusInfo | |||||
} | |||||
this.$toast.success(response.data.message) | this.$toast.success(response.data.message) | ||||
this.$router.push({ name: 'users' }) | this.$router.push({ name: 'users' }) | ||||
}) | }) | ||||
}, | }, | ||||
onInputSku(e) { | onInputSku(e) { | ||||
let input = e.target | let input = e.target | ||||
let sku = this.findSku(input.value) | let sku = this.findSku(input.value) | ||||
let required = [] | let required = [] | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |