| | |
| | | /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column |
| | | label="规格型号" |
| | | label="图纸编号" |
| | | prop="specificationModel" |
| | | width="150" |
| | | /> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column |
| | | label="规格型号" |
| | | label="图纸编号" |
| | | prop="specificationModel" |
| | | width="150" |
| | | /> |
| | |
| | | const allProductData = []; |
| | | results.forEach((result, index) => { |
| | | const contract = selectedRows.value[index]; |
| | | const contractId = contract.id; |
| | | // const contractId = contract.id; |
| | | if (result.productData) { |
| | | result.productData.forEach(item => { |
| | | allProductData.push({ |
| | | ...item, |
| | | id: contractId, // 明确设置合同ID |
| | | // id: contractId, // 明确设置合同ID |
| | | salesContractNo: contract.salesContractNo, // 添加销售合同号 |
| | | customerName: contract.customerName, // 添加客户名称 |
| | | customerContractNo: contract.customerContractNo // 添加客户合同号 |