|
|
@@ -132,18 +132,6 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
this.data.splice(index, 1);
|
|
|
- if (this.query.historyList.length) {
|
|
|
- let sum = 0;
|
|
|
- for (let item of this.data) {
|
|
|
- sum += Number(item.quantity);
|
|
|
- }
|
|
|
- let obj = {
|
|
|
- ...this.query,
|
|
|
- sendNum: sum,
|
|
|
- historyList: this.data
|
|
|
- };
|
|
|
- this.$emit("areaData", obj, this.index);
|
|
|
- }
|
|
|
this.$message.success("操作成功!");
|
|
|
}
|
|
|
});
|