{"version":3,"sources":["webpack:///./src/assets/images/date-icon.svg","webpack:///./src/views/Payment/components/TableWrapper.vue?cc43","webpack:///./src/views/Payment/components/TableWrapper.vue","webpack:///./src/views/Payment/components/TableWrapper.vue?6966","webpack:///./src/views/Payment/EntitySiPayout/setModal.vue?0a5c","webpack:///./src/assets/images/rv/upload.svg","webpack:///./src/views/Payment/EntitySiPayout/Demo/demoCDPreviewModal.vue?574f","webpack:///./src/views/Payment/components/TableWrapper.vue?058f","webpack:///./src/views/Payment/EntitySiPayout/Demo/demoCDSetModal.vue?5538","webpack:///./src/views/Payment/EntitySiPayout/index.vue?a641","webpack:///./src/views/Payment/EntitySiPayout/downLoadModal.vue?63ef","webpack:///./src/views/Payment/EntitySiPayout/index.vue?8112","webpack:///./src/views/Payment/EntitySiPayout/tabBar.vue?cc71","webpack:///./src/views/Payment/EntitySiPayout/tabBar.vue","webpack:///./src/views/Payment/EntitySiPayout/tabBar.vue?8308","webpack:///./src/hooks/payment/EntitySiPayout/useEntitySiPayout.ts","webpack:///./src/views/Payment/EntitySiPayout/setModal.vue?80c6","webpack:///./src/views/Payment/EntitySiPayout/setModal.vue","webpack:///./src/views/Payment/EntitySiPayout/setModal.vue?8ceb","webpack:///./src/views/Payment/EntitySiPayout/viewModal.vue?2d98","webpack:///./src/views/Payment/EntitySiPayout/viewModal.vue","webpack:///./src/views/Payment/EntitySiPayout/viewModal.vue?2eb7","webpack:///./src/views/Payment/EntitySiPayout/uploadDetail.vue?7c69","webpack:///./src/views/Payment/EntitySiPayout/uploadDetail.vue","webpack:///./src/views/Payment/EntitySiPayout/uploadDetail.vue?bf76","webpack:///./src/views/Payment/EntitySiPayout/downLoadModal.vue?0c0e","webpack:///./node_modules/lodash-es/_baseIntersection.js","webpack:///./node_modules/lodash-es/_castArrayLikeObject.js","webpack:///./node_modules/lodash-es/intersection.js","webpack:///./src/views/Payment/EntitySiPayout/downLoadModal.vue","webpack:///./src/views/Payment/EntitySiPayout/downLoadModal.vue?75bb","webpack:///./src/views/Payment/EntitySiPayout/Demo/demoCDSetModal.vue","webpack:///./src/views/Payment/EntitySiPayout/Demo/demoCDSetModal.vue?67d6","webpack:///./src/views/Payment/EntitySiPayout/Demo/demoCDPreviewModal.vue","webpack:///./src/views/Payment/EntitySiPayout/Demo/demoCDPreviewModal.vue?15fa","webpack:///./src/views/Payment/EntitySiPayout/index.vue","webpack:///./src/views/Payment/EntitySiPayout/index.vue?8142","webpack:///./src/views/Payment/components/YearPicker.vue?b314","webpack:///./src/views/Payment/components/YearPicker.vue","webpack:///./src/views/Payment/components/YearPicker.vue?5fcf","webpack:///./src/hooks/useModel.ts","webpack:///./src/utils/payment/getColumnWidth.ts","webpack:///./src/views/Payment/EntitySiPayout/uploadDetail.vue?16f1","webpack:///./src/utils/payment/numberFormat.ts","webpack:///./src/utils/payment/useThousandsAndTwoDecimal.ts","webpack:///./src/views/Payment/EntitySiPayout/viewModal.vue?8a0c"],"names":["module","exports","render","_ctx","_cache","$props","$setup","$data","$options","class","isPagination","$slots","tableHeight","tableSize","height","bottomHeight","undefined","name","props","type","Boolean","default","Number","setup","__exports__","_withScopeId","n","_hoisted_1","_hoisted_2","_hoisted_3","key","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_component_Breadcrumb","_component_tab_bar","_component_YearPicker","_component_a_select_option","_component_a_select","_component_a_button","_component_a_table","_component_table_wrapper","_component_a_pagination","_component_set_modal","_component_view_modal","_component_upload_detail","_component_download_modal","_component_demo_c_d_set_modal","_component_demo_c_d_preview_modal","dataSource","data","entityList","activeKey","entity","$event","onOnTabChange","handleTabChange","style","value","payoutYear","allowClear","placeholder","payoutRound","roundList","item","_","status","statusList","code","$btnPermissions","onClick","reset","search","slotProps","scroll","y","x","tableWidth","columns","filteredColumn","rowKey","pagination","round","record","handleViewModalShow","documentOperation","handleSetModalShow","disabled","approvedStatusList","includes","identification","handleDownloadShow","operation","handleNext","notApprovedStatusList","handleView","fn","demoCarSetButtonHighlight","handleDemoCDSetShow","demoCarPreviewButtonHighlight","handleDemoCDPreviewShow","demoCarViewButtonHighlight","handleDemoCDViewShow","total","onChange","pageChange","onShowSizeChange","sizeChange","pageSize","current","pageNumber","pageSizeOptions","buildOptionText","onOnUploadShow","handleUploadShow","visible","setModalVisible","curPayoutRound","ref","isUploadVisible","uploadModalVisible","onCloseUploadVisible","onSet","_component_a_tab_pane","_component_a_tabs","_activeKey","tab","Array","String","context","useModel","emit","useEntitySiPayout","column","title","dataIndex","slots","customRender","width","useThousandsAndTwoDecimal","align","filter","query","format","statusRes","getSatusList","then","res","store","entityOrder","list","state","user","map","entityNameEn","sort","a","b","aIndex","indexOf","bIndex","roundRes","getRound","dataRes","content","getTableData","_query","year","totalElements","page","size","val","_component_a_drawer","placement","_visible","set","handleSet","router","immediate","replace","console","log","push","path","_component_a_modal","footer","handleClose","rowClassName","getRowClass","src","_component_a_upload_dragger","closable","onClose","close","multiple","showUploadList","remove","handleRemove","beforeUpload","fileChange","fileList","length","loading","uploading","submitFile","attachmentColumns","myAttachmentData","bordered","action","deleteAttachment","downloadAttachment","emits","required","getFileList","isLt5M","uploadComplete","file","payment","maxFileSize","info","lastFile","message","error","splice","index","newFileList","slice","forEach","formData","FormData","warning","maxFileCount","isMore5m","every","append","originFileObj","id","success","downloadElement","document","createElement","href","click","position","right","bottom","borderTop","padding","background","textAlign","zIndex","_component_a_input","modalRowSelection","modalColumnsData","modalTableData","checkResult","handleDownloadCheckFiled","downloadClose","modalDownloadClick","modalLoading","nativeMin","Math","min","baseIntersection","arrays","iteratee","comparator","othLength","othIndex","caches","maxLength","Infinity","result","array","seen","outer","computed","cache","castArrayLikeObject","isArrayLikeObject","intersection","mapped","signedA3DownloadDisabled","selectedRowKeys","columnWidth","getCheckboxProps","_round","_entity","params","url","method","downloadFile","__props","expose","innerModal","period","onSelectChange","getReleaseRound","checked","setTimeout","generateOrNo","confirm","icon","ExclamationCircleOutlined","okText","okType","cancelText","onOk","generateFile","innerOk","innerCancel","triggerPayoutRound","releaseFilePeriod","releaseRoundsOfTriggerPayoutRound","onCancel","releaseRound","combinedRounds","fileNames","getPreviewData","release","postRelease","commit","init","viewModal","downloadModal","demoCDSetModal","demoCDPreviewModal","components","TabBar","YearPicker","TableWrapper","setModal","UploadDetail","DownloadModal","DemoCDSetModal","DemoCDPreviewModal","alt","_component_a_date_picker","mode","yearValue","open","isOpen","onOpenChange","handleOpenChange","onPanelChange","handlePanelChange","$attrs","suffixIcon","Object","get","getColumnWidth","body","clientWidth","toThousandsAndTwoDecimal","count","toFixed","toString","$0","$1","toThousands","substring","text"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,8B,oDCEpC,SAASC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,yBAAc,gCAAoB,MAAO,CAC/CC,MAAO,4BAAgB,CAAC,wBAAyB,CAAC,WAAaN,EAAKO,iBACnE,CACD,wBAAYP,EAAKQ,OAAQ,UAAW,CAClCC,YAAaT,EAAKU,UAAUC,QAAUX,EAAKO,aAAeP,EAAKY,aAAe,GAAKZ,EAAKY,oBACvFC,GAAW,IACb,G,gBCNU,+BAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLR,aAAc,CACZS,KAAMC,QACNC,SAAS,GAEXN,aAAc,CACZI,KAAMG,OACND,QAAS,KAGbE,MAAK,WACH,IAAMV,EAAY,eAAY,0BAC9B,MAAO,CACLA,UAAS,M,iCCXf,MAAMW,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAStB,GAAQ,CAAC,YAAY,qBAE1E,U,oCCTf,W,uBCAAF,EAAOC,QAAU,IAA0B,2B,+GCA3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OAA4B,IAAxBmM,EAAMnM,QAAQ,KACTmM,EAAMM,UAAU,EAAGN,EAAMnM,QAAQ,KAAO,GAExCmM,EAGXA,EAAQrW,OAAOqW,GAGjB,OADAA,EAAQ7F,KAAKnL,MAAMgR,GACZA,EACJE,WACAjL,QAAQ,uBAAuB,S,kCC7CpC,4BAEMxC,EAA4B,WAC9B,OAAO,SAAC,G,IAAC8N,EAAI,OAGT,OAAO,eAAE,OAAQ,eAAyBA,MAGjC,U,kCCTjB","file":"js/chunk-5cee4623.e8152130.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/date-icon.b14f3d24.svg\";","import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"payment-table-wrapper\", {'pagination':_ctx.isPagination}])\n }, [\n _renderSlot(_ctx.$slots, \"default\", {\n tableHeight: _ctx.tableSize.height - (_ctx.isPagination ? _ctx.bottomHeight + 40 : _ctx.bottomHeight)\n }, undefined, true)\n ], 2))\n}","\nimport { defineComponent } from \"vue\";\nimport { elementSize } from \"@/utils\";\nexport default defineComponent({\n name: \"TableWrapper\",\n props: {\n isPagination: {\n type: Boolean,\n default: false\n },\n bottomHeight: {\n type: Number,\n default: 40\n }\n },\n setup() {\n const tableSize = elementSize(\".payment-table-wrapper\");\n return {\n tableSize,\n };\n },\n});\n","import { render } from \"./TableWrapper.vue?vue&type=template&id=ca3a3046&scoped=true&ts=true\"\nimport script from \"./TableWrapper.vue?vue&type=script&lang=ts\"\nexport * from \"./TableWrapper.vue?vue&type=script&lang=ts\"\n\nimport \"./TableWrapper.vue?vue&type=style&index=0&id=ca3a3046&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca3a3046\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./setModal.vue?vue&type=style&index=0&id=3480ba72&scoped=true&lang=scss\"","module.exports = __webpack_public_path__ + \"img/upload.e4734716.svg\";","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./demoCDPreviewModal.vue?vue&type=style&index=0&id=60aba5a8&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TableWrapper.vue?vue&type=style&index=0&id=ca3a3046&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./demoCDSetModal.vue?vue&type=style&index=0&id=061dd239&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=87a3665a&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./downLoadModal.vue?vue&type=style&index=0&id=2b81ab31&scoped=true&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createSlots as _createSlots, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-87a3665a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"sales-container flex-wrapper entire-height\" }\nconst _hoisted_2 = { class: \"sales-header\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"payment-overview-block-wrapper flex-wrapper flex-height\"\n}\nconst _hoisted_4 = { class: \"payment-overview-block\" }\nconst _hoisted_5 = { class: \"payment-search-wrapper\" }\nconst _hoisted_6 = { class: \"payment-search-row\" }\nconst _hoisted_7 = { class: \"search-item\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Year \", -1))\nconst _hoisted_9 = { class: \"search-item\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_11 = { class: \"search-item\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Status \", -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_15 = { class: \"search-btn\" }\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\" Reset \")\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\" Search \")\nconst _hoisted_18 = { class: \"payment-overview-block mt-10 flex-wrapper flex-height\" }\nconst _hoisted_19 = [\"onClick\"]\nconst _hoisted_20 = [\"onClick\"]\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, \"|\", -1))\nconst _hoisted_22 = [\"onClick\"]\nconst _hoisted_23 = [\"onClick\"]\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, \"|\", -1))\nconst _hoisted_25 = [\"onClick\"]\nconst _hoisted_26 = [\"onClick\"]\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, \"|\", -1))\nconst _hoisted_28 = [\"onClick\"]\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, \"|\", -1))\nconst _hoisted_30 = [\"onClick\"]\nconst _hoisted_31 = {\n key: 0,\n class: \"pagination-container d-f justify-e\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Breadcrumb = _resolveComponent(\"Breadcrumb\")!\n const _component_tab_bar = _resolveComponent(\"tab-bar\")!\n const _component_YearPicker = _resolveComponent(\"YearPicker\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_table_wrapper = _resolveComponent(\"table-wrapper\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_set_modal = _resolveComponent(\"set-modal\")!\n const _component_view_modal = _resolveComponent(\"view-modal\")!\n const _component_upload_detail = _resolveComponent(\"upload-detail\")!\n const _component_download_modal = _resolveComponent(\"download-modal\")!\n const _component_demo_c_d_set_modal = _resolveComponent(\"demo-c-d-set-modal\")!\n const _component_demo_c_d_preview_modal = _resolveComponent(\"demo-c-d-preview-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\n _createVNode(_component_tab_bar, {\n data: _ctx.entityList,\n activeKey: _ctx.entity,\n \"onUpdate:activeKey\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.entity) = $event)),\n onOnTabChange: _ctx.handleTabChange\n }, null, 8, [\"data\", \"activeKey\", \"onOnTabChange\"])\n ]),\n (_ctx.entityList.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createVNode(_component_YearPicker, {\n style: {\"width\":\"100%\"},\n value: _ctx.payoutYear,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.payoutYear) = $event)),\n allowClear: false,\n placeholder: \"Please select\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_a_select, {\n value: _ctx.payoutRound,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.payoutRound) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please select\",\n allowClear: true\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.roundList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: item }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_a_select, {\n value: _ctx.status,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.status) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please select\",\n allowClear: true\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.statusList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n value: item.code,\n key: item\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.value), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _hoisted_13,\n _hoisted_14\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n (_ctx.$btnPermissions('ESPA0001'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.reset\n }, {\n default: _withCtx(() => [\n _hoisted_16\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('ESPA0002'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n type: \"primary\",\n onClick: _ctx.search\n }, {\n default: _withCtx(() => [\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_table_wrapper, { \"is-pagination\": _ctx.isPagination }, {\n default: _withCtx((slotProps) => [\n _createVNode(_component_a_table, {\n scroll: {\n y: slotProps.tableHeight - 8,\n x: _ctx.tableWidth,\n },\n dataSource: _ctx.data,\n columns: _ctx.filteredColumn,\n rowKey: \"payoutRound\",\n pagination: false\n }, _createSlots({\n round: _withCtx(({ record }) => [\n _createElementVNode(\"span\", {\n onClick: ($event: any) => (_ctx.handleViewModalShow(record)),\n class: \"link\"\n }, _toDisplayString(record.payoutRound), 9, _hoisted_19)\n ]),\n documentOperation: _withCtx(({ record }) => [\n (_ctx.$btnPermissions('ESPA0003'))\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n onClick: ($event: any) => (_ctx.handleSetModalShow(record)),\n class: _normalizeClass([\"link\", {\n disabled: !(\n _ctx.approvedStatusList.includes(record.status) &&\n record.identification\n ),\n }])\n }, \"Set\", 10, _hoisted_20))\n : _createCommentVNode(\"\", true),\n _hoisted_21,\n (_ctx.$btnPermissions('ESPA0004'))\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 1,\n onClick: ($event: any) => (_ctx.handleDownloadShow(record)),\n class: _normalizeClass([\"link\", {\n disabled: !_ctx.approvedStatusList.includes(record.status),\n }])\n }, \"Download\", 10, _hoisted_22))\n : _createCommentVNode(\"\", true)\n ]),\n operation: _withCtx(({ record }) => [\n (_ctx.$btnPermissions('ESPA0005'))\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n onClick: ($event: any) => (_ctx.handleNext(record)),\n class: _normalizeClass([\"link\", {\n disabled:\n !record.identification ||\n _ctx.notApprovedStatusList.includes(record.status),\n }])\n }, \"Next\", 10, _hoisted_23))\n : _createCommentVNode(\"\", true),\n _hoisted_24,\n (_ctx.$btnPermissions('ESPA0006'))\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 1,\n onClick: ($event: any) => (_ctx.handleView(record)),\n class: _normalizeClass([\"link\", {\n disabled:\n // record.identification ||\n _ctx.notApprovedStatusList.includes(record.status),\n }])\n }, \"View\", 10, _hoisted_25))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, [\n (_ctx.entity != 'FBAC')\n ? {\n name: \"DCD\",\n fn: _withCtx(({ record }) => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"link\", { disabled: !record.demoCarSetButtonHighlight }]),\n onClick: ($event: any) => (_ctx.handleDemoCDSetShow(record, _ctx.entity))\n }, \"Set\", 10, _hoisted_26),\n _hoisted_27,\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"link\", { disabled: !record.demoCarPreviewButtonHighlight }]),\n onClick: ($event: any) => (_ctx.handleDemoCDPreviewShow(record, _ctx.entity))\n }, \"Preview\", 10, _hoisted_28),\n _hoisted_29,\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"link\", { disabled: !record.demoCarViewButtonHighlight }]),\n onClick: ($event: any) => (_ctx.handleDemoCDViewShow(record, _ctx.entity))\n }, \"View\", 10, _hoisted_30)\n ])\n }\n : undefined\n ]), 1032, [\"scroll\", \"dataSource\", \"columns\"])\n ]),\n _: 1\n }, 8, [\"is-pagination\"]),\n (_ctx.isPagination)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_31, [\n _createVNode(_component_a_pagination, {\n total: _ctx.total,\n \"show-size-changer\": \"\",\n \"show-total\": (total) => `共 ${total} 条`,\n onChange: _ctx.pageChange,\n onShowSizeChange: _ctx.sizeChange,\n pageSize: _ctx.pageSize,\n \"onUpdate:pageSize\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.pageSize) = $event)),\n current: _ctx.pageNumber,\n \"onUpdate:current\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.pageNumber) = $event)),\n pageSizeOptions: ['10', '20', '30', '40', '50']\n }, {\n buildOptionText: _withCtx((props) => [\n _createElementVNode(\"span\", null, _toDisplayString(props.value) + \"条/页\", 1)\n ]),\n _: 1\n }, 8, [\"total\", \"show-total\", \"onChange\", \"onShowSizeChange\", \"pageSize\", \"current\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_set_modal, {\n onOnUploadShow: _ctx.handleUploadShow,\n visible: _ctx.setModalVisible,\n \"onUpdate:visible\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.setModalVisible) = $event)),\n entity: _ctx.entity,\n payoutRound: _ctx.curPayoutRound\n }, null, 8, [\"onOnUploadShow\", \"visible\", \"entity\", \"payoutRound\"]),\n _createVNode(_component_view_modal, { ref: \"viewModal\" }, null, 512),\n (_ctx.uploadModalVisible)\n ? (_openBlock(), _createBlock(_component_upload_detail, {\n key: 0,\n isUploadVisible: _ctx.uploadModalVisible,\n onCloseUploadVisible: _cache[7] || (_cache[7] = ($event: any) => (_ctx.uploadModalVisible = false)),\n round: _ctx.curPayoutRound,\n entity: _ctx.entity\n }, null, 8, [\"isUploadVisible\", \"round\", \"entity\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_download_modal, { ref: \"downloadModal\" }, null, 512),\n _createVNode(_component_demo_c_d_set_modal, {\n ref: \"demoCDSetModal\",\n onSet: _ctx.search\n }, null, 8, [\"onSet\"]),\n _createVNode(_component_demo_c_d_preview_modal, {\n ref: \"demoCDPreviewModal\",\n onSet: _ctx.search\n }, null, 8, [\"onSet\"])\n ], 64))\n}","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_tab_pane = _resolveComponent(\"a-tab-pane\")!\n const _component_a_tabs = _resolveComponent(\"a-tabs\")!\n\n return (_openBlock(), _createBlock(_component_a_tabs, {\n activeKey: _ctx._activeKey,\n \"onUpdate:activeKey\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx._activeKey) = $event)),\n onChange: _ctx.handleTabChange\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.data, (item) => {\n return (_openBlock(), _createBlock(_component_a_tab_pane, {\n key: item,\n tab: item\n }, null, 8, [\"tab\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"activeKey\", \"onChange\"]))\n}","\nimport { defineComponent, ref } from \"vue\";\nimport useModel from \"@/hooks/useModel\";\nexport default defineComponent({\n name: \"App\",\n props: {\n data: {\n type: Array,\n default() {\n return [];\n },\n },\n activeKey: {\n type: String\n }\n },\n setup(props, context) {\n const _activeKey = useModel(props, \"activeKey\");\n const handleTabChange = (key: string) => {\n context.emit(\"on-tab-change\", key);\n };\n return { _activeKey, handleTabChange };\n },\n});\n","import { render } from \"./tabBar.vue?vue&type=template&id=dcb3e064&ts=true\"\nimport script from \"./tabBar.vue?vue&type=script&lang=ts\"\nexport * from \"./tabBar.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { reactive, ref, computed, toRaw, watch } from \"vue\";\nimport { useStore } from 'vuex'\nimport moment from 'moment'\nimport useThousandsAndTwoDecimal from \"@/utils/payment/useThousandsAndTwoDecimal\";\nimport { fetchEntityList } from \"@/views/Checking/spotChecking/spotCheckingVonder/checkingPreparation/API\";\nimport { getPayoutRoundByYear, getDealerSalesStatus, getSalesList } from \"@/API/payment\";\nconst useEntitySiPayout = () => {\n // column\n const column = reactive([\n {\n title: \"Payout Round\",\n dataIndex: \"payoutRound\",\n slots: { customRender: \"round\" },\n class: 'column-no-wrap',\n width: 120\n },\n {\n title: \"Payout Amount w/o VAT\",\n dataIndex: \"amountWOVat\",\n customRender: useThousandsAndTwoDecimal(),\n align: \"right\",\n width: 180\n },\n {\n title: \"Payout Amount w VAT\",\n dataIndex: \"amountWVat\",\n customRender: useThousandsAndTwoDecimal(),\n align: \"right\",\n width: 180\n },\n {\n title: \"BU No.\",\n dataIndex: \"buNum\",\n align: \"right\",\n width: 120\n },\n {\n title: \"\",\n dataIndex: \"\",\n width: 50\n },\n {\n title: \"Status\",\n dataIndex: \"status\",\n width: 120\n },\n {\n title: \"Document Preparation\",\n slots: { customRender: \"documentOperation\" },\n width: 180\n },\n {\n title: \"Operation\",\n slots: { customRender: \"operation\" },\n width: 120\n },\n {\n filter:true,\n title: \"Demo Car Deduction\",\n slots: { customRender: \"DCD\" },\n width: 200\n },\n ]);\n // 查询条件\n const query = reactive({\n payoutYear: moment().format(\"YYYY\"),\n payoutRound: undefined,\n status: undefined,\n entity: \"\",\n type: \"DEALER\",\n });\n // 分页\n const pagination = reactive({\n total: 0,\n pageNumber: 1,\n pageSize: 10,\n });\n // status 列表\n const statusRes = ref();\n const statusList = computed(() => {\n return statusRes.value;\n });\n const getSatusList = () => {\n getDealerSalesStatus().then((res) => {\n statusRes.value = res;\n });\n };\n const store = useStore()\n // entity 列表\n const entityRes = ref();\n const entityList = computed(() => {\n const entityOrder = ['BBAC', 'MBCL', 'FBAC']\n const list = store.state.user.entityList.map((item: any) => item.entityNameEn)\n .sort((a: any, b: any) => {\n let aIndex = entityOrder.indexOf(a)\n let bIndex = entityOrder.indexOf(b)\n if (aIndex === -1) aIndex = 99\n if (bIndex === -1) bIndex = 99\n return aIndex - bIndex\n })\n return list\n });\n // const getEntityList = () => {\n // return new Promise((resolve, reject) => {\n // fetchEntityList().then((res: any) => {\n // entityRes.value = res;\n // resolve(res?.data?.data[0]);\n // });\n // });\n // };\n // 查round列表\n const roundRes = ref();\n const roundList = computed(() => {\n return roundRes.value;\n });\n const getRound = () => {\n query.payoutRound = undefined\n getPayoutRoundByYear(query.payoutYear, query.entity).then((res) => {\n roundRes.value = res;\n });\n };\n // table Data\n const dataRes = ref();\n const data = computed(() => {\n return dataRes.value?.content;\n });\n const getTableData = () => {\n const _query: {[key: string]: any} = {\n ...toRaw(query),\n pageNumber: pagination.pageNumber,\n pageSize: pagination.pageSize\n };\n _query.status = _query.status === undefined ? '0' : _query.status\n _query.payoutRound = _query.payoutRound === undefined ? '' : _query.payoutRound\n _query.year = _query.payoutYear\n getSalesList(_query).then((res) => {\n pagination.total = res.totalElements\n dataRes.value = res;\n });\n };\n const pageChange = (page: number, size: number) => {\n pagination.pageSize = size\n pagination.pageNumber = page\n getTableData()\n }\n const sizeChange = (page: number, size: number) => {\n pagination.pageSize =size\n pagination.pageNumber = page\n getTableData()\n }\n // 监听payout round变化\n watch(() => query.payoutYear, (val) => {\n if (typeof val !== 'string') {\n query.payoutYear = moment(val).format(\"YYYY\")\n getRound()\n }\n })\n return {\n query,\n column,\n data,\n getTableData,\n pagination,\n entityList,\n roundList,\n getRound,\n statusList,\n getSatusList,\n pageChange,\n sizeChange\n };\n};\nexport default useEntitySiPayout;\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3480ba72\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"set-wrapper\" }\nconst _hoisted_2 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: \"Set\",\n placement: \"right\",\n visible: _ctx._visible,\n \"onUpdate:visible\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx._visible) = $event)),\n width: \"400\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_a_table, {\n dataSource: _ctx.data,\n columns: _ctx.column,\n rowKey: \"code\",\n pagination: false\n }, {\n set: _withCtx(({ record }) => [\n _createElementVNode(\"span\", {\n class: \"link\",\n onClick: ($event: any) => (_ctx.handleSet(record))\n }, _toDisplayString(record.value), 9, _hoisted_2)\n ]),\n _: 1\n }, 8, [\"dataSource\", \"columns\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","\nimport { defineComponent, ref, reactive, watch } from \"vue\";\nimport useModel from \"@/hooks/useModel\";\nimport { getSetList } from \"@/API/payment\";\nimport { useRouter } from \"vue-router\";\nexport default defineComponent({\n name: \"App\",\n props: {\n visible: {\n type: Boolean,\n default: false,\n },\n entity: {\n type: String,\n default: \"\",\n },\n payoutRound: {\n type: String,\n default: \"\",\n }\n },\n setup(props, context) {\n const router = useRouter();\n const column = reactive([\n {\n title: \"Payment Release Set\",\n slots: { customRender: \"set\" },\n },\n ]);\n const _visible = useModel(props, \"visible\");\n const data = ref();\n watch(\n () => props.entity,\n (val) => {\n getSetList(val).then((res) => {\n data.value = res;\n });\n },\n {\n immediate: true,\n }\n );\n const handleSet = (record: any) => {\n const page = record.value.replace(/\\s/g, \"\");\n console.log('entity.....' + props.entity);\n console.log('payoutrouhd.....' + props.payoutRound);\n if (page === \"DCNTemplateSet\") {\n router.push({ name: \"DcnTemplateSet\" ,\n query: { entity: props.entity, payoutRound: props.payoutRound },\n });\n } else if (page === \"VehicleNameSet\") {\n router.push({\n path: \"/paymentSales/vehicleNameSet\",\n query: { entity: props.entity },\n });\n } else if (page === \"VendorCodeSet\") {\n router.push({ path: \"/paymentSales/dealerVendorCodeSet\" ,\n query: { entity: props.entity, payoutRound: props.payoutRound }\n });\n } else if (page === \"VoucherAttachmentSet\") {\n router.push({ path: \"/paymentSales/voucherAttachmentSet\" });\n } else if (page === \"UploadFile\") {\n context.emit(\"on-upload-show\");\n }\n };\n return {\n data,\n column,\n _visible,\n handleSet,\n };\n },\n});\n","import { render } from \"./setModal.vue?vue&type=template&id=3480ba72&scoped=true&ts=true\"\nimport script from \"./setModal.vue?vue&type=script&lang=ts\"\nexport * from \"./setModal.vue?vue&type=script&lang=ts\"\n\nimport \"./setModal.vue?vue&type=style&index=0&id=3480ba72&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3480ba72\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ac76fae2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"table-wrapper\" }\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\" Close \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createBlock(_component_a_modal, {\n visible: _ctx._visible,\n \"onUpdate:visible\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx._visible) = $event)),\n width: 600\n }, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.payoutRound), 1)\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.handleClose\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_a_table, {\n dataSource: _ctx.data,\n columns: _ctx.column,\n rowKey: \"id\",\n pagination: false,\n rowClassName: _ctx.getRowClass\n }, null, 8, [\"dataSource\", \"columns\", \"rowClassName\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","\nimport { defineComponent, ref, reactive, watch } from \"vue\";\nimport useModel from \"@/hooks/useModel\";\nimport { getPayoutCodeStatus } from \"@/API/payment\";\nexport default defineComponent({\n name: \"App\",\n props: {},\n setup() {\n const column = reactive([\n {\n title: \"Payout Round\",\n dataIndex: \"payoutRound\",\n },\n {\n title: \"Payout Code\",\n dataIndex: \"payoutCode\",\n },\n {\n title: \"Status\",\n dataIndex: \"status\",\n },\n ]);\n const _visible = ref(false);\n const handleClose = () => {\n _visible.value = false;\n };\n const payoutRound = ref();\n const data = ref();\n const getTableData = (round: string, entity: string) => {\n data.value = [];\n payoutRound.value = round;\n getPayoutCodeStatus({\n entity: entity,\n payoutRound: round,\n type: \"DEALER\",\n }).then((res) => {\n data.value = res;\n _visible.value = true;\n });\n };\n return {\n _visible,\n payoutRound,\n handleClose,\n getTableData,\n data,\n column,\n };\n },\n});\n","import { render } from \"./viewModal.vue?vue&type=template&id=ac76fae2&scoped=true&ts=true\"\nimport script from \"./viewModal.vue?vue&type=script&lang=ts\"\nexport * from \"./viewModal.vue?vue&type=script&lang=ts\"\n\nimport \"./viewModal.vue?vue&type=style&index=0&id=ac76fae2&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ac76fae2\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/rv/upload.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-236ed15e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"clearfix\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-drag-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"uploadIcon\"\n })\n], -1))\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"ant-upload-text\" }, [\n /*#__PURE__*/_createTextVNode(\" Drag and drop to upload or \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"blueFont\" }, \"browse for files\")\n], -1))\nconst _hoisted_4 = { style: {\"position\":\"relative\",\"width\":\"100%\"} }\nconst _hoisted_5 = { style: {\"margin-top\":\"10px\"} }\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_upload_dragger = _resolveComponent(\"a-upload-dragger\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: _ctx.title,\n closable: true,\n visible: _ctx.isUploadVisible,\n width: \"35.14%\",\n onClose: _ctx.close\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_a_upload_dragger, {\n name: \"file\",\n multiple: true,\n showUploadList: true,\n remove: _ctx.handleRemove,\n \"before-upload\": _ctx.beforeUpload,\n onChange: _ctx.fileChange,\n \"file-list\": _ctx.fileList,\n \"onUpdate:file-list\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.fileList) = $event))\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _hoisted_3\n ]),\n _: 1\n }, 8, [\"remove\", \"before-upload\", \"onChange\", \"file-list\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_a_button, {\n type: \"primary\",\n disabled: _ctx.fileList.length === 0,\n loading: _ctx.uploading,\n style: {\"margin-top\":\"16px\"},\n onClick: _ctx.submitFile\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.uploading ? \"Uploading\" : \"Start Upload\"), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\", \"onClick\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_a_table, {\n columns: _ctx.attachmentColumns,\n pagination: false,\n dataSource: _ctx.myAttachmentData,\n rowKey: \"id\",\n bordered: \"\"\n }, {\n action: _withCtx(({ record }) => [\n _createElementVNode(\"a\", null, [\n _createElementVNode(\"span\", {\n class: \"font_family\",\n style: {\"font-size\":\"16px\"},\n onClick: ($event: any) => (_ctx.deleteAttachment(record))\n }, \"Delete\", 8, _hoisted_6)\n ]),\n _createElementVNode(\"a\", null, [\n _createElementVNode(\"span\", {\n class: \"font_family m-l-20\",\n style: {\"font-size\":\"16px\"},\n onClick: ($event: any) => (_ctx.downloadAttachment(record))\n }, \"Download\", 8, _hoisted_7)\n ])\n ]),\n _: 1\n }, 8, [\"columns\", \"dataSource\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\", \"onClose\"]))\n}","\nimport { defineComponent, ref, computed, onMounted } from \"vue\";\nimport { FileItem } from \"@/API/types\";\nimport { message } from \"ant-design-vue\";\nimport * as API from \"@/API/payment\";\nimport { Modal } from \"ant-design-vue\";\nimport { FileInfo } from \"@/API/types\";\nimport { SalesTableData } from \"@/hooks/payment/EntitySiPayout/useSalesPayment\";\nimport { useStore } from \"vuex\";\nconst attachmentColumns = [\n {\n title: \"Attachment\",\n dataIndex: \"fileName\",\n width: 200,\n slots: { customRender: \"comments\" },\n },\n { title: \"Upload Date\", dataIndex: \"updatedAt\", width: 110 },\n {\n title: \"Operation\",\n key: \"operation\",\n width: 165,\n slots: { customRender: \"action\" },\n },\n];\n\nexport default defineComponent({\n emits: [\"close-upload-visible\"],\n props: {\n isUploadVisible: {\n type: Boolean,\n required: true,\n default: false,\n },\n round: {\n type: String,\n default: \"\",\n },\n entity: {\n type: String,\n default: \"\",\n },\n },\n setup(props, context) {\n const { state } = useStore();\n\n const payoutRound = computed(() => {\n return props.round;\n });\n const myAttachmentData = ref(null);\n const getFileList = () => {\n API.getFileList(\n payoutRound.value,\n `upload_sales_file_${props.entity}`\n ).then((res) => {\n myAttachmentData.value = res;\n });\n };\n getFileList();\n // API.getDealerNewRound().then(data => {\n // payoutRound = data.payoutRound\n // getFileList()\n // })\n onMounted(() => {\n //rrrr\n });\n // 文件上传\n const uploading = ref(false);\n const isLt5M = ref([]);\n const uploadComplete = ref(true);\n // 获取标题内容\n const title = computed(() => `Upload Attachment File`);\n // // 设置抽屉显示状态\n // const modal = (props as any).isUploadVisible;\n const close = () => {\n context.emit(\"close-upload-visible\", { isUploadVisible: false });\n };\n\n const fileList = ref([]);\n // 上传前\n const beforeUpload = (file: FileItem) => {\n console.log(\"进入上传前方法中。。。。。。。\");\n // const isHtml = file.type === 'text/html';\n // if (isHtml) {\n // message.error('不能上传html格式文件!')\n // }\n isLt5M.value.push(file.size / 1024 / 1024 < state.payment.maxFileSize);\n /*if (file.size / 1024 / 1024 > 5) {\n message.error('图片不得大于5MB!')\n }*/\n return false;\n };\n\n const fileChange = (info: FileInfo) => {\n const lastFile: FileItem = info.fileList[info.fileList.length - 1];\n if (lastFile && lastFile.type === \"text/html\") {\n message.error(\"Attachment can not be an HTML file.\");\n fileList.value.splice(info.fileList.length - 1, 1);\n isLt5M.value.splice(info.fileList.length - 1, 1);\n }\n };\n const handleRemove = (file: FileItem) => {\n const index = fileList.value.indexOf(file);\n const newFileList = fileList.value.slice();\n newFileList.splice(index, 1);\n fileList.value = newFileList;\n isLt5M.value = [];\n //console.log('isLt5m===============',isLt5M)\n fileList.value.forEach((item: FileItem) => {\n isLt5M.value.push(item.size / 1024 / 1024 < state.payment.maxFileSize);\n });\n };\n const submitFile = () => {\n console.log(\"上传的附件个数为:\", fileList.value.length);\n const formData = new FormData();\n if (fileList.value.length <= 0) {\n message.warning(\"you have not uploaded any attachments\");\n return;\n }\n if (fileList.value.length > state.payment.maxFileCount) {\n message.warning(\n `Attachment batch upload can not more than ${state.payment.maxFileCount}.`\n );\n return;\n }\n const isMore5m = isLt5M.value.every((item) => {\n return item;\n });\n if (!isMore5m) {\n message.warning(\n `Attachment can not large than ${state.payment.maxFileSize}M.`\n );\n return;\n }\n fileList.value.forEach((file: FileItem) => {\n formData.append(\"document\", file.originFileObj);\n });\n uploading.value = true;\n API.getSalesUploadFile(payoutRound.value, formData, props.entity).then(\n (data) => {\n fileList.value = [];\n uploading.value = false;\n if (data.code !== \"0\") {\n Modal.error({\n title: \"Tips\",\n content: \"Upload failed\", //res.data.message\n });\n } else {\n Modal.info({\n title: \"Tips\",\n content: \"Successfully Upload!\", //res.data.message\n });\n getFileList();\n }\n }\n );\n };\n\n // const handleUpload = () => {\n // submitFile(fileList)\n // }\n const deleteAttachment = (record: SalesTableData) => {\n API.getSalesDeleteFile(record.id).then((data) => {\n if (!data) {\n message.success(\"Successfully Delete!\");\n getFileList();\n } else {\n message.error(data);\n }\n });\n };\n const downloadAttachment = (record: SalesTableData) => {\n API.getSalesDownloadFile(record.id).then((data) => {\n const downloadElement = document.createElement(\"a\");\n downloadElement.href = data;\n downloadElement.click();\n });\n };\n return {\n myAttachmentData,\n fileList,\n title,\n // modal,\n close,\n isLt5M,\n submitFile,\n beforeUpload,\n handleRemove,\n uploadComplete,\n attachmentColumns,\n deleteAttachment,\n downloadAttachment,\n fileChange,\n uploading,\n };\n },\n});\n","import { render } from \"./uploadDetail.vue?vue&type=template&id=236ed15e&scoped=true&ts=true\"\nimport script from \"./uploadDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./uploadDetail.vue?vue&type=script&lang=ts\"\n\nimport \"./uploadDetail.vue?vue&type=style&index=0&id=236ed15e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-236ed15e\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2b81ab31\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"download-table-part table-wrapper\" }\nconst _hoisted_2 = { class: \"searchMain\" }\nconst _hoisted_3 = { class: \"d-f\" }\nconst _hoisted_4 = { class: \"d-f flex-d-c flex-w-auto m-r-16\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Entity\", -1))\nconst _hoisted_6 = { class: \"d-f flex-d-c flex-w-auto m-r-16\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Payout Round\", -1))\nconst _hoisted_8 = {\n key: 0,\n class: \"check-result\"\n}\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"400Code check: \")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Click here download dealer list\")\nconst _hoisted_11 = { style: {\n position: 'absolute',\n right: 0,\n bottom: 0,\n width: '100%',\n borderTop: '1px solid #e9e9e9',\n padding: '10px 16px',\n background: '#fff',\n textAlign: 'right',\n zIndex: 1,\n } }\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\" Download \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: \"Download Files\",\n closable: true,\n visible: _ctx._visible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx._visible) = $event)),\n width: 400\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_a_input, {\n value: _ctx.entity,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.entity) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_input, {\n value: _ctx.payoutRound,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.payoutRound) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ])\n ])\n ]),\n _createVNode(_component_a_table, {\n \"row-selection\": _ctx.modalRowSelection,\n columns: _ctx.modalColumnsData,\n pagination: false,\n dataSource: _ctx.modalTableData,\n rowKey: \"name\"\n }, null, 8, [\"row-selection\", \"columns\", \"dataSource\"]),\n (_ctx.checkResult !== undefined)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", null, [\n _hoisted_9,\n _createElementVNode(\"span\", {\n class: _normalizeClass(_ctx.checkResult ? 'passed' : 'failed')\n }, _toDisplayString(_ctx.checkResult ? 'Passed' : 'Failed'), 3)\n ]),\n (!_ctx.checkResult)\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n type: \"link\",\n onClick: _ctx.handleDownloadCheckFiled\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: _ctx.downloadClose\n }, {\n default: _withCtx(() => [\n _hoisted_12\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.modalDownloadClick,\n loading: _ctx.modalLoading\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n }, 8, [\"onClick\", \"loading\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}","import SetCache from './_SetCache.js';\nimport arrayIncludes from './_arrayIncludes.js';\nimport arrayIncludesWith from './_arrayIncludesWith.js';\nimport arrayMap from './_arrayMap.js';\nimport baseUnary from './_baseUnary.js';\nimport cacheHas from './_cacheHas.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMin = Math.min;\n\n/**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\nfunction baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nexport default baseIntersection;\n","import isArrayLikeObject from './isArrayLikeObject.js';\n\n/**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\nfunction castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n}\n\nexport default castArrayLikeObject;\n","import arrayMap from './_arrayMap.js';\nimport baseIntersection from './_baseIntersection.js';\nimport baseRest from './_baseRest.js';\nimport castArrayLikeObject from './_castArrayLikeObject.js';\n\n/**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\nvar intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n});\n\nexport default intersection;\n","\nimport { defineComponent, reactive, ref, unref, watch } from \"vue\";\nimport * as API from \"@/API/payment\";\nimport useModel from \"@/hooks/useModel\";\nimport { ColumnProps } from \"ant-design-vue/es/table/interface\";\nimport { message } from \"ant-design-vue\";\nimport { downloadFromStream, default as downloadFile} from \"@/utils/payment/downloadFile\";\nimport { intersection } from 'lodash-es';\ntype DownloadParams = {\n payoutRound: string | undefined;\n entity: string | undefined;\n};\ntype Key = ColumnProps[\"key\"];\nexport interface SalesTableData {\n id: string;\n payoutRound: string;\n payoutCode: string;\n payoutAmountWVat: string;\n payoutAmountWOVat: string;\n updatedAt: string;\n status: string;\n}\nexport default defineComponent({\n name: \"App\",\n props: {},\n setup(props) {\n const _visible = ref(false);\n\n const entity = ref();\n const payoutRound = ref();\n let signedA3DownloadDisabled = false;\n const checkResult = ref();\n\n const modalColumnsData = [{ title: \"File Name\", dataIndex: \"value\" }];\n const modalTableData = ref();\n const modalRowSelection = reactive<{\n selectedRowKeys: Key[];\n onChange: Function;\n columnWidth: string;\n getCheckboxProps: (...args: any[]) => any;\n }>({\n onChange: (selectedRowKeys: Key[]) => {\n modalRowSelection.selectedRowKeys = selectedRowKeys;\n },\n selectedRowKeys: [],\n columnWidth: \"20px\",\n getCheckboxProps: (record: any) => ({\n disabled: record.value === \"Signed A3\" && signedA3DownloadDisabled,\n }),\n });\n const getTableData = (_round: string, _entity: string) => {\n modalTableData.value = [];\n modalRowSelection.selectedRowKeys = [];\n payoutRound.value = _round;\n entity.value = _entity;\n API.summaryLogCheck(payoutRound.value, entity.value)\n .then((data) => {\n signedA3DownloadDisabled = data === \"0\";\n })\n .then(() => {\n API.getDownloadFileList(entity.value).then((data) => {\n modalTableData.value = data;\n _visible.value = true;\n });\n });\n };\n const modalDownloadClick = async () => {\n if (modalRowSelection.selectedRowKeys.length === 0) {\n message.warning(\"Please select the data first\");\n return;\n }\n if (entity.value === 'BBAC' && intersection(modalRowSelection.selectedRowKeys, [\"6\", \"9\"])) {\n checkResult.value = await API.exportCheck400Code({\n entity: entity.value,\n payoutRound: payoutRound.value\n });\n } else {\n checkResult.value = undefined;\n }\n if (checkResult.value !== false) {\n const params = {\n url:\n \"/ptapi/export/sales/downloadFiles?payoutRound=\" +\n payoutRound.value +\n \"&entity=\" +\n entity.value,\n method: \"post\",\n params: modalRowSelection.selectedRowKeys,\n };\n downloadFile(params);\n }\n };\n const downloadClose = () => {\n checkResult.value = undefined;\n _visible.value = false;\n };\n const handleDownloadCheckFiled = async () => {\n const res = await API.download400CodeCheckFailed({\n entity: entity.value,\n payoutRound: payoutRound.value\n });\n downloadFromStream(res);\n }\n return {\n _visible,\n entity,\n payoutRound,\n modalColumnsData,\n modalTableData,\n modalRowSelection,\n getTableData,\n modalDownloadClick,\n downloadClose,\n checkResult,\n handleDownloadCheckFiled\n };\n },\n});\n","import { render } from \"./downLoadModal.vue?vue&type=template&id=2b81ab31&scoped=true&ts=true\"\nimport script from \"./downLoadModal.vue?vue&type=script&lang=ts\"\nexport * from \"./downLoadModal.vue?vue&type=script&lang=ts\"\n\nimport \"./downLoadModal.vue?vue&type=style&index=0&id=2b81ab31&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2b81ab31\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-061dd239\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"dcdTitle\" }, \"Demo Car Deduction Set\", -1))\nconst _hoisted_2 = { style: {\n position: 'absolute',\n right: 0,\n bottom: 0,\n width: '100%',\n borderTop: '1px solid #e9e9e9',\n padding: '10px 16px',\n background: '#fff',\n textAlign: 'right',\n zIndex: 1,\n } }\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\" Generate Deduction File \")\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { style: {\"color\":\"red\",\"margin-top\":\"12px\"} }, \"Note:The input information will take into demo car deduction file name.\", -1))\n\nimport { createVNode, ref, } from \"vue\";\nimport { getReleaseListApi, generateFileApi } from \"@/API/payment\";\nimport { Modal, message } from \"ant-design-vue\";\nimport { ExclamationCircleOutlined } from '@ant-design/icons-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n emits: [\"set\"],\n setup(__props, { expose, emit }: { emit: ({\n (event: 'set'): void\n}), expose: any, slots: any, attrs: any }) {\n\n\n\nconst state = ref({\n selectedRowKeys: [],\n data: [],\n loading: false,\n visible: false,\n innerModal: false,\n period: '',\n entity: '',\n payoutRound: ''\n});\nconst onSelectChange = (selectedRowKeys: any[]) => {\n state.value.selectedRowKeys = selectedRowKeys;\n}\nconst columns = ref([{\n title: 'Payout Round',\n key: 'payoutRound',\n dataIndex: 'payoutRound'\n}])\n\nasync function getReleaseRound(payoutRound: any, entity: any) {\n state.value.selectedRowKeys = []\n state.value.payoutRound = payoutRound\n state.value.entity = entity\n const res = await getReleaseListApi(payoutRound, entity);\n state.value.data = res\n res.forEach((item: any) => {\n if (item.checked) {\n state.value.selectedRowKeys.push(item.payoutRound)\n }\n })\n setTimeout(()=>{\n state.value.visible = true\n })\n}\n\nfunction generateOrNo() {\n if (state.value.selectedRowKeys.length === 0) {\n Modal.confirm({\n title: 'No item selected, deduction file will discard!',\n icon: createVNode(ExclamationCircleOutlined),\n okText: 'Confirm',\n okType: 'primary',\n cancelText: 'Cancel',\n onOk: async () => {\n await generateFile()\n emit('set')\n }\n });\n } else {\n state.value.innerModal = true\n }\n}\n\nasync function innerOk() {\n if (state.value.period == '') {\n message.error('Please input release file period!')\n return\n }\n await generateFile()\n emit('set')\n}\nfunction innerCancel() {\n state.value.period = ''\n}\n\nasync function generateFile() {\n try {\n await generateFileApi({\n entity: state.value.entity,\n triggerPayoutRound: state.value.payoutRound,\n releaseFilePeriod: state.value.period,\n releaseRoundsOfTriggerPayoutRound: state.value.selectedRowKeys\n })\n } finally {\n close()\n }\n \n}\n\nfunction close() {\n state.value = {\n selectedRowKeys: [],\n data: [],\n loading: false,\n visible: false,\n innerModal: false,\n period: '',\n entity: '',\n payoutRound: ''\n }\n}\n\nexpose({\n getReleaseRound\n})\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_a_drawer, {\n title: \"Set\",\n closable: true,\n visible: state.value.visible,\n \"onUpdate:visible\": _cache[0] || (_cache[0] = ($event: any) => ((state.value.visible) = $event)),\n width: 400\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_a_table, {\n class: \"data-table\",\n \"row-selection\": { selectedRowKeys: state.value.selectedRowKeys, onChange: onSelectChange },\n columns: columns.value,\n pagination: false,\n dataSource: state.value.data,\n rowKey: \"payoutRound\"\n }, null, 8, [\"row-selection\", \"columns\", \"dataSource\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: close\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: generateOrNo\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]),\n _createVNode(_component_a_modal, {\n visible: state.value.innerModal,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((state.value.innerModal) = $event)),\n onCancel: innerCancel,\n onOk: innerOk,\n okText: 'Confirm'\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_input, {\n value: state.value.period,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((state.value.period) = $event)),\n placeholder: \"Input release file period\",\n style: {\"width\":\"90%\"}\n }, null, 8, [\"value\"]),\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"visible\"])\n ], 64))\n}\n}\n\n})","import script from \"./demoCDSetModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./demoCDSetModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./demoCDSetModal.vue?vue&type=style&index=0&id=061dd239&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-061dd239\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-60aba5a8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"download-table-part table-wrapper\" }\nconst _hoisted_2 = { class: \"searchMain\" }\nconst _hoisted_3 = { class: \"d-f\" }\nconst _hoisted_4 = { class: \"d-f flex-d-c flex-w-auto m-r-16\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Entity\", -1))\nconst _hoisted_6 = { class: \"d-f flex-d-c flex-w-auto m-r-16\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Release Round\", -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h1\", { class: \"combinedRoundsTitle blueTitle\" }, \"Combined Round List\", -1))\nconst _hoisted_9 = { style: {\n position: 'absolute',\n right: 0,\n bottom: 0,\n width: '100%',\n borderTop: '1px solid #e9e9e9',\n padding: '10px 16px',\n background: '#fff',\n textAlign: 'right',\n zIndex: 1,\n } }\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Release\")\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\" Download \")\n\nimport { createVNode, reactive, ref } from \"vue\";\nimport { Modal, message } from \"ant-design-vue\";\nimport { downloadFromStream } from '@/utils/payment/downloadFile'\nimport { getPreviewDataApi, postReleaseApi, demoCarDeductionDownload } from \"@/API/payment\";\nimport { ExclamationCircleOutlined } from '@ant-design/icons-vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n emits: [\"set\"],\n setup(__props, { expose, emit }: { emit: ({\n (event: 'set'): void\n}), expose: any, slots: any, attrs: any }) {\n\n\n\nconst state = ref({\n visible: false,\n entity: '',\n releaseRound: '',\n combinedRounds: [],\n fileNames: [],\n})\nconst columns = {\n fileNames: [{ title: \"File Download\", dataIndex: \"fileName\" }],\n combinedRounds: [{\n title: 'No.',\n customRender: ({ text, record, index, column }: any) => {\n return index + 1\n }\n }, { title: \"Payout Round\", dataIndex: \"payoutRound\" }],\n}\nconst modalRowSelection = reactive({\n onChange: (selectedRowKeys: any[]) => {\n modalRowSelection.selectedRowKeys = selectedRowKeys;\n },\n selectedRowKeys: [],\n columnWidth: \"20px\",\n});\nconst getPreviewData = async (_round: string, _entity: string) => {\n state.value.entity = _entity\n state.value.releaseRound = _round\n modalRowSelection.selectedRowKeys = []\n const res = await getPreviewDataApi(_round, _entity)\n const { combinedRounds = [], fileNames = [] } = res\n state.value.combinedRounds = combinedRounds.map((item: string) => ({ payoutRound: item }))\n state.value.fileNames = fileNames\n setTimeout(() => {\n state.value.visible = true\n }, 0)\n};\nconst modalDownloadClick = async () => {\n if (modalRowSelection.selectedRowKeys.length === 0) {\n message.warning(\"Please select the data first\");\n return;\n }\n const res = await demoCarDeductionDownload(state.value.releaseRound, state.value.entity, modalRowSelection.selectedRowKeys)\n downloadFromStream(res)\n};\nconst close = () => {\n state.value = {\n visible: false,\n entity: '',\n releaseRound: '',\n combinedRounds: [],\n fileNames: [],\n }\n};\nconst release = async () => {\n Modal.confirm({\n title: 'Confirm to Release Demo Car Deduction File!',\n icon: createVNode(ExclamationCircleOutlined),\n okText: 'Confirm',\n okType: 'primary',\n cancelText: 'Cancel',\n onOk() {\n postRelease().then(() => {\n emit('set')\n })\n }\n });\n};\nconst postRelease = async () => {\n try {\n await postReleaseApi(state.value.releaseRound, state.value.entity)\n } finally {\n close()\n }\n}\nexpose({\n getPreviewData\n})\n\nreturn (_ctx: any,_cache: any) => {\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createBlock(_component_a_drawer, {\n title: \"Download Demo Car Deduction File\",\n closable: true,\n visible: state.value.visible,\n \"onUpdate:visible\": _cache[2] || (_cache[2] = ($event: any) => ((state.value.visible) = $event)),\n width: 400\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_a_input, {\n value: state.value.entity,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((state.value.entity) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_input, {\n value: state.value.releaseRound,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((state.value.releaseRound) = $event)),\n disabled: \"\"\n }, null, 8, [\"value\"])\n ])\n ])\n ]),\n _createVNode(_component_a_table, {\n \"row-selection\": _unref(modalRowSelection),\n columns: columns.fileNames,\n pagination: false,\n dataSource: state.value.fileNames,\n rowKey: \"fileId\"\n }, null, 8, [\"row-selection\", \"columns\", \"dataSource\"]),\n _hoisted_8,\n _createVNode(_component_a_table, {\n columns: columns.combinedRounds,\n pagination: false,\n dataSource: state.value.combinedRounds,\n rowKey: \"payoutRound\"\n }, null, 8, [\"columns\", \"dataSource\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_a_button, {\n type: \"primary\",\n style: {\"margin-right\":\"8px\"},\n onClick: release\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"8px\"},\n onClick: close\n }, {\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: modalDownloadClick,\n disabled: _unref(modalRowSelection).selectedRowKeys.length == 0\n }, {\n default: _withCtx(() => [\n _hoisted_12\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]))\n}\n}\n\n})","import script from \"./demoCDPreviewModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./demoCDPreviewModal.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./demoCDPreviewModal.vue?vue&type=style&index=0&id=60aba5a8&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-60aba5a8\"]])\n\nexport default __exports__","\nimport { defineComponent, toRefs, ref,computed } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { Modal } from \"ant-design-vue\";\nimport moment from \"moment\";\nimport TabBar from \"./tabBar.vue\";\nimport useEntitySiPayout from \"@/hooks/payment/EntitySiPayout/useEntitySiPayout\";\nimport TableWrapper from \"../components/TableWrapper.vue\";\nimport YearPicker from \"@/views/Payment/components/YearPicker.vue\";\nimport setModal from \"./setModal.vue\";\nimport viewModal from \"./viewModal.vue\";\nimport UploadDetail from \"./uploadDetail.vue\";\nimport DownloadModal from \"./downLoadModal.vue\";\nimport DemoCDSetModal from \"./Demo/demoCDSetModal.vue\";\nimport DemoCDPreviewModal from \"./Demo/demoCDPreviewModal.vue\";\nimport { getDealerBreakdownOverview } from \"@/API/payment\";\nimport { useStore } from \"vuex\";\nimport GetColumnWidth from \"@/utils/payment/getColumnWidth\";\nexport default defineComponent({\n name: \"App\",\n props: {},\n setup() {\n const router = useRouter();\n const { commit } = useStore();\n const {\n column,\n query,\n pagination,\n data,\n getTableData,\n entityList,\n roundList,\n getRound,\n statusList,\n getSatusList,\n pageChange,\n sizeChange,\n } = useEntitySiPayout();\n const search = () => {\n pagination.pageNumber = 1\n getTableData();\n };\n const reset = () => {\n query.payoutYear = moment().format(\"YYYY\");\n query.payoutRound = undefined;\n query.status = undefined;\n getRound();\n pagination.pageNumber = 1\n getTableData();\n };\n const handleTabChange = () => {\n getRound();\n getTableData();\n };\n const init = () => {\n getSatusList();\n query.entity = entityList.value?.[0];\n getRound();\n getTableData();\n };\n init();\n const filteredColumn = computed(() => {\n if (query.entity == \"FBAC\") {\n return column.filter((item) => !item?.filter);\n } else {\n return column;\n }\n });\n const approvedStatusList = ref([\n \"Ready to release\",\n \"Releasing\",\n \"Released\",\n ]);\n const notApprovedStatusList = ref([\"Created\", \"Approving\"]);\n const curPayoutRound = ref();\n const setModalVisible = ref(false);\n const handleSetModalShow = (record: any) => {\n if (\n !(\n approvedStatusList.value.includes(record.status) &&\n record.identification\n )\n ) {\n return false;\n }\n setModalVisible.value = true;\n curPayoutRound.value = record.payoutRound;\n };\n const viewModal = ref();\n const handleViewModalShow = (record: any) => {\n // if (record.identification || notApprovedStatusList.value.includes(record.status)) {\n // return false;\n // }\n viewModal.value.getTableData(record.payoutRound, query.entity);\n };\n const handleNext = (record: any) => {\n if (\n !record.identification ||\n notApprovedStatusList.value.includes(record.status)\n ) {\n return false;\n }\n Modal.confirm({\n title:\n \"Are you sure you have finished payment release set, and want to next step? \",\n okText: \"Confirm\",\n okType: \"primary\",\n cancelText: \"Cancel\",\n onOk() {\n commit(\"payment/updateBreakdownParams\", {\n payoutRound: record.payoutRound,\n entity: query.entity,\n });\n router.push({\n path: \"/paymentSales/DealerBreakdownReport\",\n query: {\n type: \"next\",\n },\n });\n getDealerBreakdownOverview(query.entity, record.payoutRound);\n },\n });\n };\n const handleView = (record: any) => {\n // if (record.identification) {\n // return false;\n // }\n commit(\"payment/updateBreakdownParams\", {\n payoutRound: record.payoutRound,\n entity: query.entity,\n });\n router.push({\n path: \"/paymentSales/DealerBreakdownReport\",\n query: {\n type: \"view\",\n },\n });\n };\n const uploadModalVisible = ref(false);\n const handleUploadShow = () => {\n setModalVisible.value = false;\n uploadModalVisible.value = true;\n };\n const downloadModal = ref();\n const demoCDSetModal = ref();\n const demoCDPreviewModal = ref();\n const handleDownloadShow = (record: any) => {\n if (!approvedStatusList.value.includes(record.status)) {\n return false;\n }\n downloadModal.value.checkResult = undefined;\n downloadModal.value.getTableData(record.payoutRound, query.entity);\n };\n const handleDemoCDSetShow = (record: any, entity: any) => {\n if (!record.demoCarSetButtonHighlight) {\n return\n }\n demoCDSetModal.value.getReleaseRound(record.payoutRound, entity);\n };\n const handleDemoCDPreviewShow = (record: any, entity: any) => {\n if (!record.demoCarPreviewButtonHighlight) {\n return\n }\n demoCDPreviewModal.value.getPreviewData(record.payoutRound, entity);\n };\n const handleDemoCDViewShow = (record: any, entity: any) => {\n if (!record.demoCarViewButtonHighlight) {\n return\n }\n router.push({\n path: \"/demoCDview\",\n query: {\n releaseRound: record.payoutRound,\n entity,\n },\n });\n };\n const tableWidth = GetColumnWidth(column);\n return {\n data,\n column,\n filteredColumn,\n ...toRefs(query),\n ...toRefs(pagination),\n entityList,\n roundList,\n statusList,\n isPagination: true,\n handleTabChange,\n search,\n reset,\n pageChange,\n sizeChange,\n setModalVisible,\n handleSetModalShow,\n viewModal,\n handleViewModalShow,\n handleNext,\n handleView,\n handleUploadShow,\n uploadModalVisible,\n handleDownloadShow,\n handleDemoCDSetShow,\n handleDemoCDPreviewShow,\n handleDemoCDViewShow,\n downloadModal,\n demoCDSetModal,\n demoCDPreviewModal,\n approvedStatusList,\n notApprovedStatusList,\n curPayoutRound,\n tableWidth,\n };\n },\n components: {\n TabBar,\n YearPicker,\n TableWrapper,\n setModal,\n viewModal,\n UploadDetail,\n DownloadModal,\n DemoCDSetModal,\n DemoCDPreviewModal,\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=87a3665a&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=87a3665a&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-87a3665a\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/images/date-icon.svg'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"\"\n}, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_date_picker = _resolveComponent(\"a-date-picker\")!\n\n return (_openBlock(), _createBlock(_component_a_date_picker, _mergeProps({\n format: \"YYYY\",\n mode: \"year\",\n value: _ctx.yearValue,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.yearValue) = $event)),\n open: _ctx.isOpen,\n onOpenChange: _ctx.handleOpenChange,\n onPanelChange: _ctx.handlePanelChange\n }, _ctx.$attrs), {\n suffixIcon: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }, 16, [\"value\", \"open\", \"onOpenChange\", \"onPanelChange\"]))\n}","\nimport { computed, defineComponent, ref } from 'vue'\nimport type { PropType } from 'vue'\nimport type { Moment } from 'moment' \n\nexport default defineComponent({\n props: {\n value: {\n type: Object as PropType,\n }\n },\n emits: [\n 'update:value',\n 'open-change',\n 'panel-change'\n ],\n setup(props, context) {\n const isOpen = ref(false)\n\n const yearValue = computed({\n get() {\n return props.value\n },\n set(value) {\n context.emit('update:value', value)\n }\n })\n\n const handleOpenChange = (status: boolean) => {\n isOpen.value = status ? true : false\n context.emit('open-change', status)\n }\n\n const handlePanelChange = (value: unknown, mode: string) => {\n yearValue.value = value\n isOpen.value = false\n context.emit('panel-change', value, mode)\n }\n\n return {\n isOpen,\n yearValue,\n handleOpenChange,\n handlePanelChange\n }\n }\n})\n","import { render } from \"./YearPicker.vue?vue&type=template&id=1bb4274d&ts=true\"\nimport script from \"./YearPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./YearPicker.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { computed, getCurrentInstance } from \"vue\";\n\nconst useModel = (props: any, name: string) => {\n const emit = getCurrentInstance()?.emit;\n return computed({\n get() {\n return props[name]\n },\n set(val) {\n if (emit) {\n emit(`update:${name}`, val)\n }\n },\n });\n};\nexport default useModel;\n","import { unref } from \"vue\";\nconst getColumnWidth = (column: any) => {\n let total = 0;\n unref(column).forEach((item: any) => {\n total += item.width;\n });\n if (total >= document.body.clientWidth - 260) {\n return total;\n } else {\n return null;\n }\n};\nexport default getColumnWidth;\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./uploadDetail.vue?vue&type=style&index=0&id=236ed15e&lang=scss&scoped=true\"","/*\n * @Author: hanxi\n * @Date: 2021-06-08 15:27:45\n * @Description: 千分位符处理,处理后的数字保留两位小数\n */\nexport const toThousandsAndTwoDecimal = (count: number | string): string => {\n if (count === undefined || count === null) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count;\n } else {\n return count + \".00\";\n }\n }\n count = Number(count);\n }\n count = count.toFixed(2);\n return count\n .toString()\n .replace(/(\\d)(?=(\\d{3})+\\.)/g, function($0, $1) {\n return $1 + \",\";\n })\n .replace(/\\.$/, \"\");\n};\n\nexport const toThousands = (count: number | string): string => {\n if (count === undefined) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count.substring(0, count.indexOf(\".\") + 1)\n } else {\n return count;\n }\n }\n count = Number(count);\n }\n count = Math.round(count)\n return count\n .toString()\n .replace(/(\\d)(?=(?:\\d{3})+$)/g,'$1,')\n};","import { h } from 'vue'\nimport { toThousandsAndTwoDecimal } from './numberFormat'\nconst useThousandsAndTwoDecimal = () => {\n return ({text}: {\n text: number | string;\n }) => {\n return h('span', toThousandsAndTwoDecimal(text));\n };\n };\n export default useThousandsAndTwoDecimal;\n ","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./viewModal.vue?vue&type=style&index=0&id=ac76fae2&scoped=true&lang=scss\""],"sourceRoot":""}