| | |
| | | <!-- 产品管理 --> |
| | | <div class="basic-info-title" style="display: flex"> |
| | | 产品管理 |
| | | <div style="margin-left: 400px"> |
| | | <!-- <div style="margin-left: 400px"> |
| | | 币种 |
| | | <el-select v-model="editConfig.infomation.currency" placeholder="请选择" size="mini" style="width: 63%"> |
| | | <el-option v-for="item in currencyOptions" :key="item.id" :label="item.name" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | <div class="product-view"> |
| | | <CommonFormTableView |
| | |
| | | this.businessTypeOptions = res.data.sale_type |
| | | this.oldCustomerMarketOptions = res.data.regular_customers |
| | | this.saleStageOptions = res.data.sale_stage |
| | | if (this.editConfig.title === "新建") { |
| | | this.editConfig.infomation.sale_stage_id=1 |
| | | } |
| | | |
| | | this.provinceOptions = res.data.province |
| | | this.regionOptions = res.data.region |
| | | this.possibleOptions = res.data.possibility |
| | |
| | | }, |
| | | // 新增方式修改 |
| | | getSelectArray(val, index) { |
| | | // if (val.length > 0) { |
| | | // val.map((item, index) => { |
| | | // item.productId = this.tableData.length + index + 1 |
| | | // }) |
| | | // } |
| | | // this.tableData = this.tableData.concat(val) |
| | | // this.productTableList.tableData = this.tableData |
| | | // this.showSummary.show = true |
| | | if (this.tableData.length == 1 && this.tableData[0].number.length == 0) { |
| | | this.tableData = [] |
| | | } |