| | |
| | | // 保存 |
| | | saveClick() { |
| | | console.log(this.editConfig.infomation) |
| | | for (let i = 0; i < this.tableData.length; i++) { |
| | | if (this.tableData[i].name.length === 0) { |
| | | this.isNoProduct = true |
| | | break |
| | | } else { |
| | | this.isNoProduct = false |
| | | } |
| | | } |
| | | if (this.isNoProduct) { |
| | | this.$message.error("产品名称不能为空") |
| | | } else { |
| | | if (this.editConfig.title === "添加") { |
| | | createProduct({ |
| | | list: this.tableData |
| | |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | saveParams() { |
| | | let data = this.editConfig.infomation |
| | |
| | | </ul> |
| | | <div class="business_scope"> |
| | | <div class="content-title">{{ "详细地址" }}</div> |
| | | <div class="content-data">{{ record ? record : "--" }}</div> |
| | | <div class="content-data"> |
| | | {{ detailConfig.infomation.detailAddress ? detailConfig.infomation.detailAddress : "--" }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | this.dynamicInfoList = [ |
| | | { |
| | | leftStr: "户名", |
| | | leftValue: this.accountName, |
| | | leftValue: item.accountName, |
| | | rightStr: "开户行", |
| | | rightValue: this.bank |
| | | rightValue: item.bank |
| | | }, |
| | | { |
| | | leftStr: "账号", |