{"version":3,"sources":["webpack:///./src/views/Payment/components/TableWrapper.vue?cc43","webpack:///./src/views/Payment/components/TableWrapper.vue","webpack:///./src/views/Payment/components/TableWrapper.vue?6966","webpack:///./src/views/Payment/DealerBreakdown/index.vue?34b0","webpack:///./src/views/Payment/DealerBreakdown/index.vue?9390","webpack:///./src/hooks/payment/DealerBreakdown/useBreakdown.ts","webpack:///./src/views/Payment/DealerBreakdown/index.vue","webpack:///./src/views/Payment/DealerBreakdown/index.vue?037c","webpack:///./src/views/Payment/components/TableWrapper.vue?058f","webpack:///./src/assets/images/claim/rect.png"],"names":["render","_ctx","_cache","$props","$setup","$data","$options","class","isPagination","$slots","tableHeight","tableSize","height","bottomHeight","undefined","name","props","type","Boolean","default","Number","setup","__exports__","_withScopeId","n","_hoisted_1","_hoisted_2","_hoisted_3","style","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","src","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","key","_component_Breadcrumb","_component_a_select_option","_component_a_select","_component_a_button","_component_a_table","_component_table_wrapper","_component_a_pagination","dataSource","allowClear","placeholder","value","payoutRound","$event","payoutRoundList","item","payoutRoundCN","_","$btnPermissions","onClick","reset","search","slotProps","scroll","y","data","columns","column","rowKey","pagination","rowClassName","getRowClass","source","record","entityList","index","length","operation","handleClick","total","onChange","pageChange","onShowSizeChange","sizeChange","pageSize","current","pageNumber","pageSizeOptions","buildOptionText","useBreakdown","title","dataIndex","width","slots","customRender","align","res","content","_query","then","totalElements","getPayoutRoundList","Promise","resolve","reject","val","size","init","list","router","store","row","commit","push","path","components","TableWrapper","module","exports"],"mappings":"kIAEO,SAASA,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,yBAAc,gCAAoB,MAAO,CAC/CC,MAAO,4BAAgB,CAAC,wBAAyB,CAAC,WAAaN,EAAKO,iBACnE,CACD,wBAAYP,EAAKQ,O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AwH,EAAOC,QAAU,sT","file":"js/chunk-3ea06c10.2d7fd898.js","sourcesContent":["import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"payment-table-wrapper\", {'pagination':_ctx.isPagination}])\n }, [\n _renderSlot(_ctx.$slots, \"default\", {\n tableHeight: _ctx.tableSize.height - (_ctx.isPagination ? _ctx.bottomHeight + 40 : _ctx.bottomHeight)\n }, undefined, true)\n ], 2))\n}","\nimport { defineComponent } from \"vue\";\nimport { elementSize } from \"@/utils\";\nexport default defineComponent({\n name: \"TableWrapper\",\n props: {\n isPagination: {\n type: Boolean,\n default: false\n },\n bottomHeight: {\n type: Number,\n default: 40\n }\n },\n setup() {\n const tableSize = elementSize(\".payment-table-wrapper\");\n return {\n tableSize,\n };\n },\n});\n","import { render } from \"./TableWrapper.vue?vue&type=template&id=ca3a3046&scoped=true&ts=true\"\nimport script from \"./TableWrapper.vue?vue&type=script&lang=ts\"\nexport * from \"./TableWrapper.vue?vue&type=script&lang=ts\"\n\nimport \"./TableWrapper.vue?vue&type=style&index=0&id=ca3a3046&lang=scss&scoped=true\"\n\nimport exportComponent from \"/app/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca3a3046\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=183d8d20&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, 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-183d8d20\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-container\" }\nconst _hoisted_2 = { class: \"payment-overview-block-wrapper flex-wrapper flex-height\" }\nconst _hoisted_3 = {\n class: \"payment-overview-block\",\n style: {\"margin-bottom\":\"10px\"}\n}\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\" }, \" 付款轮次 \", -1))\nconst _hoisted_8 = { class: \"search-btn\" }\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" 重置 \")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\" 查询 \")\nconst _hoisted_11 = { class: \"payment-overview-block flex-wrapper flex-height\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"content-header\" }, [\n /*#__PURE__*/_createElementVNode(\"section\", { class: \"page-title\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { class: \"wrap-title\" }, \"经销商付款准备文件\")\n ])\n], -1))\nconst _hoisted_13 = { class: \"source-wrapper\" }\nconst _hoisted_14 = { class: \"split\" }\nconst _hoisted_15 = [\"onClick\"]\nconst _hoisted_16 = {\n key: 0,\n class: \"pagination-container d-f justify-e\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Breadcrumb = _resolveComponent(\"Breadcrumb\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_table_wrapper = _resolveComponent(\"table-wrapper\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\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 class: \"sel-inp-size\",\n placeholder: \"请选择付款轮次\",\n value: _ctx.payoutRound,\n \"onUpdate:value\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.payoutRound) = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.payoutRoundList, (item) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: item.payoutRound,\n value: item.payoutRound\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.payoutRoundCN), 1)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(4, (n) => {\n return _createElementVNode(\"div\", {\n key: n,\n class: \"search-item\"\n })\n }), 64))\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.$btnPermissions('DB0001'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n style: {\"margin-right\":\"15px\"},\n onClick: _ctx.reset\n }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('DB0002'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 1,\n type: \"primary\",\n onClick: _ctx.search\n }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_table_wrapper, { \"is-pagination\": _ctx.isPagination }, {\n default: _withCtx((slotProps) => [\n _createVNode(_component_a_table, {\n scroll: { y: slotProps.tableHeight },\n dataSource: _ctx.data,\n columns: _ctx.column,\n rowKey: \"id\",\n pagination: false,\n rowClassName: _ctx.getRowClass\n }, {\n source: _withCtx(({ record }) => [\n _createElementVNode(\"div\", _hoisted_13, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(record.entityList, (item, index) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: \"entity-item\",\n key: item\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(item), 1),\n _withDirectives(_createElementVNode(\"span\", _hoisted_14, \"|\", 512), [\n [_vShow, index !== record.entityList.length - 1]\n ])\n ]))\n }), 128))\n ])\n ]),\n operation: _withCtx(({record}) => [\n (_ctx.$btnPermissions('DB0003'))\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: \"link\",\n onClick: ($event: any) => (_ctx.handleClick(record))\n }, \"付款查询\", 8, _hoisted_15))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"scroll\", \"dataSource\", \"columns\", \"rowClassName\"])\n ]),\n _: 1\n }, 8, [\"is-pagination\"]),\n (_ctx.isPagination)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createVNode(_component_a_pagination, {\n total: _ctx.total,\n \"show-size-changer\": \"\",\n \"show-total\": (total) => `共 ${total} 条`,\n onChange: _ctx.pageChange,\n onShowSizeChange: _ctx.sizeChange,\n pageSize: _ctx.pageSize,\n \"onUpdate:pageSize\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.pageSize) = $event)),\n current: _ctx.pageNumber,\n \"onUpdate:current\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.pageNumber) = $event)),\n pageSizeOptions: ['10', '20', '30', '40', '50']\n }, {\n buildOptionText: _withCtx((props) => [\n _createElementVNode(\"span\", null, _toDisplayString(props.value) + \"条/页\", 1)\n ]),\n _: 1\n }, 8, [\"total\", \"show-total\", \"onChange\", \"onShowSizeChange\", \"pageSize\", \"current\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","import { reactive, ref, computed, toRaw } from \"vue\";\nimport { getDealerApproveRoundNameCN, dealerBreakdownList } from '@/API/payment'\n\nconst useBreakdown = () => {\n const column = ref([\n {\n title: \"付款轮次\",\n dataIndex: \"payoutRoundCN\",\n width: 100\n },\n // {\n // title: \"区域\",\n // dataIndex: \"region\",\n // width: 60\n // },\n {\n title: \"经销商编码\",\n dataIndex: \"dealerCode\",\n width: 100\n },\n {\n title: \"经销商名称(英文)\",\n dataIndex: \"dealerNameEn\",\n },\n {\n title: \"经销商名称(中文)\",\n dataIndex: \"dealerNameCn\",\n },\n {\n title: \"批发来源\",\n slots: {\n customRender: 'source'\n },\n width: 335\n },\n {\n title: \"操作\",\n slots: {\n customRender: 'operation'\n },\n align: 'center',\n width: 100\n },\n ]);\n // 分页\n const pagination = reactive({\n total: 0,\n pageNumber: 1,\n pageSize: 10,\n });\n const payoutRound = ref(null)\n // 表格列表查询\n const res = ref();\n const data = computed(() => {\n return res.value?.content;\n });\n const search = () => {\n const _query = {\n pageNumber: pagination.pageNumber,\n pageSize: pagination.pageSize,\n payoutRound: payoutRound.value\n }\n // useMock(Data, _query).then((data) => {\n // res.value = data;\n // });\n dealerBreakdownList(_query).then((data) => {\n pagination.total = data.totalElements\n res.value = data;\n })\n };\n const payoutRoundList = ref()\n // const payoutRoundList = computed(() => {\n // return payoutRoundRes.value?.payoutRound\n // })\n const getPayoutRoundList = () => {\n return new Promise((resolve, reject) => {\n getDealerApproveRoundNameCN().then((res) => {\n payoutRoundList.value = res\n resolve(payoutRoundList.value)\n })\n })\n }\n const reset = () => {\n payoutRound.value = null\n pagination.pageNumber = 1\n pagination.pageSize = 10\n search()\n }\n // 分页事件\n const pageChange = (val: number) => {\n pagination.pageNumber = val;\n search();\n };\n const sizeChange = (current: number, size: number) => {\n pagination.pageSize = size;\n search();\n };\n return {\n search,\n reset,\n data,\n column,\n pagination,\n pageChange,\n sizeChange,\n payoutRound,\n getPayoutRoundList,\n payoutRoundList\n };\n};\nexport default useBreakdown;\n","\nimport { defineComponent, toRefs } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useStore } from \"vuex\";\nimport { ExportOutlined } from \"@ant-design/icons-vue\";\nimport TableWrapper from \"../components/TableWrapper.vue\";\nimport useBreakdown from \"@/hooks/payment/DealerBreakdown/useBreakdown\";\nexport default defineComponent({\n name: \"App\",\n props: {},\n setup() {\n const {\n column,\n search,\n reset,\n data,\n pagination,\n pageChange,\n sizeChange,\n getPayoutRoundList,\n payoutRoundList,\n payoutRound,\n } = useBreakdown();\n const init = async () => {\n const list: any = await getPayoutRoundList()\n payoutRound.value = list[0].payoutRound\n search();\n };\n init();\n const router = useRouter();\n const store = useStore();\n const handleClick = (row: unknown) => {\n store.commit(\"payment/updateBreakdown\", row);\n router.push({\n path: \"/DealerBreakdown/Detail\",\n });\n };\n return {\n search,\n reset,\n column,\n data,\n payoutRoundList,\n payoutRound,\n handleClick,\n ...toRefs(pagination),\n pageChange,\n sizeChange,\n isPagination: true,\n };\n },\n components: {\n TableWrapper,\n // ExportOutlined,\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=183d8d20&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=183d8d20&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-183d8d20\"]])\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!./TableWrapper.vue?vue&type=style&index=0&id=ca3a3046&lang=scss&scoped=true\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAA6ADAAQAAAABAAAAEAAAAABTVpExAAAARklEQVQIHWNgWPf+GcO6Dx0MV/+zsTD8Z5BkYPhfznDzIwMTAxz8j0NwgCoQHKAK+nMYGZ4jWcq4iIUBKMLAwLiIQZ2/DgAi2RE9IOkxIAAAAABJRU5ErkJggg==\""],"sourceRoot":""}