{"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/views/Payment/Controlling/Dealer/DealerStatusTracking/index.vue?042b","webpack:///./src/views/Payment/Controlling/Dealer/DealerStatusTracking/collapseTable.vue?dbd9","webpack:///./src/views/Payment/Controlling/Dealer/DealerStatusTracking/index.vue?efd9","webpack:///./src/views/Payment/Controlling/Dealer/DealerStatusTracking/collapseTable.vue?4201","webpack:///./src/views/Payment/Controlling/Dealer/DealerStatusTracking/collapseTable.vue","webpack:///./src/views/Payment/Controlling/Dealer/DealerStatusTracking/collapseTable.vue?9167","webpack:///./src/hooks/payment/controlling/Dealer/DealerStatusTracking/useDealerStatusTracking.ts","webpack:///./src/views/Payment/Controlling/Dealer/DealerStatusTracking/index.vue","webpack:///./src/views/Payment/Controlling/Dealer/DealerStatusTracking/index.vue?a8cc","webpack:///./src/assets/images/claim/rect.png","webpack:///./src/views/Payment/components/YearPicker.vue?b314","webpack:///./src/views/Payment/components/YearPicker.vue","webpack:///./src/views/Payment/components/YearPicker.vue?5fcf","webpack:///./src/hooks/useModel.ts","webpack:///./src/utils/payment/useStripedRowClass.ts","webpack:///./src/utils/payment/numberFormat.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","src","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","alt","_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","style","_hoisted_25","_hoisted_26","_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","_component_YearPicker","_component_a_month_picker","_component_entity_selector","_component_a_button","_component_RightOutlined","_component_collapse_table","_component_a_collapse_panel","_component_a_collapse","_component_a_table","_component_a_drawer","query","year","allowClear","onPanelChange","searchRound","month","format","onChange","suffixIcon","payoutRound","roundList","item","ref","onClick","search","handleDownload","args","showFavorite","saveFavorite","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","dealerName","dealerCode","region","dealerGroup","res","normalDealer","riskDealer","roundRes","params","then","_query","initCondition","Promise","resolve","message","success","slots","getFavoriteList","id","url","method","downloadFile","catch","warning","open","collapseTable","YearPicker","EntitySelector","_component_a_date_picker","mode","yearValue","isOpen","onOpenChange","handleOpenChange","handlePanelChange","emits","context","get","set","emit","status","val","count","undefined","indexOf","Number","toFixed","replace","$0","$1","toThousands","substring","Math","round","text"],"mappings":"qGAAAA,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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AAoB,CAC7B,IAA4B,IAAxBA,EAAME,QAAQ,KAChB,OAA4B,IAAxBF,EAAME,QAAQ,KACTF,EAEAA,EAAQ,MAGnBA,EAAQG,OAAOH,GAGjB,OADAA,EAAQA,EAAMI,QAAQ,GACfJ,EACJhE,WACAqE,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,EACJhE,WACAqE,QAAQ,uBAAuB,S,kCC7CpC,4BAEMjD,EAA4B,WAC9B,OAAO,SAAC,G,IAACwD,EAAI,OAGT,OAAO,eAAE,OAAQ,eAAyBA,MAGjC","file":"js/chunk-14bfe527.3f887c5e.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__","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=1484629a&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!./collapseTable.vue?vue&type=style&index=0&id=e31c06f2&scoped=true&lang=scss\"","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createBlock as _createBlock, normalizeClass as _normalizeClass, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/claim/rect.png'\nimport _imports_1 from '@/assets/images/date-icon.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1484629a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container m-8 bg-fff\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { class: \"wrap-title\" }, \"Dealer Status Tracking\")\n], -1))\nconst _hoisted_3 = { class: \"payment-overview-block-wrapper\" }\nconst _hoisted_4 = { class: \"payment-overview-block\" }\nconst _hoisted_5 = { class: \"payment-search-wrapper\" }\nconst _hoisted_6 = { class: \"payment-search-row\" }\nconst _hoisted_7 = { class: \"search-item\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Year \", -1))\nconst _hoisted_9 = { class: \"search-item\" }\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Month \", -1))\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"\"\n}, null, -1))\nconst _hoisted_12 = { class: \"search-item\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Payout Round \", -1))\nconst _hoisted_14 = { class: \"search-item\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"label\" }, \" Entity \", -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"search-item\" }, null, -1))\nconst _hoisted_17 = { class: \"search-btn\" }\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\" Reset \")\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" Search \")\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_21 = { class: \"payment-overview-block\" }\nconst _hoisted_22 = { class: \"control-wrapper\" }\nconst _hoisted_23 = { class: \"collapse-wrapper\" }\nconst _hoisted_24 = {\n class: \"collapse-icon-wrapper\",\n style: {\"padding\":\"5px\",\"background\":\"white\",\"border-radius\":\"20px\"}\n}\nconst _hoisted_25 = { class: \"collapse-header-wrapper\" }\nconst _hoisted_26 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"collapse-header-title\" }, \" Risk Dealer \", -1))\nconst _hoisted_27 = { class: \"collapse-header-data\" }\nconst _hoisted_28 = { class: \"collapse-header-data-item\" }\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w/o VAT \", -1))\nconst _hoisted_30 = { class: \"collapse-header-data-item\" }\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w VAT \", -1))\nconst _hoisted_32 = { class: \"collapse-header-wrapper\" }\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"collapse-header-title\" }, \" Normal Dealer \", -1))\nconst _hoisted_34 = { class: \"collapse-header-data\" }\nconst _hoisted_35 = { class: \"collapse-header-data-item\" }\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w/o VAT \", -1))\nconst _hoisted_37 = { class: \"collapse-header-data-item\" }\nconst _hoisted_38 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light-color count-title\" }, \" Total Amount w VAT \", -1))\nconst _hoisted_39 = [\"onClick\"]\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_month_picker = _resolveComponent(\"a-month-picker\")!\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 _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createVNode(_component_YearPicker, {\n value: _ctx.query.year,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.query.year) = $event)),\n class: \"sel-inp-size\",\n allowClear: false,\n placeholder: \"Please select\",\n onPanelChange: _cache[1] || (_cache[1] = () => _ctx.searchRound())\n }, null, 8, [\"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _hoisted_10,\n _createVNode(_component_a_month_picker, {\n value: _ctx.query.month,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.query.month) = $event)),\n placeholder: \"Please select\",\n format: \"MMM\",\n class: \"sel-inp-size\",\n allowClear: false,\n onChange: _ctx.searchRound\n }, {\n suffixIcon: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }, 8, [\"value\", \"onChange\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createVNode(_component_a_select, {\n allowClear: \"\",\n value: _ctx.query.payoutRound,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($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_14, [\n _hoisted_15,\n _createVNode(_component_entity_selector, {\n value: _ctx.query.entity,\n \"onUpdate:value\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.query.entity) = $event)),\n ref: \"entityRef\",\n isDefault: true\n }, null, 8, [\"value\"])\n ]),\n _hoisted_16\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_a_button, {\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.reset\n }, {\n default: _withCtx(() => [\n _hoisted_18\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_a_button, {\n type: \"primary\",\n onClick: _ctx.search\n }, {\n default: _withCtx(() => [\n _hoisted_19\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _hoisted_20\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font_family icon-xiazai m-l-20\", {'disabled': !_ctx.query.payoutRound}]),\n style: {\"font-size\":\"24px\"},\n onClick: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.handleDownload && _ctx.handleDownload(...args)))\n }, null, 2),\n _createElementVNode(\"span\", {\n class: \"font_family icon-shoucang m-l-20\",\n style: {\"font-size\":\"24px\"},\n onClick: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.showFavorite && _ctx.showFavorite(...args)))\n }),\n _createElementVNode(\"span\", {\n class: \"font_family icon-shezhi m-l-20\",\n style: {\"font-size\":\"24px\"},\n onClick: _cache[7] || (_cache[7] = \n//@ts-ignore\n(...args) => (_ctx.saveFavorite && _ctx.saveFavorite(...args)))\n })\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_a_collapse, {\n activeKey: _ctx.activeKey,\n \"onUpdate:activeKey\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.activeKey) = $event)),\n expandIconPosition: \"right\"\n }, {\n expandIcon: _withCtx(({ isActive }) => [\n _createElementVNode(\"span\", _hoisted_24, [\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_25, [\n _hoisted_26,\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.NormalDelearData\n ? _ctx.toThousandsAndTwoDecimal(\n _ctx.RiskDelearData?.totalAmountWOVat\n )\n : 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\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_32, [\n _hoisted_33,\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"div\", _hoisted_35, [\n _hoisted_36,\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.NormalDelearData\n ? _ctx.toThousandsAndTwoDecimal(\n _ctx.NormalDelearData?.totalAmountWOVat\n )\n : 0), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_37, [\n _hoisted_38,\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_39)\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-e31c06f2\"),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=e31c06f2&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=e31c06f2&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-e31c06f2\"]])\n\nexport default __exports__","import { computed, onMounted, reactive, ref, toRaw } from \"vue\";\nimport moment from 'moment'\nimport useThousandsAndTwoDecimal from \"@/utils/payment/useThousandsAndTwoDecimal\";\nimport { getDealerPayoutCondition,\n getRoundListByDate,fetchListDealerSetting,\n saveConditionDealerStatus, deleteCondition, conditionAllDealerStatus } 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: moment(),\n payoutRound: \"\",\n entity: \"\",\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 getRoundListByDate({\n params: {\n month: moment(query.month).format(\"M\"),\n year: moment(query.year).format(\"YYYY\"),\n type: \"DEALER\",\n },\n }).then((res) => {\n roundRes.value = res;\n });\n };\n const activeKey = ref([]);\n const search = () => {\n const _query = {...toRaw(query)} as any\n _query.month = query.month.format(\"M\")\n _query.year = moment(query.year).format(\"YYYY\")\n console.log(toRaw(_query))\n fetchListDealerSetting(toRaw(_query)).then((data) => {\n res.value = data;\n activeKey.value = []\n if (data.riskDealer !== '') {\n activeKey.value.push('1')\n } \n if (data.normalDealer !== '') {\n activeKey.value.push('2')\n }\n })\n };\n const initCondition = () => {\n return new Promise((resolve) => {\n getDealerPayoutCondition().then((res) => {\n query.month = moment().year(res.year).month(res.month-1)\n query.year = res.year.toString();\n resolve(res);\n });\n });\n };\n onMounted(() => {\n // console.log('onMounted')\n initCondition().then(() => {\n searchRound()\n search();\n });\n });\n const reset = () => {\n roundRes.value = null\n query.payoutRound = ''\n entityRef.value.reset()\n initCondition().then(() => {\n searchRound()\n search();\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 = (record: FavoriteTableData, index: number): { 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 roundList,\n isFavoriteVisible,\n showFavorite,\n closeFavorite,\n saveFavorite,\n favoriteColumns,\n favoriteData,\n // customRow,\n deleteFavorite,\n getRowClass,\n entityRef,\n activeKey\n };\n};\nexport default useDealerStatusTracking;\n","\nimport { defineComponent, ref } from \"vue\";\nimport { RightOutlined } from \"@ant-design/icons-vue\";\nimport YearPicker from \"@/views/Payment/components/YearPicker.vue\";\nimport collapseTable from \"./collapseTable.vue\";\nimport useDealerStatusTracking from \"@/hooks/payment/controlling/Dealer/DealerStatusTracking/useDealerStatusTracking\";\nimport EntitySelector from \"@/views/Payment/components/EntitySelector.vue\";\nimport downloadFile from \"@/utils/payment/downloadFile\";\nimport { toThousandsAndTwoDecimal } from \"@/utils/payment/numberFormat\";\nimport { message } from \"ant-design-vue\";\nexport default defineComponent({\n name: \"DealerSetting\",\n props: {},\n setup() {\n // const { search, reset, searchRound, query,\n // NormalDelearData, RiskDelearData, column,\n // roundList,\n // isFavoriteVisible, showFavorite, closeFavorite, saveFavorite,\n // favoriteColumns, favoriteData, customRow, deleteFavorite, getRowClass, entityRef, activeKey } = useDealerStatusTracking();\n const {\n search,\n reset,\n searchRound,\n query,\n NormalDelearData,\n RiskDelearData,\n column,\n roundList,\n isFavoriteVisible,\n showFavorite,\n closeFavorite,\n saveFavorite,\n favoriteColumns,\n favoriteData,\n deleteFavorite,\n getRowClass,\n entityRef,\n activeKey,\n } = useDealerStatusTracking();\n\n const handleDownload = () => {\n if (!query.payoutRound) {\n return false;\n }\n const params = {\n url: `/ptapi/overview/trackingLogic1/${query.payoutRound}/''/''`,\n method: \"get\",\n };\n downloadFile(params).catch((res) => {\n if (res.message) {\n message.warning(res.message);\n } else {\n message.warning(res);\n }\n });\n };\n\n return {\n open,\n search,\n reset,\n searchRound,\n query,\n activeKey,\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 entityRef,\n handleDownload,\n toThousandsAndTwoDecimal\n };\n },\n components: {\n RightOutlined,\n collapseTable,\n YearPicker,\n EntitySelector,\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=1484629a&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=1484629a&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-1484629a\"]])\n\nexport default __exports__","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAA6ADAAQAAAABAAAAEAAAAABTVpExAAAARklEQVQIHWNgWPf+GcO6Dx0MV/+zsTD8Z5BkYPhfznDzIwMTAxz8j0NwgCoQHKAK+nMYGZ4jWcq4iIUBKMLAwLiIQZ2/DgAi2RE9IOkxIAAAAABJRU5ErkJggg==\"","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","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":""}