diff --git a/src/pages.json b/src/pages.json index 2d1f813..68114d1 100644 --- a/src/pages.json +++ b/src/pages.json @@ -782,6 +782,23 @@ } }, + // 报备丢失直转 + { + "path": "pages/businessAudit/loseAudit/index", + "style": { + "navigationBarTitleText": "报备丢失审核" + } + }, + + { + "path": "pages/businessAudit/loseAudit/details", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", // 使用自定义导航栏 + "navigationBarBackImage": "" + } + }, + //现场维修 { "path": "pages/repair/fieldMaintenance/index", diff --git a/src/pages/businessAudit/loseAudit/details.vue b/src/pages/businessAudit/loseAudit/details.vue new file mode 100644 index 0000000..a20ff86 --- /dev/null +++ b/src/pages/businessAudit/loseAudit/details.vue @@ -0,0 +1,896 @@ + + + + + \ No newline at end of file diff --git a/src/pages/businessAudit/loseAudit/index.vue b/src/pages/businessAudit/loseAudit/index.vue new file mode 100644 index 0000000..d1be6a3 --- /dev/null +++ b/src/pages/businessAudit/loseAudit/index.vue @@ -0,0 +1,700 @@ + + + + + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index efd6eb9..90ed2ac 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -273,6 +273,11 @@ const auditInfoList = ref([ url: '/pages/businessAudit/siteDirectAudit/index', iconSrc: '../../static/workbench/panDian.png', }, + { + title: '报备丢失审核', + url: '/pages/businessAudit/loseAudit/index', + iconSrc: '../../static/workbench/panDian.png', + }, ]) // 使用计算属性筛选 newInfoList 中的数据 diff --git a/src/pages/picking/outbound/details.vue b/src/pages/picking/outbound/details.vue index cd47235..ef1031d 100644 --- a/src/pages/picking/outbound/details.vue +++ b/src/pages/picking/outbound/details.vue @@ -195,12 +195,12 @@ const getOutboundDetailsData = async () => { { text: '出库',style: {backgroundColor: '#84c649',color: '#fff',fontSize: '28rpx'} }, // { text: '退回',style: {backgroundColor: '#ed6042',color: '#fff',fontSize: '28rpx'} }, { text: '查看',style: {backgroundColor: '#3784fb',color: '#fff',fontSize: '28rpx'} }, - { text: '退回',style: {backgroundColor: '#ed6042',color: '#fff',fontSize: '28rpx'} } + // { text: '退回',style: {backgroundColor: '#ed6042',color: '#fff',fontSize: '28rpx'} } ]; options2.value = [ // { text: '退回',style: {backgroundColor: '#ed6042',color: '#fff',fontSize: '28rpx'}}, { text: '查看',style: {backgroundColor: '#3784fb',color: '#fff',fontSize: '28rpx'}}, - { text: '退回',style: {backgroundColor: '#ed6042',color: '#fff',fontSize: '28rpx'}} + // { text: '退回',style: {backgroundColor: '#ed6042',color: '#fff',fontSize: '28rpx'}} ] }else if(taskStatus.value==4){ options.value = [ @@ -329,14 +329,14 @@ const options = ref([ fontSize: '28rpx', }, }, - { - text: '退回', - style: { - backgroundColor: '#ed6042', - // color: '#fff', - fontSize: '28rpx', - }, - } + // { + // text: '退回', + // style: { + // backgroundColor: '#ed6042', + // // color: '#fff', + // fontSize: '28rpx', + // }, + // } ]) const options2 = ref([ { diff --git a/src/services/directApply/review.js b/src/services/directApply/review.js index 5a3a770..91b00e7 100644 --- a/src/services/directApply/review.js +++ b/src/services/directApply/review.js @@ -51,4 +51,38 @@ export const getNodeAuditStatusAPI = (data) => { url: '/material/sysWorkflowRecordHistory/getAuditStatus', data, }) +} + +/** + * 报备丢失审核 ---- 列表查询 + */ +export const getLoseApplyListAPI = (data) => { + return http({ + method: 'GET', + url: '/material/LossAssign/list', + data, + }) +} + + +/** + * 报备丢失审核 ---- 基本信息查询id + */ +export const receiveLoseDetailAPI = (data) => { + return http({ + method: 'GET', + url: '/material/LossAssign/getInfo', + data, + }) +} + +/** + * 报备丢失出库 ---- 审核 + */ +export const submitAuditingLoseApi = (data) => { + return http({ + method: 'POST', + url: '/material/LossAssign/directUpdate', + data, + }) } \ No newline at end of file