{"version":3,"sources":["webpack:///./src/assets/images/rv/upload.svg","webpack:///./src/views/Payment/FlRt/index.vue?a4f9","webpack:///./src/utils/rv/downloadFile.ts","webpack:///./src/hooks/payment/useWithdrawStatusEnable.ts","webpack:///./src/assets/images/rv/rect.png","webpack:///./src/views/Payment/components/ApproveSteps.vue?a619","webpack:///./src/views/Payment/components/ApproveSteps.vue?c775","webpack:///./src/views/Payment/components/ApproveSteps.vue","webpack:///./src/views/Payment/components/ApproveSteps.vue?d789","webpack:///./src/views/Payment/FlRt/uploadDetail.vue?b889","webpack:///./src/hooks/payment/useMBAFCOverview.ts","webpack:///./src/hooks/useModel.ts","webpack:///./src/utils/payment/getColumnWidth.ts","webpack:///./src/views/Payment/FlRt/index.vue?1b3b","webpack:///./src/views/Payment/FlRt/uploadDetail.vue?ae67","webpack:///./src/views/Payment/FlRt/uploadDetail.vue","webpack:///./src/views/Payment/FlRt/uploadDetail.vue?f3fd","webpack:///./src/views/Payment/FlRt/index.vue","webpack:///./src/views/Payment/FlRt/index.vue?3a74"],"names":["module","exports","options","url","method","params","fileName","config","responseType","Promise","resolve","reject","then","res","blob","Blob","data","type","downloadElement","document","createElement","href","window","URL","createObjectURL","download","Date","now","toString","body","appendChild","click","removeChild","revokeObjectURL","catch","error","console","log","useWithdrawStatusEnable","rows","arr","flag","value","every","item","indexOf","status","_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","key","_hoisted_7","_hoisted_8","render","_ctx","_cache","$props","$setup","$data","$options","name","default","approvalChain","i","index","noOperation","includes","approvalStatus","sequenceIndex","roleUsers","role","withdraw","operation","getStatusMappingClass","roleName","approvalTime","substr","userName","comment","pendingApproval","_","onClick","toggleOpen","args","isOpenSteps","props","visible","Boolean","Array","setup","useModel","__exports__","useMBAFCOverview","store","state","selectedRowKeys","selectedRows","year","payoutRound","pageNumber","pageSize","isOpen","activeKey","tableData","total","attachmentData","showFailFlag","batchQuery","batchQueryTitle","batchQueryModal","columns","title","dataIndex","width","className","align","fixed","slots","customRender","initSelectedDataForS","pictureModal","pictureModalFlag","pictureModalTitle","pictureModalImg","queryParams","getTableData","userId","user","usrid","myContent","content","map","vinNo","replace","totalElements","size","getMBAFCInitSelectedDataForSearch","statusTemp","statusR","statusObj","Object","assign","yearRes","length","getPayountRoundByYearForSearch","legalEntity","entityName","filter","getUploadFileData","id","paymentId","downloadImg","imgUrl","navigator","msSaveOrOpenBlob","bstr","atob","split","u8arr","Uint8Array","charCodeAt","a","setAttribute","resetParam","mulSearchEvent","rowSelection","selectedRowData","overviewSerachEvent","str","licenseEvent","invoiceEvent","pageChange","page","rowSeclection","sizeChange","handleClick","event","stopPropagation","handleActiveKey","downloadFilesClick","approveList","approveVisible","approveClick","record","approvalType","payoutCodeId","payoutType","code","nodeList","message","emit","get","set","val","getColumnWidth","column","forEach","clientWidth","src","style","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_component_Breadcrumb","_component_ApproveSteps","_component_a_select_option","_component_a_select","_component_a_space","_component_a_button","_component_a_tooltip","_component_a_table","_component_a_pagination","_component_upload_detail","_component_a_modal","_component_a_textarea","dataSource","$event","direction","yr","allowClear","stus","$btnPermissions","onWithdraw","onSubmit","onDelete","scroll","x","tableWidth","y","tableHeight","pagination","rowKey","rowClassName","action","uploadHandle","onChange","handlePageChange","onShowSizeChange","handleSizeChange","current","pageSizeOptions","buildOptionText","onListChange","isUploadVisible","payoutCode","round","payStatus","statusToUpload","onCloseUploadVisible","closeUpload","deleteModalVisible","centered","footer","onDeleteConfirm","withdrawModalVisible","onWithdrawConfirm","withdrawInstructions","placeholder","submitModalVisible","onSubmitConfirm","_component_a_upload_dragger","_component_a_drawer","closable","modal","curRole","onClose","close","multiple","showUploadList","remove","handleRemove","beforeUpload","fileList","disabled","loading","uploading","submitFile","attachmentColumns","myAttachmentData","bordered","deleteAttachment","downloadAttachment","emits","required","String","context","isLt5M","uploadComplete","roleVal","file","push","payment","maxFileSize","newFileList","slice","splice","formData","FormData","warning","maxFileCount","isMore5m","append","originFileObj","sessionStorage","setItem","info","fileId","downloadFile","entityArray","innerHeight","components","UploadDetail","ApproveSteps","isDetailVisible","entityData","columnWidth","hasSelected","newVal","immediate","param","withdrawReason","success","isSubVisible","isInvoice","isLicense","selectInfo","isBatchVisible","batchActiveKey","modalVisible","modalData","noticeType","btnVisible","textContentNo","textNoArray","textChangEvent","concat","dom","getElementsByClassName","height","scrollHeight","scrollTop","onSelectChange","closeModal","isVisible","fulnm","closeBatch","isSuccess","getModalInfo","batchQueryEvent","editEvent","recallEvent","exportResult","detailEvent","entity","closeDetail","closeFailReason"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,2B,6DCA3C,W,oCCAA,yBAEe,gBAACC,GACJ,IAAAC,EAA0CD,EAAO,IAA5C,EAAqCA,EAAO,OAA5CE,OAAM,IAAG,QAAK,EAAEC,EAAqBH,EAAO,OAApBI,EAAaJ,EAAO,SACnDK,EAAc,CAChBJ,IAAKA,EACLC,OAAM,EACNI,aAAc,QAOlB,MALe,QAAXJ,EACAG,EAAO,UAAYF,EAEnBE,EAAO,QAAUF,EAEd,IAAII,SAAQ,SAACC,EAASC,GACzB,IAAMJ,GAAQK,MAAK,SAACC,GAEhB,IAAMC,EAAO,IAAIC,KAAK,CAACF,EAAIG,MAAO,CAAEC,KAAM,0CACpCC,EAAkBC,SAASC,cAAc,KACzCC,EAAOC,OAAOC,IAAIC,gBAAgBV,GACxCI,EAAgBG,KAAOA,EAEvBH,EAAgBO,SAAYnB,GAAWoB,KAAKC,MAAMC,WAClDT,SAASU,KAAKC,YAAYZ,GAC1BA,EAAgBa,QAChBZ,SAASU,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EACXG,gBAAe,GACZ,oBAAOvE,IACP,oBAAOiB,IACP,oBAAO9B,IACP,oBAAO0B,IAAa,CACvBD,qBAAoB,EACpBhB,UAAS,EACTE,eAAc,EACd8D,oBAAmB,EACnBH,eAAc,EACdsK,YAAW,GACXlO,MAAK,EACLmE,WAAU,EACVG,WAAU,EACVlD,YAAW,EACXyP,aAAY,GACZF,UAAS,GACTC,YAAW,GACXE,YAAW,GACXvC,gBAAe,EACfyC,YAAW,GACXC,gBAAe,GACfzC,WAAU,EAEVvK,aAAY,EACZC,aAAY,EACZnB,YAAW,EACX2L,YAAW,EAEXyB,eAAc,GACdnB,aAAY,GACZC,UAAS,GACTC,UAAS,GACTC,WAAU,GACVlG,WAAU,GACVE,YAAW,GACXnH,kCAAiC,EACjCiI,gBAAe,EACfT,aAAY,EACZe,YAAW,EAEXO,qBAAoB,EACpBF,qBAAoB,EACpBJ,mBAAkB,EAClBd,iBAAgB,EAChBE,iBAAgB,EAChBd,SAAQ,GACR6B,gBAAe,GACf9B,SAAQ,EACRD,WAAU,EACViC,kBAAiB,EACjByE,aAAY,GACZC,UAAS,GACThW,OAAM,GACNkX,aAAY,GACZL,WAAU,GACVhB,eAAc,GACdmB,WAAU,GACVlB,eAAc,GACdqB,gBAAe,GACfhB,cAAa,GACbE,eAAc,GACdD,YAAW,GACXxF,MAAK,EACLhF,KAAI,EACJrC,UAAS,EACTuH,eAAc,EACdW,mBAAkB,EAClBC,gBAAe,EACftG,mBAAkB,EAClBE,eAAc,EACdC,aAAY,EACZF,YAAW,O,UCzVjB,MAAM,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAS/H,GAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-6fac29ea.a5130104.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/upload.e4734716.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=6caa3860&lang=scss&scoped=true\"","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","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAA6ADAAQAAAABAAAAEAAAAABTVpExAAAARklEQVQIHWNgWPf+GcO6Dx0MV/+zsTD8Z5BkYPhfznDzIwMTAxz8j0NwgCoQHKAK+nMYGZ4jWcq4iIUBKMLAwLiIQZ2/DgAi2RE9IOkxIAAAAABJRU5ErkJggg==\"","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!./ApproveSteps.vue?vue&type=style&index=0&id=99aa8de8&scoped=true&lang=scss\"","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-99aa8de8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"steps-container m-t-8 bg-fff\" }\nconst _hoisted_2 = { class: \"steps-main\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"title sign-line-b\" }, \"Approval Path\", -1))\nconst _hoisted_4 = { class: \"steps\" }\nconst _hoisted_5 = { class: \"step-item-content\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = { key: 2 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_Transition, { name: \"fade\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.data, (approvalChain, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"d-f\",\n key: i\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(approvalChain, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"step-item\",\n key: index\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"step-item-icon d-f justify-c align-c\", [\n _ctx.noOperation.includes(item.approvalStatus)\n ? 'approve'\n : item.approvalStatus === 'approvaling'\n ? 'ongoing-approve'\n : '',\n ]])\n }, _toDisplayString(item.sequenceIndex), 3),\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.roleUsers, (role, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"step-item-description\", { withdraw: role.approvalStatus === 'withdraw' }]),\n key: index\n }, [\n (_ctx.operation.includes(role.approvalStatus))\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_6, _toDisplayString(role.approvalStatus), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"h2\", {\n class: _normalizeClass(_ctx.getStatusMappingClass(item, role))\n }, _toDisplayString(role.roleName), 3),\n _createElementVNode(\"p\", null, _toDisplayString(role.approvalTime ? role.approvalTime.substr(0, 10) : \"\") + \" \" + _toDisplayString(role.userName), 1),\n (role.comment)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_7, \"Comments: \" + _toDisplayString(role.comment), 1))\n : _createCommentVNode(\"\", true),\n (role.pendingApproval)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, \" Pending Approve : \" + _toDisplayString(role.pendingApproval +\n (role.pendingApproval > 1 ? \" days\" : \" day\")), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n }), 128))\n ])\n ]))\n }), 128))\n ]))\n }), 128))\n ])\n ])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", {\n class: \"icon-open bg-fff cursor-p\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.toggleOpen && _ctx.toggleOpen(...args)))\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font_family icon-xiangxia\", { 'icon-up': _ctx.isOpenSteps }])\n }, null, 2)\n ])\n ], 512)), [\n [_vShow, _ctx.isOpenSteps]\n ])\n}","\nimport { defineComponent, watch, ref } from \"vue\";\nimport useModel from \"@/hooks/useModel\";\n// import { ApproveNode, Role } from \"@/views/Approve/MgRoleApprove/PackageDetail/types\";\n\nexport default defineComponent({\n name: \"ApproveSteps\",\n props: {\n visible: {\n type: Boolean,\n default: false,\n },\n data: {\n type: Array,\n default() {\n return [];\n },\n },\n },\n setup(props) {\n interface Role {\n rowName: string;\n pendingApproval?: string | null;\n approvalStatus: string;\n approvalTime: string;\n comment: string;\n userName: string;\n }\n interface ApproveNode {\n approvalStatus: string;\n sequenceIndex: string;\n roleDtoList: Role[];\n }\n //是否展开\n const isOpenSteps = useModel(props, \"visible\");\n // watch(() => props.visible, newVal => {\n // isOpenSteps.value = newVal\n // })\n const toggleOpen = (): void => {\n isOpenSteps.value = !isOpenSteps.value;\n };\n //根据状态来获取对应的class\n const getStatusMappingClass = (data: ApproveNode, role: Role): string => {\n if (data.approvalStatus === \"approved\") {\n return \"approve\";\n }\n if (data.approvalStatus === \"approvaling\") {\n if (\n (role.userName || role.approvalTime || role.comment) &&\n role.approvalStatus === \"approved\"\n ) {\n return \"ongoing-approve-approved\";\n } else if (\n ((role.userName || role.approvalTime || role.comment) &&\n role.approvalStatus === \"approvaling\") ||\n role.pendingApproval\n ) {\n return \"ongoing-approve\";\n }\n }\n return \"\";\n };\n // 测试数据\n // const _data = ref([])\n // for (let i = 0; i < 5; i++) {\n // _data.value.push({\n // approvalStatus: \"approvaling\",\n // sequenceIndex: i+1,\n // roleUsers: [{\n // approvalStatus: \"approvaling\",\n // approvalTime: null,\n // comment: null,\n // pendingApproval: \"2\",\n // roleName: \"Finacingchenxu001\",\n // userName: \"chenxu1\",\n\n // }]\n // })\n // }\n return {\n isOpenSteps,\n toggleOpen,\n getStatusMappingClass,\n noOperation: [\"approved\", \"rejected\"],\n operation: [\"approved\", \"rejected\", \"withdraw\"]\n };\n },\n});\n","import { render } from \"./ApproveSteps.vue?vue&type=template&id=99aa8de8&scoped=true&ts=true\"\nimport script from \"./ApproveSteps.vue?vue&type=script&lang=ts\"\nexport * from \"./ApproveSteps.vue?vue&type=script&lang=ts\"\n\nimport \"./ApproveSteps.vue?vue&type=style&index=0&id=99aa8de8&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-99aa8de8\"]])\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!./uploadDetail.vue?vue&type=style&index=0&id=3000b15f&lang=scss&scoped=true\"","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 { computed, getCurrentInstance } from \"vue\";\n\nconst useModel = (props: any, name: string) => {\n const emit = getCurrentInstance()?.emit;\n return computed({\n get() {\n return props[name]\n },\n set(val) {\n if (emit) {\n emit(`update:${name}`, val)\n }\n },\n });\n};\nexport default useModel;\n","import { unref } from \"vue\";\nconst getColumnWidth = (column: any) => {\n let total = 0;\n unref(column).forEach((item: any) => {\n total += item.width;\n });\n if (total >= document.body.clientWidth - 260) {\n return total;\n } else {\n return null;\n }\n};\nexport default getColumnWidth;\n","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, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/rv/rect.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6caa3860\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"content\" }\nconst _hoisted_2 = { class: \"overview\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"section\", { class: \"top\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"rect\"\n }),\n /*#__PURE__*/_createElementVNode(\"strong\", { style: {\"font-size\":\"18px\"} }, \"Overview\")\n], -1))\nconst _hoisted_4 = { style: {\"margin-top\":\"16px\"} }\nconst _hoisted_5 = { class: \"condition-title\" }\nconst _hoisted_6 = { style: {\"padding-left\":\"16px\"} }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { style: {\"font-size\":\"12px\"} }, \"Year\", -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { style: {\"font-size\":\"12px\"} }, \"Payout round\", -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { style: {\"font-size\":\"12px\"} }, \"Payout Status\", -1))\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { style: {\"height\":\"23px\"} }, null, -1))\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\"Search\")\nconst _hoisted_12 = { style: {\"margin-right\":\"16px\"} }\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\"Download Payout Files\")\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Withdraw\")\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Submit For Mgmt. Approve\")\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\"Delete\")\nconst _hoisted_17 = {\n style: {\"margin\":\"4px\"},\n class: \"payment-table-column-wrapper\"\n}\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\"Attachment\")\nconst _hoisted_19 = [\"onClick\"]\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\"Approve Path\")\nconst _hoisted_21 = [\"onClick\"]\nconst _hoisted_22 = { class: \"pagination-container d-f justify-e\" }\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Delete confirmation\", -1))\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"Delete the current data?\", -1))\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\"Confirm\")\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Withdraw confirmation\", -1))\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_29 = /*#__PURE__*/_createTextVNode(\"Confirm\")\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"strong\", null, \"Submit confirmation\", -1))\nconst _hoisted_31 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"Submit for Approval?\", -1))\nconst _hoisted_32 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_33 = /*#__PURE__*/_createTextVNode(\"Confirm\")\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_ApproveSteps = _resolveComponent(\"ApproveSteps\")!\n const _component_a_select_option = _resolveComponent(\"a-select-option\")!\n const _component_a_select = _resolveComponent(\"a-select\")!\n const _component_a_space = _resolveComponent(\"a-space\")!\n const _component_a_button = _resolveComponent(\"a-button\")!\n const _component_a_tooltip = _resolveComponent(\"a-tooltip\")!\n const _component_a_table = _resolveComponent(\"a-table\")!\n const _component_a_pagination = _resolveComponent(\"a-pagination\")!\n const _component_upload_detail = _resolveComponent(\"upload-detail\")!\n const _component_a_modal = _resolveComponent(\"a-modal\")!\n const _component_a_textarea = _resolveComponent(\"a-textarea\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_Breadcrumb, { dataSource: [] }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_ApproveSteps, {\n visible: _ctx.approveVisible,\n \"onUpdate:visible\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.approveVisible) = $event)),\n data: _ctx.approveList\n }, null, 8, [\"visible\", \"data\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"section\", _hoisted_4, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"condition\", { 'open-condition': _ctx.isOpen }])\n }, [\n _createElementVNode(\"section\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_a_space, { style: {\"display\":\"flex\",\"justify-content\":\"space-between\"} }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"8px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_7,\n _createVNode(_component_a_space, null, {\n default: _withCtx(() => [\n _createVNode(_component_a_select, {\n value: _ctx.year,\n \"onUpdate:value\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.year) = $event)),\n style: {\"width\":\"120px\",\"height\":\"30px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.initSelectedDataForS.year, (yr) => {\n return (_openBlock(), _createBlock(_component_a_select_option, { key: yr }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(yr), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"8px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _createVNode(_component_a_select, {\n value: _ctx.payoutRound,\n \"onUpdate:value\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.payoutRound) = $event)),\n style: {\"min-width\":\"120px\",\"height\":\"30px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.initSelectedDataForS.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 _: 1\n }),\n _createVNode(_component_a_space, {\n direction: \"vertical\",\n style: {\"margin-right\":\"8px\"}\n }, {\n default: _withCtx(() => [\n _hoisted_9,\n _createVNode(_component_a_select, {\n value: _ctx.status,\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.status) = $event)),\n style: {\"width\":\"120px\",\"height\":\"30px\"},\n allowClear: \"\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.initSelectedDataForS.status, (stus) => {\n return (_openBlock(), _createBlock(_component_a_select_option, {\n key: stus.code\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(stus.value), 1)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"value\"])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_a_space, { direction: \"vertical\" }, {\n default: _withCtx(() => [\n _hoisted_10,\n _createVNode(_component_a_space, null, {\n default: _withCtx(() => [\n (_ctx.$btnPermissions('F&L PM-RT0001'))\n ? (_openBlock(), _createBlock(_component_a_button, {\n key: 0,\n type: \"primary\",\n style: {\"margin-right\":\"8px\"},\n onClick: _cache[4] || (_cache[4] = _withModifiers(($event: any) => (_ctx.mulSearchEvent(_ctx.rowSelection)), [\"stop\"]))\n }, {\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n (_ctx.$btnPermissions('F&L PM-RT0002'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 0 }, {\n title: _withCtx(() => [\n _hoisted_13\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: \"font_family icon-xiazai\",\n style: {\"font-size\":\"24px\"},\n onClick: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.downloadFilesClick && _ctx.downloadFilesClick(...args)))\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('F&L PM-RT0003'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 1 }, {\n title: _withCtx(() => [\n _hoisted_14\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: \"font_family icon-fanhui m-l-12\",\n style: {\"font-size\":\"24px\"},\n onClick: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.onWithdraw && _ctx.onWithdraw(...args)))\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('F&L PM-RT0004'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 2 }, {\n title: _withCtx(() => [\n _hoisted_15\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: \"font_family icon-SubmitforMgmtApprove m-l-12\",\n style: {\"font-size\":\"24px\"},\n onClick: _cache[7] || (_cache[7] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args)))\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('F&L PM-RT0005'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 3 }, {\n title: _withCtx(() => [\n _hoisted_16\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: \"font_family icon-shanchu m-l-12\",\n style: {\"font-size\":\"24px\"},\n onClick: _cache[8] || (_cache[8] = \n//@ts-ignore\n(...args) => (_ctx.onDelete && _ctx.onDelete(...args)))\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 2)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_a_table, {\n \"row-selection\": _ctx.rowSelection,\n columns: _ctx.columns,\n scroll: { x: _ctx.tableWidth, y: _ctx.tableHeight},\n pagination: false,\n dataSource: _ctx.tableData,\n rowKey: \"id\",\n rowClassName: (record, index) => (index % 2 === 1 ? 'table-striped' : null)\n }, {\n action: _withCtx(({ record }) => [\n (_ctx.$btnPermissions('F&L PM-RT0006'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 0 }, {\n title: _withCtx(() => [\n _hoisted_18\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_19)\n ]),\n _: 2\n }, 1024))\n : _createCommentVNode(\"\", true),\n (_ctx.$btnPermissions('F&L PM-RT0012'))\n ? (_openBlock(), _createBlock(_component_a_tooltip, { key: 1 }, {\n title: _withCtx(() => [\n _hoisted_20\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: \"font_family icon-ApprovalPath m-l-20\",\n style: {\"font-size\":\"24px\"},\n onClick: ($event: any) => (_ctx.approveClick(record))\n }, null, 8, _hoisted_21)\n ]),\n _: 2\n }, 1024))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"row-selection\", \"columns\", \"scroll\", \"dataSource\", \"rowClassName\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_a_pagination, {\n total: _ctx.total,\n \"show-size-changer\": \"\",\n \"show-total\": (total) => `共 ${total} 条`,\n onChange: _ctx.handlePageChange,\n onShowSizeChange: _ctx.handleSizeChange,\n pageSize: _ctx.pageSize,\n \"onUpdate:pageSize\": _cache[9] || (_cache[9] = ($event: any) => ((_ctx.pageSize) = $event)),\n current: _ctx.pageNumber,\n \"onUpdate:current\": _cache[10] || (_cache[10] = ($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 (_ctx.isUploadVisible)\n ? (_openBlock(), _createBlock(_component_upload_detail, {\n key: 0,\n onListChange: _ctx.uploadHandle,\n isUploadVisible: _ctx.isUploadVisible,\n paymentId: _ctx.paymentId,\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 visible: _ctx.deleteModalVisible,\n \"onUpdate:visible\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.deleteModalVisible) = $event)),\n width: 400,\n class: \"batch-query-modal\",\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _hoisted_23\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _cache[11] || (_cache[11] = ($event: any) => (_ctx.deleteModalVisible=false))\n }, {\n default: _withCtx(() => [\n _hoisted_25\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_26\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _hoisted_24\n ]),\n _: 1\n }, 8, [\"visible\"]),\n _createVNode(_component_a_modal, {\n visible: _ctx.withdrawModalVisible,\n \"onUpdate:visible\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.withdrawModalVisible) = $event)),\n width: 400,\n class: \"batch-query-modal\",\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _hoisted_27\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _cache[14] || (_cache[14] = ($event: any) => (_ctx.withdrawModalVisible=false))\n }, {\n default: _withCtx(() => [\n _hoisted_28\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_29\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[13] || (_cache[13] = ($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[17] || (_cache[17] = ($event: any) => ((_ctx.submitModalVisible) = $event)),\n width: 400,\n class: \"batch-query-modal\",\n centered: \"\"\n }, {\n title: _withCtx(() => [\n _hoisted_30\n ]),\n footer: _withCtx(() => [\n _createVNode(_component_a_button, {\n size: \"small\",\n onClick: _cache[16] || (_cache[16] = ($event: any) => (_ctx.submitModalVisible=false))\n }, {\n default: _withCtx(() => [\n _hoisted_32\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_33\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n default: _withCtx(() => [\n _hoisted_31\n ]),\n _: 1\n }, 8, [\"visible\"])\n ], 64))\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-3000b15f\"),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 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=3000b15f&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=3000b15f&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-3000b15f\"]])\n\nexport default __exports__","\nimport { defineComponent, reactive, ref, toRefs, computed, nextTick, watch } from \"vue\";\nimport useMBAFCOverview from \"@/hooks/payment/useMBAFCOverview\";\nimport downloadFile from \"@/utils/rv/downloadFile\";\nimport { DealerTableData } from \"@/views/RetailValidation/Dealer/types\";\nimport { RowSelectionData } from \"@/views/Payment/FlRt/types\"\nimport UploadDetail from './uploadDetail.vue'\nimport { message } from 'ant-design-vue';\nimport { ColumnProps } from 'ant-design-vue/es/table/interface';\nimport useWithdrawStatusEnable from '@/hooks/payment/useWithdrawStatusEnable'\nimport { batchDelete, batchSubmit,batchWidthDraw } from '@/API/payment'\nimport { useStore } from 'vuex'\ntype Key = ColumnProps['key'];\nimport { MBAFCTableData } from \"./types\";\n//import useTableHeight from \"@/hooks/useTableHeight\";\nimport ApproveSteps from \"@/views/Payment/components/ApproveSteps.vue\";\nconst entityArray = [\"FBAC\",\"BBAC\",\"MBCL\",\"DENZA\", \"全部\"]\n// const tableWidth = window.innerWidth\nconst tableHeight = window.innerHeight-380\nimport GetColumnWidth from \"@/utils/payment/getColumnWidth\";\nexport default defineComponent({\n components: {\n UploadDetail,\n ApproveSteps\n },\n setup() {\n \n const store = useStore()\n const current = ref(1)\n // 详情弹窗是否显示\n const isDetailVisible = ref(false)\n const entityData = ref(\"\")\n const {queryParams, initSelectedDataForS, getMBAFCInitSelectedDataForSearch,getPayountRoundByYearForSearch, getUploadFileData,isOpen, tableData,attachmentData, total,pictureModal,\n activeKey, mulSearchEvent, downloadImg,\n overviewSerachEvent, pageChange, state, licenseEvent, invoiceEvent, sizeChange, handleClick, handleActiveKey, columns, batchQuery, downloadFilesClick,\n approveVisible, approveClick, approveList} = useMBAFCOverview()\n \n const yearData = initSelectedDataForS.year;\n //#region 列表选择\n const rowsKey = ref<[]>()\n const rows = ref([])\n const rowSelection = reactive<{ selectedRowKeys: Key[]; selectedRowData: MBAFCTableData[]; onChange: Function;columnWidth: string}>({\n onChange: (selectedRowKeys: Key[], selectedRows: MBAFCTableData[]) => {\n rowSelection.selectedRowKeys = selectedRowKeys;\n rowSelection.selectedRowData = selectedRows;\n },\n selectedRowKeys: [],\n selectedRowData: [],\n columnWidth: '20px'\n })\n const handlePageChange = (page: number,pageSize: number) =>{\n pageChange(page,pageSize,rowSelection)\n }\n const handleSizeChange = (page: number,pageSize: number) =>{\n sizeChange(page,pageSize,rowSelection)\n }\n //#endregion\n //const{tableHeight} = useTableHeight(true,'.overview');\n const hasSelected = computed(() => true)\n watch(\n () => state.year,\n (newVal) => {\n\n console.log(\"enter watch........\",newVal)\n if (!newVal)\n newVal = ''\n getPayountRoundByYearForSearch(newVal)\n },{\n immediate:false\n }\n );\n const isUploadVisible = ref(false)\n const closeUpload = (param: { isUploadVisible: boolean }) => {\n isUploadVisible.value = param.isUploadVisible\n }\n const code = ref('')\n const round = ref('')\n const statusToUpload = ref('')\n const paymentId = ref('')\n //fileUpload function\n const uploadHandle = (record: any) => {\n code.value = record.payoutCode\n round.value = record.payoutRound\n statusToUpload.value = record.status\n paymentId.value = record.id\n getUploadFileData(record.id)\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 isUploadVisible.value = true\n }\n //#region[操作按钮 撤回 提交 删除]\n const deleteModalVisible = ref(false)\n const withdrawModalVisible = ref(false)\n const withdrawInstructions = ref(null)\n const onWithdraw = () => {\n if (rowSelection.selectedRowData && rowSelection.selectedRowData.length === 0) {\n message.warning('Please select the data first');\n } else {\n if (rowSelection.selectedRowData && useWithdrawStatusEnable(rowSelection.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 const onWithdrawConfirm = () => {\n if (!withdrawInstructions.value) {\n message.warning('Reasons for withdrawal are required');\n return false\n }\n const data = rowSelection.selectedRowData.map((item) => {\n return {\n ...item,\n withdrawReason : withdrawInstructions.value\n }\n })\n batchWidthDraw(data).then((res) => {\n if (res.code === '0') {\n message.success('Successfully Withdraw!');\n } else {\n message.error(res.message);\n }\n withdrawModalVisible.value = false\n mulSearchEvent(rowSelection)\n })\n }\n const submitModalVisible = ref(false)\n const onSubmit = () => {\n if (rowSelection.selectedRowKeys && rowSelection.selectedRowKeys.length === 0) {\n message.warning('Please select the data first');\n } else {\n const flag = rowSelection.selectedRowData.every((item) => {\n return item.status === 'Created'\n })\n if (flag) {\n submitModalVisible.value = true\n } else {\n message.warning('Only the created state can be submit.');\n }\n }\n }\n const onSubmitConfirm = () => {\n batchSubmit(rowSelection.selectedRowKeys as number[]).then((res) => {\n if (res.code === '0') {\n message.success('Submit succeeded');\n } else {\n message.error(res.message);\n }\n submitModalVisible.value = false\n mulSearchEvent(rowSelection)\n })\n }\n const onDelete = () => {\n if (rowSelection.selectedRowKeys && rowSelection.selectedRowKeys.length === 0) {\n message.warning('Please select the data first.');\n } else {\n const flag = rowSelection.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 }\n const onDeleteConfirm = () => {\n batchDelete(rowSelection.selectedRowKeys as number[]).then(() => {\n message.success('Successfully Delete!');\n deleteModalVisible.value = false\n mulSearchEvent(rowSelection)\n }).catch(() => {\n deleteModalVisible.value = false\n mulSearchEvent(rowSelection)\n })\n\n }\n //#endregion\n // 发票提交和行驶证提交显示\n const isSubVisible = ref(false);\n const isInvoice = ref(false);\n const isLicense = ref(false);\n const selectInfo = reactive([]);\n // 批量上传\n const isBatchVisible = ref(false);\n const batchActiveKey = ref(1)\n // 弹窗初始化\n const modalVisible = ref(false);\n const modalData = reactive({});\n const params = reactive({\n noticeType: '',\n content: '',\n btnVisible: false\n });\n const textContentNo = ref(\"\")\n const textNoArray = ref([])\n // 批量文本内容\n const textChangEvent = () => {\n textNoArray.value = textNoArray.value.concat(textContentNo.value.replace(/\\r|\\n|\\s/g,\",\").split(','))\n const dom = document.getElementsByClassName('list-content')[0]\n const height = dom.scrollHeight\n textContentNo.value = ''\n nextTick(() => { dom.scrollTop = height + 8 })\n }\n const onSelectChange = (selectedRowKeys: [], selectedRows: []) => {\n// state.selectedRowKeys = selectedRowKeys;\n // state.selectedRows = selectedRows;\n }\n const closeModal = (param: { isVisible: boolean }) => {\n modalVisible.value = param.isVisible;\n }\n getMBAFCInitSelectedDataForSearch(store.state.user.fulnm)\n // 关闭批量上传弹窗\n const closeBatch = (param: { isBatchVisible: boolean; isSuccess: boolean }) => {\n isBatchVisible.value = param.isBatchVisible;\n if (param.isSuccess) {\n //getMBAFCInitSelectedDataForSearch();\n //start();\n }\n };\n const getModalInfo = (param: { modalVisible: boolean; modalData: object }) => {\n modalVisible.value = param.modalVisible;\n Object.assign(modalData, param.modalData);\n };\n const batchQueryEvent = () => {\n batchQuery.batchQueryModal = false\n batchQuery.batchQueryTitle = '车架号批量查询'\n }\n const editEvent = () => {\n return;\n };\n const recallEvent = () => {\n return;\n };\n const exportResult = () => {\n const params = {\n url: `/rvapi/basic/apply/resultExport`,\n method: 'post',\n params: queryParams,\n fileName: `${+new Date()}.xlsx`\n }\n downloadFile(params)\n }\n // 查看详情\n const detailEvent = (record: DealerTableData) => {\n sessionStorage.setItem(\"detailRecordId\", String(record.id))\n sessionStorage.setItem(\"detailRecordEntity\", record.entity)\n sessionStorage.setItem(\"detailRecordVinNo\", record.vinNo)\n isDetailVisible.value = true\n };\n // 关闭弹窗\n const closeDetail = (param: { isVisible: boolean }) => {\n isDetailVisible.value = param.isVisible;\n }\n // 关闭失败原因弹窗\n const closeFailReason = () => {\n //showFailFlag.value = false\n }\n // setTimeout(() => {\n // mulSearchEvent(rowSelection)\n // }, 2000);\n // 表格样式调整\n const tableWidth = ref(GetColumnWidth(columns));\n return {\n //add by renyin\n rowSelection,\n isOpen,\n columns,\n activeKey,\n handleClick,\n handleActiveKey,\n ...toRefs(batchQuery),\n ...toRefs(queryParams),\n ...toRefs(state),\n ...toRefs(pictureModal),\n initSelectedDataForS,\n tableData,\n attachmentData,\n overviewSerachEvent,\n mulSearchEvent,\n entityArray,\n total,\n pageChange,\n sizeChange,\n queryParams,\n exportResult,\n editEvent,\n recallEvent,\n detailEvent,\n isDetailVisible,\n closeDetail,\n closeFailReason,\n entityData,\n //resetEvent,\n licenseEvent,\n invoiceEvent,\n downloadImg,\n hasSelected,\n //start,\n onSelectChange,\n isSubVisible,\n isInvoice,\n isLicense,\n selectInfo,\n tableWidth,\n tableHeight,\n getMBAFCInitSelectedDataForSearch,\n isUploadVisible,\n uploadHandle,\n closeUpload,\n // by hanxi\n withdrawInstructions,\n withdrawModalVisible,\n deleteModalVisible,\n handlePageChange,\n handleSizeChange,\n onDelete,\n onDeleteConfirm,\n onSubmit,\n onWithdraw,\n onWithdrawConfirm,\n modalVisible,\n modalData,\n params,\n getModalInfo,\n closeModal,\n isBatchVisible,\n closeBatch,\n batchActiveKey,\n batchQueryEvent,\n textContentNo,\n textChangEvent,\n textNoArray,\n round,\n code,\n paymentId,\n statusToUpload,\n submitModalVisible,\n onSubmitConfirm,\n downloadFilesClick,\n approveVisible,\n approveClick,\n approveList\n };\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=6caa3860&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=6caa3860&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-6caa3860\"]])\n\nexport default __exports__"],"sourceRoot":""}