From 63473c68939cff56ea5c84c75a694520659ff348 Mon Sep 17 00:00:00 2001 From: zhangguoping Date: Tue, 5 Nov 2024 16:26:03 +0800 Subject: [PATCH] =?UTF-8?q?keys=E5=88=97=E8=A1=A8=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E4=B8=8E=E6=A0=B8=E9=94=80=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/api.js | 5 +++++ src/components/keysFind/index.jsx | 20 +++++++++++++++++--- src/components/keysFind/index.less | 2 +- src/pages/plan/keyList/index.jsx | 30 ++++++++++++++++++++++++++++-- 4 files changed, 51 insertions(+), 6 deletions(-) diff --git a/src/assets/api.js b/src/assets/api.js index f86c05a0..1d8be482 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -743,6 +743,11 @@ export const resetKey = (data) => { return req("put", baseurl + "/key/reset", data) } +// key码核销通知 +export const noticeKey = (data) => { + return req("post", baseurl + "/key/merchantUsageNotify", data) +} + //提交审核 export const approvals = (id, data) => { return req("post", baseurl + "/plan/" + id + "/approvals", data) diff --git a/src/components/keysFind/index.jsx b/src/components/keysFind/index.jsx index ac4a9658..416a2a08 100644 --- a/src/components/keysFind/index.jsx +++ b/src/components/keysFind/index.jsx @@ -26,7 +26,8 @@ function init() { plan: "", state: { key: 0, text: "全部" }, key: "", - key_batch_id: "" + key_batch_id: "", + out_biz_no: '' } } @@ -121,7 +122,8 @@ export default forwardRef(({ onQuery, query, resetChange }, myRef) => { plan_id: data.plan?.key || null, status: data.state?.key || null, key: data.key || null, - key_batch_id: data.key_batch_id?.id || null + key_batch_id: data.key_batch_id?.id || null, + out_biz_no: data.out_biz_no || null, } } @@ -202,6 +204,17 @@ export default forwardRef(({ onQuery, query, resetChange }, myRef) => { onClearItem={() => setModels({ ...models, key: "" })} /> + + setModels({ ...models, out_biz_no: va })} + onClearItem={() => setModels({ ...models, out_biz_no: "" })} + /> +