|
|
@@ -636,6 +636,22 @@
|
|
636
|
636
|
});
|
|
637
|
637
|
return
|
|
638
|
638
|
}
|
|
|
639
|
+ console.log(this.multipleSelection,'-----------------------')
|
|
|
640
|
+
|
|
|
641
|
+ /**
|
|
|
642
|
+ * 2026-06-18
|
|
|
643
|
+ * 增加判断,货权转移只能 1对1
|
|
|
644
|
+ */
|
|
|
645
|
+ for (var i = 0; i < this.multipleSelection.length; i++){
|
|
|
646
|
+ if (this.multipleSelection[i].customer.name !== this.multipleSelection[0].customer.name) {
|
|
|
647
|
+ this.$message({
|
|
|
648
|
+ type: 'error',
|
|
|
649
|
+ message: '货权转移订单客户不唯一!',
|
|
|
650
|
+ });
|
|
|
651
|
+ return
|
|
|
652
|
+ }
|
|
|
653
|
+ }
|
|
|
654
|
+
|
|
639
|
655
|
var customerAddress = this.multipleSelection[0].customer.address
|
|
640
|
656
|
var boolean = true
|
|
641
|
657
|
for (var i = 0; i < this.multipleSelection.length; i++) {
|