yangfeng
2023-11-01 890781f6894a4af2558e41cc5c9660477b68b9c5
src/views/supplierManage/supplier/AddNewProduct.vue
@@ -96,14 +96,16 @@
            if (this.editConfig.title === "添加") {
              createProduct({
                list: this.tableData
              }).then((res) => {
              })
                .then((res) => {
                console.log(res)
                this.editConfig.visible = false
                if (res.code === 200) {
                  this.$message.success("添加成功")
                  this.$parent.getProductList()
                }
              }).catch(e=>{
                })
                .catch((e) => {
                console.log(e)
              })
            } else {
@@ -164,7 +166,7 @@
      this.productTableList = {
        tableData: this.tableData,
        tableColumn: [
          { label: "产品名称", prop: "name", productName: true, isRequird: true },
          { label: "产品名称", prop: "name", productName: true, isRequird: true, width: 250 },
          { label: "产品编码", prop: "number" },
          { label: "计量单位", prop: "unit" },
          { label: "规格型号", prop: "specifications" },