yangfeng
2023-08-30 38b5988fc107d74b4f3183734daa41dd08239b1a
src/views/supplierManage/supplier/AddSupplier.vue
@@ -210,8 +210,7 @@
  createContract,
  updateSupplier,
  getIndustryList,
  getSupplierTypeList,
  deleteContract
  getSupplierTypeList
  // previewContract
} from "@/api/supplierManage/supplier"
import EditDropdownDialog from "@/views/other/commonDialog/EditDropdownDialog"
@@ -424,13 +423,13 @@
    },
    // 删除合同
    delContractClick() {
      deleteContract({
        id: this.file_id
      }).then((res) => {
        console.log(res)
        this.$message.success(res.msg)
        this.file_id = 0
      })
      // deleteContract({
      //   id: this.file_id
      // }).then((res) => {
      //   console.log(res)
      //   this.$message.success(res.msg)
      this.file_id = 0
      // })
    },
    // 预览合同
    async previewClick() {