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:
parent
64a62b2e69
commit
a6f85e37c3
@ -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 []
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user