diff --git a/src/pages/write_off/menu/menu.vue b/src/pages/write_off/menu/menu.vue index 4637909..93471c5 100644 --- a/src/pages/write_off/menu/menu.vue +++ b/src/pages/write_off/menu/menu.vue @@ -39,7 +39,7 @@ 抖音团购核销 - + 抖音团购核销 diff --git a/src/pages/write_off/operate/operate.vue b/src/pages/write_off/operate/operate.vue index 3ed8d80..7d72d68 100644 --- a/src/pages/write_off/operate/operate.vue +++ b/src/pages/write_off/operate/operate.vue @@ -134,7 +134,12 @@ export default { if(writeOffType == 'site')return this.siteGet({ query: _query, vType: _vType, }); if(writeOffType == 'mall')return this.mallGet({ query: _query, vType: _vType, }); if(writeOffType == 'dypoi'){ - let _code = decrypt_text || verify_code; + let _code = verify_code; + if(decrypt_text){ + try{ + _code = JSON.parse(decrypt_text)?.code; + }catch(err){console.warn(err)} + } return this.dypoiGet({ ..._query, code: _code,