diff --git a/public/systemConfig.js b/public/systemConfig.js index c84fd37fb..cd2f48d94 100644 --- a/public/systemConfig.js +++ b/public/systemConfig.js @@ -12,5 +12,6 @@ let systemConfig = { // 租户配置 tenant: '["成都"]', systermUpdateAlert: true, - systermUpdateUrl: 'https://scptest.faway-hella.com/' + systermUpdateUrl: 'https://scptest.faway-hella.com/', + needCode:false } diff --git a/src/api/wms/purchasereturnRequestMain/index.ts b/src/api/wms/purchasereturnRequestMain/index.ts index d2ccf17ec..6ec472016 100644 --- a/src/api/wms/purchasereturnRequestMain/index.ts +++ b/src/api/wms/purchasereturnRequestMain/index.ts @@ -61,6 +61,10 @@ export const createPurchasereturnRequestMainNew = async (data: PurchasereturnReq export const updatePurchasereturnRequestMain = async (data: PurchasereturnRequestMainVO) => { return await request.put({ url: `/wms/purchasereturn-request-main/update`, data }) } +// 修改采购退货申请主 --新版 +export const updatePurchasereturnRequestMainNew = async (data: PurchasereturnRequestMainVO) => { + return await request.post({ url: `/wms/purchasereturn-request-main/updateReturnNew`, data }) +} // 删除采购退货申请主 export const deletePurchasereturnRequestMain = async (id: number) => { diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 5c75f708f..b72379329 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -399,4 +399,5 @@ export enum DICT_TYPE { PURCHASE_JOB_STATUS = 'purchase_job_status', // 采购收货任务状态 PUBLISHE_STATUS = 'publishe_status', // 采购收货任务状态 PUBLISHE_STATUS_FIRST_INSPECTION = 'publishe_status_first_inspection', // 首件检验记录发布状态 + RETURN_REASON_TYPE = 'return_reason_type', // 采购退货原因类型 } diff --git a/src/views/qms/inspectionRequest/index.vue b/src/views/qms/inspectionRequest/index.vue index a50c38cee..4e6ea8443 100644 --- a/src/views/qms/inspectionRequest/index.vue +++ b/src/views/qms/inspectionRequest/index.vue @@ -88,6 +88,17 @@ @ListTableSubmit="ListTableSubmit" /> + + + + +