gaoshp
2024-11-03 3e091224ab26252d8624b42b461ba773ee8bee0f
src/views/console/basic-data/supplier-info.vue
@@ -86,7 +86,7 @@
            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("操作成功");
@@ -104,7 +104,7 @@
            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") {
@@ -158,7 +158,7 @@
            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();