|
@@ -344,7 +344,7 @@ export default {
|
|
|
customerTest = []
|
|
|
this.selectedRows.map(item=>{
|
|
|
distributionPointTest.push(item.distributionPoint)
|
|
|
- customerTest.push(item.customer)
|
|
|
+ customerTest.push(item.customerAbbreviation)
|
|
|
})
|
|
|
if([...new Set(distributionPointTest)].length !== 1){this.error.push('分销点')}
|
|
|
if([...new Set(customerTest)].length !== 1){this.error.push('客户')}
|
|
@@ -354,13 +354,15 @@ export default {
|
|
|
fatherDataSet(fathers,sons){
|
|
|
var father = fathers[0]
|
|
|
if(father.distributionPoint !== sons.distributionPoint){this.errorFather.push('分销点')}
|
|
|
- if(father.custor !== sons.customer){this.errorFather.push('客户')}
|
|
|
+ if(father.clientAbbreviation !== sons.customerAbbreviation){this.errorFather.push('客户简称')}
|
|
|
},
|
|
|
|
|
|
|
|
|
close() {
|
|
|
this.$emit('close')
|
|
|
this.advancePackingListModVis = false
|
|
|
+ this.error = []
|
|
|
+ this.errorFather = []
|
|
|
},
|
|
|
handleCancel() {
|
|
|
this.selectedRowKeys = [];
|