Commit 7ffb2665 by LJM

bug

parent d703c9d6
Showing with 3 additions and 3 deletions
...@@ -98,7 +98,6 @@ export default { ...@@ -98,7 +98,6 @@ export default {
}, },
methods: { methods: {
getData() { getData() {
console.log(this.formParam)
this.$http('get', "/api/inquiry/getlist", { this.$http('get', "/api/inquiry/getlist", {
page: this.page, page: this.page,
limit: this.limit, limit: this.limit,
...@@ -235,16 +234,17 @@ export default { ...@@ -235,16 +234,17 @@ export default {
if (this.multipleSelection.length == 0) { if (this.multipleSelection.length == 0) {
this.$message({ this.$message({
showClose: true, showClose: true,
message: '请勾选一条数据删除', message: '请勾选数据删除',
type: 'warning' type: 'warning'
}); });
return false; return false;
} }
var status_arr = this.multipleSelection.map(obj => { var status_arr = this.multipleSelection.map(obj => {
return obj.i_status; return obj.i_status;
}) })
let status = status_arr.every(ele => ele === 1);// -1已关闭1待报价2已报价9删除
let status = status_arr.every(ele => ele === 1)
if (status) { if (status) {
for (var i = 0; i < this.multipleSelection.length; i++) { for (var i = 0; i < this.multipleSelection.length; i++) {
arr.push(this.multipleSelection[i]['supplier_auto_inquiry_id']) arr.push(this.multipleSelection[i]['supplier_auto_inquiry_id'])
......
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