zss
2023-12-11 c880739ec4cd5ede33b31eb98ad5f7628ea288e5
src/views/basic/part/part-form.vue
@@ -534,7 +534,6 @@
          // 去除零件编号两边的空格
          this.dataForm.partNo = this.dataForm.partNo.trim()
          if (this.dataForm.id) {
            console.log(this.dataForm)
            putObj(this.dataForm)
              .then((data) => {
                this.$message.success('修改成功')
@@ -544,7 +543,7 @@
              })
              .catch((error) => {
                this.isSubmit = false
                console.log(error)
                console.error(error)
              })
          } else {
            addObj(this.dataForm)
@@ -556,7 +555,7 @@
              })
              .catch((error) => {
                this.isSubmit = false
                console.log(error)
                console.error(error)
              })
          }
        } else {