diff --git a/src/api/quotation/quotationHeader.js b/src/api/quotation/quotationHeader.js index 1e3be63..c62900e 100644 --- a/src/api/quotation/quotationHeader.js +++ b/src/api/quotation/quotationHeader.js @@ -1,5 +1,4 @@ import { createAPI } from "@/utils/httpRequest.js"; -import {data} from "autoprefixer"; /** * 报价信息列表查询 QuotationHeader @@ -28,6 +27,12 @@ export const searchQuotationTool = (data) => createAPI('/plm/quotationTool/list' * @returns {*} */ export const saveQuotationTool = (data) => createAPI('/plm/quotationTool/saveQuotationTool','post',data); +/** + * 批量新增报价工具 + * @param data + * @returns {*} + */ +export const batchInsertQuotationTool = (data) => createAPI('/plm/quotationTool/batchInsertQuotationTool','post',data); /** * 删除 报价工具 记录 * @param data @@ -35,12 +40,21 @@ export const saveQuotationTool = (data) => createAPI('/plm/quotationTool/saveQuo */ export const deleteQuotationTool = (data) => createAPI('/plm/quotationTool/deleteQuotationTool','post',data); +/** + * 批量删除报价工具 + * @param data + * @returns {*} + */ +export const batchDeleteQuotationTool = (data) => createAPI('/plm/quotationTool/batchDeleteQuotationTool','post',data); + /** * 分页查询QuotationDetail * @param data * @returns {*} */ export const searchQuotationDetailPageByHeaderId = (data) => createAPI('/plm/quotationDetail/searchQuotationDetailPageByHeaderId','get',data); + +export const searchQuotationDetail = (data) => createAPI('/plm/quotationDetail/list','get',data); /** * 新增QuotationDetail * @param data @@ -54,6 +68,8 @@ export const insertQuotationDetail = (data) => createAPI('/plm/quotationDetail/i */ export const updateQuotationDetail = (data) => createAPI('/plm/quotationDetail/updateQuotationDetail','post',data); + +// ==========================工艺=========================================== /** * 查询 QuotationRouting列表 by 报价明细id * @param data @@ -68,6 +84,13 @@ export const searchQuotationRoutingByDetailId = (data) => createAPI('/plm/quotat */ export const insertQuotationRouting = (data) => createAPI('/plm/quotationRouting/insertQuotationRouting','post',data); +/** + * 批量新增 QuotationRouting + * @param data + * @returns {*} + */ +export const batchInsertQuotationRouting = (data) => createAPI('/plm/quotationRouting/batchInsertQuotationRouting','post',data); + /** * 修改 QuotationRouting * @param data @@ -82,9 +105,47 @@ export const updateQuotationRouting = (data) => createAPI('/plm/quotationRouting */ export const deleteQuotationRouting = (data) => createAPI('/plm/quotationRouting/deleteQuotationRouting','post',data); +/** + * 批量删除 QuotationRouting + * @param data + * @returns {*} + */ +export const batchDeleteQuotationRouting = (data) => createAPI('/plm/quotationRouting/batchDeleteQuotationRouting','post',data); + + + +// ==========================材料=========================================== /** * 查询 quotationPart * @param data * @returns {*} */ export const searchQuotationPart = (data) => createAPI('/plm/quotationPart/searchQuotationPart','get',data); + +/** + * 新增 quotationPart + * @param data + * @returns {*} + */ +export const insertQuotationPart = (data) => createAPI('/plm/quotationPart/insertQuotationPart','post',data); + +/** + * 批量新增 quotationPart + * @param data + * @returns {*} + */ +export const batchInsertQuotationPart = (data) => createAPI('/plm/quotationPart/batchInsertQuotationPart','post',data); + +/** + * 删除 quotationPart + * @param data + * @returns {*} + */ +export const deleteQuotationPart = (data) => createAPI('/plm/quotationPart/deleteQuotationPart','post',data); + +/** + * 批量删除 quotationPart + * @param data + * @returns {*} + */ +export const batchDeleteQuotationPart = (data) => createAPI('/plm/quotationPart/batchDeleteQuotationPart','post',data); diff --git a/src/components/quotation/sellForQuotation/quotationDetail.vue b/src/components/quotation/sellForQuotation/quotationDetail.vue index 0990e28..2e2126e 100644 --- a/src/components/quotation/sellForQuotation/quotationDetail.vue +++ b/src/components/quotation/sellForQuotation/quotationDetail.vue @@ -242,7 +242,7 @@ 新 增 - 从其他报价单复制 + 从其他报价单复制 批 量 删 除 @@ -327,7 +327,7 @@ 新 增 - 从其他报价单复制 + 从其他报价单复制 批 量 删 除 @@ -338,7 +338,7 @@ @@ -457,7 +457,7 @@ 新 增 - 从其他报价单复制 + 从其他报价单复制 批 量 删 除 @@ -730,7 +730,8 @@ + height="300px" stripe border @selection-change="handleSelectionChangeToolHeaderTable" + @row-click="(row)=>toggleRowSelectionTable(row,'toolHeaderTable')"> @@ -945,8 +946,9 @@ - + @@ -975,21 +977,72 @@ 确 定 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + +