|
|
@@ -178,12 +178,6 @@ export default {
|
|
|
for (let item of this.data) {
|
|
|
sum += Number(item.quantity);
|
|
|
}
|
|
|
- if (sum > this.qtyMax) {
|
|
|
- return this.$message.error("总数量不能超过" + this.qtyMax);
|
|
|
- }
|
|
|
- if (Number(sum) != Number(this.qtyMax)) {
|
|
|
- return this.$message.error("本次数量合计必须达到:" + this.qtyMax);
|
|
|
- }
|
|
|
let obj = {
|
|
|
...this.query,
|
|
|
sendNum: sum,
|