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: "" })} + /> +