Commit 7ffb2665 by LJM

bug

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