| | |
| | | this.$confirm('确定将选择数据删除?','提示', { |
| | | type: 'warning', |
| | | }).then(() => { |
| | | this.$HTTP.delete(`/api/blade-cps/supplier/remove?supplierIds=${row.id}`).then(res=> { |
| | | this.$HTTP.delete(`/api/smis/supplier/remove?supplierIds=${row.id}`).then(res=> { |
| | | if(res.code == 200) { |
| | | this.searchclick(); |
| | | this.$message.success("操作成功"); |
| | |
| | | this.searchSupplier(); |
| | | }, |
| | | searchSupplier() { |
| | | this.$HTTP.get("/api/blade-cps/supplier/page",this.searchData).then(res=> { |
| | | this.$HTTP.get("/api/smis/supplier/page",this.searchData).then(res=> { |
| | | if(res.code == 200) { |
| | | res.data.records.forEach(item=> { |
| | | if(item.status == "1") { |
| | |
| | | this.$confirm('确定将选择数据删除?','提示', { |
| | | type: 'warning', |
| | | }).then(() => { |
| | | that.$HTTP.delete("/api/blade-cps/supplier/remove?supplierIds="+selStr).then(res=> { |
| | | that.$HTTP.delete("/api/smis/supplier/remove?supplierIds="+selStr).then(res=> { |
| | | if(res.code == 200) { |
| | | that.$message.success("操作成功"); |
| | | that.searchSupplier(); |