From f78d75102737e17c57ec03a649e7d9c2c96efd3f Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 4 Nov 2025 16:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/flow/pay.js | 29 ++ src/views/flow/list.vue | 5 +- src/views/flow/payList.vue | 719 +++++++++++++++++++++++++++++++++++++ 3 files changed, 752 insertions(+), 1 deletion(-) create mode 100644 src/views/flow/payList.vue diff --git a/src/api/flow/pay.js b/src/api/flow/pay.js index 29a3281..6c5a15a 100644 --- a/src/api/flow/pay.js +++ b/src/api/flow/pay.js @@ -1,6 +1,35 @@ import request from '@/utils/request' import { MessageBox } from 'element-ui' + +// 采购明细 +// flow/caigoumingxi-wait-list +//flow/caigoumingxi-receive-list +//flow/caigoumingxi-confirm +export function waitList(params) { + return request({ + method: 'get', + url: `/api/oa/flow/caigoumingxi-wait-list`, + params + }) +} + +export function receiveList(params) { + return request({ + method: 'get', + url: `/api/oa/flow/caigoumingxi-receive-list`, + params + }) +} + +export function confirmList(data) { + return request({ + method: 'post', + url: `/api/oa/flow/caigoumingxi-confirm`, + data + }) +} + // 已支付物资明细情况 export function getItems(params) { return request({ diff --git a/src/views/flow/list.vue b/src/views/flow/list.vue index 5d2f6d6..02a0ce7 100644 --- a/src/views/flow/list.vue +++ b/src/views/flow/list.vue @@ -688,6 +688,7 @@ import payMx from "./components/payMx.vue"; import FieldExport from "./components/FieldExport.vue"; import { departmentListNoAuth } from "@/api/common"; import { deepCopy } from "@/utils"; + export default { name: "flowList", components: { @@ -990,7 +991,8 @@ export default { this.select.page_size = 20 this.can_pay = '' if (e) { - if(e==99){ + if (e == 99 && this.$route.params.type === 'handled') { + this.select.page = 1 this.select.page_size = 999 } this.getFields(e); @@ -1030,6 +1032,7 @@ export default { if (refresh) { this.select.page = 1; } + const res = await flowList(this.$route.params.type, this.select, false); res.data?.data?.forEach((i) => this.contentFormatter(i)); this.list = res?.data?.data || []; diff --git a/src/views/flow/payList.vue b/src/views/flow/payList.vue new file mode 100644 index 0000000..18194c1 --- /dev/null +++ b/src/views/flow/payList.vue @@ -0,0 +1,719 @@ + + + + + +