mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
adjust point of sale catalog image (#886)
Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
parent
ffd495501b
commit
72fb23abda
@ -165,15 +165,11 @@ export default {
|
|||||||
},
|
},
|
||||||
displayedValue: {
|
displayedValue: {
|
||||||
get() {
|
get() {
|
||||||
const busineesPartner = this.$store.getters.posAttributes.currentPointOfSales.currentOrder.businessPartner.name
|
return this.$store.getters.getValueOfField({
|
||||||
if (this.isEmptyValue(busineesPartner)) {
|
containerUuid: this.parentMetadata.containerUuid,
|
||||||
return this.$store.getters.getValueOfField({
|
// DisplayColumn_'ColumnName'
|
||||||
containerUuid: this.parentMetadata.containerUuid,
|
columnName: 'DisplayColumn_C_BPartner_ID' // this.parentMetadata.displayColumnName
|
||||||
// DisplayColumn_'ColumnName'
|
})
|
||||||
columnName: 'DisplayColumn_C_BPartner_ID' // this.parentMetadata.displayColumnName
|
|
||||||
})
|
|
||||||
}
|
|
||||||
return busineesPartner
|
|
||||||
},
|
},
|
||||||
set(value) {
|
set(value) {
|
||||||
this.$store.commit('updateValueOfField', {
|
this.$store.commit('updateValueOfField', {
|
||||||
|
@ -228,7 +228,7 @@ export default {
|
|||||||
}
|
}
|
||||||
const image = getImagePath({
|
const image = getImagePath({
|
||||||
file: fileName,
|
file: fileName,
|
||||||
width: 200,
|
width: 300,
|
||||||
height: 300
|
height: 300
|
||||||
})
|
})
|
||||||
return image.uri
|
return image.uri
|
||||||
@ -304,7 +304,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.custom-card {
|
.custom-card {
|
||||||
margin: 10px;
|
margin: 1px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.custom-card:hover {
|
.custom-card:hover {
|
||||||
|
@ -283,7 +283,7 @@ export default {
|
|||||||
this.$store.dispatch('createOrder', {
|
this.$store.dispatch('createOrder', {
|
||||||
posUuid,
|
posUuid,
|
||||||
customerUuid,
|
customerUuid,
|
||||||
salesRepresentativeUuid: this.currentPointOfSales.templateBusinessPartner.uuid
|
salesRepresentativeUuid: this.currentPointOfSales.salesRepresentative.uuid
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
// this.order = response
|
// this.order = response
|
||||||
|
Loading…
x
Reference in New Issue
Block a user