|
@@ -514,7 +514,11 @@ export default {
|
|
this.$message.warning('请选择已验收的货物')
|
|
this.$message.warning('请选择已验收的货物')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (list.length < multipleList.length) {
|
|
|
|
|
|
+ // if (list.length < multipleList.length) {
|
|
|
|
+ // this.$message.warning('已签署和未签署验收单不能同时选择')
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ if (list.length && !multipleList.every(el => el.signConfirm === list[0].signConfirm)) {
|
|
this.$message.warning('已签署和未签署验收单不能同时选择')
|
|
this.$message.warning('已签署和未签署验收单不能同时选择')
|
|
return
|
|
return
|
|
}
|
|
}
|