diff --git a/src/api/oa/erp/afterSales/index.ts b/src/api/oa/erp/afterSales/index.ts index 0d46c05..5081e87 100644 --- a/src/api/oa/erp/afterSales/index.ts +++ b/src/api/oa/erp/afterSales/index.ts @@ -74,3 +74,15 @@ export function getErpAfterSalesList (query) { params: query }); }; + +/** + * 项目售后信息提交并发起流程 + * @param data 表单数据 + */ +export const submitAfterSalesAndFlowStart = (data: any) => { + return request({ + url: '/oa/erp/afterSales/submitAndFlowStart', + method: 'post', + data: data + }); +}; diff --git a/src/api/oa/erp/budgetInfo/index.ts b/src/api/oa/erp/budgetInfo/index.ts index 102ec18..f603184 100644 --- a/src/api/oa/erp/budgetInfo/index.ts +++ b/src/api/oa/erp/budgetInfo/index.ts @@ -57,6 +57,18 @@ export const updateErpBudgetInfo = (data: budgetInfoForm) => { }); }; +/** + * 变更项目预算 + * @param data + */ +export const changeErpBudgetInfo = (data: budgetInfoForm) => { + return request({ + url: '/oa/erp/budgetInfo/change', + method: 'post', + data: data + }); +}; + /** * 删除项目预算 * @param budgetId diff --git a/src/api/oa/erp/projectPurchase/types.ts b/src/api/oa/erp/projectPurchase/types.ts index 020b756..3f41885 100644 --- a/src/api/oa/erp/projectPurchase/types.ts +++ b/src/api/oa/erp/projectPurchase/types.ts @@ -56,6 +56,11 @@ export interface ProjectPurchaseVO { */ deputyName?: string; + /** + * 版本 + */ + version?: number; + /** * 提报人 */ @@ -164,6 +169,11 @@ export interface ProjectPurchaseForm extends BaseEntity { */ deputyId?: string | number; + /** + * 版本 + */ + version?: number; + /** * 部门ID */ @@ -332,6 +342,11 @@ export interface ProjectPurchaseQuery extends PageQuery { * 日期范围参数 */ params?: any; + + /** + * 项目经理名称 + */ + managerName?: string; } diff --git a/src/enums/OAEnum.ts b/src/enums/OAEnum.ts index 26057ec..4bc0d79 100644 --- a/src/enums/OAEnum.ts +++ b/src/enums/OAEnum.ts @@ -99,6 +99,10 @@ export enum FlowCodeEnum { PROJECT_ACCEPTANCE_CODE = 'OAPA', /** * 项目周报确认标识KEY - */ - PROJECT_REPRORT_CODE = 'XMZB' + */ + PROJECT_REPRORT_CODE = 'XMZB', + /** + * 售后项目标识KEY + */ + AFTER_SALES_KEY = 'OAAS' } diff --git a/src/views/oa/crm/crmSupplierInfo/index.vue b/src/views/oa/crm/crmSupplierInfo/index.vue index 1755a23..53c0d8d 100644 --- a/src/views/oa/crm/crmSupplierInfo/index.vue +++ b/src/views/oa/crm/crmSupplierInfo/index.vue @@ -1,618 +1,619 @@ diff --git a/src/views/oa/erp/afterSales/edit.vue b/src/views/oa/erp/afterSales/edit.vue index 27956e1..0c7ee51 100644 --- a/src/views/oa/erp/afterSales/edit.vue +++ b/src/views/oa/erp/afterSales/edit.vue @@ -38,26 +38,40 @@ + - - - - + + + + + - - + + + + - + @@ -104,7 +118,7 @@ - + @@ -183,10 +197,10 @@ 人员费用成本 - + 新增 - + 删除 @@ -200,7 +214,7 @@ v-model="scope.row.laborId" filterable style="width: 100%" - :disabled="routeParams.type === 'view'" + :disabled="routeParams.type === 'view' || routeParams.type === 'approval'" @change="(val) => handleLaborChange(val, scope.row)" > @@ -209,7 +223,7 @@ @@ -220,13 +234,13 @@ :precision="2" controls-position="right" style="width: 100%" - :disabled="routeParams.type === 'view'" + :disabled="routeParams.type === 'view' || routeParams.type === 'approval'" /> @@ -239,10 +253,10 @@ 消耗材料明细 - + 新增 - + 删除 @@ -289,7 +303,6 @@ -