diff --git a/oms_web/oms_vue/package.json b/oms_web/oms_vue/package.json index dccf5b15..2c84bb9f 100644 --- a/oms_web/oms_vue/package.json +++ b/oms_web/oms_vue/package.json @@ -28,18 +28,20 @@ "axios": "0.28.1", "clipboard": "2.0.8", "core-js": "3.37.1", + "decimal.js": "10.4.2", "echarts": "5.4.0", "element-ui": "2.15.14", "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", + "html2canvas": "^1.4.1", "js-beautify": "1.13.0", "js-cookie": "3.0.1", "jsencrypt": "3.0.0-rc.1", + "jspdf": "^2.5.1", + "jszip": "^3.10.1", "nprogress": "0.2.0", "quill": "2.0.2", - "html2canvas": "^1.4.1", - "jspdf": "^2.5.1", "screenfull": "5.0.2", "sortablejs": "1.10.2", "splitpanes": "2.4.1", @@ -48,8 +50,7 @@ "vue-cropper": "0.5.5", "vue-router": "3.4.9", "vuedraggable": "2.24.3", - "vuex": "3.6.0", - "decimal.js": "10.4.2" + "vuex": "3.6.0" }, "devDependencies": { "@vue/cli-plugin-babel": "4.4.6", diff --git a/oms_web/oms_vue/src/api/approve/all/index.js b/oms_web/oms_vue/src/api/approve/all/index.js index c84defab..73cacf1c 100644 --- a/oms_web/oms_vue/src/api/approve/all/index.js +++ b/oms_web/oms_vue/src/api/approve/all/index.js @@ -18,3 +18,12 @@ export function getApprovalTaskTotal() { method: 'get' }) } + +// 新增流程确认记录 +export function addTodoConfirm(data) { + return request({ + url: '/approve/task/vue/confirm', + method: 'post', + data + }) +} diff --git a/oms_web/oms_vue/src/api/finance/report.js b/oms_web/oms_vue/src/api/finance/report.js index 30207f2d..8a7522d7 100644 --- a/oms_web/oms_vue/src/api/finance/report.js +++ b/oms_web/oms_vue/src/api/finance/report.js @@ -9,3 +9,13 @@ export function listReport(query) { data: query }) } + +// 查询供货商维度报表列表 +export function listSupplierReport(query) { + return request({ + url: '/finance/report/listSupplier', + method: 'post', + headers: { 'Content-Type': 'multipart/form-data' }, + data: query + }) +} diff --git a/oms_web/oms_vue/src/api/flow.js b/oms_web/oms_vue/src/api/flow.js index 913efdc7..155a9e0a 100644 --- a/oms_web/oms_vue/src/api/flow.js +++ b/oms_web/oms_vue/src/api/flow.js @@ -17,6 +17,14 @@ export function listCompletedFlows(data) { data: data }) } +// 按业务单号查询待办记录(查看申请详情用) +export function listApplyFlows(data) { + return request({ + url: '/flow/todo/apply-list', + method: 'post', + data: data + }) +} // 通用审批 export function approveTask(data) { return request({ diff --git a/oms_web/oms_vue/src/api/inventory/delivery.js b/oms_web/oms_vue/src/api/inventory/delivery.js index 13ef853b..34323822 100644 --- a/oms_web/oms_vue/src/api/inventory/delivery.js +++ b/oms_web/oms_vue/src/api/inventory/delivery.js @@ -52,6 +52,15 @@ export function recallDelivery(id) { }) } +// 提交出库撤回审批(跨天发货记录) +export function recallApply(id, reason, amountChanged) { + return request({ + url: '/inventory/delivery/vue/recall/apply', + method: 'post', + data: {id, reason, amountChanged} + }) +} + // 导出采购合同 export function exportDelivery(query) { return request({ diff --git a/oms_web/oms_vue/src/api/inventory/execution.js b/oms_web/oms_vue/src/api/inventory/execution.js index c9ddff5b..ff5cbc68 100644 --- a/oms_web/oms_vue/src/api/inventory/execution.js +++ b/oms_web/oms_vue/src/api/inventory/execution.js @@ -70,6 +70,15 @@ export function recallExecution(id) { params: { id } }) } + +// 提交撤单审批申请 +export function recallExecutionApply(id, reason, amountChanged) { + return request({ + url: '/inventory/execution/vue/recall/apply', + method: 'post', + data: { id, reason, amountChanged } + }) +} export function exportExecution(data) { return request({ url: `/inventory/execution/vue/export`, diff --git a/oms_web/oms_vue/src/assets/styles/ruoyi.scss b/oms_web/oms_vue/src/assets/styles/ruoyi.scss index ab4a1d2d..72dd1cf1 100644 --- a/oms_web/oms_vue/src/assets/styles/ruoyi.scss +++ b/oms_web/oms_vue/src/assets/styles/ruoyi.scss @@ -104,6 +104,18 @@ margin-left: 1px; } } + + // 固定列覆盖层:强制不透明背景 + 提升层级,防止横向滚动时内容穿透固定列 + .el-table__fixed, + .el-table__fixed-right { + background-color: #fff; + z-index: 3; + } + + .el-table__fixed .el-table__cell, + .el-table__fixed-right .el-table__cell { + background-color: #fff; + } } /** 表单布局 **/ diff --git a/oms_web/oms_vue/src/views/approve/all/components/OrderRebackDetail.vue b/oms_web/oms_vue/src/views/approve/all/components/OrderRebackDetail.vue new file mode 100644 index 00000000..1281506f --- /dev/null +++ b/oms_web/oms_vue/src/views/approve/all/components/OrderRebackDetail.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/oms_web/oms_vue/src/views/approve/all/components/OuterRebackDetail.vue b/oms_web/oms_vue/src/views/approve/all/components/OuterRebackDetail.vue new file mode 100644 index 00000000..6e1394c7 --- /dev/null +++ b/oms_web/oms_vue/src/views/approve/all/components/OuterRebackDetail.vue @@ -0,0 +1,312 @@ + + + diff --git a/oms_web/oms_vue/src/views/approve/all/index.vue b/oms_web/oms_vue/src/views/approve/all/index.vue index cda05b55..7bb61638 100644 --- a/oms_web/oms_vue/src/views/approve/all/index.vue +++ b/oms_web/oms_vue/src/views/approve/all/index.vue @@ -75,7 +75,7 @@ @@ -84,14 +84,20 @@ {{ getApproveTypeLabel(scope.row.approveType) }} - - - + + + - + + + + +