| | |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="销售子单" prop="subbill_name"> |
| | | <div class="custom-name"> |
| | | <el-autocomplete |
| | |
| | | </div> |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="12"> |
| | | <el-form-item label="销售报价单" prop="quotation_number"> |
| | | <div class="custom-name"> |
| | |
| | | saveClick(formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | for (let i = 0; i < this.tableData.length; i++) { |
| | | if (this.tableData[i].name.length === 0) { |
| | | for (let i = 0; i < this.selProductData.length; i++) { |
| | | if (this.selProductData[i].name.length === 0) { |
| | | this.isNoProduct = true |
| | | break |
| | | } else { |
| | |
| | | this.editConfig.infomation.sale_chance_name = "" |
| | | this.editConfig.infomation.client_name = "" |
| | | this.editConfig.infomation.subbill_name = "" |
| | | this.editConfig.infomation.quotation_number = "" |
| | | this.quotationId = 0 |
| | | this.clientId = 0 |
| | | this.saleChanceId = 0 |
| | | this.subbillId = 0 |
| | |
| | | } else if (value === "subbill") { |
| | | this.editConfig.infomation.subbill_name = "" |
| | | this.subbillId = 0 |
| | | } else if (value === "quotation") { |
| | | this.editConfig.infomation.quotation_number = "" |
| | | this.quotationId = 0 |
| | | } |
| | | this.productTableList.tableData = [] |
| | | }, |
| | | // 添加附件 |
| | | addAnnexClick() {}, |