|
@@ -228,10 +228,10 @@ export default {
|
|
|
if (!this.selection.length) {
|
|
if (!this.selection.length) {
|
|
|
return this.$message.warning('请至少选择一条数据');
|
|
return this.$message.warning('请至少选择一条数据');
|
|
|
}
|
|
}
|
|
|
- let partaIds = this.selection.map((item) => item.partaId);
|
|
|
|
|
- if (new Set(partaIds).size != 1) {
|
|
|
|
|
- return this.$message.warning('请选择相同客户的订单!');
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // let partaIds = this.selection.map((item) => item.partaId);
|
|
|
|
|
+ // if (new Set(partaIds).size != 1) {
|
|
|
|
|
+ // return this.$message.warning('请选择相同客户的订单!');
|
|
|
|
|
+ // }
|
|
|
this.$emit('changeParent', this.selection, this.currentIndex);
|
|
this.$emit('changeParent', this.selection, this.currentIndex);
|
|
|
this.handleClose();
|
|
this.handleClose();
|
|
|
}
|
|
}
|