yangfeng
2024-03-07 5de621e943d9605d10e2ac5d46658c0626a68caa
src/views/supplierManage/supplier/AddSupplier.vue
@@ -368,6 +368,7 @@
                console.log(err)
              })
          } else {
            params.id=this.editConfig.infomation.id
            updateSupplier(params).then((res) => {
              this.editConfig.visible = false
              if (res.code === 200) {
@@ -392,13 +393,13 @@
        detailAddress: data.detailAddress || "",
        email: data.email || "",
        fileId: this.file_id || 0,
        id: data.id || 0,
        // id: data.id || 0,
        industry: data.industry || "",
        name: data.name || "",
        number: data.number || "",
        phone: data.phone || "",
        responsiblePersonName:
          data.responsiblePersonName || document.cookie.replace(/(?:(?:^|.*;\s*)username\s*=\s*([^;]*).*$)|^.*$/, "$1"),
        data.responsiblePersonName || document.cookie.replace(/(?:(?:^|.*;\s*)username\s*=\s*([^;]*).*$)|^.*$/, "$1"),
        status: data.status || 0,
        supplierType: data.supplierType || "",
        url: data.url || ""