|
|
@@ -560,6 +560,15 @@
|
|
|
if (unreceived) {
|
|
|
return this.$message.warning(`请先收货再${actionText}`);
|
|
|
}
|
|
|
+ console.log('selectionselectionselection',this.selection)
|
|
|
+ const errorItem = this.selection.find(item=>{
|
|
|
+ return item.receiveQuantity && item.receiveQuantity < item.totalCount
|
|
|
+ })
|
|
|
+ if(errorItem){
|
|
|
+ this.$message.warning(`请托单编码:${errorItem.code}请先将请托单全部收货`)
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
const converted = this.selection.find(
|
|
|
(item) =>
|