Commit da10f658 by LJM

bug

parent f7d9ba2e
......@@ -101,7 +101,7 @@
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Form, FormItem, Select, Option, Input, DatePicker, Button, Dropdown, DropdownMenu, DropdownItem, Table, TableColumn, MessageBox, Message, Dialog, Pagination, Autocomplete, Tooltip,Popover} from 'element-ui'
import {Autocomplete, Button, DatePicker, Dialog, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tooltip} from 'element-ui'
import {NODE_ENVS} from "../../ajax";
import Tool from '../../tool'
......@@ -236,11 +236,9 @@ export default {
});
return;
}
for (var i = 0; i < this.multipleSelection.length; i++) {
arr.push(this.multipleSelection[i]['id'])
}
arr = this.multipleSelection.map(obj => {
return obj.quote_id;
})
this.$http('post', "/api/quote/close", {
ids: arr.join(",")
}).then(res => {
......
......@@ -374,6 +374,9 @@ export default {
});
return false;
}
this.addBestgoods.dialogVisibleUpdate = true;
this.updateBestgoodsParam.push({
best_goods_id: this.multipleSelection[0].id,
goods_name: this.multipleSelection[0].goods_name,
......@@ -385,7 +388,6 @@ export default {
stock_number: this.multipleSelection[0].stock_number,
join_inquiry: this.multipleSelection[0].join_inquiry
});
this.addBestgoods.dialogVisibleUpdate = true;
},
//增加行
addRow() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment