{"version":3,"sources":["webpack:///./src/assets/images/date-icon.svg","webpack:///./src/views/Payment/components/EntitySelector.vue?bdb4","webpack:///./src/views/Payment/components/EntitySelector.vue","webpack:///./src/views/Payment/components/EntitySelector.vue?1a1c","webpack:///./src/assets/images/rv/upload.svg","webpack:///./src/views/Payment/BU/Dealer/index.vue?fef2","webpack:///./src/hooks/payment/bu/useDealerTab.ts","webpack:///./src/views/Payment/BU/Dealer/uploadDetail.vue?be36","webpack:///./src/views/Payment/BU/Dealer/uploadDetail.vue","webpack:///./src/views/Payment/BU/Dealer/uploadDetail.vue?4c4b","webpack:///./src/views/Payment/BU/Dealer/index.vue","webpack:///./src/views/Payment/BU/Dealer/index.vue?4beb","webpack:///./src/utils/rv/downloadFile.ts","webpack:///./src/hooks/payment/useWithdrawStatusEnable.ts","webpack:///./src/views/Payment/BU/Dealer/uploadDetail.vue?c025","webpack:///./src/views/Payment/BU/index.vue?5a5d","webpack:///./node_modules/@ant-design/icons-svg/es/asn/ExclamationOutlined.js","webpack:///./node_modules/@ant-design/icons-vue/es/icons/ExclamationOutlined.js","webpack:///./src/assets/images/claim/rect.png","webpack:///./src/views/Payment/BU/index.vue?9da0","webpack:///./src/views/Payment/BU/index.vue","webpack:///./src/views/Payment/BU/index.vue?06ac","webpack:///./src/views/Payment/components/BuSelector.vue?e45e","webpack:///./src/views/Payment/components/BuSelector.vue","webpack:///./src/views/Payment/components/BuSelector.vue?aeca","webpack:///./src/hooks/payment/useMBAFCOverview.ts","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/views/Payment/BU/Dealer/index.vue?a3c9","webpack:///./src/utils/payment/numberFormat.ts","webpack:///./src/utils/usePageSpinning.ts","webpack:///./src/utils/payment/useThousandsAndTwoDecimal.ts"],"names":["module","exports","render","_ctx","_cache","$props","$setup","$data","$options","_component_a_select_option","_component_a_select","$attrs","value","_value","$event","placeholder","default","entityList","entity","key","entityName","vlaue","_","props","isDefault","type","Boolean","String","setup","state","useModel","user","length","setDefaultValue","reset","__exports__","_withScopeId","n","_hoisted_1","class","_hoisted_2","style","_hoisted_3","_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","src","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_component_YearPicker","_component_bu_selector","_component_a_input","_component_entity_selector","_component_a_button","_component_ExclamationOutlined","_component_a_tooltip","_component_a_table","_component_a_textarea","_component_a_modal","_component_upload_detail","searchParams","payoutYears","allowClear","payoutRound","payoutCode","mode","BU","programCode","payoutStatus","onClick","Reset","doSearch","to","disabled","dealerNameUpdateBtnDisabled","onShowDealerNameUpdateModal","onDealerSetting","onDownload","onSubmit","onWithdraw","onDelete","columns","columnsPayoutBatch","rowSelectionPayoutCode","dataSource","tableDataPayoutBatch","rowKey","scroll","x","y","tableSize","height","pagination","rowClassName","record","index","text","$router","push","path","query","paymentOverviewId","id","dealerNumber","payoutBatch","toThousands","action","title","uploadHandle","onCreatePayoutBatch","columnsPendingCreateBatch","rowSelectionPending","tableDataPendingCreateBatch","programName","visible","deleteModalVisible","width","centered","footer","size","onDeleteConfirm","deleteInstructions","rows","withdrawModalVisible","onWithdrawConfirm","withdrawInstructions","submitModalVisible","onSubmitConfirm","onListChange","isUploadVisible","paymentId","payoutId","code","round","payStatus","statusToUpload","attachmentData","onCloseUploadVisible","closeUpload","dealerNameUpdateModalVisible","maxWidth","dealerNameUpdateColumns","dealerNameUpdateTableData","useDealerTab","payoutMonth","selectedRowKeys","selectedRows","payoutYear","undefined","dealerNameUpdateInfoParams","year","format","month","payoutCodeList","programBuList","role","statusList","wait","useWait","pageSpinning","usePageSpinning","myparams","params","then","res","toRun","onChange","selectedRowData","columnWidth","className","dataIndex","slots","customRender","align","useThousandsAndTwoDecimal","fixed","getSearchParamResult","console","log","concat","data","toString","dealerStatusList","doSearchPayoutCodeTable","paramsPayoutCodeList","doSearchPendingPayoutCodeTable","paramsPendingList","getDealerNameUpdateButtonHighlight","Promise","all","status","delParams","deleteComment","info","content","error","message","delParamss","warning","map","item","withDrawComment","submitParams","onDownloadConfirm","payoutCodes","_payoutCodes","join","url","method","downloadFile","getRoundListByDate","getPayoutCodeTable","_component_a_upload_dragger","_component_a_drawer","closable","modal","curRole","onClose","close","name","multiple","showUploadList","remove","handleRemove","beforeUpload","fileList","loading","uploading","submitFile","attachmentColumns","myAttachmentData","bordered","deleteAttachment","downloadAttachment","useMBAFCOverview","emits","required","Array","context","isLt5M","uploadComplete","roleVal","emit","file","payment","maxFileSize","indexOf","newFileList","slice","splice","forEach","formData","FormData","maxFileCount","isMore5m","every","append","originFileObj","window","sessionStorage","setItem","fileId","fileName","components","YearPicker","UploadDetail","BuSelector","EntitySelector","ExclamationOutlined","parentMounted","router","isSelected","flag","showMessage","initFlag","isSamePayountRound","firstValue","result","array","useWithdrawStatusEnable","commit","isSelectBottom","param","toThousandsAndTwoDecimal","options","config","responseType","resolve","reject","blob","Blob","downloadElement","document","createElement","href","URL","createObjectURL","download","Date","now","body","appendChild","click","removeChild","revokeObjectURL","catch","arr","_objectSpread","target","i","arguments","source","Object","ownKeys","keys","getOwnPropertySymbols","filter","sym","getOwnPropertyDescriptor","enumerable","_defineProperty","obj","defineProperty","configurable","writable","p","attrs","AntdIcon","displayName","inheritAttrs","_component_Breadcrumb","_component_a_tab_pane","_component_a_tabs","_component_router_view","activeKey","onTabClick","tabClick","$btnPermissions","tab","mountedKey","Symbol","route","mounted","showRouterView","buList","bu","nameEn","isCurrent","getCurrentBuList","apiFunction","store","pageNumber","pageSize","isOpen","tableData","total","showFailFlag","batchQuery","batchQueryTitle","batchQueryModal","initSelectedDataForS","pictureModal","pictureModalFlag","pictureModalTitle","pictureModalImg","queryParams","getTableData","userId","usrid","myContent","vinNo","replace","totalElements","getMBAFCInitSelectedDataForSearch","statusTemp","statusR","statusObj","assign","yearRes","getPayountRoundByYearForSearch","legalEntity","getUploadFileData","downloadImg","imgUrl","navigator","msSaveOrOpenBlob","bstr","atob","split","u8arr","Uint8Array","charCodeAt","a","setAttribute","resetParam","mulSearchEvent","rowSelection","overviewSerachEvent","str","licenseEvent","invoiceEvent","pageChange","page","rowSeclection","sizeChange","handleClick","event","stopPropagation","handleActiveKey","downloadFilesClick","approveList","approveVisible","approveClick","approvalType","payoutCodeId","payoutType","nodeList","alt","_component_a_date_picker","yearValue","open","onOpenChange","handleOpenChange","onPanelChange","handlePanelChange","suffixIcon","get","set","val","count","Number","toFixed","$0","$1","substring","Math"],"mappings":"sHAAAA,EAAOC,QAAU,IAA0B,8B,oDCEpC,SAASC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAsB,8BAAkB,YAE9C,OAAQ,yBAAc,yBAAaA,EAAqB,wBAAYP,EAAKQ,OAAQ,CAC/EC,MAAOT,EAAKU,OACZ,iBAAkBT,EAAO,KAAOA,EAAO,GAAK,SAACU,GAAgB,OAAEX,EAAW,OAAIW,IAC9EC,YAAa,kBACX,CACFC,QAAS,sBAAS,WAAM,QACrB,wBAAW,GAAO,gCAAoB,cAAW,KAAM,wBAAYb,EAAKc,YAAY,SAACC,GACpF,OAAQ,yBAAc,yBAAaT,EAA4B,C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ff,W,kCCAA,oEAKO,IAAMjJ,EAA2B,SAACkJ,GACvC,QAAczR,IAAVyR,GAAiC,OAAVA,EACzB,MAAO,GAET,GAAqB,kBAAVA,EAAoB,CAC7B,IAA4B,IAAxBA,EAAMvL,QAAQ,KAChB,OAA4B,IAAxBuL,EAAMvL,QAAQ,KACTuL,EAEAA,EAAQ,MAGnBA,EAAQC,OAAOD,GAGjB,OADAA,EAAQA,EAAME,QAAQ,GACfF,EACJxP,WACA8L,QAAQ,uBAAuB,SAAS6D,EAAIC,GAC3C,OAAOA,EAAK,OAEb9D,QAAQ,MAAO,KAGP1Q,EAAc,SAACoU,GAC1B,QAAczR,IAAVyR,EACF,MAAO,GAET,GAAqB,kBAAVA,EAAoB,CAC7B,IAA4B,IAAxBA,EAAMvL,QAAQ,KAChB,OAA4B,IAAxBuL,EAAMvL,QAAQ,KACTuL,EAAMK,UAAU,EAAGL,EAAMvL,QAAQ,KAAO,GAExCuL,EAGXA,EAAQC,OAAOD,GAGjB,OADAA,EAAQM,KAAK9S,MAAMwS,GACZA,EACJxP,WACA8L,QAAQ,uBAAuB,S,gGC3CrB,SAASnN,IAAxB,WACUwH,EAAW,iBAAU,OAC7B,OAAO,SAAO6C,GAAa,kD,qEACzB7C,EAAO,sBAAsB,G,iBAEZ,O,sBAAA,GAAM6C,G,OACrB,OADMhD,EAAS,SACR,CAAP,EAAOA,G,cAEPG,EAAO,sBAAsB,G,iECVnC,4BAEM1G,EAA4B,WAC9B,OAAO,SAAC,G,IAAC9E,EAAI,OAGT,OAAO,eAAE,OAAQ,eAAyBA,MAGjC","file":"js/chunk-2475c74a.52aff219.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/date-icon.b14f3d24.svg\";","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, mergeProps as _mergeProps } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n\n return (_openBlock(), _createBlock(_component_a_select, _mergeProps(_ctx.$attrs, {\n value: _ctx._value,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx._value) = $event)),\n placeholder: \"Please select\"\n }), {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.entityList, (entity) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: entity.entityName,\n vlaue: entity.entityName\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(entity.entityName), 1)\n ]),\n _: 2\n }, 1032, [\"vlaue\"]))\n }), 128))\n ]),\n _: 1\n }, 16, [\"value\"]))\n}","\nimport { defineComponent, PropType } from \"vue\";\nimport { useStore } from \"vuex\";\nimport useModel from \"@/hooks/useModel\";\nexport default defineComponent({\n props: {\n isDefault: {\n type: Boolean,\n default: false,\n },\n value: {\n type: String as PropType,\n },\n },\n setup(props) {\n const mockData = [\n // {\n // entityName: \"BBAC\",\n // },\n {\n entityName: \"FBAC\",\n },\n {\n entityName: \"MBCL\",\n },\n {\n entityName: \"DENZA\",\n },\n ];\n\n const { state } = useStore();\n const _value = useModel(props, \"value\");\n const entityList = state.user.entityList.length ? state.user.entityList : [\n {\n entityName: \"BBAC\",\n },\n {\n entityName: \"FBAC\",\n },\n {\n entityName: \"MBCL\",\n },\n {\n entityName: \"DENZA\",\n },\n ]\n // const entityList = mockData;\n const setDefaultValue = () => {\n if (props.isDefault && !_value.value) {\n if (entityList.length > 0) {\n _value.value = entityList[0].entityName;\n } else {\n _value.value = ''\n }\n }\n };\n const reset = () => {\n if (props.isDefault) {\n if (entityList.length > 0) {\n _value.value = entityList[0].entityName;\n } else {\n _value.value = ''\n }\n } \n };\n setDefaultValue();\n return {\n entityList,\n _value,\n reset\n };\n },\n});\n","import { render } from \"./EntitySelector.vue?vue&type=template&id=60a88b4d&ts=true\"\nimport script from \"./EntitySelector.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitySelector.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__","module.exports = __webpack_public_path__ + \"img/upload.e4734716.svg\";","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, withModifiers as _withModifiers, Teleport as _Teleport, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/claim/rect.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c3eee664\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = {\n class: \"d-f flex-d-c\",\n style: {\"background\":\"#fff\"}\n}\nconst _hoisted_3 = {\n class: \"p-16\",\n style: {\"display\":\"flex\"}\n}\nconst _hoisted_4 = { class: \"search-item d-f flex-d-c\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Payout Year\", -1))\nconst _hoisted_6 = { class: \"search-item d-f flex-d-c m-l-16\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Payout Round\", -1))\nconst _hoisted_8 = { class: \"search-item d-f flex-d-c m-l-16\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Payout Code\", -1))\nconst _hoisted_10 = { class: \"search-item d-f flex-d-c m-l-16\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Program BU\", -1))\nconst _hoisted_12 = { class: \"search-item d-f flex-d-c m-l-16\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Program Code\", -1))\nconst _hoisted_14 = {\n class: \"d-f p-16\",\n style: {\"padding-top\":\"0\"}\n}\nconst _hoisted_15 = { class: \"search-item d-f flex-d-c\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Payout Status\", -1))\nconst _hoisted_17 = { class: \"search-item d-f flex-d-c m-l-16\" }\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"label-text-12\" }, \"Entity\", -1))\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item d-f flex-d-c m-l-16\" }, null, -1))\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item d-f flex-d-c m-l-16\" }, null, -1))\nconst _hoisted_21 = { class: \"search-item d-f flex-d justify-e align-e m-l-16\" }\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\"Reset\")\nconst _hoisted_23 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_24 = { class: \"wrap bg-fff payment-table-column-wrapper\" }\nconst _hoisted_25 = { class: \"d-f align-c\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", { style: {\"margin-right\":\"auto\"} }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { class: \"wrap-title\" }, \"Payout Code\")\n], -1))\nconst _hoisted_27 = {\n style: {\"margin-left\":\"auto\"},\n class: \"d-f\"\n}\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\" Dealer Name Update\")\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\"Set Dealer Readiness\")\nconst _hoisted_30 = /*#__PURE__*/_createTextVNode(\"Download\")\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_32 = /*#__PURE__*/_createTextVNode(\"Payout Files\")\nconst _hoisted_33 = /*#__PURE__*/_createTextVNode(\"Submit\")\nconst _hoisted_34 = /*#__PURE__*/_createTextVNode(\"Withdraw\")\nconst _hoisted_35 = /*#__PURE__*/_createTextVNode(\"Delete\")\nconst _hoisted_36 = [\"onClick\"]\nconst _hoisted_37 = [\"onClick\"]\nconst _hoisted_38 = /*#__PURE__*/_createTextVNode(\"Attachment\")\nconst _hoisted_39 = [\"onClick\"]\nconst _hoisted_40 = { class: \"d-f align-c m-t-10 m-b-10\" }\nconst _hoisted_41 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", { style: {\"margin-right\":\"auto\"} }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { class: \"wrap-title\" }, \"Pending List\")\n], -1))\nconst _hoisted_42 = /*#__PURE__*/_createTextVNode(\"Create Payout\")\nconst _hoisted_43 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_44 = /*#__PURE__*/_createTextVNode(\"Code\")\nconst _hoisted_45 = [\"onClick\"]\nconst _hoisted_46 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Delete confirmation\", -1))\nconst _hoisted_47 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_48 = /*#__PURE__*/_createTextVNode(\"Confirm\")\nconst _hoisted_49 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Withdraw confirmation\", -1))\nconst _hoisted_50 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_51 = /*#__PURE__*/_createTextVNode(\"Confirm\")\nconst _hoisted_52 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Submit confirmation\", -1))\nconst _hoisted_53 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"Submit for Approval?\", -1))\nconst _hoisted_54 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_55 = /*#__PURE__*/_createTextVNode(\"Confirm\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\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_bu_selector = _resolveComponent(\"bu-selector\")!\n const _component_a_input = _resolveComponent(\"a-input\")!\n const _component_entity_selector = _resolveComponent(\"entity-selector\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_ExclamationOutlined = _resolveComponent(\"ExclamationOutlined\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_textarea = _resolveComponent(\"a-textarea\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n const _component_upload_detail = _resolveComponent(\"upload-detail\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\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_YearPicker, {\n value: _ctx.searchParams.payoutYears,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchParams.payoutYears) = $event)),\n allowClear: false,\n placeholder: \"Please select\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_select, {\n value: _ctx.payoutRound,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.payoutRound) = $event)),\n allowClear: true,\n placeholder: \"Please select\",\n style: {\"height\":\"30px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.searchParams.payoutRound, (payoutRound) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: payoutRound }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(payoutRound), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_a_select, {\n value: _ctx.payoutCode,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.payoutCode) = $event)),\n mode: \"multiple\",\n placeholder: \"Please select\",\n style: {\"height\":\"30px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.searchParams.payoutCode, (payoutCode) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: payoutCode }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(payoutCode), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createVNode(_component_bu_selector, {\n value: _ctx.state.BU,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.state.BU) = $event)),\n mode: \"multiple\"\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createVNode(_component_a_input, {\n value: _ctx.programCode,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.programCode) = $event)),\n placeholder: \"Filtered by Program Code\"\n }, null, 8, [\"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createVNode(_component_a_select, {\n value: _ctx.payoutStatus,\n \"onUpdate:value\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.payoutStatus) = $event)),\n mode: \"multiple\",\n placeholder: \"Please select\",\n style: {\"height\":\"30px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.searchParams.payoutStatus, (payoutStatus) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: payoutStatus }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(payoutStatus), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _hoisted_18,\n _createVNode(_component_entity_selector, {\n value: _ctx.entity,\n \"onUpdate:value\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.entity) = $event)),\n isDefault: true\n }, null, 8, [\"value\"])\n ]),\n _hoisted_19,\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_a_button, {\n onClick: _withModifiers(_ctx.Reset, [\"stop\"]),\n style: {\"margin-right\":\"16px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _withModifiers(_ctx.doSearch, [\"stop\"])\n }, {\n default: _withCtx(() => [\n _hoisted_23\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _hoisted_26,\n (_ctx.parentMounted)\n ? (_openBlock(), _createBlock(_Teleport, {\n key: 0,\n to: \".breadcrumb\"\n }, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_a_button, {\n class: \"m-l-16 dealer-name-update-btn\",\n disabled: _ctx.dealerNameUpdateBtnDisabled,\n onClick: _ctx.onShowDealerNameUpdateModal\n }, {\n default: _withCtx(() => [\n _hoisted_28,\n _createVNode(_component_ExclamationOutlined, { class: \"exclamation-icon\" })\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]),\n _createVNode(_component_a_button, {\n style: {\"height\":\"35px\"},\n onClick: _ctx.onDealerSetting\n }, {\n default: _withCtx(() => [\n _hoisted_29\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n type: \"primary\",\n style: {\"line-height\":\"16px\",\"height\":\"35px\"},\n onClick: _ctx.onDownload\n }, {\n default: _withCtx(() => [\n _hoisted_30,\n _hoisted_31,\n _hoisted_32\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n type: \"primary\",\n style: {\"height\":\"35px\",\"width\":\"90px\"},\n onClick: _ctx.onSubmit\n }, {\n default: _withCtx(() => [\n _hoisted_33\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16\",\n type: \"primary\",\n style: {\"height\":\"35px\",\"width\":\"90px\"},\n onClick: _ctx.onWithdraw\n }, {\n default: _withCtx(() => [\n _hoisted_34\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n class: \"m-l-16 m-r-16\",\n type: \"primary\",\n style: {\"height\":\"35px\",\"width\":\"90px\"},\n onClick: _ctx.onDelete\n }, {\n default: _withCtx(() => [\n _hoisted_35\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_a_table, {\n class: \"m-l-16 m-r-16 data-table\",\n columns: _ctx.columnsPayoutBatch,\n \"row-selection\": _ctx.rowSelectionPayoutCode,\n dataSource: _ctx.tableDataPayoutBatch,\n rowKey: \"id\",\n scroll: {x: 1500, y: _ctx.tableSize.height - 40},\n pagination: false,\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null)\n }, {\n payoutCode: _withCtx(({ text, record }) => [\n _createElementVNode(\"a\", {\n onClick: _withModifiers(($event: any) => (_ctx.$router.push({ path: '/paymentBuManagement/createPayoutBatch', query: { paymentOverviewId : record.id,type: 'edit', entity: record.entity}})), [\"prevent\",\"stop\"])\n }, _toDisplayString(text), 9, _hoisted_36)\n ]),\n dealerNumber: _withCtx(({ record }) => [\n _createElementVNode(\"a\", {\n onClick: _withModifiers(($event: any) => (_ctx.$router.push({ path: '/paymentBuManagement/dealerNoOverview', query: { id: record.id,\n payoutRound: record.payoutRound, payoutBatch: record.payoutCode}})), [\"prevent\",\"stop\"])\n }, _toDisplayString(_ctx.toThousands(record.dealerNumber)), 9, _hoisted_37)\n ]),\n action: _withCtx(({ record }) => [\n _createVNode(_component_a_tooltip, null, {\n title: _withCtx(() => [\n _hoisted_38\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: \"font_family icon-Attachment\",\n style: {\"font-size\":\"24px\"},\n onClick: ($event: any) => (_ctx.uploadHandle(record))\n }, null, 8, _hoisted_39)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n }, 8, [\"columns\", \"row-selection\", \"dataSource\", \"scroll\", \"rowClassName\"]),\n _createElementVNode(\"div\", _hoisted_40, [\n _hoisted_41,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_button, {\n type: \"primary\",\n style: {\"margin-right\":\"16px\",\"height\":\"35px\",\"line-height\":\"16px\"},\n onClick: _ctx.onCreatePayoutBatch\n }, {\n default: _withCtx(() => [\n _hoisted_42,\n _hoisted_43,\n _hoisted_44\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _createVNode(_component_a_table, {\n class: \"m-l-16 m-r-16 data-table\",\n columns: _ctx.columnsPendingCreateBatch,\n \"row-selection\": _ctx.rowSelectionPending,\n dataSource: _ctx.tableDataPendingCreateBatch,\n rowKey: \"id\",\n scroll: {x: 1300, y: _ctx.tableSize.height - 40},\n pagination: false,\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null)\n }, {\n dealerNumber: _withCtx(({ record }) => [\n _createElementVNode(\"a\", {\n onClick: _withModifiers(($event: any) => (_ctx.$router.push({ path: '/paymentBuManagement/dealerNoOverview',\n query: {id: record.id, programCode: record.programCode, programName: record.programName}})), [\"prevent\",\"stop\"])\n }, _toDisplayString(_ctx.toThousands(record.dealerNumber)), 9, _hoisted_45)\n ]),\n _: 1\n }, 8, [\"columns\", \"row-selection\", \"dataSource\", \"scroll\", \"rowClassName\"])\n ])\n ]),\n _createVNode(_component_a_modal, {\n visible: _ctx.deleteModalVisible,\n \"onUpdate:visible\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.deleteModalVisible) = $event)),\n width: 400,\n class: \"batch-query-modal\",\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _hoisted_46\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (_ctx.deleteModalVisible=false))\n }, {\n default: _withCtx(() => [\n _hoisted_47\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _ctx.onDeleteConfirm,\n type: \"primary\"\n }, {\n default: _withCtx(() => [\n _hoisted_48\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_textarea, {\n value: _ctx.deleteInstructions,\n \"onUpdate:value\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.deleteInstructions) = $event)),\n placeholder: \"delete the instructions\",\n rows: 4\n }, null, 8, [\"value\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.withdrawModalVisible,\n \"onUpdate:visible\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.withdrawModalVisible) = $event)),\n width: 400,\n class: \"batch-query-modal\",\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _hoisted_49\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _cache[11] || (_cache[11] = ($event: any) => (_ctx.withdrawModalVisible=false))\n }, {\n default: _withCtx(() => [\n _hoisted_50\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _ctx.onWithdrawConfirm,\n type: \"primary\"\n }, {\n default: _withCtx(() => [\n _hoisted_51\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_textarea, {\n value: _ctx.withdrawInstructions,\n \"onUpdate:value\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.withdrawInstructions) = $event)),\n placeholder: \"Withdraw the instructions\",\n rows: 4\n }, null, 8, [\"value\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.submitModalVisible,\n \"onUpdate:visible\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.submitModalVisible) = $event)),\n width: 400,\n class: \"batch-query-modal\",\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _hoisted_52\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _cache[13] || (_cache[13] = ($event: any) => (_ctx.submitModalVisible=false))\n }, {\n default: _withCtx(() => [\n _hoisted_54\n ]),\n _: 1\n }),\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _ctx.onSubmitConfirm,\n type: \"primary\"\n }, {\n default: _withCtx(() => [\n _hoisted_55\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _hoisted_53\n ]),\n _: 1\n }, 8, [\"visible\"]),\n (_ctx.isUploadVisible)\n ? (_openBlock(), _createBlock(_component_upload_detail, {\n key: 0,\n onListChange: _ctx.uploadHandle,\n isUploadVisible: _ctx.isUploadVisible,\n paymentId: _ctx.payoutId,\n payoutCode: _ctx.code,\n payoutRound: _ctx.round,\n payStatus: _ctx.statusToUpload,\n attachmentData: _ctx.attachmentData,\n onCloseUploadVisible: _ctx.closeUpload\n }, null, 8, [\"onListChange\", \"isUploadVisible\", \"paymentId\", \"payoutCode\", \"payoutRound\", \"payStatus\", \"attachmentData\", \"onCloseUploadVisible\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_a_modal, {\n class: \"dealer-name-update-modal\",\n visible: _ctx.dealerNameUpdateModalVisible,\n \"onUpdate:visible\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.dealerNameUpdateModalVisible) = $event)),\n title: \"Dealer Name Update List\",\n footer: null,\n width: \"70%\",\n style: { maxWidth: '1200px' }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_table, {\n \"row-key\": \"dealerCode\",\n columns: _ctx.dealerNameUpdateColumns,\n \"data-source\": _ctx.dealerNameUpdateTableData,\n pagination: false,\n scroll: { x: true, y: 200 }\n }, null, 8, [\"columns\", \"data-source\"])\n ]),\n _: 1\n }, 8, [\"visible\"])\n ], 64))\n}","import { reactive, watch, ref } from 'vue';\nimport moment from 'moment';\nimport { PayoutBatchTableData, BUSearchParams } from '@/views/Payment/BU/types';\nimport * as API from '@/API/payment';\nimport { useStore } from 'vuex';\nimport { getPayoutCodeTable, getRoundListByDate } from '@/API/payment';\nimport { ColumnProps } from 'ant-design-vue/es/table/interface';\nimport { AttachmentData } from '@/views/Payment/FlRt/types';\nimport { message, Modal } from 'ant-design-vue';\nimport useThousandsAndTwoDecimal from '@/utils/payment/useThousandsAndTwoDecimal';\nimport { downloadFromStream } from '@/utils/payment/downloadFile';\nimport downloadFile from '@/utils/payment/downloadFile';\nimport useWait from '@/utils/payment/useWait';\nimport usePageSpinning from '@/utils/usePageSpinning';\n\ntype Key = ColumnProps['key'];\n/*type SearchParams = {\n years: string;\n payoutRound: string;\n BU: string;\n programCode: string;\n programStatus: string;\n}*/\n\nconst useDealerTab = () => {\n // 查询区数据:包括 payoutYears|payoutMonth|payoutRound|payoutCode|BU|programCode|payoutStatus\n const searchParams = reactive({\n payoutYears: moment(),\n payoutMonth: null,\n payoutRound: [],\n payoutCode: [],\n BU: ['AMG'],\n programCode: '',\n payoutStatus: []\n });\n const state = reactive({\n selectedRowKeys: [], // Check here to configure the default column\n selectedRows: [],\n payoutYear: '9999',\n payoutMonth: undefined,\n payoutRound: undefined as string | undefined,\n payoutCode: [],\n BU: [],\n programCode: '',\n payoutStatus: [],\n entity: ''\n });\n\n let dealerNameUpdateInfoParams = {\n year: searchParams.payoutYears.format('YYYY'),\n month: 0,\n payoutRound: state.payoutRound,\n payoutCodeList: state.payoutCode,\n programCode: state.programCode,\n programBuList: state.BU,\n type: 'DEALER',\n role: '',\n statusList: state.payoutStatus,\n entity: state.entity\n }\n\n const wait = useWait();\n\n // 上传的附件列表\n const attachmentData = ref([]);\n const isUploadVisible = ref(false);\n //region [监听查询区“年”]\n\n const pageSpinning = usePageSpinning();\n\n watch(\n () => searchParams.payoutYears,\n (value) => {\n if (value) {\n searchParams.payoutMonth?.year(value.year());\n const myparams = {\n type: 'DEALER',\n year: searchParams.payoutYears.format('YYYY'),\n month: '0'\n };\n API.getRoundListByDate({ params: myparams }).then((res) => {\n state.payoutRound = undefined;\n searchParams.payoutRound = res;\n if (searchParams.payoutRound.length) {\n state.payoutRound = searchParams.payoutRound[0];\n } else {\n state.payoutRound = undefined;\n wait.toRun?.();\n }\n });\n }\n }\n );\n //region [侦听查询区“payout Round”,获取payoutCode]\n watch<[() => string | undefined, () => string]>(\n [() => state.payoutRound, () => state.entity],\n ([payoutRound, entity]) => {\n if (payoutRound && entity) {\n API.getPayoutCodeListByPayoutRoundAndEntity(payoutRound, entity).then((res) => {\n searchParams.payoutCode = res.length && res[0] === '' ? [] : res;\n state.payoutCode = !res.length || res[0] === '' ? [] : ([res[0]] as any);\n wait.toRun?.();\n });\n } else {\n searchParams.payoutCode = [];\n state.payoutCode = [];\n if (payoutRound) {\n wait.toRun?.();\n }\n }\n }\n );\n //#endregion\n\n //#region [定义rowSelectionD和rowSelectionAfc]\n const rowSelectionPayoutCode = reactive<{\n selectedRowKeys: Key[];\n selectedRowData: PayoutBatchTableData[];\n onChange: Function;\n columnWidth: string;\n }>({\n onChange: (selectedRowKeys: Key[], selectedRows: PayoutBatchTableData[]) => {\n rowSelectionPayoutCode.selectedRowKeys = selectedRowKeys;\n rowSelectionPayoutCode.selectedRowData = selectedRows;\n },\n selectedRowKeys: [],\n selectedRowData: [],\n columnWidth: '30px'\n });\n const rowSelectionPending = reactive<{\n selectedRowKeys: Key[];\n selectedRowData: PayoutBatchTableData[];\n onChange: Function;\n columnWidth: string;\n }>({\n onChange: (selectedRowKeys: Key[], selectedRows: PayoutBatchTableData[]) => {\n rowSelectionPending.selectedRowKeys = selectedRowKeys;\n rowSelectionPending.selectedRowData = selectedRows;\n },\n selectedRowKeys: ref([]),\n selectedRowData: ref([]),\n columnWidth: '30px'\n });\n //#endregion\n const columnsPayoutBatch = [\n {\n title: 'Payout Round',\n className: 'column-no-wrap',\n dataIndex: 'payoutRound',\n slots: { customRender: 'payoutRound' },\n width: 190\n },\n {\n title: 'Payout Code',\n className: 'column-no-wrap',\n dataIndex: 'payoutCode',\n slots: { customRender: 'payoutCode' },\n key: 'payoutCode',\n width: 220\n },\n {\n title: 'Dealer Number',\n dataIndex: 'dealerNumber',\n slots: { customRender: 'dealerNumber' },\n key: 'dealerNumber',\n width: 80,\n align: 'right'\n },\n {\n title: 'Payout Amount w/o VAT',\n dataIndex: 'payoutAmountWOVat',\n customRender: useThousandsAndTwoDecimal(),\n width: 160,\n align: 'right'\n },\n {\n title: 'Payout Amount w VAT',\n dataIndex: 'payoutAmountWVat',\n customRender: useThousandsAndTwoDecimal(),\n width: 180,\n align: 'right'\n },\n {\n title: 'Lastest Update Time',\n dataIndex: 'latestUpdateTime',\n width: 160,\n key: 'latestUpdateTime',\n align: 'center'\n },\n { title: 'Status', dataIndex: 'status', width: 100, align: 'center' },\n {\n title: 'Operation',\n key: 'operation',\n fixed: 'right',\n align: 'left',\n width: 150,\n slots: { customRender: 'action' }\n }\n ];\n const columnsPendingCreateBatch = [\n {\n title: 'Payout Round',\n dataIndex: 'payoutRound',\n className: 'column-no-wrap',\n slots: { customRender: 'payoutRound' },\n width: 130\n },\n {\n title: 'Program Code',\n className: 'column-no-wrap',\n dataIndex: 'programCode',\n slots: { customRender: 'payoutCode' },\n width: 100\n },\n {\n title: 'Program Name',\n dataIndex: 'programName',\n slots: { customRender: 'programNo' },\n width: 100,\n align: 'right'\n },\n { title: 'Program BU', dataIndex: 'programBu', slots: { customRender: 'programBu' }, width: 80, align: 'right' },\n {\n title: 'Dealer Number',\n dataIndex: 'dealerNumber',\n slots: { customRender: 'dealerNumber' },\n width: 100,\n align: 'right'\n },\n {\n title: 'Payout Amount w/o VAT',\n dataIndex: 'payoutAmountWOVat',\n customRender: useThousandsAndTwoDecimal(),\n width: 120,\n align: 'right'\n },\n {\n title: 'Payout Amount w VAT',\n dataIndex: 'payoutAmountWVat',\n customRender: useThousandsAndTwoDecimal(),\n width: 120,\n key: 'retailDate',\n align: 'right'\n }\n ];\n\n const tableDataPayoutBatch = ref();\n const tableDataPendingCreateBatch = ref();\n\n const store = useStore();\n //region [获取查询区初始化 “年”和“月”]\n const getSearchParamResult = () => {\n API.getSearchResultForDealerPayoutOverview().then((res) => {\n console.log('查询区后台返回结果=====', '0'.concat(res.data.month.toString()));\n if (res.code == '0') {\n const month =\n res.data.month.toString().length == 2 ? res.data.month.toString() : '0'.concat(res.data.month.toString());\n searchParams.payoutYears = moment(res.data.year.toString());\n searchParams.payoutStatus = res.data.dealerStatusList;\n //state.payoutStatus = [''] as any\n }\n //tableDataPayoutBatch.value = res.content\n });\n };\n\n const doSearchPayoutCodeTable = () => {\n const paramsPayoutCodeList = {\n year: searchParams.payoutYears.format('YYYY'),\n month: 0,\n payoutRound: state.payoutRound,\n payoutCodeList: state.payoutCode,\n programCode: state.programCode,\n programBuList: state.BU,\n type: 'DEALER',\n statusList: state.payoutStatus,\n entity: state.entity\n };\n\n return API.getPayoutCodeTable(paramsPayoutCodeList).then((res) => {\n tableDataPayoutBatch.value = res.data;\n });\n };\n\n const doSearchPendingPayoutCodeTable = () => {\n const paramsPendingList = {\n year: searchParams.payoutYears.format('YYYY'),\n month: 0,\n payoutRound: state.payoutRound,\n programBuList: state.BU,\n statusList: state.payoutStatus,\n role: '',\n programCode: state.programCode,\n entity: state.entity\n };\n\n return API.getPendingPayoutCodeTable({ ...paramsPendingList }).then((res) => {\n tableDataPendingCreateBatch.value = res.data;\n });\n };\n\n \n const dealerNameUpdateBtnDisabled = ref(true)\n const dealerNameUpdateModalVisible = ref(false)\n\n const dealerNameUpdateColumns = [\n {\n title: 'Payout Round',\n dataIndex: 'payoutRound',\n key: 'payoutRound',\n width: 200\n },\n {\n title: 'Dealer Code',\n dataIndex: 'dealerCode',\n key: 'dealerCode',\n width: 100\n },\n {\n title: 'Old Dealer Name(CN)',\n dataIndex: 'oldDealerNameCN',\n key: 'oldDealerNameCN',\n width: 300\n },\n {\n title: 'New Dealer Name(CN)',\n dataIndex: 'dealerNameCN',\n key: 'dealerNameCN',\n width: 300\n },\n {\n title: 'Old Dealer Name(EN)',\n dataIndex: 'oldDealerNameEN',\n key: 'oldDealerNameEN',\n width: 400\n },\n {\n title: 'New Dealer Name(EN)',\n dataIndex: 'dealerNameEN',\n key: 'dealerNameEN',\n width: 400\n },\n {\n title: 'Update User',\n dataIndex: 'updatedBy',\n key: 'updatedBy',\n width: 100\n },\n {\n title: 'Update Time',\n dataIndex: 'updateAt',\n key: 'updateAt',\n width: 150\n },\n ]\n const dealerNameUpdateTableData = ref[]>([])\n\n\n const getDealerNameUpdateButtonHighlight = async() => {\n dealerNameUpdateBtnDisabled.value = !(await API.getDealerNameUpdateButtonHighlight(dealerNameUpdateInfoParams))\n }\n\n const onShowDealerNameUpdateModal = async () => {\n dealerNameUpdateTableData.value = await API.getDealerNameUpdateList(dealerNameUpdateInfoParams)\n dealerNameUpdateModalVisible.value = true\n }\n\n //#endregion\n //region [Search 按钮]\n const doSearch = () => {\n rowSelectionPayoutCode.selectedRowKeys = []\n rowSelectionPayoutCode.selectedRowData = []\n rowSelectionPending.selectedRowKeys = []\n rowSelectionPending.selectedRowData = []\n\n pageSpinning(wait.then(() => {\n dealerNameUpdateInfoParams = {\n year: searchParams.payoutYears.format('YYYY'),\n month: 0,\n payoutRound: state.payoutRound,\n payoutCodeList: state.payoutCode,\n programCode: state.programCode,\n programBuList: state.BU,\n type: 'DEALER',\n role: '',\n statusList: state.payoutStatus,\n entity: state.entity\n }\n Promise.all([doSearchPayoutCodeTable(), doSearchPendingPayoutCodeTable(), getDealerNameUpdateButtonHighlight()])\n }));\n };\n //#endregion\n\n const code = ref('');\n const round = ref('');\n const payoutId = ref('');\n const statusToUpload = ref('');\n const uploadHandle = (record: any) => {\n console.log('record======', record);\n code.value = record.payoutCode;\n round.value = record.payoutRound;\n payoutId.value = record.id;\n statusToUpload.value = record.status;\n API.getUploadFileData({\n params: {\n paymentId: record.id\n }\n }).then((res) => {\n console.log('返回附件列表:', res);\n attachmentData.value = res;\n });\n isUploadVisible.value = true;\n /*API.getUploadFileData({ params }).then((res) => {\n attachmentData.value = [];\n res.forEach((item, index) => {\n attachmentData.value.push({\n id: index,\n comments: item.comments,\n replyAt: item.replyAt,\n });\n });\n showFailFlag.value = true;\n });*/\n };\n const getUploadFileData = (id: string) => {\n return API.getUploadFileData({\n params: {\n paymentId: id\n }\n }).then((res) => {\n console.log('返回附件列表:', res);\n attachmentData.value = res;\n return (attachmentData.value = res);\n });\n };\n const deleteModalVisible = ref(false);\n const withdrawModalVisible = ref(false);\n const submitModalVisible = ref(false);\n const withdrawInstructions = ref(null);\n const deleteInstructions = ref(null);\n const onDeleteConfirm = () => {\n if (!deleteInstructions.value) {\n message.error('please input delete reasons!');\n return;\n }\n if (rowSelectionPayoutCode.selectedRowKeys.length == 1) {\n const delParams = {\n deleteComment: deleteInstructions.value,\n id: rowSelectionPayoutCode.selectedRowKeys[0]\n };\n API.batchDeletePayoutCodes(delParams).then((res) => {\n if (res.code == '0') {\n deleteModalVisible.value = false;\n rowSelectionPayoutCode.selectedRowData = [];\n rowSelectionPayoutCode.selectedRowKeys = [];\n deleteInstructions.value = '';\n Modal.info({\n title: 'Tips',\n content: 'Successfully Delete!' //res.data.message\n });\n doSearchPayoutCodeTable();\n } else {\n Modal.error({\n title: 'Tips',\n content: res.message //res.data.message\n });\n }\n });\n }\n if (rowSelectionPending.selectedRowData.length == 1) {\n const delParamss = {\n deleteComment: deleteInstructions.value,\n id: rowSelectionPending.selectedRowKeys[0]\n };\n API.batchDeletePrograms(delParamss).then((res) => {\n if (res.code == '0') {\n deleteModalVisible.value = false;\n rowSelectionPending.selectedRowKeys = [];\n rowSelectionPending.selectedRowData = [];\n deleteInstructions.value = '';\n Modal.info({\n title: 'Tips',\n content: 'Successfully Delete!' //res.data.message\n });\n doSearchPendingPayoutCodeTable();\n } else {\n Modal.error({\n title: 'Tips',\n content: res.message //res.data.message\n });\n }\n });\n }\n };\n const onWithdrawConfirm = () => {\n if (!withdrawInstructions.value) {\n message.warning('Reasons for withdrawal are required');\n return false;\n }\n const data = rowSelectionPayoutCode.selectedRowData.map((item) => {\n return {\n id: item.id,\n withDrawComment: withdrawInstructions.value\n };\n });\n API.batchWithDrawPrograms(data[0]).then((res: any) => {\n if (res.code == '0') {\n withdrawModalVisible.value = false;\n Modal.info({\n title: 'Tips',\n content: 'Successfully Withdraw!' //res.data.message\n });\n doSearch();\n rowSelectionPayoutCode.selectedRowData = [];\n rowSelectionPayoutCode.selectedRowKeys = [];\n withdrawInstructions.value = '';\n } else {\n Modal.error({\n title: 'Tips',\n content: res.message //res.data.message\n });\n }\n });\n };\n const onSubmitConfirm = () => {\n const submitParams = {\n paymentOverviewId: rowSelectionPayoutCode.selectedRowKeys\n };\n API.batchSubmitPrograms(submitParams).then((res) => {\n if (res.code !== '50077' && res.code !== '50079') {\n Modal.info({\n title: 'Tips',\n content: 'Successfully Submit!' //res.data.message\n });\n submitModalVisible.value = false;\n doSearch();\n rowSelectionPayoutCode.selectedRowData = [];\n rowSelectionPayoutCode.selectedRowKeys = [];\n } else {\n submitModalVisible.value = false;\n }\n });\n };\n const onDownloadConfirm = () => {\n const payoutCodes = rowSelectionPayoutCode.selectedRowData.map((item) => item.payoutCode);\n // API.downloadPayoutCodeFile(payoutCodes).then((res: unknown) => {\n // downloadFromStream(res)\n // })\n const _payoutCodes = payoutCodes.join(',');\n const params = {\n url: `/ptapi/program/dealer/excelByCode?payoutCode=${_payoutCodes}`,\n method: 'post'\n };\n downloadFile(params);\n };\n return {\n state,\n submitModalVisible,\n withdrawModalVisible,\n withdrawInstructions,\n deleteModalVisible,\n deleteInstructions,\n payoutId,\n code,\n round,\n statusToUpload,\n isUploadVisible,\n uploadHandle,\n searchParams,\n rowSelectionPayoutCode,\n rowSelectionPending,\n columnsPayoutBatch,\n columnsPendingCreateBatch,\n tableDataPayoutBatch,\n tableDataPendingCreateBatch,\n getSearchParamResult,\n getRoundListByDate,\n doSearch,\n onDownloadConfirm,\n onDeleteConfirm,\n onWithdrawConfirm,\n onSubmitConfirm,\n attachmentData,\n getPayoutCodeTable,\n dealerNameUpdateBtnDisabled,\n dealerNameUpdateColumns,\n dealerNameUpdateTableData,\n dealerNameUpdateModalVisible,\n onShowDealerNameUpdateModal\n };\n};\nexport default useDealerTab;\n","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, 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-3739b194\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"select-con\" }\nconst _hoisted_2 = { class: \"label\" }\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Payout Round: \")\nconst _hoisted_4 = { style: {\"margin-left\":\"5px\"} }\nconst _hoisted_5 = { class: \"select-con\" }\nconst _hoisted_6 = { class: \"label\" }\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Payout Code: \")\nconst _hoisted_8 = { style: {\"margin-left\":\"5px\"} }\nconst _hoisted_9 = { class: \"clearfix\" }\nconst _hoisted_10 = /*#__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_11 = /*#__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_12 = { style: {\"position\":\"relative\",\"width\":\"100%\"} }\nconst _hoisted_13 = { style: {\"margin-top\":\"10px\"} }\nconst _hoisted_14 = [\"onClick\"]\nconst _hoisted_15 = [\"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.modal,\n curRole: _ctx.curRole,\n width: \"35.14%\",\n onClose: _ctx.close\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"section\", _hoisted_1, [\n _createElementVNode(\"label\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"span\", _hoisted_4, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.payoutRound), 1)\n ])\n ])\n ]),\n _createElementVNode(\"section\", _hoisted_5, [\n _createElementVNode(\"label\", _hoisted_6, [\n _hoisted_7,\n _createElementVNode(\"span\", _hoisted_8, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.payoutCode), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\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 \"file-list\": _ctx.fileList,\n \"onUpdate:file-list\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.fileList) = $event))\n }, {\n default: _withCtx(() => [\n _hoisted_10,\n _hoisted_11\n ]),\n _: 1\n }, 8, [\"remove\", \"before-upload\", \"file-list\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\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_13, [\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_14)\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_15)\n ])\n ]),\n _: 1\n }, 8, [\"columns\", \"dataSource\"])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"visible\", \"curRole\", \"onClose\"]))\n}","\nimport axios from 'axios'\nimport { defineComponent, ref, computed,reactive,watch,onMounted } from 'vue'\nimport { VerticalAlignBottomOutlined } from '@ant-design/icons-vue'\nimport { delAttachment } from \"@/API/payment\";\nimport { FileItem } from '@/API/types';\nimport downloadFile from \"@/utils/rv/downloadFile\";\nimport { message } from 'ant-design-vue';\nimport { Modal } from 'ant-design-vue'\nimport useMBAFCOverview from \"@/hooks/payment/useMBAFCOverview\";\nimport * as API from \"@/API/payment\";\nimport { useStore } from 'vuex'\nconst {getUploadFileData} = useMBAFCOverview()\nconst attachmentColumns = [\n { title: \"Attachment\", dataIndex: \"fileName\", width: 200, slots: { customRender: \"comments\" }},\n { title: \"Upload Date\", dataIndex: \"updatedAt\", width: 110 },\n { title: \"Operation\", key: \"operation\", width: 165, slots: { customRender: \"action\"}}\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 payoutCode: {\n type: String,\n required: true,\n default: ''\n },\n payoutRound: {\n type: String,\n required: true,\n default: ''\n },\n attachmentData: {\n type: Array,\n required: true,\n default: ()=>{[]}\n },\n paymentId: {\n type: String,\n required: true,\n default: ''\n },\n payStatus:{\n type: String,\n required: true,\n default: ''\n }\n },\n setup(props, context) {\n const { state } = useStore()\n\n const myAttachmentData = ref(null)\n getUploadFileData(props.paymentId).then((res) => {\n myAttachmentData.value = res\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 roleVal = (props as any).curRole;\n const close = () => {\n context.emit('close-upload-visible', { isUploadVisible: false })\n }\n // 上传前\n const beforeUpload = (file: FileItem) => {\n console.log('进入上传前方法中。。。。。。。')\n /*const isXlsx = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';\n if (!isXlsx) {\n message.error('只能上传xlsx格式文件!')\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 const fileList = ref([]);\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 console.log(props.payStatus, 'props.payStatus')\n if(props.payStatus !== 'Created'){\n message.warning('Attachment can not change after submission.');\n return\n }\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(`Attachment batch upload can not more than ${state.payment.maxFileCount}.`);\n return\n }\n const isMore5m = isLt5M.value.every(( item )=>{\n return item;\n })\n if(!isMore5m){\n message.warning(`Attachment can not large than ${state.payment.maxFileSize}M.`);\n return\n }\n fileList.value.forEach((file: FileItem) => {\n file.name = props.payoutCode+'_'+file.name\n formData.append('files', file.originFileObj as any);\n });\n uploading.value = true;\n const params = {\n paymentId: props.paymentId,\n file: formData\n }\n /* uploadAttachment({}, props.paymentId, formData).then((res)=>{\n console.log('xxxxxxxxxxxxx',res)\n });*/\n axios({\n method: 'post',\n data: formData,\n url: '/ptapi/overview/uploadFile?paymentId='+props.paymentId,\n /* params: params*/\n }).then(res => {\n fileList.value = [];\n uploading.value = false;\n if (res.data.code !== '0') {\n Modal.error({\n title: 'Tips',\n content: 'Upload failed'//res.data.message\n })\n // 存data里的信息\n if (res.data.data !== '') window.sessionStorage.setItem('errorFileName',res.data.data)\n // window.sessionStorage.getItem(\"username\")\n } else {\n Modal.info({\n title: 'Tips',\n content: 'Successfully Upload!'//res.data.message\n })\n getUploadFileData(props.paymentId).then((res) => {\n myAttachmentData.value = res\n })\n }\n })\n }\n\n // const handleUpload = () => {\n // submitFile(fileList)\n // }\n const deleteAttachment = (record: any)=> {\n if(props.payStatus !== 'Created'){\n message.warning('only Created status can delete attachments.');\n return\n }\n delAttachment({params:{\n fileId:record.id\n }}).then(( res )=>{\n if(res.code == '0')\n Modal.info({\n content: 'Sucessfully Delete!'//res.message\n })\n else {\n Modal.error({\n title: 'Tips',\n content: 'Delete failed'\n })\n }\n getUploadFileData(props.paymentId).then((res) => {\n myAttachmentData.value = res\n })\n })\n }\n const downloadAttachment = (record: any)=>{\n const params = {\n url: '/ptapi/downloadFile?fileId='+record.id,\n method: 'get',\n fileName: record.fileName\n }\n downloadFile(params)\n }\n return{\n myAttachmentData,\n fileList,\n title,\n modal,\n roleVal,\n close,\n isLt5M,\n submitFile,\n beforeUpload,\n handleRemove,\n uploadComplete,\n attachmentColumns,\n deleteAttachment,\n downloadAttachment\n\n }\n },\n})\n","import { render } from \"./uploadDetail.vue?vue&type=template&id=3739b194&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=3739b194&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-3739b194\"]])\n\nexport default __exports__","\nimport {defineComponent, inject, toRefs,ref} from 'vue'\nimport YearPicker from '@/views/Payment/components/YearPicker.vue'\nimport useDealerTab from '@/hooks/payment/bu/useDealerTab'\nimport { elementSize } from '@/utils'\nimport { toThousands } from \"@/utils/approve\";\nimport { toThousandsAndTwoDecimal } from '@/utils/payment/numberFormat'\nimport UploadDetail from \"./uploadDetail.vue\";\nimport {PayoutBatchTableData} from \"@/views/Payment/BU/types\";\nimport {message, Modal} from \"ant-design-vue\";\nimport {ColumnProps} from \"ant-design-vue/es/table/interface\";\nimport useFetch from \"@/hooks/useFetch\";\nimport {BuItem} from \"@/views/Approve/SalesRoleApprove/ProgramHome/types\";\nimport {getSubscribedBu} from \"@/API/approve\";\nimport {useRoute,useRouter} from \"vue-router\";\nimport { useStore } from 'vuex'\nimport useWithdrawStatusEnable from \"@/hooks/payment/useWithdrawStatusEnable\";\nimport BuSelector from \"@/views/Payment/components/BuSelector.vue\";\nimport EntitySelector from \"@/views/Payment/components/EntitySelector.vue\";\nimport { mountedKey } from '@/views/Payment/BU/index.vue'\nimport { ExclamationOutlined } from '@ant-design/icons-vue';\ntype Key = ColumnProps['key'];\nexport default defineComponent({\n name: \"dealerIndex\",\n components: {\n YearPicker,\n UploadDetail,\n BuSelector,\n EntitySelector,\n ExclamationOutlined\n },\n props: {},\n setup() {\n const parentMounted = inject(mountedKey)\n const route = useRoute()\n const router = useRouter()\n//#region [引用useDealerTab()相关]\n const {\n state,\n submitModalVisible,\n withdrawModalVisible,\n withdrawInstructions,\n deleteInstructions,\n deleteModalVisible,\n code,\n round,\n payoutId,\n statusToUpload,\n attachmentData,\n uploadHandle,\n isUploadVisible,\n rowSelectionPending,\n rowSelectionPayoutCode,\n searchParams,\n columnsPayoutBatch,\n columnsPendingCreateBatch,\n tableDataPayoutBatch,\n tableDataPendingCreateBatch,\n getSearchParamResult,\n doSearch,\n onDeleteConfirm,\n onWithdrawConfirm,\n onSubmitConfirm,\n onDownloadConfirm,\n dealerNameUpdateBtnDisabled,\n dealerNameUpdateColumns,\n dealerNameUpdateTableData,\n dealerNameUpdateModalVisible,\n onShowDealerNameUpdateModal\n } = useDealerTab()\n//#endregion\n getSearchParamResult()\n\n//#region [校验列表是否选择]\n const isSelected = (flag: string, showMessage = true) =>{\n const initFlag = ref(true)\n switch (flag){\n case 'top':\n if ((!rowSelectionPayoutCode.selectedRowData || rowSelectionPayoutCode.selectedRowData.length === 0)) {\n showMessage && message.warning('Please select the data first');\n initFlag.value = false\n }\n break;\n case 'bottom':\n if (!rowSelectionPending.selectedRowData || rowSelectionPending.selectedRowData.length === 0) {\n showMessage && message.warning('Please select the data first');\n initFlag.value = false\n }\n break;\n case 'all':\n if ((!rowSelectionPayoutCode.selectedRowData || rowSelectionPayoutCode.selectedRowData.length === 0) &&\n (!rowSelectionPending.selectedRowData || rowSelectionPending.selectedRowData.length === 0)) {\n showMessage && message.warning('Please select the data first');\n initFlag.value = false\n }\n break;\n default:\n }\n return initFlag.value\n /*\n if ((!rowSelectionPayoutCode.selectedRowData || rowSelectionPayoutCode.selectedRowData.length === 0) &&\n (!rowSelectionPending.selectedRowData || rowSelectionPending.selectedRowData.length === 0)) {\n message.warning('Please select the data first');\n return false\n }\n else {\n return true\n }*/\n }\n//#endregion\n//#region [Download按钮功能]\n const onDownload = () => {\n if (!isSelected('top')) {\n return;\n }\n if (isSelected('bottom', false)){\n message.warning('pending programs can not download!');\n return;\n }\n onDownloadConfirm()\n }\n//#endregion\n//#region [校验是否选择同一个payoutRound进行打包]\n const isSamePayountRound = (rows: PayoutBatchTableData[]) => {\n const firstValue = rows[0].payoutRound\n const result = rows.every(function (item, index, array) {\n return item.payoutRound === firstValue\n })\n if (!result) {\n message.warning('Please select the same payoutRound to batch first');\n }\n console.log('判断是否打包同一个payoutRound=====', result)\n return result\n }\n//#endregion\n //#region [Submit 按钮]\n const onSubmit = ()=>{\n // const isSelectTop = isSelected('top')\n // const isSelectBottom = isSelected('bottom')\n if (isSelected('bottom', false)){\n message.warning('pending programs can not submit!');\n return;\n }\n if (isSelected('top')) {\n {\n const flag = rowSelectionPayoutCode.selectedRowData.every((item) => {\n return item.status === 'Created'\n })\n if (flag) {\n submitModalVisible.value = true\n // Modal.warning({\n // content: 'Please update dealer status, if need.',\n // onOk(){\n // submitModalVisible.value = true\n // }\n // });\n \n } else {\n message.warning('Only the created state can be submit.');\n }\n }\n }\n }\n //#endregion\n //#region [onWithdraw 按钮]\n const onWithdraw = () => {\n if (isSelected('bottom', false)){\n message.warning('pending programs can not withdraw!');\n return;\n }\n if (isSelected('top')) {\n if (rowSelectionPayoutCode.selectedRowData.length >1){\n message.warning('Only select one item');\n return;\n }\n if (rowSelectionPayoutCode.selectedRowData && useWithdrawStatusEnable(rowSelectionPayoutCode.selectedRowData).value) {\n withdrawInstructions.value = null\n withdrawModalVisible.value = true\n } else {\n message.warning('Payout code current status can not withdraw.');\n }\n }\n }\n //#endregion\n //#region [Delete 按钮]\n const onDelete = () => {\n if (!isSelected('all')){\n return;\n }\n if (isSelected('top', false)) {\n if (rowSelectionPayoutCode.selectedRowData.length>1){\n message.warning('Only select one payoutCode to delete!');\n return;\n }\n const flag = rowSelectionPayoutCode.selectedRowData.every((item) => {\n return item.status === 'Created'\n })\n if (flag) {\n deleteModalVisible.value = true\n } else {\n message.warning('Payout code current status can not delete.');\n }\n }\n if (isSelected('bottom', false)){\n if (rowSelectionPending.selectedRowData.length>1){\n message.warning('Only select one program to delete!');\n return;\n }\n console.log('预删除的行数据=======',rowSelectionPending.selectedRowData)\n const flag = rowSelectionPending.selectedRowData.every((item) => {\n return item.status === 'Ready for Payment'\n })\n if (flag) {\n deleteModalVisible.value = true\n } else {\n message.warning('program current status can not delete.');\n }\n }\n }\n //#endregion\n const Reset = () => {\n rowSelectionPayoutCode.selectedRowKeys = []\n rowSelectionPayoutCode.selectedRowData = []\n rowSelectionPending.selectedRowKeys = []\n rowSelectionPending.selectedRowData = []\n getSearchParamResult()\n state.programCode = \"\"\n state.BU = []\n state.payoutStatus = []\n state.entity = '' }\n //region [CreatePayoutBatch按钮]\n const { commit } = useStore()\n const onCreatePayoutBatch = ()=>{\n if (isSelected('top', false)){\n message.warning('Only select pending programs to create payoutCode!');\n return;\n }\n const isSelectBottom = isSelected('bottom')\n if (isSelectBottom){\n if (isSamePayountRound(rowSelectionPending.selectedRowData)){\n commit('payment/updateSelectProgramRows',rowSelectionPending.selectedRowData)\n router.push({name:'Payment Create Payout Batch',query:{type:'add', entity: state.entity}})\n }\n }\n }\n //#endregion\n //#region [关闭上传附件弹框]\n const closeUpload = (param: { isUploadVisible: boolean }) => {\n isUploadVisible.value = param.isUploadVisible\n }\n //#endregion\n const tableSize = elementSize('.ant-table-wrapper')\n\n // dealer setting\n const onDealerSetting = () => {\n router.push({ path: '/paymentBuManagement/dealerSetting'})\n }\n\n doSearch()\n\n return {\n parentMounted,\n ...toRefs(state),\n searchParams,\n rowSelectionPayoutCode,\n rowSelectionPending,\n tableDataPayoutBatch,\n tableDataPendingCreateBatch,\n columnsPayoutBatch,\n columnsPendingCreateBatch,\n getSearchParamResult,\n Reset,\n isSelected,\n isSamePayountRound,\n doSearch,\n submitModalVisible,\n deleteInstructions,\n deleteModalVisible,\n withdrawModalVisible,\n withdrawInstructions,\n onDownload,\n onDownloadConfirm,\n onSubmit,\n onWithdraw,\n onDelete,\n onDeleteConfirm,\n onWithdrawConfirm,\n onSubmitConfirm,\n onCreatePayoutBatch,\n isUploadVisible,\n code,\n round,\n payoutId,\n statusToUpload,\n attachmentData,\n uploadHandle,\n closeUpload,\n tableSize,\n toThousands,\n toThousandsAndTwoDecimal,\n onDealerSetting,\n state,\n dealerNameUpdateBtnDisabled,\n dealerNameUpdateColumns,\n dealerNameUpdateTableData,\n dealerNameUpdateModalVisible,\n onShowDealerNameUpdateModal\n }\n }\n});\n","import { render } from \"./index.vue?vue&type=template&id=c3eee664&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=c3eee664&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-c3eee664\"]])\n\nexport default __exports__","import axios from 'axios'\nimport { AxiosRequestConfig } from '@/API/types'\nexport default (options: AxiosRequestConfig) => { \n const { url, method = 'get', params, fileName } = options;\n const config: any = {\n url: url,\n method,\n responseType: \"blob\",\n };\n if (method === \"get\") {\n config[\"params\"] = params;\n } else {\n config[\"data\"] = params;\n }\n return new Promise((resolve, reject) => {\n axios(config).then((res: any) => {\n // 文件格式\n const blob = new Blob([res.data], { type: 'application/vnd-excel; char-set=UTF-8' })\n const downloadElement = document.createElement('a')\n const href = window.URL.createObjectURL(blob)\n downloadElement.href = href\n // 下载后文件名\n downloadElement.download = !fileName ? Date.now().toString() : fileName\n document.body.appendChild(downloadElement)\n downloadElement.click() \n document.body.removeChild(downloadElement)\n // 释放掉blob对象\n window.URL.revokeObjectURL(href)\n resolve(res)\n }).catch(function (error: string) {\n console.log(error)\n return reject(error)\n })\n })\n}","import { ref } from 'vue'\nconst useWithdrawStatusEnable = (rows: any) => {//撤销\n const arr = ['F&L Approved', 'Submitted']\n const flag = ref(false)\n flag.value = rows.every((item: any) => {\n return arr.indexOf(item.status) !== -1\n })\n return flag\n};\nexport default useWithdrawStatusEnable\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=3739b194&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!./index.vue?vue&type=style&index=0&id=e5760696&lang=scss&scoped=true\"","// This icon file is generated automatically.\nvar ExclamationOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M448 804a64 64 0 10128 0 64 64 0 10-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z\" } }] }, \"name\": \"exclamation\", \"theme\": \"outlined\" };\nexport default ExclamationOutlined;\n","import * as _vue from \"vue\";\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport ExclamationOutlinedSvg from \"@ant-design/icons-svg/es/asn/ExclamationOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar ExclamationOutlined = function ExclamationOutlined(props, context) {\n var p = _objectSpread({}, props, context.attrs);\n\n return _vue.createVNode(AntdIcon, _vue.mergeProps(p, {\n \"icon\": ExclamationOutlinedSvg\n }), null);\n};\n\nExclamationOutlined.displayName = 'ExclamationOutlined';\nExclamationOutlined.inheritAttrs = false;\nexport default ExclamationOutlined;","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAA6ADAAQAAAABAAAAEAAAAABTVpExAAAARklEQVQIHWNgWPf+GcO6Dx0MV/+zsTD8Z5BkYPhfznDzIwMTAxz8j0NwgCoQHKAK+nMYGZ4jWcq4iIUBKMLAwLiIQZ2/DgAi2RE9IOkxIAAAAABJRU5ErkJggg==\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e5760696\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"main-container\" }\nconst _hoisted_2 = { class: \"d-f align-c justify-b bg-fff\" }\nconst _hoisted_3 = { class: \"payment-container d-f flex-d-c\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"m-r-16\" }, null, -1))\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_a_tab_pane = _resolveComponent(\"a-tab-pane\")!\n const _component_a_tabs = _resolveComponent(\"a-tabs\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\n _createVNode(_component_a_tabs, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.activeKey) = $event)),\n onTabClick: _ctx.tabClick\n }, {\n default: _withCtx(() => [\n (_ctx.$btnPermissions('BSPA0002', '/buSiPayoutApplication'))\n ? (_openBlock(), _createBlock(_component_a_tab_pane, {\n key: \"1\",\n tab: \"Dealer Payout Overview\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('BSPA0003', '/buSiPayoutApplication'))\n ? (_openBlock(), _createBlock(_component_a_tab_pane, {\n key: \"2\",\n tab: \"F&L Payout Overview\",\n \"force-render\": \"\"\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"activeKey\", \"onTabClick\"])\n ]),\n _hoisted_4\n ]),\n (_ctx.showRouterView)\n ? (_openBlock(), _createBlock(_component_router_view, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent, ref, onMounted, provide, onUpdated, computed } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport { btnPermissions } from \"@/utils\";\nimport store from \"@/store\";\n\nexport const mountedKey = Symbol()\nexport default defineComponent({\n name: \"Dealer\",\n props: {},\n setup() {\n const activeKey = ref(\"1\");\n const route = useRoute();\n if (route.name === \"Payment Bu Management F&L\") {\n activeKey.value = \"2\";\n } else {\n activeKey.value = \"1\";\n }\n onUpdated(() => {\n if (route.name === \"Payment Bu Management F&L\") {\n activeKey.value = \"2\";\n } else {\n activeKey.value = \"1\";\n }\n });\n const mounted = ref(false)\n provide(mountedKey, mounted)\n\n\n onMounted(() => {\n mounted.value = true\n })\n\n const router = useRouter();\n // 点击tab\n const tabClick = (tab: string) => {\n switch (tab) {\n case \"1\":\n router.push({ path: \"/buSiPayoutApplication\" });\n break;\n case \"2\":\n router.push({ path: \"/paymentBuManagement/FAndL\" });\n break;\n }\n };\n\n const showRouterView = computed(() => {\n switch (route.name) {\n case 'Payment Bu Management Dealer':\n return btnPermissions('BSPA0002', '/buSiPayoutApplication')\n case 'Payment Bu Management F&L':\n return btnPermissions('BSPA0003', '/buSiPayoutApplication')\n default:\n return true\n }\n })\n\n return {\n activeKey,\n tabClick,\n showRouterView,\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=e5760696&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=e5760696&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-e5760696\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, mergeProps as _mergeProps } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n\n return (_openBlock(), _createBlock(_component_a_select, _mergeProps(_ctx.$attrs, {\n value: _ctx._value,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx._value) = $event)),\n placeholder: \"Please select\",\n class: \"select-wrapper\"\n }), {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.buList, (bu) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: bu.id,\n value: bu.nameEn\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(bu.nameEn), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 16, [\"value\"]))\n}","\nimport { defineComponent, onMounted, PropType,ref } from \"vue\";\nimport { useStore } from \"vuex\";\nimport useModel from \"@/hooks/useModel\";\nimport {getBuList} from '@/API/approvalChain'\n\nexport default defineComponent({\n props: {\n value: {\n type: [String, Array] as PropType,\n },\n isCurrent: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const _value = useModel(props, \"value\");\n const mockData = [\n { nameEn: \"MB\" },\n { nameEn: \"MB East\" },\n { nameEn: \"MB West\" },\n { nameEn: \"MB North\" },\n { nameEn: \"MB South\" },\n { nameEn: \"MB G Class\" },\n { nameEn: \"EQ\" },\n { nameEn: \"AMG\" },\n { nameEn: \"CPO\" },\n { nameEn: \"MB CPO\" },\n { nameEn: \"AMG CPO\" },\n { nameEn: \"Company car\" },\n { nameEn: \"VAN\" },\n { nameEn: \"VAN Fleet\" },\n { nameEn: \"Fleet\" },\n { nameEn: \"DENZA\" },\n { nameEn: \"DENZA Fleet\" },\n ];\n const { state } = useStore();\n // const buList = mockData;\n const buList = ref([]);\n const getCurrentBuList = async () => {\n const apiFunction = props.isCurrent ? getBuList : state.user.buList;\n const res = await apiFunction();\n buList.value = res;\n };\n onMounted(getCurrentBuList);\n const reset = () => {\n if (typeof props.value === 'object') {\n _value.value = [];\n } else {\n _value.value = \"\";\n }\n };\n return {\n buList,\n _value,\n reset\n };\n },\n});\n","import { render } from \"./BuSelector.vue?vue&type=template&id=1a9b4660&ts=true\"\nimport script from \"./BuSelector.vue?vue&type=script&lang=ts\"\nexport * from \"./BuSelector.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 { ref, reactive } from \"vue\";\nimport { MBAFCInitSelectedDataForSearch, MBAFCTableData,AttachmentData, RowSelectionData} from \"@/views/Payment/FlRt/types\";\nimport * as API from \"@/API/payment\";\nimport { useStore } from 'vuex'\nimport downloadFile from '@/utils/payment/downloadFile'\nimport { ApproveData } from '@/views/Payment/types'\nimport { message } from 'ant-design-vue';\nconst useMBAFCOverview = () => {\n const store = useStore()\n const state = reactive({\n selectedRowKeys: [], // Check here to configure the default column\n selectedRows: [],\n year: '',\n status: '',\n payoutRound: '',\n pageNumber:1,\n pageSize:10\n //secondPayountRound: payoutRoundData[year][0],\n });\n // 打开筛选条件\n const isOpen = ref(false)\n // 筛选面板\n const activeKey = ref(\"\")\n // 校验列表\n const tableData = ref([])\n const total = ref(0)\n // 上传的附件列表\n const attachmentData = ref([])\n\n // 是否显示失败原因面板\n const showFailFlag = ref(false)\n // 状态下拉框\n //const approvalStatusArray = ref([])\n // 激励适用性\n // const rebateFlagArray = ref([])\n // 批量查询\n const batchQuery = reactive({\n batchQueryTitle: '',\n batchQueryModal: false\n })\n/* const columns = reactive([\n { title: \"Payout Round\", dataIndex: \"payoutRound\", width: 154 },\n { title: \"Payout Code\", dataIndex: \"payoutCode\", key: \"model\", width: 154 },\n { title: \"Vin No.\", dataIndex: \"vinNo\", key: \"modelYear\", width: 100 },\n { title: \"Payout Amount w VAT\", dataIndex: \"payoutAmountWVat\", width: 100},\n { title: \"Status\", dataIndex: \"status\", width: 110, key: \"usage\" },\n { title: \"Last Update Date\", dataIndex: \"updatedAtCast\", width: 90, key: \"retailDate\" },\n { title: \"Operation\", key: \"operation\", fixed: 'right', width: 150, slots: { customRender: \"action\"}\n },\n])*/\n const columns = reactive([\n { title: \"Payout Round\", dataIndex: \"payoutRound\", width: 150},\n { title: \"Payout Code\", className: 'column-no-wrap', dataIndex: \"payoutCode\", key: \"model\", width: 150},\n { title: \"Vin No.\", dataIndex: \"vinNo\", key: \"modelYear\", width: 80, align: 'right' },\n { title: \"Payout Amount w VAT\", dataIndex: \"payoutAmountWVat\", width: 160, align: 'right'},\n { title: \"\", dataIndex: \"blank\", width: 50},\n { title: \"Status\", dataIndex: \"status\", width: 110, key: \"usage\"},\n { title: \"Last Update Date\", dataIndex: \"updatedAtCast\", width: 150, key: \"retailDate\"},\n { title: \"Operation\", key: \"operation\", fixed: 'right', align: 'left',width: 100, slots: { customRender: \"action\"}\n },\n ])\n // 查询区数据:包括 Year|Payout Round|Payount Status\n const initSelectedDataForS = reactive({\n year:[],\n payoutRound:[],\n status:[]\n });\n // 发票/行驶证 查看弹窗\n const pictureModal = reactive({\n pictureModalFlag: false,\n pictureModalTitle: \"\",\n pictureModalImg: \"\",\n });\n // 筛选条件\n const queryParams = reactive({\n /*year:\"\",\n payoutCode:\"\",\n payStatus:\"\",\n currentPage:1,\n pageSize:20*/\n });\n const getTableData = () => {\n const params = {\n ...state, userId: store.state.user.usrid\n }\n if (!state.status){\n params.status = \"all\"\n }\n console.log('列表的查询条件是:',params)\n API.getMBAFCTable(params).then((res: any) => {\n console.log('返回列表数据:',res)\n let myContent: MBAFCTableData[] = [];\n myContent = res.content;\n myContent.map((item: MBAFCTableData)=>{//vinNo 千分位加逗号\n //console.log(typeof item.vinNo)\n item.vinNo = item.vinNo.toString().replace(/(\\d)(?=(?:\\d{3})+$)/g,'$1,');\n return item\n })\n tableData.value = myContent;\n total.value = res.totalElements;\n state.pageSize = res.size;\n });\n }\n //获取MBAFC查询区域的数据\n const getMBAFCInitSelectedDataForSearch = async (role: string) => {\n // status下拉框数据\n const res = await API.getInitSelectedDataForSearch({params: {role}})\n const statusTemp = res.status\n const statusR = statusTemp.map((value: string,key: string,arr: Array) => {\n const statusObj = Object.assign({},value)\n statusObj['code'] = value['value']\n statusObj['value'] = value['value']\n return statusObj\n })\n console.log('返回查询区下拉框数据:',res)\n\n // year下拉框数据\n const yearRes = await API.getRoundYearList()\n\n initSelectedDataForS.year = yearRes\n initSelectedDataForS.status = statusR;\n if (initSelectedDataForS.year.length === 0){\n state.year = ''\n }\n else {\n state.year = initSelectedDataForS.year[0]\n }\n // state.status = initSelectedDataForS.status[0].value\n\n // round下拉框数据\n // getPayountRoundByYearForSearch(state.year)\n getTableData()\n }\n \n //点击查询区“年”,获取payoutRound数据\n const getPayountRoundByYearForSearch = async(year: string) => {\n if (year) {\n const params = {\n year: year\n }\n const res = await API.getRoundFinanceList({params})\n // const res = await API.getPayountRoundByYearForSearch({params:{\n // year: year, role: store.state.user.fulnm}})\n const legalEntityMBAFC = store.state.user?.legalEntity.entityName === 'MBAFC'\n const legalEntityMBLC = store.state.user?.legalEntity.entityName === 'MBLC'\n initSelectedDataForS.payoutRound = res.filter((payoutRound: string) => {\n if (!legalEntityMBAFC && !legalEntityMBLC) {\n return true\n }\n if (legalEntityMBAFC && payoutRound.indexOf('_AFC_') >= 0) {\n return true\n }\n if (legalEntityMBLC && payoutRound.indexOf('_LC_') >= 0) {\n return true\n }\n return false\n })\n state.payoutRound = initSelectedDataForS.payoutRound.length ? initSelectedDataForS.payoutRound[0] : ''\n getTableData()\n } else {\n initSelectedDataForS.payoutRound = []\n }\n \n }/*\n const resetEvent = () => {\n };*/\n const getUploadFileData = (id: string) =>{\n return API.getUploadFileData({params:{\n paymentId:id\n }}).then((res)=>{\n console.log('返回附件列表:',res)\n attachmentData.value = res\n return attachmentData.value = res\n });\n }\n const downloadImg = () => {\n const imgUrl = `data:image/jpg;base64,${pictureModal.pictureModalImg}`;\n // 如果浏览器支持msSaveOrOpenBlob方法(也就是使用IE浏览器的时候),那么调用该方法去下载图片\n if (window.navigator.msSaveOrOpenBlob) {\n const bstr = atob(imgUrl.split(\",\")[1])\n let n = bstr.length\n const u8arr = new Uint8Array(n)\n while (n--) {\n u8arr[n] = bstr.charCodeAt(n)\n }\n const blob = new Blob([u8arr])\n window.navigator.msSaveOrOpenBlob(blob, `${pictureModal.pictureModalTitle}.jpg`)\n } else {\n // 这里就按照chrome等新版浏览器来处理\n const a = document.createElement(\"a\");\n a.href = imgUrl;\n a.setAttribute(\"download\", `${pictureModal.pictureModalTitle}.jpg`)\n a.click();\n }\n };\n const resetParam = () => {\n /*queryParams.retailStartDate = queryParams.retailStartDate ? queryParams.retailStartDate : \"\"\n queryParams.retailEndDate = queryParams.retailEndDate ? queryParams.retailEndDate : \"\"\n queryParams.invoiceStartDate = queryParams.invoiceStartDate ?\n queryParams.invoiceStartDate : \"\"\n queryParams.invoiceEndDate = queryParams.invoiceEndDate ? queryParams.invoiceEndDate : \"\"\n queryParams.licenseStartDate = queryParams.licenseStartDate ? \n queryParams.licenseStartDate : \"\"\n queryParams.licenseEndDate = queryParams.licenseEndDate ? queryParams.licenseEndDate : \"\"\n queryParams.modelYear = queryParams.modelYear ? queryParams.modelYear : \"\"\n queryParams.approlStatus = queryParams.approlStatus ? queryParams.approlStatus : \"\"\n queryParams.specialUsage = queryParams.specialUsage ? queryParams.specialUsage : \"\"\n queryParams.checkStatus = queryParams.checkStatus ? queryParams. checkStatus : \"\"\n queryParams.usage = queryParams.usage ? queryParams.usage : \"\"\n queryParams.powerTrain = queryParams.powerTrain ? queryParams.powerTrain : \"\"\n queryParams.typeClass = queryParams.typeClass ? queryParams.typeClass : \"\"\n queryParams.entity = queryParams.entity ? queryParams.entity : \"\"\n queryParams.vinNo = queryParams.vinNo ? queryParams.vinNo : \"\"\n queryParams.model = queryParams.model ? queryParams.model : \"\"\n queryParams.commissionNo = queryParams.commissionNo ? queryParams.commissionNo : \"\"*/\n }\n const mulSearchEvent = (rowSelection: any) => {\n // if(!state.status){\n // state.status = \"all\"\n // }\n state.year = state.year ? state.year : \"\"\n state.status = state.status ? state.status : \"\"\n state.payoutRound = state.payoutRound ? state.payoutRound : \"\"\n state.pageNumber = 1\n rowSelection.selectedRowKeys = []\n rowSelection.selectedRowData = []\n getTableData()\n }\n const overviewSerachEvent = (str: string) => {/*\n isOpenPanle.value = false\n isOpen.value = false\n activeKey.value = \"\"\n resetEvent()\n switch (str) {\n case \"leftRetialTotal\":\n queryParams.retailStartDate = overview.value.currRetailMonth + \"/01\";\n break;\n case \"leftNotSubmit\":\n queryParams.retailStartDate = overview.value.currRetailMonth + \"/01\";\n queryParams.approlStatus = \"0\";\n break;\n case \"leftcheckStatus\":\n queryParams.retailStartDate = overview.value.currRetailMonth + \"/01\";\n queryParams.checkStatus = \"3333\";\n break;\n case \"rightRetialTotal\":\n queryParams.retailStartDate = overview.value.lastRetailMonth + \"/01\";\n break;\n case \"rightNotSubmit\":\n queryParams.retailStartDate = overview.value.lastRetailMonth + \"/01\";\n queryParams.approlStatus = \"0\";\n break;\n case \"rightcheckStatus\":\n queryParams.retailStartDate = overview.value.lastRetailMonth + \"/01\";\n queryParams.checkStatus = \"3333\";\n break;\n }\n queryParams.retailEndDate = getMonthLast(queryParams.retailStartDate)\n mulSearchEvent()*/\n };\n \n const licenseEvent = (vinNo: string) => {\n /* const params = { vinNo: vinNo };\n API.getlicenseView({ params }).then(res => {\n pictureModal.pictureModalFlag = true;\n pictureModal.pictureModalTitle = \"RE_\" + vinNo\n pictureModal.pictureModalImg = res;\n });*/\n };\n const invoiceEvent = (vinNo: string) => {\n const params = { vinNo: vinNo };\n API.getInvioceView({params}).then(res=>{\n pictureModal.pictureModalFlag = true;\n pictureModal.pictureModalImg = res;\n pictureModal.pictureModalTitle = \"IN_\"+ vinNo;\n });\n } \n \n const pageChange = (page: number, pageSize: number,rowSeclection: RowSelectionData) => {\n state.pageNumber = page > 0 ? page : 1\n state.pageSize = pageSize;\n rowSeclection.selectedRowKeys = []\n getTableData()\n };\n const sizeChange = (page: number, pageSize: number,rowSelection: RowSelectionData) => {\n state.pageNumber = page > 0 ? page : 1\n state.pageSize = pageSize;\n rowSelection.selectedRowKeys = []\n getTableData()\n };\n const handleClick = (event: MouseEvent) => {\n //isOpenPanle.value = false;\n activeKey.value = \"\"\n event.stopPropagation();\n };\n const handleActiveKey = () => {\n if (activeKey.value.indexOf(\"3\") !== -1) {\n// showCollapsed.value = true;\n } else {\n //showCollapsed.value = false;\n }\n };\n const downloadFilesClick = () => {\n const params = {\n url: `/ptapi/clickPayoutRound/${state.payoutRound}`,\n method: 'get',\n params: {}\n }\n downloadFile(params).then(() => {\n // loading.value = false;\n // downloadModalVisible.value = false;\n // emptyVisible.value = false;\n })\n }\n\n const approveList = ref()\n const approveVisible = ref(false)\n const approveClick = (record: any) => {\n approveList.value = []\n // API.getApprovalPackage(record.id).then((res: any) => {\n // if (res.code === '0') {\n // approveList.value = res.data.nodeList\n // approveVisible.value = true\n // } else {\n // message.error(res.message)\n // }\n // })\n approveList.value = []\n const params = {\n approvalType: \"PayoutApproval\",\n payoutCodeId: record.id,\n payoutType: \"FL\"\n }\n API.getApprovalPackageByCreated(params).then((res: any) => {\n if (res.code === '0') {\n approveList.value = res.data.map((item: any) => item.nodeList)\n approveVisible.value = true\n } else {\n message.error(res.message)\n }\n })\n }\n\n return {\n resetParam,\n getTableData,\n //resetEvent,\n mulSearchEvent,\n downloadImg,\n pageChange,\n sizeChange,\n licenseEvent,\n invoiceEvent,\n handleClick,\n handleActiveKey,\n overviewSerachEvent,\n getMBAFCInitSelectedDataForSearch,\n initSelectedDataForS,\n getPayountRoundByYearForSearch,\n getUploadFileData,\n columns,\n attachmentData,\n queryParams,\n //overview,\n// isOpenPanle,\n isOpen,\n tableData,\n total,\n pictureModal,\n activeKey,\n showFailFlag,\n// showCollapsed,\n batchQuery,\n state,\n //approvalStatusArray,\n //rebateFlagArray,\n downloadFilesClick,\n approveVisible,\n approveList,\n approveClick\n }\n}\nexport default useMBAFCOverview","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","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=c3eee664&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 { useStore } from 'vuex'\n\nexport default function usePageSpinning(): (p: Promise) => Promise {\n const { commit } = useStore()\n return async (p: Promise) => {\n commit('updatePageSpinning', true)\n try {\n const result = await p\n return result\n } finally {\n commit('updatePageSpinning', false)\n }\n }\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 "],"sourceRoot":""}