mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 15:15:53 +08:00
parent
59123b0e5d
commit
d6a03895b7
@ -124,6 +124,9 @@ export default {
|
|||||||
return this.organizationBackground
|
return this.organizationBackground
|
||||||
}
|
}
|
||||||
return this.currentImageOfProduct
|
return this.currentImageOfProduct
|
||||||
|
},
|
||||||
|
currentPoint() {
|
||||||
|
return this.$store.getters.getCurrentPOS
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@ -176,7 +179,8 @@ export default {
|
|||||||
this.search = mutation.payload.value
|
this.search = mutation.payload.value
|
||||||
if (!this.isEmptyValue(this.search) && this.search.length >= 4) {
|
if (!this.isEmptyValue(this.search) && this.search.length >= 4) {
|
||||||
requestGetProductPrice({
|
requestGetProductPrice({
|
||||||
searchValue: mutation.payload.value
|
searchValue: mutation.payload.value,
|
||||||
|
priceListUuid: this.currentPoint.priceList.uuid
|
||||||
})
|
})
|
||||||
.then(productPrice => {
|
.then(productPrice => {
|
||||||
this.messageError = true
|
this.messageError = true
|
||||||
@ -227,7 +231,8 @@ export default {
|
|||||||
clearTimeout(this.timeOut)
|
clearTimeout(this.timeOut)
|
||||||
this.timeOut = setTimeout(() => {
|
this.timeOut = setTimeout(() => {
|
||||||
requestGetProductPrice({
|
requestGetProductPrice({
|
||||||
searchValue: mutation.payload.value
|
searchValue: mutation.payload.value,
|
||||||
|
priceListUuid: this.currentPoint.priceList.uuid
|
||||||
})
|
})
|
||||||
.then(productPrice => {
|
.then(productPrice => {
|
||||||
this.messageError = true
|
this.messageError = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user