{"version":3,"sources":["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/views/Payment/PaymentTracking/DealerStatus/index.vue?5a97","webpack:///./src/views/Payment/PaymentTracking/DealerStatus/index.vue?37bb","webpack:///./src/views/Payment/PaymentTracking/DealerStatus/collapseTable.vue?763c","webpack:///./src/views/Payment/PaymentTracking/DealerStatus/collapseTable.vue","webpack:///./src/views/Payment/PaymentTracking/DealerStatus/collapseTable.vue?2297","webpack:///./src/hooks/payment/PaymentTracking/useDealerStatusTrackingOverview.ts","webpack:///./src/views/Payment/PaymentTracking/DealerStatus/index.vue","webpack:///./src/views/Payment/PaymentTracking/DealerStatus/index.vue?0627","webpack:///./src/hooks/useModel.ts","webpack:///./src/views/Payment/PaymentTracking/DealerStatus/collapseTable.vue?07d9","webpack:///./src/utils/payment/useStripedRowClass.ts","webpack:///./src/utils/payment/numberFormat.ts","webpack:///./src/utils/payment/useThousandsAndTwoDecimal.ts"],"names":["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","_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","style","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_component_entity_selector","_component_a_button","_component_RightOutlined","_component_collapse_table","_component_a_collapse_panel","_component_a_collapse","_component_a_table","_component_a_drawer","allowClear","query","payoutRound","roundList","item","disabled","ref","onClick","search","activeKey","expandIconPosition","expandIcon","isActive","rotate","header","NormalDelearData","toThousandsAndTwoDecimal","RiskDelearData","totalAmountWOVat","totalAmountWVat","column","data","title","closable","visible","isFavoriteVisible","width","onClose","closeFavorite","columns","favoriteColumns","pagination","dataSource","favoriteData","customRow","rowKey","bordered","action","record","deleteFavorite","_data","index","toString","name","list","rowClassName","getRowClass","Object","keys","defalut","Array","useStripedRowClass","arr","push","console","log","components","RightOutlined","useDealerStatusTracking","entityRef","dataIndex","customRender","useThousandsAndTwoDecimal","align","year","month","dealerName","dealerCode","region","dealerGroup","res","normalDealer","riskDealer","roundRes","searchRound","Promise","resolve","reject","params","then","catch","initCondition","saveFavorite","format","message","success","slots","getFavoriteList","showFavorite","id","open","collapseTable","EntitySelector","emit","get","set","val","count","undefined","indexOf","Number","toFixed","replace","$0","$1","toThousands","substring","Math","round","text"],"mappings":"kIAEO,SAASA,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,CAC7DU,IAAKD,EAAOE,WACZC,MAAOH,EAAOE,YACb,CACDJ,QAAS,sBAAS,WAAM,OACtB,6BAAiB,6BAAiBE,EAAOE,YAAa,OAExDE,EAAG,GACF,KAAM,CAAC,aACR,UAENA,EAAG,GACF,GAAI,CAAC,U,4BCrBK,+BAAgB,CAC7BC,MAAO,CACLC,UAAW,CACTC,K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W,kCCAA,IAAM7C,EAAqB,WACzB,OAAO,SAACb,EAAWG,GACjB,OAAIA,EAAQ,IAAM,EACT,gBAEA,OAIE,U,yDCTf,oEAKO,IAAMzB,EAA2B,SAACiF,GACvC,QAAcC,IAAVD,GAAiC,OAAVA,EACzB,MAAO,GAET,GAAqB,kBAAVA,EAAoB,CAC7B,IAA4B,IAAxBA,EAAME,QAAQ,KAChB,OAA4B,IAAxBF,EAAME,QAAQ,KACTF,EAEAA,EAAQ,MAGnBA,EAAQG,OAAOH,GAGjB,OADAA,EAAQA,EAAMI,QAAQ,GACfJ,EACJvD,WACA4D,QAAQ,uBAAuB,SAASC,EAAIC,GAC3C,OAAOA,EAAK,OAEbF,QAAQ,MAAO,KAGPG,EAAc,SAACR,GAC1B,QAAcC,IAAVD,EACF,MAAO,GAET,GAAqB,kBAAVA,EAAoB,CAC7B,IAA4B,IAAxBA,EAAME,QAAQ,KAChB,OAA4B,IAAxBF,EAAME,QAAQ,KACTF,EAAMS,UAAU,EAAGT,EAAME,QAAQ,KAAO,GAExCF,EAGXA,EAAQG,OAAOH,GAGjB,OADAA,EAAQU,KAAKC,MAAMX,GACZA,EACJvD,WACA4D,QAAQ,uBAAuB,S,kCC7CpC,4BAEMxC,EAA4B,WAC9B,OAAO,SAAC,G,IAAC+C,EAAI,OAGT,OAAO,eAAE,OAAQ,eAAyBA,MAGjC","file":"js/chunk-c2c8ca06.719a37d8.js","sourcesContent":["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__","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=f3f8a4dc&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, 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, createVNode as _createVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f3f8a4dc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container m-8 bg-fff\" }\nconst _hoisted_2 = { class: \"payment-overview-block-wrapper\" }\nconst _hoisted_3 = { class: \"payment-overview-block\" }\nconst _hoisted_4 = { class: \"payment-search-wrapper\" }\nconst _hoisted_5 = { class: \"payment-search-row\" }\nconst _hoisted_6 = { class: \"search-item\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_8 = { class: \"search-item\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Entity \", -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_12 = { class: \"search-btn\" }\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\" Reset \")\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\" Search \")\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_16 = { class: \"payment-overview-block\" }\nconst _hoisted_17 = { class: \"collapse-wrapper\" }\nconst _hoisted_18 = {\n class: \"collapse-icon-wrapper\",\n style: {\"padding\":\"5px\",\"background\":\"white\",\"border-radius\":\"20px\"}\n}\nconst _hoisted_19 = { class: \"collapse-header-wrapper\" }\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"collapse-header-title\" }, \" Risk Dealer \", -1))\nconst _hoisted_21 = { class: \"collapse-header-data\" }\nconst _hoisted_22 = { class: \"collapse-header-data-item\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w/o VAT \", -1))\nconst _hoisted_24 = { class: \"collapse-header-data-item\" }\nconst _hoisted_25 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w VAT \", -1))\nconst _hoisted_26 = { class: \"collapse-header-wrapper\" }\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"collapse-header-title\" }, \" Normal Dealer \", -1))\nconst _hoisted_28 = { class: \"collapse-header-data\" }\nconst _hoisted_29 = { class: \"collapse-header-data-item\" }\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w/o VAT \", -1))\nconst _hoisted_31 = { class: \"collapse-header-data-item\" }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w VAT \", -1))\nconst _hoisted_33 = [\"onClick\"]\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 const _component_entity_selector = _resolveComponent(\"entity-selector\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_RightOutlined = _resolveComponent(\"RightOutlined\")!\n const _component_collapse_table = _resolveComponent(\"collapse-table\")!\n const _component_a_collapse_panel = _resolveComponent(\"a-collapse-panel\")!\n const _component_a_collapse = _resolveComponent(\"a-collapse\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_drawer = _resolveComponent(\"a-drawer\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_a_select, {\n allowClear: \"\",\n value: _ctx.query.payoutRound,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.query.payoutRound) = $event)),\n class: \"sel-inp-size\",\n placeholder: \"Please select\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.roundList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: item }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_entity_selector, {\n value: _ctx.query.entity,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.query.entity) = $event)),\n isDefault: true,\n disabled: \"\",\n ref: \"entityRef\"\n }, null, 8, [\"value\"])\n ]),\n _hoisted_10,\n _hoisted_11\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.reset\n }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.search\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _hoisted_15\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_a_collapse, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.activeKey) = $event)),\n expandIconPosition: \"right\"\n }, {\n expandIcon: _withCtx(({ isActive }) => [\n _createElementVNode(\"span\", _hoisted_18, [\n _createVNode(_component_RightOutlined, {\n rotate: isActive ? 90 : 0\n }, null, 8, [\"rotate\"])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_a_collapse_panel, { key: \"1\" }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_19, [\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.NormalDelearData\n ? _ctx.toThousandsAndTwoDecimal(\n _ctx.RiskDelearData?.totalAmountWOVat\n )\n : 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.NormalDelearData\n ? _ctx.toThousandsAndTwoDecimal(\n _ctx.RiskDelearData?.totalAmountWVat\n )\n : 0), 1)\n ])\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_collapse_table, {\n column: _ctx.column,\n data: _ctx.RiskDelearData\n }, null, 8, [\"column\", \"data\"])\n ]),\n _: 1\n }),\n _createVNode(_component_a_collapse_panel, { key: \"2\" }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_26, [\n _hoisted_27,\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _hoisted_30,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.NormalDelearData\n ? _ctx.toThousandsAndTwoDecimal(\n _ctx.NormalDelearData?.totalAmountWOVat\n )\n : 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _hoisted_32,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.NormalDelearData\n ? _ctx.toThousandsAndTwoDecimal(\n _ctx.NormalDelearData?.totalAmountWVat\n )\n : 0), 1)\n ])\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_collapse_table, {\n column: _ctx.column,\n data: _ctx.NormalDelearData\n }, null, 8, [\"column\", \"data\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"activeKey\"])\n ])\n ])\n ]),\n _createVNode(_component_a_drawer, {\n title: \"My Favorite\",\n closable: true,\n visible: _ctx.isFavoriteVisible,\n width: \"35.14%\",\n class: \"upload-drawer claim-drawer\",\n onClose: _ctx.closeFavorite\n }, {\n default: _withCtx(() => [\n _createVNode(_component_a_table, {\n columns: _ctx.favoriteColumns,\n pagination: false,\n dataSource: _ctx.favoriteData,\n customRow: _ctx.customRow,\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: _withModifiers(($event: any) => (_ctx.deleteFavorite(record)), [\"stop\"])\n }, \" Delete \", 8, _hoisted_33)\n ])\n ]),\n _: 1\n }, 8, [\"columns\", \"dataSource\", \"customRow\"])\n ]),\n _: 1\n }, 8, [\"visible\", \"onClose\"])\n ]))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, vShow as _vShow, withCtx as _withCtx, createBlock as _createBlock, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-26ed40be\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"collapse-icon-wrapper\",\n style: {\"padding\":\"5px\",\"background\":\"white\",\"border-radius\":\"20px\"}\n}\nconst _hoisted_2 = { class: \"collapse-header-wrapper\" }\nconst _hoisted_3 = { class: \"collapse-header-title\" }\nconst _hoisted_4 = { class: \"collapse-header-data\" }\nconst _hoisted_5 = { class: \"collapse-header-data-item\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \"Total Amount w/o VAT\", -1))\nconst _hoisted_7 = { class: \"collapse-header-data-item\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \"Total Amount w VAT\", -1))\nconst _hoisted_9 = { class: \"no-data\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RightOutlined = _resolveComponent(\"RightOutlined\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_collapse_panel = _resolveComponent(\"a-collapse-panel\")!\n const _component_a_collapse = _resolveComponent(\"a-collapse\")!\n\n return (_openBlock(), _createBlock(_component_a_collapse, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.activeKey) = $event)),\n expandIconPosition: \"right\",\n class: \"payment-collapse-wrapper\"\n }, {\n expandIcon: _withCtx(({ isActive }) => [\n _createElementVNode(\"span\", _hoisted_1, [\n _createVNode(_component_RightOutlined, {\n rotate: isActive ? 90 : 0\n }, null, 8, [\"rotate\"])\n ])\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx._data, (item, index) => {\n return _withDirectives((_openBlock(), _createBlock(_component_a_collapse_panel, {\n key: index.toString()\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(item.name), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"div\", null, _toDisplayString(item.data ? _ctx.toThousandsAndTwoDecimal(item.data?.totalAmountWOVat) : 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", null, _toDisplayString(item.data ? _ctx.toThousandsAndTwoDecimal(item.data?.totalAmountWVat) : 0), 1)\n ])\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_a_table, {\n dataSource: item.data.list,\n columns: _ctx.column,\n rowKey: \"id\",\n pagination: false,\n rowClassName: _ctx.getRowClass\n }, null, 8, [\"dataSource\", \"columns\", \"rowClassName\"])\n ]),\n _: 2\n }, 1024)), [\n [_vShow, _ctx._data.length]\n ])\n }), 128)),\n _withDirectives(_createElementVNode(\"div\", _hoisted_9, \" No Data \", 512), [\n [_vShow, (_ctx._data && Object.keys(_ctx._data).length === 0) || !_ctx._data]\n ])\n ]),\n _: 1\n }, 8, [\"activeKey\"]))\n}","\nimport { computed, defineComponent, PropType, ref } from \"vue\";\nimport { RightOutlined } from \"@ant-design/icons-vue\";\nimport useDealerSetting from \"@/hooks/payment/bu/useDealerSetting\";\nimport useStripedRowClass from \"@/utils/payment/useStripedRowClass\";\nimport { ItemProps } from \"./type\";\nimport { toThousandsAndTwoDecimal } from '@/utils/payment/numberFormat'\ntype PropsDataType = { [key: string]: ItemProps[] };\nexport default defineComponent({\n name: \"App\",\n props: {\n data: {\n type: Object as PropType,\n defalut: [],\n },\n column: {\n type: Array,\n },\n type: {\n type: String,\n default: \"risk\",\n },\n },\n setup(props) {\n const activeKey = ref(\"0\");\n // 斑马纹\n const getRowClass = useStripedRowClass();\n const _data = computed(() => {\n const data = props.data ? props.data : [];\n const arr = [];\n for (const key in data) {\n // if (key !== \"NORMAL\" && key !== \"totalAmountWOVat\" && key !== \"totalAmountWVat\") {\n if (\n key !== \"totalAmountWOVat\" &&\n key !== \"totalAmountWVat\"\n ) {\n arr.push({\n name: key,\n data: data[key],\n });\n }\n }\n console.log(props.type, arr);\n return arr;\n });\n return {\n getRowClass,\n activeKey,\n _data,\n toThousandsAndTwoDecimal\n };\n },\n components: {\n RightOutlined,\n },\n});\n","import { render } from \"./collapseTable.vue?vue&type=template&id=26ed40be&scoped=true&ts=true\"\nimport script from \"./collapseTable.vue?vue&type=script&lang=ts\"\nexport * from \"./collapseTable.vue?vue&type=script&lang=ts\"\n\nimport \"./collapseTable.vue?vue&type=style&index=0&id=26ed40be&scoped=true&lang=scss\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-26ed40be\"]])\n\nexport default __exports__","import { computed, onMounted, reactive, ref, toRaw } from \"vue\";\nimport moment from \"moment\";\nimport useThousandsAndTwoDecimal from \"@/utils/payment/useThousandsAndTwoDecimal\";\nimport {\n getDealerPayoutCondition,\n getRoundListByDate,\n fetchListDealerSetting,\n saveConditionDealerStatus,\n deleteCondition,\n conditionAllDealerStatus,\n fetchListDealerSettingForTracking,\n} from \"@/API/payment\";\nimport { message } from \"ant-design-vue\";\nimport useStripedRowClass from \"@/utils/payment/useStripedRowClass\";\nimport { DataProps } from \"@/views/Payment/Controlling/Dealer/DealerStatusTracking/type\";\nexport interface FavoriteTableData {\n id: string;\n year: string;\n month: string;\n payoutRound: string;\n entity: string;\n}\nconst useDealerStatusTracking = () => {\n const entityRef = ref();\n // 表头\n const column = ref([\n {\n title: \"Dealer Code\",\n dataIndex: \"dealerCode\",\n },\n {\n title: \"Dealer Name\",\n dataIndex: \"dealerNameCN\",\n },\n {\n title: \"Payout Amount w/o VAT\",\n dataIndex: \"amountWOVat\",\n width: 200,\n customRender: useThousandsAndTwoDecimal(),\n align: \"right\",\n },\n {\n title: \"Payout Amount w VAT\",\n dataIndex: \"amountWVat\",\n width: 200,\n customRender: useThousandsAndTwoDecimal(),\n align: \"right\",\n },\n {\n title: \"Payment Status\",\n dataIndex: \"paymentStatus\",\n },\n ]);\n // 查询条件\n const query = reactive({\n year: \"\",\n month: \"\",\n payoutRound: \"\",\n entity: \"MBCL\",\n dealerName: \"\",\n dealerCode: \"\",\n region: \"\",\n dealerGroup: \"\",\n });\n // 获取折叠面板表格数据\n const res = ref();\n const NormalDelearData = computed(() => {\n return res.value?.normalDealer;\n });\n const RiskDelearData = computed(() => {\n return res.value?.riskDealer;\n });\n // 查询round列表\n const roundRes = ref();\n const roundList = computed(() => {\n return roundRes.value ? roundRes.value : [];\n });\n const searchRound = () => {\n roundRes.value = null;\n query.payoutRound = \"\";\n return new Promise((resolve, reject) => {\n getRoundListByDate({\n params: {\n month: \"0\",\n year: \"0\",\n type: \"DEALER\",\n },\n }).then((res) => {\n roundRes.value = res;\n query.payoutRound = res[0];\n resolve(res);\n });\n });\n };\n const search = () => {\n fetchListDealerSettingForTracking(query.payoutRound, query.entity)\n .then((data) => {\n res.value = data;\n })\n .catch(() => {\n res.value = [];\n });\n // const _query = {\n // year: null,\n // month: null,\n // payoutRound: query.payoutRound,\n // entity: query.entity,\n // dealerName: null,\n // dealerCode: null,\n // region: null,\n // dealerGroup: null,\n // };\n // fetchListDealerSetting(toRaw(_query))\n // .then((data) => {\n // res.value = data;\n // })\n // .catch(() => {\n // res.value = [];\n // });\n };\n const initCondition = () => {\n return new Promise((resolve) => {\n getDealerPayoutCondition().then((res) => {\n query.month =\n res.year + \"-\" + (res.month > 10 ? res.month : \"0\" + res.month);\n query.year = res.year.toString();\n resolve(res);\n });\n });\n };\n onMounted(() => {\n console.log(\"onMounted\");\n initCondition().then(() => {\n searchRound().then(() => {\n search();\n });\n });\n });\n const reset = () => {\n roundRes.value = null;\n query.payoutRound = \"\";\n // entityRef.value.reset()\n initCondition().then(() => {\n searchRound().then(() => {\n search();\n });\n });\n };\n\n const isFavoriteVisible = ref(false);\n const saveFavorite = () => {\n const params = {\n year: moment(query.year).format(\"YYYY\"),\n month: moment(query.month).format(\"M\"),\n payoutRound: query.payoutRound,\n entity: query.entity,\n };\n saveConditionDealerStatus(params).then(() => {\n message.success(\"Sucessfully Saved!\");\n });\n };\n const favoriteColumns = ref([\n {\n title: \"Payout Year\",\n dataIndex: \"year\",\n },\n {\n title: \"Payout Month\",\n dataIndex: \"month\",\n },\n {\n title: \"Payout Round\",\n dataIndex: \"payoutRound\",\n },\n {\n title: \"Entity\",\n dataIndex: \"entity\",\n },\n {\n title: \"Operation\",\n key: \"operation\",\n slots: { customRender: \"action\" },\n },\n ]);\n const favoriteData = ref([]);\n const getFavoriteList = () => {\n conditionAllDealerStatus().then((data: any) => {\n favoriteData.value = data;\n });\n };\n const showFavorite = () => {\n isFavoriteVisible.value = true;\n getFavoriteList();\n };\n const closeFavorite = () => {\n isFavoriteVisible.value = false;\n };\n const customRow = (\n record: FavoriteTableData,\n index: number\n ): { onClick: Function } => {\n return {\n onClick: () => {\n query.year = record.year;\n query.month = record.month;\n query.payoutRound = record.payoutRound;\n query.entity = record.entity;\n closeFavorite();\n search();\n },\n };\n };\n const deleteFavorite = (record: FavoriteTableData) => {\n deleteCondition(record.id).then(() => {\n message.success(\"Sucessfully Delete!\");\n getFavoriteList();\n });\n };\n // 斑马纹\n const getRowClass = useStripedRowClass();\n return {\n search,\n reset,\n searchRound,\n query,\n column,\n NormalDelearData,\n RiskDelearData,\n entityRef,\n roundList,\n isFavoriteVisible,\n showFavorite,\n closeFavorite,\n saveFavorite,\n favoriteColumns,\n favoriteData,\n customRow,\n deleteFavorite,\n getRowClass,\n };\n};\nexport default useDealerStatusTracking;\n","\nimport { defineComponent, ref } from \"vue\";\nimport { RightOutlined } from \"@ant-design/icons-vue\";\nimport collapseTable from \"./collapseTable.vue\";\nimport useDealerStatusTracking from \"@/hooks/payment/PaymentTracking/useDealerStatusTrackingOverview\";\nimport { toThousandsAndTwoDecimal } from \"@/utils/payment/numberFormat\";\nimport EntitySelector from \"@/views/Payment/components/EntitySelector.vue\";\nexport default defineComponent({\n name: \"DealerSetting\",\n props: {},\n setup() {\n const activeKey = ref(\"1\");\n const {\n search,\n reset,\n searchRound,\n query,\n NormalDelearData,\n RiskDelearData,\n column,\n roundList,\n entityRef,\n isFavoriteVisible,\n showFavorite,\n closeFavorite,\n saveFavorite,\n favoriteColumns,\n favoriteData,\n customRow,\n deleteFavorite,\n getRowClass,\n } = useDealerStatusTracking();\n\n return {\n open,\n search,\n reset,\n searchRound,\n query,\n activeKey,\n entityRef,\n roundList,\n NormalDelearData,\n RiskDelearData,\n column,\n isFavoriteVisible,\n showFavorite,\n closeFavorite,\n saveFavorite,\n favoriteColumns,\n favoriteData,\n customRow,\n deleteFavorite,\n getRowClass,\n toThousandsAndTwoDecimal,\n };\n },\n components: {\n RightOutlined,\n collapseTable,\n EntitySelector\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=f3f8a4dc&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=f3f8a4dc&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-f3f8a4dc\"]])\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!./collapseTable.vue?vue&type=style&index=0&id=26ed40be&scoped=true&lang=scss\"","const useStripedRowClass = () => {\n return (record: T, index: number) => {\n if (index % 2 === 1) {\n return \"table-striped\";\n } else {\n return null;\n }\n };\n};\nexport default useStripedRowClass;\n","/*\n * @Author: hanxi\n * @Date: 2021-06-08 15:27:45\n * @Description: 千分位符处理,处理后的数字保留两位小数\n */\nexport const toThousandsAndTwoDecimal = (count: number | string): string => {\n if (count === undefined || count === null) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count;\n } else {\n return count + \".00\";\n }\n }\n count = Number(count);\n }\n count = count.toFixed(2);\n return count\n .toString()\n .replace(/(\\d)(?=(\\d{3})+\\.)/g, function($0, $1) {\n return $1 + \",\";\n })\n .replace(/\\.$/, \"\");\n};\n\nexport const toThousands = (count: number | string): string => {\n if (count === undefined) {\n return \"\";\n }\n if (typeof count === \"string\") {\n if (count.indexOf(\",\") !== -1) {\n if (count.indexOf(\".\") !== -1) {\n return count.substring(0, count.indexOf(\".\") + 1)\n } else {\n return count;\n }\n }\n count = Number(count);\n }\n count = Math.round(count)\n return count\n .toString()\n .replace(/(\\d)(?=(?:\\d{3})+$)/g,'$1,')\n};","import { h } from 'vue'\nimport { toThousandsAndTwoDecimal } from './numberFormat'\nconst useThousandsAndTwoDecimal = () => {\n return ({text}: {\n text: number | string;\n }) => {\n return h('span', toThousandsAndTwoDecimal(text));\n };\n };\n export default useThousandsAndTwoDecimal;\n "],"sourceRoot":""}