Commit da10f658 by LJM

bug

parent f7d9ba2e
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<el-table-column prop="inquiry_goods_name" fixed="left" label="型号" width="200"> <el-table-column prop="inquiry_goods_name" fixed="left" label="型号" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="price-mores"> <div class="price-mores">
<el-popover effect="light" trigger="hover" placement="bottom-start" popper-class="popper-class-box"> <el-popover effect="light" trigger="hover" placement="bottom-start" popper-class="popper-class-box">
<div> <div>
<p class="p-text row verCenter"> <p class="p-text row verCenter">
<em class="row">型号</em> <em class="row">型号</em>
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
<script> <script>
import Vue from 'vue'; import Vue from 'vue';
import Menu from "@/components/menu.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 {NODE_ENVS} from "../../ajax";
import Tool from '../../tool' import Tool from '../../tool'
...@@ -236,11 +236,9 @@ export default { ...@@ -236,11 +236,9 @@ export default {
}); });
return; return;
} }
arr = this.multipleSelection.map(obj => {
for (var i = 0; i < this.multipleSelection.length; i++) { return obj.quote_id;
arr.push(this.multipleSelection[i]['id']) })
}
this.$http('post', "/api/quote/close", { this.$http('post', "/api/quote/close", {
ids: arr.join(",") ids: arr.join(",")
}).then(res => { }).then(res => {
......
...@@ -374,6 +374,9 @@ export default { ...@@ -374,6 +374,9 @@ export default {
}); });
return false; return false;
} }
this.addBestgoods.dialogVisibleUpdate = true;
this.updateBestgoodsParam.push({ this.updateBestgoodsParam.push({
best_goods_id: this.multipleSelection[0].id, best_goods_id: this.multipleSelection[0].id,
goods_name: this.multipleSelection[0].goods_name, goods_name: this.multipleSelection[0].goods_name,
...@@ -385,7 +388,6 @@ export default { ...@@ -385,7 +388,6 @@ export default {
stock_number: this.multipleSelection[0].stock_number, stock_number: this.multipleSelection[0].stock_number,
join_inquiry: this.multipleSelection[0].join_inquiry join_inquiry: this.multipleSelection[0].join_inquiry
}); });
this.addBestgoods.dialogVisibleUpdate = true;
}, },
//增加行 //增加行
addRow() { 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