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I/CmB,KAAiB,SAAUtB,IAC7BuB,EAAsBvB,EAA0B,OAAQ,CACtDjB,IAAK,WACH,IAAI1L,EAAQ,EAEZ,OADA8M,EAAQI,MAAM,WAAclN,GAAS,IAC9BA,CACT,EACAmO,cAAc,EACdR,YAAY,G","sources":["webpack://baozhidao-putoutstorage/./src/utils/download.ts","webpack://baozhidao-putoutstorage/./src/components/mark-green.vue","webpack://baozhidao-putoutstorage/./src/components/mark-green.vue?d9fe","webpack://baozhidao-putoutstorage/./src/components/bg.vue?5ef6","webpack://baozhidao-putoutstorage/./src/components/bg.vue","webpack://baozhidao-putoutstorage/./src/components/bg.vue?4c61","webpack://baozhidao-putoutstorage/./src/components/searchAdd.vue?c0f0","webpack://baozhidao-putoutstorage/./src/components/searchAdd.vue","webpack://baozhidao-putoutstorage/./src/components/searchAdd.vue?592b","webpack://baozhidao-putoutstorage/./src/hooks/useTable.ts","webpack://baozhidao-putoutstorage/./src/components/table.vue?c286","webpack://baozhidao-putoutstorage/./src/components/table.vue","webpack://baozhidao-putoutstorage/./src/components/table.vue?0270","webpack://baozhidao-putoutstorage/./src/views/salesmanagement/storageOrderGoods/down.vue?1fe1","webpack://baozhidao-putoutstorage/./src/views/salesmanagement/storageOrderGoods/down.vue","webpack://baozhidao-putoutstorage/./src/views/salesmanagement/storageOrderGoods/down.vue?be7d","webpack://baozhidao-putoutstorage/./src/views/salesmanagement/storageOrderGoods/index.vue?1c90","webpack://baozhidao-putoutstorage/./src/views/salesmanagement/storageOrderGoods/index.vue","webpack://baozhidao-putoutstorage/./src/views/salesmanagement/storageOrderGoods/index.vue?8473","webpack://baozhidao-putoutstorage/./node_modules/core-js/internals/classof.js","webpack://baozhidao-putoutstorage/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://baozhidao-putoutstorage/./node_modules/core-js/internals/to-string-tag-support.js","webpack://baozhidao-putoutstorage/./node_modules/core-js/internals/to-string.js","webpack://baozhidao-putoutstorage/./node_modules/core-js/internals/validate-arguments-length.js","webpack://baozhidao-putoutstorage/./node_modules/core-js/modules/web.url-search-params.delete.js","webpack://baozhidao-putoutstorage/./node_modules/core-js/modules/web.url-search-params.has.js","webpack://baozhidao-putoutstorage/./node_modules/core-js/modules/web.url-search-params.size.js"],"sourcesContent":["/**\r\n * @author yxm \r\n * @description 导出文件流\r\n * @param { String } content 文件流\r\n * @param { String } paraName 文件名+后缀名\r\n*/\r\n\r\n \r\n\r\n\r\nimport $http from '@/utils/index'\r\n\r\n// 公司列表树\r\nexport const getContentExportApi = (params: any) => $http.post('/stock/inquiry/excel', params, { responseType: \"blob\", })\r\n\r\n\r\n/**\r\n * \r\n * @param res 文件流\r\n * @param name 下载的文件名\r\n * @param format 下载的文件格式 xlsx\r\n */\r\nexport function downloadExcelFun(res: any) {\r\n const fileName = decodeURIComponent(res.headers[\"content-disposition\"])\r\n let blob = new Blob([res.data], { type:'application/x-rar-compressed'});\r\n\r\n let url = window.URL.createObjectURL(blob); // 创建 url 并指向 blob\r\n let a = document.createElement(\"a\");\r\n a.href = url;\r\n a.download = fileName.split(\";\")[2].split(\"''\")[1];\r\n a.click();\r\n window.URL.revokeObjectURL(url); // 释放该 url\r\n}\r\n\r\n\r\n//下载pdf\r\nexport function downPDF(result: any) {\r\n let fileAddress = URL.createObjectURL(new Blob([result.data], { type: \"application/pdf;charset=utf-8\" }))\r\n let innHtml = window.open(fileAddress, '_blank');\r\n innHtml?.print();\r\n}","<template>\r\n <div class=\"mark-green1\">\r\n <div class=\"mark-green2\">\r\n <div class=\"mark-green3\"></div>\r\n </div>\r\n </div>\r\n</template>\r\n \r\n<style lang=\"scss\">\r\n.mark-green1 {\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 50%;\r\n background: #d8f2e3;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.mark-green2 {\r\n width: 70%;\r\n height: 70%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n background: #b2efcc;\r\n}\r\n\r\n.mark-green3 {\r\n width: 50%;\r\n height: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n background: #69d297;\r\n}</style>","import { render } from \"./mark-green.vue?vue&type=template&id=84d97b9e\"\nconst script = {}\n\nimport \"./mark-green.vue?vue&type=style&index=0&id=84d97b9e&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bg\" }\nconst _hoisted_2 = { class: \"bg-tit\" }\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"align-items\":\"center\",\"flex\":\"1\",\"flex-shrink\":\"0\",\"min-width\":\"200px\"} }\n\nimport markGreen from \"@/components/mark-green.vue\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'bg',\n props: {\r\n istitle: {\r\n type: String,\r\n default: () => '',\r\n },\r\n},\n setup(__props) {\n\r\nconst props = __props\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_text = _resolveComponent(\"el-text\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(markGreen),\n _createVNode(_component_el_text, {\n style: {\"margin-left\":\"20px\"},\n tag: \"b\"\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"tit\", {}, () => [\n _createTextVNode(_toDisplayString(props.istitle), 1)\n ])\n ]),\n _: 3\n })\n ]),\n _renderSlot(_ctx.$slots, \"btn\")\n ]),\n _renderSlot(_ctx.$slots, \"bg\")\n ]))\n}\n}\n\n})","<template>\r\n <div class=\"bg\">\r\n <div class=\"bg-tit\">\r\n <div style=\"display: flex;align-items: center;flex: 1;flex-shrink: 0;min-width: 200px;\">\r\n <markGreen></markGreen>\r\n <el-text style=\"margin-left: 20px;\" tag=\"b\">\r\n <slot name=\"tit\">{{props.istitle}}</slot>\r\n </el-text>\r\n </div>\r\n <slot name=\"btn\"></slot>\r\n </div>\r\n <slot name=\"bg\"></slot>\r\n </div>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport markGreen from \"@/components/mark-green.vue\";\r\nconst props = defineProps({\r\n istitle: {\r\n type: String,\r\n default: () => '',\r\n },\r\n})\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.bg {\r\n border-radius: var(--el-card-border-radius);\r\n background-color: var(--el-card-bg-color);\r\n overflow: hidden;\r\n color: var(--el-text-color-primary);\r\n transition: var(--el-transition-duration);\r\n --el-card-border-color: var(--el-border-color-light);\r\n --el-card-border-radius: 4px;\r\n --el-card-bg-color: var(--el-fill-color-blank);\r\n padding: var(--y-padding);\r\n margin-bottom: var(--y-margin);\r\n\r\n &-tit {\r\n padding: var(--y-padding) 0;\r\n border-bottom: 1px solid var(--el-card-border-color);\r\n box-sizing: border-box;\r\n margin-bottom: var(--y-margin);\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n }\r\n}</style>","import script from \"./bg.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./bg.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./bg.vue?vue&type=style&index=0&id=24052afe&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"searchAdd\" }\nconst _hoisted_2 = { class: \"searchAdd-left\" }\nconst _hoisted_3 = { class: \"searchAdd-right\" }\n\nimport marks from \"@/components/mark.vue\";\r\nimport { reactive } from \"vue\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'searchAdd',\n props: {\r\n isButtom: {\r\n type: String,\r\n default: () => '',\r\n },\r\n labelWidth: {\r\n type: String,\r\n default: () => '100',\r\n },\r\n inline: {\r\n type: Boolean,\r\n default: () => true,\r\n },\r\n // isPlaceholder: {\r\n // type: String,\r\n // default: () => '',\r\n // },\r\n},\n emits: [\"event\"],\n setup(__props, { emit: __emit }) {\n\r\nconst props = __props\r\nconst data = reactive({\r\n input: ''\r\n})\r\nconst emit = __emit\r\nconst subClick = () => {\r\n emit('event', data.input)\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_form, {\n inline: props.inline\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"searchConter\"),\n _createVNode(_component_el_form_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: subClick\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.isButtom), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 3\n }, 8, [\"inline\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"searchBtn\")\n ])\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"searchAdd\">\r\n <div class=\"searchAdd-left\">\r\n <!-- <marks></marks> -->\r\n <el-form :inline=\"props.inline\">\r\n <slot name=\"searchConter\"></slot>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"subClick\">{{ props.isButtom }}</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <div class=\"searchAdd-right\">\r\n <slot name=\"searchBtn\"></slot>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport marks from \"@/components/mark.vue\";\r\nimport { reactive } from \"vue\";\r\nconst props = defineProps({\r\n isButtom: {\r\n type: String,\r\n default: () => '',\r\n },\r\n labelWidth: {\r\n type: String,\r\n default: () => '100',\r\n },\r\n inline: {\r\n type: Boolean,\r\n default: () => true,\r\n },\r\n // isPlaceholder: {\r\n // type: String,\r\n // default: () => '',\r\n // },\r\n})\r\nconst data = reactive({\r\n input: ''\r\n})\r\nconst emit = defineEmits<{\r\n (e: 'event', myvalue: string): void\r\n}>()\r\nconst subClick = () => {\r\n emit('event', data.input)\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.searchAdd {\r\n border-radius: var(--el-card-border-radius);\r\n background-color: var(--el-card-bg-color);\r\n overflow: hidden;\r\n color: var(--el-text-color-primary);\r\n transition: var(--el-transition-duration);\r\n --el-card-border-color: var(--el-border-color-light);\r\n --el-card-border-radius: 4px;\r\n --el-card-bg-color: var(--el-fill-color-blank);\r\n padding: var(--y-padding) var(--y-padding) 0 var(--y-padding);\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-bottom: var(--y-margin);\r\n &-left {\r\n display: flex;\r\n align-items: center;\r\n }\r\n}\r\n\r\n.el-form-item {\r\n display: flex;\r\n --font-size: 14px;\r\n}\r\n</style>","import script from \"./searchAdd.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./searchAdd.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./searchAdd.vue?vue&type=style&index=0&id=ad1965bc&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { reactive, toRefs } from 'vue'\r\ninterface Pageable {\r\n pageNum: number\r\n pageSize: number\r\n total: number\r\n RemainingTime?: number\r\n small: boolean\r\n disabled: boolean\r\n}\r\ninterface Table {\r\n loading: boolean\r\n tableData: any[]\r\n pageable: Pageable\r\n searchParam: any\r\n searchInitParam: any\r\n totalParam: any\r\n}\r\n\r\n/**\r\n *\r\n * @param requestApi 请求接口\r\n * @param initParam 请求参数\r\n * @param isPagination 是否需要分页\r\n * @param dataCallback 对后台返回参数进行处理\r\n * @returns\r\n */\r\nexport const useTable = (\r\n requestApi: (params: any) => Promise<any>,\r\n initParam: object = {},\r\n isPagination: boolean = true,\r\n dataCallback?: (data: any) => any\r\n) => {\r\n const state = reactive<Table>({\r\n // 表格数据\r\n tableData: [],\r\n loading: true,\r\n // 分页数据\r\n pageable: {\r\n // 当前页数\r\n pageNum: 1,\r\n // 每页显示条数\r\n pageSize: 8,\r\n // 总条数\r\n total: 0,\r\n RemainingTime: 0,\r\n small: true,\r\n disabled: false\r\n },\r\n // 查询参数(只包括查询)\r\n searchParam: {},\r\n // 初始化默认的查询参数\r\n searchInitParam: {},\r\n // 总参数(包含分页和查询参数)\r\n totalParam: {}\r\n })\r\n\r\n const getTableList = async () => {\r\n const params: any = {\r\n page: state.pageable.pageNum,\r\n pageSize: state.pageable.pageSize,\r\n ...initParam\r\n }\r\n requestApi(params).then(res => {\r\n state.tableData = res.data?.list || []\r\n // dataCallback && (state.tableData = dataCallback(res))\r\n state.pageable.total = parseInt(res.data?.count)\r\n // console.log('返回数据', res, state.tableData)\r\n\r\n if (res.Data?.RemainingTime) {\r\n state.pageable.RemainingTime = res.Data.RemainingTime\r\n }\r\n state.loading = false\r\n })\r\n }\r\n if (isPagination) {\r\n }\r\n const handleSizeChange = (val: number) => {\r\n state.pageable.pageSize = val\r\n getTableList()\r\n }\r\n\r\n const handleCurrentChange = (val: number) => {\r\n state.pageable.pageNum = val\r\n getTableList()\r\n }\r\n\r\n const searchTable = () => {\r\n state.pageable.pageNum = 1\r\n getTableList()\r\n }\r\n\r\n return {\r\n ...toRefs(state),\r\n getTableList,\r\n searchTable,\r\n handleSizeChange,\r\n handleCurrentChange\r\n }\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, mergeProps as _mergeProps, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"y-tabs\" }\nconst _hoisted_2 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_3 = { style: {\"margin-top\":\"20px\"} }\n\nimport { ref, CSSProperties,watch } from \"vue\";\r\nimport { useTable } from '@/hooks/useTable'\r\nimport { TableProps } from 'element-plus'\r\nimport { ColumnProps } from './interface/index'\r\ninterface ProTableProps extends Partial<Omit<TableProps<any>, 'data'>> {\r\n columns: ColumnProps[] // 列配置项\r\n requestApi: (params: any) => Promise<any> // 请求表格数据的api ==> 必传\r\n dataCallback?: (data: any) => any // 返回数据的回调函数,可以对数据进行处理 ==> 非必传\r\n title?: string // 表格标题,目前只在打印的时候用到 ==> 非必传\r\n pagination?: boolean // 是否需要分页组件 ==> 非必传(默认为true)\r\n layout?: string\r\n initParam?: any // 初始化请求参数 ==> 非必传(默认为{})\r\n border?: boolean // 是否带有纵向边框 ==> 非必传(默认为true)\r\n toolButton?: boolean // 是否显示表格功能按钮 ==> 非必传(默认为true)\r\n selectId?: string // 当表格数据多选时,所指定的 id ==> 非必传(默认为 id)\r\n displayHeader?: boolean // 是否隐藏头部\r\n rowClick?: (row: any, column: any, event: any) => void // 点击行\r\n selectionChange?: (row: any) => void // 选择函数\r\n getRowKey?: ((row: any) => string) | string // 用于优化select勾选框\r\n tableRowClassName?: (data: any) => CSSProperties\r\n}\r\n// 接受父组件参数,配置默认值\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'table',\n props: {\n columns: { default: () => [] },\n requestApi: {},\n dataCallback: {},\n title: {},\n pagination: { type: Boolean, default: true },\n layout: { default: 'total, sizes, prev, pager, next, jumper' },\n initParam: { default: {} },\n border: { type: Boolean, default: true },\n toolButton: { type: Boolean, default: true },\n selectId: { default: 'id' },\n displayHeader: { type: Boolean },\n rowClick: {},\n selectionChange: {},\n getRowKey: {},\n tableRowClassName: {},\n size: {},\n width: {},\n height: {},\n maxHeight: {},\n fit: { type: Boolean },\n stripe: { type: Boolean },\n rowKey: {},\n context: {},\n showHeader: { type: Boolean },\n showSummary: { type: Boolean },\n sumText: {},\n summaryMethod: {},\n rowClassName: {},\n rowStyle: {},\n cellClassName: {},\n cellStyle: {},\n headerRowClassName: {},\n headerRowStyle: {},\n headerCellClassName: {},\n headerCellStyle: {},\n highlightCurrentRow: { type: Boolean },\n currentRowKey: {},\n emptyText: {},\n expandRowKeys: {},\n defaultExpandAll: { type: Boolean },\n defaultSort: {},\n tooltipEffect: {},\n tooltipOptions: {},\n spanMethod: {},\n selectOnIndeterminate: { type: Boolean },\n indent: {},\n treeProps: {},\n lazy: { type: Boolean },\n load: {},\n className: {},\n style: {},\n tableLayout: {},\n scrollbarAlwaysOn: { type: Boolean },\n flexible: { type: Boolean },\n showOverflowTooltip: { type: [Boolean, Object] }\n },\n setup(__props: any, { expose: __expose }) {\n\r\nconst props = __props\r\n\r\n\r\n// 表格操作 Hooks\r\nconst { tableData, getTableList, pageable, loading, handleSizeChange, handleCurrentChange } = useTable(\r\n props.requestApi,\r\n props.initParam,\r\n props.pagination,\r\n \r\n props.dataCallback\r\n)\r\n\r\ngetTableList()\r\n// 接收 columns 并设置为响应式\r\nconst tableColumns = ref<ColumnProps[]>(props.columns)\r\n\r\n//暴露方法\r\n__expose({\r\ngetTableList,tableColumns,props\r\n})\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_el_empty = _resolveComponent(\"el-empty\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_pagination = _resolveComponent(\"el-pagination\")!\n const _directive_loading = _resolveDirective(\"loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _withDirectives((_openBlock(), _createBlock(_component_el_table, {\n data: _unref(tableData),\n onRowClick: props.rowClick,\n onSelectionChange: props.selectionChange,\n \"row-key\": props.getRowKey,\n border: props.border,\n \"max-height\": \"450\",\n \"row-style\": _ctx.tableRowClassName,\n \"table-layout\": \"auto\"\n }, {\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n empty: _withCtx(() => [\n _createVNode(_component_el_empty)\n ]),\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\"),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tableColumns.value, (item) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: item }, [\n (item.type == 'selection' || item.type == 'index')\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 0 }, item, {\n align: item.align ?? 'center',\n \"reserve-selection\": item.type == 'selection',\n \"show-overflow-tooltip\": true\n }), null, 16, [\"align\", \"reserve-selection\"]))\n : _createCommentVNode(\"\", true),\n (item.type === 'expand')\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 1 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n (item.render)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(item.render), {\n key: 0,\n row: scope.row\n }, null, 8, [\"row\"]))\n : _renderSlot(_ctx.$slots, item.type, {\n key: 1,\n row: scope.row\n })\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true),\n (!item.type && item.prop && item.name !== item.prop)\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 2 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n (item.prop=='T_wait_audit')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(scope.row[item.prop]==true?'待审核':''), 1))\n : _createCommentVNode(\"\", true),\n (item.ellipsis)\n ? (_openBlock(), _createBlock(_component_el_tooltip, {\n key: 1,\n effect: \"dark\",\n content: scope.row[item.prop],\n placement: \"bottom\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row[item.prop]), 1)\n ]),\n _: 2\n }, 1032, [\"content\"]))\n : _createCommentVNode(\"\", true),\n (item.fixed)\n ? _renderSlot(_ctx.$slots, item.fixed, {\n key: 2,\n row: scope.row\n })\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true),\n (!item.type && item.prop && item.name === item.prop)\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 3 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n _renderSlot(_ctx.$slots, item.prop, {\n row: scope.row\n })\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ]),\n _: 3\n }, 8, [\"data\", \"onRowClick\", \"onSelectionChange\", \"row-key\", \"border\", \"row-style\"])), [\n [_directive_loading, _unref(loading)]\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.pagination)\n ? (_openBlock(), _createBlock(_component_el_pagination, {\n key: 0,\n \"current-page\": _unref(pageable).pageNum,\n \"onUpdate:currentPage\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(pageable).pageNum) = $event)),\n \"page-size\": _unref(pageable).pageSize,\n \"onUpdate:pageSize\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(pageable).pageSize) = $event)),\n layout: props.layout,\n total: _unref(pageable).total,\n \"page-sizes\": [8, 10, 20, 50],\n onSizeChange: _unref(handleSizeChange),\n onCurrentChange: _unref(handleCurrentChange)\n }, null, 8, [\"current-page\", \"page-size\", \"layout\", \"total\", \"onSizeChange\", \"onCurrentChange\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"y-tabs\">\r\n <el-table v-loading=\"loading\" :data=\"tableData\" @row-click=\"props.rowClick\"\r\n @selection-change=\"props.selectionChange\" :row-key=\"props.getRowKey\"\r\n :border=\"props.border\" max-height=\"450\"\r\n :row-style=\"tableRowClassName\" table-layout=\"auto\">\r\n <!-- 默认插槽 -->\r\n <slot></slot>\r\n <template v-for=\"item in tableColumns\" :key=\"item\">\r\n <!-- selection || index -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n :reserve-selection=\"item.type == 'selection'\"\r\n v-if=\"item.type == 'selection' || item.type == 'index'\"\r\n :show-overflow-tooltip=\"true\"\r\n ></el-table-column>\r\n <!-- expand 支持 tsx 语法 && 作用域插槽 (tsx > slot) -->\r\n <el-table-column v-bind=\"item\" :align=\"item.align ?? 'center'\" v-if=\"item.type === 'expand'\" v-slot=\"scope\" :show-overflow-tooltip=\"true\">\r\n <component :is=\"item.render\" :row=\"scope.row\" v-if=\"item.render\"> </component>\r\n <slot :name=\"item.type\" :row=\"scope.row\" v-else></slot>\r\n </el-table-column>\r\n <!-- 普通渲染 -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n v-if=\"!item.type && item.prop && item.name !== item.prop\"\r\n v-slot=\"scope\" :show-overflow-tooltip=\"true\"\r\n >\r\n <div v-if=\"item.prop=='T_wait_audit'\" style=\"color: red;\">\r\n {{ scope.row[item.prop]==true?'待审核':'' }}\r\n </div>\r\n <el-tooltip v-if=\"item.ellipsis\" effect=\"dark\" :content=\"scope.row[item.prop]\" placement=\"bottom\">\r\n {{ scope.row[item.prop] }}\r\n </el-tooltip>\r\n <slot v-if=\"item.fixed\" :name=\"item.fixed\" :row=\"scope.row\"></slot>\r\n </el-table-column>\r\n <!-- 自定义slot -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n v-if=\"!item.type && item.prop && item.name === item.prop\"\r\n v-slot=\"scope\" :show-overflow-tooltip=\"true\"\r\n >\r\n <slot :name=\"item.prop\" :row=\"scope.row\"></slot>\r\n </el-table-column>\r\n </template>\r\n <!-- 插入表格最后一行之后的插槽 -->\r\n <template #append>\r\n <slot name=\"append\"> </slot>\r\n </template>\r\n <!-- 表格无数据情况 -->\r\n <template #empty>\r\n <el-empty></el-empty>\r\n </template>\r\n </el-table>\r\n <!-- 分页组件 -->\r\n <div style=\"margin-top: 20px;\">\r\n <el-pagination v-model:current-page=\"pageable.pageNum\" v-model:page-size=\"pageable.pageSize\" v-if=\"pagination\"\r\n :layout=\"props.layout\" :total=\"pageable.total\" :page-sizes=\"[8, 10, 20, 50]\"\r\n @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ref, CSSProperties,watch } from \"vue\";\r\nimport { useTable } from '@/hooks/useTable'\r\nimport { TableProps } from 'element-plus'\r\nimport { ColumnProps } from './interface/index'\r\ninterface ProTableProps extends Partial<Omit<TableProps<any>, 'data'>> {\r\n columns: ColumnProps[] // 列配置项\r\n requestApi: (params: any) => Promise<any> // 请求表格数据的api ==> 必传\r\n dataCallback?: (data: any) => any // 返回数据的回调函数,可以对数据进行处理 ==> 非必传\r\n title?: string // 表格标题,目前只在打印的时候用到 ==> 非必传\r\n pagination?: boolean // 是否需要分页组件 ==> 非必传(默认为true)\r\n layout?: string\r\n initParam?: any // 初始化请求参数 ==> 非必传(默认为{})\r\n border?: boolean // 是否带有纵向边框 ==> 非必传(默认为true)\r\n toolButton?: boolean // 是否显示表格功能按钮 ==> 非必传(默认为true)\r\n selectId?: string // 当表格数据多选时,所指定的 id ==> 非必传(默认为 id)\r\n displayHeader?: boolean // 是否隐藏头部\r\n rowClick?: (row: any, column: any, event: any) => void // 点击行\r\n selectionChange?: (row: any) => void // 选择函数\r\n getRowKey?: ((row: any) => string) | string // 用于优化select勾选框\r\n tableRowClassName?: (data: any) => CSSProperties\r\n}\r\n// 接受父组件参数,配置默认值\r\nconst props = withDefaults(defineProps<ProTableProps>(), {\r\n columns: () => [],//渲染表格\r\n pagination: true,\r\n // layout: 'total, prev, pager, next, jumper',\r\n layout: 'total, sizes, prev, pager, next, jumper',\r\n initParam: {},//请求参数\r\n border: true,\r\n toolButton: true,\r\n selectId: 'id',\r\n searchCol: () => ({ xs: 1, sm: 2, md: 2, lg: 3, xl: 4 })\r\n})\r\n\r\n\r\n// 表格操作 Hooks\r\nconst { tableData, getTableList, pageable, loading, handleSizeChange, handleCurrentChange } = useTable(\r\n props.requestApi,\r\n props.initParam,\r\n props.pagination,\r\n \r\n props.dataCallback\r\n)\r\n\r\ngetTableList()\r\n// 接收 columns 并设置为响应式\r\nconst tableColumns = ref<ColumnProps[]>(props.columns)\r\n\r\n//暴露方法\r\ndefineExpose({\r\ngetTableList,tableColumns,props\r\n})\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n.y-tabs {\r\n background: var(--y-card-background);\r\n border-radius: var(--y-radius);\r\n margin-top: var(--y-margin);\r\n\r\n &-headers {\r\n border-bottom: var(--y-border);\r\n box-sizing: border-box;\r\n padding: var(--y-padding);\r\n }\r\n\r\n &-item {\r\n padding: var(--y-padding);\r\n }\r\n}\r\n</style>","import script from \"./table.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./table.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./table.vue?vue&type=style&index=0&id=588e57b4&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\nconst _hoisted_2 = { class: \"dialog-footer\" }\n\nimport * as XLSX from 'xlsx'\r\nimport { Download } from '@element-plus/icons-vue'\r\nimport { stockunit} from \"@/api\";\r\nimport { reactive, ref,onMounted} from 'vue'\r\nimport type { FormInstance } from 'element-plus'\r\nimport {downloadExcelFun,downPDF } from \"@/utils/download\";\r\n\r\nimport { inventExcel} from \"@/api/module/printUilts\";//打印\r\nconst formLabelWidth = '80px'\r\ninterface initFrom {\r\n date:any,\r\n receivingUnit:any,\r\n drawer:string,\r\n consigner: string,\r\n finance: string,\r\n consignee:string,\r\n type: string,\r\n}\r\ninterface ListItem {\r\n value: string\r\n label: string\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'down',\n props: {\r\n initParam:{\r\n type:Object,\r\n default: () => { },\r\n }\r\n},\n setup(__props) {\n\r\nconst dialogFormVisible = ref(false)\r\nconst formRef = ref<FormInstance>()\r\n \r\nconst props = __props\r\nconst initParam = reactive<initFrom>({\r\n date:'',\r\n receivingUnit:'',\r\n drawer: '',\r\n consigner: '',\r\n finance: '',\r\n consignee: '',\r\n type: 'excel',\r\n})\r\n\r\nconst data: any = reactive({\r\n imgUrl: '',\r\n fileAddress: \"\"\r\n})\r\n//函数\r\nconst printFun = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n formEl.validate((valid) => {\r\n if (valid) {\r\n inventExcel(initParam).then((res) => {\r\n const result: any = res\r\n initParam.type=='excel'? downloadExcelFun(result):downPDF(result)\r\n }).catch((error) => {\r\n console.log('err', error.toString())\r\n });\r\n } else {\r\n return false\r\n }\r\n })\r\n}\r\n\r\n//函数\r\nconst showDialog = async ()=>{\r\n dialogFormVisible.value = true\r\n // props.initParam.date!=null||props.initParam.date!=\"\"?initParam.date = props.initParam.date:initParam.date = ''\r\n initParam.date = props.initParam.date\r\n initParam.receivingUnit = props.initParam.receivingUnit\r\n // props.initParam.receivingUnit?initParam.receivingUnit = props.initParam.receivingUnit:initParam.receivingUnit = \"\"\r\n}\r\n\r\nonMounted(async() => {\r\n const result:any = await stockunit({type:2,name:''})\r\n let arr = result.data?.list || []\r\n list.value = arr.map((item:any) => {\r\n return { value: item, label: item}\r\n })\r\n})\r\nconst list = ref<ListItem[]>([])\r\nconst options = ref<ListItem[]>([])\r\nconst click2 = async ()=>{options.value = list.value }\r\nconst loading = ref(false)\r\nconst remoteMethod = async(query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options.value = list.value.filter((item:any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options.value = []\r\n }\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_radio = _resolveComponent(\"el-radio\")!\n const _component_el_radio_group = _resolveComponent(\"el-radio-group\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_button, {\n round: \"\",\n type: \"primary\",\n icon: _unref(Download),\n onClick: showDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"导出/打印\")\n ]),\n _: 1\n }, 8, [\"icon\"]),\n _createVNode(_component_el_dialog, {\n modelValue: dialogFormVisible.value,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"导出/打印\",\n \"append-to-body\": true,\n draggable: \"\",\n width: \"30%\"\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createVNode(_component_el_button, {\n onClick: _cache[7] || (_cache[7] = ($event: any) => (dialogFormVisible.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancel\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (printFun(formRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(initParam.type=='excel'?'立即导出':'立即打印'), 1)\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n model: initParam,\n ref_key: \"formRef\",\n ref: formRef\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"下单日期\",\n \"label-width\": formLabelWidth,\n prop: \"date\",\n rules: [{ required: true, message: '必填项' }]\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: initParam.date,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((initParam.date) = $event)),\n type: \"date\",\n \"value-format\": \"YYYY-MM-DD\",\n clearable: \"\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"购货单位\",\n \"label-width\": formLabelWidth,\n prop: \"receivingUnit\",\n rules: [{ required: true, message: '必填项' }]\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: initParam.receivingUnit,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((initParam.receivingUnit) = $event)),\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"购货单位\",\n \"remote-method\": remoteMethod,\n loading: loading.value,\n clearable: \"\",\n style: {\"width\":\"100%\"},\n onClick: click2\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options.value, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"开票员\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: initParam.drawer,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((initParam.drawer) = $event)),\n autocomplete: \"off\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"发货人\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: initParam.consigner,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((initParam.consigner) = $event)),\n autocomplete: \"off\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"财务\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: initParam.finance,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((initParam.finance) = $event)),\n autocomplete: \"off\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"收货人\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: initParam.consignee,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((initParam.consignee) = $event)),\n autocomplete: \"off\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"下载文件\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio_group, {\n modelValue: initParam.type,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((initParam.type) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_radio, { label: \"excel\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"excel\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_radio, { label: \"pdf\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"pdf\")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"\">\r\n <el-button round type=\"primary\" :icon=\"Download\" @click=\"showDialog\">导出/打印</el-button>\r\n <el-dialog v-model=\"dialogFormVisible\" title=\"导出/打印\" :append-to-body=\"true\" draggable width=\"30%\">\r\n <el-form :model=\"initParam\" ref=\"formRef\">\r\n <el-form-item label=\"下单日期\" :label-width=\"formLabelWidth\"\r\n prop=\"date\" :rules=\"[{ required: true, message: '必填项' }]\">\r\n <el-date-picker v-model=\"initParam.date\" type=\"date\" value-format=\"YYYY-MM-DD\" clearable style=\"width: 100%;\"/>\r\n </el-form-item>\r\n <el-form-item label=\"购货单位\" :label-width=\"formLabelWidth\"\r\n prop=\"receivingUnit\" :rules=\"[{ required: true, message: '必填项' }]\">\r\n <el-select v-model=\"initParam.receivingUnit\" filterable remote reserve-keyword placeholder=\"购货单位\"\r\n :remote-method=\"remoteMethod\" :loading=\"loading\" clearable style=\"width: 100%;\" @click=\"click2\">\r\n <el-option v-for=\"item in options\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\" />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"开票员\" :label-width=\"formLabelWidth\">\r\n <el-input v-model=\"initParam.drawer\" autocomplete=\"off\" />\r\n </el-form-item>\r\n <el-form-item label=\"发货人\" :label-width=\"formLabelWidth\">\r\n <el-input v-model=\"initParam.consigner\" autocomplete=\"off\" />\r\n </el-form-item>\r\n <el-form-item label=\"财务\" :label-width=\"formLabelWidth\">\r\n <el-input v-model=\"initParam.finance\" autocomplete=\"off\" />\r\n </el-form-item>\r\n <el-form-item label=\"收货人\" :label-width=\"formLabelWidth\">\r\n <el-input v-model=\"initParam.consignee\" autocomplete=\"off\" />\r\n </el-form-item>\r\n <el-form-item label=\"下载文件\" :label-width=\"formLabelWidth\">\r\n <el-radio-group v-model=\"initParam.type\">\r\n <el-radio label=\"excel\">excel</el-radio>\r\n <el-radio label=\"pdf\">pdf</el-radio>\r\n </el-radio-group>\r\n </el-form-item>\r\n </el-form>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button @click=\"dialogFormVisible = false\">Cancel</el-button>\r\n <el-button type=\"primary\" @click=\"printFun(formRef)\">\r\n {{initParam.type=='excel'?'立即导出':'立即打印'}}\r\n </el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport * as XLSX from 'xlsx'\r\nimport { Download } from '@element-plus/icons-vue'\r\nimport { stockunit} from \"@/api\";\r\nimport { reactive, ref,onMounted} from 'vue'\r\nimport type { FormInstance } from 'element-plus'\r\nimport {downloadExcelFun,downPDF } from \"@/utils/download\";\r\n\r\nimport { inventExcel} from \"@/api/module/printUilts\";//打印\r\nconst dialogFormVisible = ref(false)\r\nconst formLabelWidth = '80px'\r\nconst formRef = ref<FormInstance>()\r\n \r\nconst props = defineProps({\r\n initParam:{\r\n type:Object,\r\n default: () => { },\r\n }\r\n})\r\ninterface initFrom {\r\n date:any,\r\n receivingUnit:any,\r\n drawer:string,\r\n consigner: string,\r\n finance: string,\r\n consignee:string,\r\n type: string,\r\n}\r\nconst initParam = reactive<initFrom>({\r\n date:'',\r\n receivingUnit:'',\r\n drawer: '',\r\n consigner: '',\r\n finance: '',\r\n consignee: '',\r\n type: 'excel',\r\n})\r\n\r\nconst data: any = reactive({\r\n imgUrl: '',\r\n fileAddress: \"\"\r\n})\r\n//函数\r\nconst printFun = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n formEl.validate((valid) => {\r\n if (valid) {\r\n inventExcel(initParam).then((res) => {\r\n const result: any = res\r\n initParam.type=='excel'? downloadExcelFun(result):downPDF(result)\r\n }).catch((error) => {\r\n console.log('err', error.toString())\r\n });\r\n } else {\r\n return false\r\n }\r\n })\r\n}\r\n\r\n//函数\r\nconst showDialog = async ()=>{\r\n dialogFormVisible.value = true\r\n // props.initParam.date!=null||props.initParam.date!=\"\"?initParam.date = props.initParam.date:initParam.date = ''\r\n initParam.date = props.initParam.date\r\n initParam.receivingUnit = props.initParam.receivingUnit\r\n // props.initParam.receivingUnit?initParam.receivingUnit = props.initParam.receivingUnit:initParam.receivingUnit = \"\"\r\n}\r\n\r\nonMounted(async() => {\r\n const result:any = await stockunit({type:2,name:''})\r\n let arr = result.data?.list || []\r\n list.value = arr.map((item:any) => {\r\n return { value: item, label: item}\r\n })\r\n})\r\ninterface ListItem {\r\n value: string\r\n label: string\r\n}\r\nconst list = ref<ListItem[]>([])\r\nconst options = ref<ListItem[]>([])\r\nconst click2 = async ()=>{options.value = list.value }\r\nconst loading = ref(false)\r\nconst remoteMethod = async(query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options.value = list.value.filter((item:any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options.value = []\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./down.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./down.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./down.vue?vue&type=style&index=0&id=2e85e45c&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, unref as _unref } from \"vue\"\n\nconst _hoisted_1 = { class: \"sellManage\" }\n\nimport { reactive, ref, onMounted,nextTick} from 'vue'\r\nimport { orderList,stockunit } from \"@/api\";\r\n\r\nimport tables from \"@/components/table.vue\";\r\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport down from \"./down.vue\";\r\n\r\nimport bg from '@/components/bg.vue'\r\ninterface ListItem {\r\n value: string\r\n label: string\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\r\nconst TableRef = ref()\r\n\r\nconst loading = ref(false)\r\nconst list = ref<ListItem[]>([])\r\nconst options = ref<ListItem[]>([])\r\nconst click2 = async ()=>{options.value = list.value }\r\nonMounted(async() => {\r\n const result:any = await stockunit({type:2,name:''})\r\n let arr = result.data?.list || []\r\n list.value = arr.map((item:any) => {\r\n return { value: item, label: item}\r\n })\r\n})\r\nconst remoteMethod = async(query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options.value = list.value.filter((item:any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options.value = []\r\n }\r\n}\r\n\r\n\r\n// 渲染表格\r\nconst columns: any = [\r\n { prop: 'date', label: '日期', width: 120 },\r\n { prop: 'receiving_unit', label: '购货单位', width: 150 },\r\n { prop: 'product_name', label: '品种', width: 150 },\r\n { prop: 'dosage_form_name', label: '剂型', width: 100 },\r\n { prop: 'spec_name', label: '规格(剂/支或粒)', width: 150 },\r\n { prop: 'enterprise_name', label: '生产企业', width: 150 },\r\n { prop: 'batch_number', label: '血液制品批号', width: 150 },\r\n { prop: 'expiry_date', label: '失效日期', width: 120 },\r\n \r\n { prop: 'approval_number', label: '批准文号', width: 120 },\r\n { prop: 'quantity', label: '数量', width: 120 },\r\n { prop: 'unit_name', label: '单位', width: 80 },\r\n { prop: 'sales_unit_price', label: '单价', width: 120 },\r\n { prop: 'sales_money', label: '金额', 'min-width': 120 },\r\n]\r\n\r\n//请求参数\r\nconst data:any = reactive({\r\n datePicker: [],//时间选择\r\n initParam: {\r\n \"date\": \"\",\r\n \"receivingUnit\": \"\"\r\n }\r\n})\r\n\r\n//搜索\r\nconst eventFun = async ()=>{\r\n nextTick(() => {\r\n TableRef.value?.getTableList()\r\n })\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(searchAdd, {\n isButtom: \"查询\",\n inline: true,\n onEvent: eventFun\n }, {\n searchConter: _withCtx(() => [\n _createVNode(_component_el_form_item, { label: \"日期\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: data.initParam.date,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((data.initParam.date) = $event)),\n type: \"date\",\n \"value-format\": \"YYYY-MM-DD\",\n clearable: \"\",\n style: {\"width\":\"200px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, { label: \"购货单位\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: data.initParam.receivingUnit,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((data.initParam.receivingUnit) = $event)),\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"购货单位\",\n \"remote-method\": remoteMethod,\n loading: loading.value,\n clearable: \"\",\n style: {\"width\":\"200px\"},\n onClick: click2\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options.value, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"loading\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(bg, { istitle: \"基本信息\" }, {\n btn: _withCtx(() => [\n _createVNode(down, {\n initParam: data.initParam\n }, null, 8, [\"initParam\"])\n ]),\n bg: _withCtx(() => [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(orderList),\n columns: columns,\n initParam: data.initParam\n }, null, 8, [\"requestApi\", \"initParam\"])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"sellManage\">\r\n <searchAdd isButtom=\"查询\" :inline=\"true\" @event=\"eventFun\">\r\n <template #searchConter>\r\n <el-form-item label=\"日期\">\r\n <el-date-picker v-model=\"data.initParam.date\" type=\"date\" value-format=\"YYYY-MM-DD\" clearable style=\"width: 200px;\"/>\r\n </el-form-item>\r\n <el-form-item label=\"购货单位\">\r\n <el-select v-model=\"data.initParam.receivingUnit\" filterable remote reserve-keyword placeholder=\"购货单位\"\r\n :remote-method=\"remoteMethod\" :loading=\"loading\" clearable style=\"width: 200px;\" @click=\"click2\">\r\n <el-option v-for=\"item in options\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\" />\r\n </el-select>\r\n </el-form-item>\r\n </template>\r\n </searchAdd>\r\n <bg istitle=\"基本信息\">\r\n <template #btn>\r\n <down :initParam=\"data.initParam\"></down>\r\n </template>\r\n <template #bg>\r\n <tables ref=\"TableRef\" :requestApi=\"orderList\" :columns=\"columns\" :initParam=\"data.initParam\"></tables>\r\n </template>\r\n </bg>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { reactive, ref, onMounted,nextTick} from 'vue'\r\nimport { orderList,stockunit } from \"@/api\";\r\n\r\nimport tables from \"@/components/table.vue\";\r\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport down from \"./down.vue\";\r\n\r\nimport bg from '@/components/bg.vue'\r\nconst TableRef = ref()\r\n\r\nconst loading = ref(false)\r\ninterface ListItem {\r\n value: string\r\n label: string\r\n}\r\nconst list = ref<ListItem[]>([])\r\nconst options = ref<ListItem[]>([])\r\nconst click2 = async ()=>{options.value = list.value }\r\nonMounted(async() => {\r\n const result:any = await stockunit({type:2,name:''})\r\n let arr = result.data?.list || []\r\n list.value = arr.map((item:any) => {\r\n return { value: item, label: item}\r\n })\r\n})\r\nconst remoteMethod = async(query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options.value = list.value.filter((item:any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options.value = []\r\n }\r\n}\r\n\r\n\r\n// 渲染表格\r\nconst columns: any = [\r\n { prop: 'date', label: '日期', width: 120 },\r\n { prop: 'receiving_unit', label: '购货单位', width: 150 },\r\n { prop: 'product_name', label: '品种', width: 150 },\r\n { prop: 'dosage_form_name', label: '剂型', width: 100 },\r\n { prop: 'spec_name', label: '规格(剂/支或粒)', width: 150 },\r\n { prop: 'enterprise_name', label: '生产企业', width: 150 },\r\n { prop: 'batch_number', label: '血液制品批号', width: 150 },\r\n { prop: 'expiry_date', label: '失效日期', width: 120 },\r\n \r\n { prop: 'approval_number', label: '批准文号', width: 120 },\r\n { prop: 'quantity', label: '数量', width: 120 },\r\n { prop: 'unit_name', label: '单位', width: 80 },\r\n { prop: 'sales_unit_price', label: '单价', width: 120 },\r\n { prop: 'sales_money', label: '金额', 'min-width': 120 },\r\n]\r\n\r\n//请求参数\r\nconst data:any = reactive({\r\n datePicker: [],//时间选择\r\n initParam: {\r\n \"date\": \"\",\r\n \"receivingUnit\": \"\"\r\n }\r\n})\r\n\r\n//搜索\r\nconst eventFun = async ()=>{\r\n nextTick(() => {\r\n TableRef.value?.getTableList()\r\n })\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n\r\n</style>","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=ea3ceaec&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw new $TypeError('Not enough arguments');\n return passed;\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar $URLSearchParams = URLSearchParams;\nvar URLSearchParamsPrototype = $URLSearchParams.prototype;\nvar append = uncurryThis(URLSearchParamsPrototype.append);\nvar $delete = uncurryThis(URLSearchParamsPrototype['delete']);\nvar forEach = uncurryThis(URLSearchParamsPrototype.forEach);\nvar push = uncurryThis([].push);\nvar params = new $URLSearchParams('a=1&a=2&b=3');\n\nparams['delete']('a', 1);\n// `undefined` case is a Chromium 117 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=14222\nparams['delete']('b', undefined);\n\nif (params + '' !== 'a=2') {\n defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {\n var length = arguments.length;\n var $value = length < 2 ? undefined : arguments[1];\n if (length && $value === undefined) return $delete(this, name);\n var entries = [];\n forEach(this, function (v, k) { // also validates `this`\n push(entries, { key: k, value: v });\n });\n validateArgumentsLength(length, 1);\n var key = toString(name);\n var value = toString($value);\n var index = 0;\n var dindex = 0;\n var found = false;\n var entriesLength = entries.length;\n var entry;\n while (index < entriesLength) {\n entry = entries[index++];\n if (found || entry.key === key) {\n found = true;\n $delete(this, entry.key);\n } else dindex++;\n }\n while (dindex < entriesLength) {\n entry = entries[dindex++];\n if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);\n }\n }, { enumerable: true, unsafe: true });\n}\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar $URLSearchParams = URLSearchParams;\nvar URLSearchParamsPrototype = $URLSearchParams.prototype;\nvar getAll = uncurryThis(URLSearchParamsPrototype.getAll);\nvar $has = uncurryThis(URLSearchParamsPrototype.has);\nvar params = new $URLSearchParams('a=1');\n\n// `undefined` case is a Chromium 117 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=14222\nif (params.has('a', 2) || !params.has('a', undefined)) {\n defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {\n var length = arguments.length;\n var $value = length < 2 ? undefined : arguments[1];\n if (length && $value === undefined) return $has(this, name);\n var values = getAll(this, name); // also validates `this`\n validateArgumentsLength(length, 1);\n var value = toString($value);\n var index = 0;\n while (index < values.length) {\n if (values[index++] === value) return true;\n } return false;\n }, { enumerable: true, unsafe: true });\n}\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar URLSearchParamsPrototype = URLSearchParams.prototype;\nvar forEach = uncurryThis(URLSearchParamsPrototype.forEach);\n\n// `URLSearchParams.prototype.size` getter\n// https://github.com/whatwg/url/pull/734\nif (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {\n defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {\n get: function size() {\n var count = 0;\n forEach(this, function () { count++; });\n return count;\n },\n configurable: true,\n enumerable: true\n });\n}\n"],"names":["getContentExportApi","params","$http","post","responseType","downloadExcelFun","res","fileName","decodeURIComponent","headers","blob","Blob","data","type","url","window","URL","createObjectURL","a","document","createElement","href","download","split","click","revokeObjectURL","downPDF","result","fileAddress","innHtml","open","print","class","_createElementVNode","_hoisted_2","_createElementBlock","_hoisted_1","_hoisted_3","script","__exports__","render","style","_defineComponent","__name","props","istitle","String","default","setup","__props","_ctx","_cache","_component_el_text","_resolveComponent","_openBlock","_createVNode","markGreen","tag","_withCtx","_renderSlot","$slots","_createTextVNode","_toDisplayString","_","isButtom","labelWidth","inline","Boolean","emits","emit","__emit","reactive","input","subClick","_component_el_button","_component_el_form_item","_component_el_form","onClick","useTable","requestApi","initParam","isPagination","dataCallback","state","tableData","loading","pageable","pageNum","pageSize","total","RemainingTime","small","disabled","searchParam","searchInitParam","totalParam","getTableList","async","page","then","list","parseInt","count","Data","handleSizeChange","val","handleCurrentChange","searchTable","toRefs","key","columns","title","pagination","layout","border","toolButton","selectId","displayHeader","rowClick","selectionChange","getRowKey","tableRowClassName","size","width","height","maxHeight","fit","stripe","rowKey","context","showHeader","showSummary","sumText","summaryMethod","rowClassName","rowStyle","cellClassName","cellStyle","headerRowClassName","headerRowStyle","headerCellClassName","headerCellStyle","highlightCurrentRow","currentRowKey","emptyText","expandRowKeys","defaultExpandAll","defaultSort","tooltipEffect","tooltipOptions","spanMethod","selectOnIndeterminate","indent","treeProps","lazy","load","className","tableLayout","scrollbarAlwaysOn","flexible","showOverflowTooltip","Object","expose","__expose","tableColumns","ref","_component_el_table_column","_component_el_tooltip","_component_el_empty","_component_el_table","_component_el_pagination","_directive_loading","_resolveDirective","_withDirectives","_createBlock","_unref","onRowClick","onSelectionChange","append","empty","_Fragment","_renderList","value","item","_mergeProps","align","_createCommentVNode","scope","_resolveDynamicComponent","row","prop","name","ellipsis","effect","content","placement","fixed","$event","onSizeChange","onCurrentChange","formLabelWidth","dialogFormVisible","formRef","date","receivingUnit","drawer","consigner","finance","consignee","printFun","imgUrl","formEl","validate","valid","inventExcel","catch","error","console","log","toString","showDialog","onMounted","stockunit","arr","map","label","options","click2","remoteMethod","query","setTimeout","filter","toLowerCase","includes","_component_el_date_picker","_component_el_option","_component_el_select","_component_el_input","_component_el_radio","_component_el_radio_group","_component_el_dialog","round","icon","Download","modelValue","draggable","footer","model","ref_key","rules","required","message","clearable","filterable","remote","placeholder","autocomplete","TableRef","datePicker","eventFun","nextTick","searchAdd","onEvent","searchConter","bg","btn","down","tables","orderList","TO_STRING_TAG_SUPPORT","isCallable","classofRaw","wellKnownSymbol","TO_STRING_TAG","$Object","CORRECT_ARGUMENTS","arguments","tryGet","it","module","exports","O","undefined","callee","makeBuiltIn","defineProperty","target","descriptor","get","getter","set","setter","f","test","classof","$String","argument","TypeError","$TypeError","passed","defineBuiltIn","uncurryThis","validateArgumentsLength","$URLSearchParams","URLSearchParams","URLSearchParamsPrototype","prototype","$delete","forEach","push","length","$value","this","entries","v","k","entry","index","dindex","found","entriesLength","enumerable","unsafe","getAll","$has","has","values","DESCRIPTORS","defineBuiltInAccessor","configurable"],"sourceRoot":""}
|