src/views/supplierManage/supplier/AddSupplier.vue
@@ -14,7 +14,7 @@
        :model="editConfig.infomation"
        :rules="rules"
        label-position="right"
        label-width="308px"
        label-width="150px"
        size="mini"
      >
        <!-- 信息 -->
@@ -210,8 +210,7 @@
  createContract,
  updateSupplier,
  getIndustryList,
  getSupplierTypeList,
  deleteContract
  getSupplierTypeList
  // previewContract
} from "@/api/supplierManage/supplier"
import EditDropdownDialog from "@/views/other/commonDialog/EditDropdownDialog"
@@ -237,7 +236,7 @@
  computed: {},
  data() {
    return {
      dialogWidth: "80%",
      dialogWidth: "60%",
      editConfig: this.addCommonConfig,
      rules: {
        name: [{ required: true, message: "请输入", trigger: "blur" }],
@@ -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() {