1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-07 18:25:45 +08:00

change in the order converting the business partner into a customer

This commit is contained in:
elsiosanchez 2021-08-25 15:52:10 -04:00
parent 64a62b2e69
commit a6f85e37c3
2 changed files with 1 additions and 5 deletions

View File

@ -130,9 +130,6 @@ export default {
isShowProductsPriceList() {
return this.$store.state['pointOfSales/listProductPrice'].productPrice[this.attribute]
},
// currentPoint() {
// return this.$store.getters.getCurrentPOS
// },
currentPointOfSales() {
return this.$store.getters.posAttributes.currentPointOfSales
},
@ -142,7 +139,6 @@ export default {
listWithPrice() {
const { productPricesList } = this.productPrice
if (!this.isEmptyValue(productPricesList)) {
console.log(productPricesList)
return productPricesList
}
return []

View File

@ -41,7 +41,7 @@ export function convertOrder(order) {
convertedOrder.documentType = convertDocumentType(order.document_type)
convertedOrder.salesRepresentative = convertSalesRepresentative(order.sales_representative)
convertedOrder.documentStatus = convertDocumentStatus(order.document_status)
convertedOrder.businessPartner = convertBusinessPartner(order.business_partner)
convertedOrder.businessPartner = convertBusinessPartner(order.customer)
return convertedOrder
}