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tB,EAA2BD,gBAAgBE,UAC3ChJ,EAAU0I,EAAYK,EAAyB/I,SAI/CoK,KAAiB,SAAUrB,IAC7BsB,EAAsBtB,EAA0B,OAAQ,CACtDlB,IAAK,WACH,IAAIrD,EAAQ,EAEZ,OADAxE,EAAQqJ,MAAM,WAAc7E,GAAS,IAC9BA,CACT,EACA8F,cAAc,EACdR,YAAY,G","sources":["webpack://baozhidao-putoutstorage/./src/plugins/selectData.ts","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/views/stockcontrol/transmitReceive/downing.vue?8725","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/transmitReceive/downing.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/transmitReceive/downing.vue?5d02","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/transmitReceive/index.vue?1fd1","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/transmitReceive/index.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/transmitReceive/index.vue?af8e","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":["import {\r\n inventoryList,\r\n productList,//血液制品名称\r\n enterpriseList,//生产企业\r\n stockunit,//收发货单位 2收货,3发货\r\n specList,//规格\r\n batchnumber,//批号\r\n} from \"@/api\";\r\n\r\n\r\n/**\r\n * 批号\r\n * @param params \r\n */\r\nexport async function LotNumber() {\r\n const reslut:any =await batchnumber({})\r\n return reslut.data\r\n}\r\n\r\n/**\r\n * 收货单位\r\n * @param params \r\n */\r\nexport async function shoubat() {\r\n const reslut:any =await stockunit({type:2})\r\n return reslut.data.list || []\r\n}\r\n\r\n/**\r\n * 规格\r\n */\r\nexport async function specification(){\r\n const reslut:any =await specList({ page: 1, pageSize: 999 })\r\n return reslut.data?.list\r\n}\r\n/**\r\n * 品名(血液制品名称)\r\n */\r\nexport async function gradeName(){\r\n const reslut:any =await productList({ page: 1, pageSize: 999 })\r\n return reslut.data?.list\r\n}\r\n\r\n/**\r\n * 单位\r\n */\r\nexport function unitFun(){\r\n\r\n}\r\n/**\r\n * 生产企业\r\n */\r\nexport async function enterpriseFun(){\r\n const reslut:any =await enterpriseList({ page: 1, pageSize: 999 })\r\n return reslut.data?.list\r\n}\r\n/**\r\n * 收发货单位 2收货,3发货\r\n */\r\nexport async function stockunitFun(type:any){\r\n const reslut:any =await stockunit({ type: type })\r\n return reslut.data?.list\r\n}","/**\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 { defineComponent as _defineComponent } from 'vue'\nimport { 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, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-footer\" }\nconst _hoisted_2 = { class: \"dialog-footer\" }\n\nimport { inventoryExcel, transportWord,stockunit } from \"@/api\";\r\nimport { gradeName, enterpriseFun, stockunitFun, specification, LotNumber,shoubat } from \"@/plugins/selectData\";\r\nimport { reactive, ref, onMounted } from 'vue'\r\nimport { downPDF, downloadExcelFun } from \"@/utils/download\";\r\nimport type { FormInstance } from 'element-plus'\r\nconst formLabelWidth = '80px'\r\ninterface RuleForm {\r\n batchNumber: any,\r\n enterpriseId?: any,\r\n productId?: any,\r\n specId: any,\r\n type: string\r\n}\r\ninterface RuleForm1 {\r\n date: any,\r\n receivingUnit?: any,\r\n productId?: any,\r\n type: string\r\n}\r\ninterface ListItem {\r\n value: string\r\n label: string\r\n}\r\n\r\ninterface RestaurantItem {\r\n value: string\r\n link: string\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'downing',\n setup(__props) {\n\r\nconst dialogFormVisible = ref(false)\r\nconst dialogFormVisible1 = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst ruleFormRef1 = ref<FormInstance>()\r\nconst loading = ref(false)\r\nconst initParam = reactive<RuleForm>({//请求参数\r\n \"batchNumber\":'',\r\n \"enterpriseId\": null,\r\n \"productId\": null,\r\n \"specId\": null,\r\n \"type\": ''\r\n})\r\nconst initParamWord = reactive<RuleForm1>({//请求参数\r\n \"date\": null,\r\n \"receivingUnit\": '',\r\n \"productId\": null,\r\n \"type\": ''\r\n})\r\nonMounted(async () => {\r\n const result1: any = await gradeName()//疫苗名称\r\n const result2: any = await enterpriseFun()//生产企业\r\n const result3: any = await specification()//规格\r\n const result4: any = await stockunitFun(2)//收发货单位\r\n\r\n list1.value = findMap(result1 || [], 'obj')\r\n list2.value = findMap(result2 || [], 'obj')\r\n list3.value = findMap(result3 || [], 'obj')\r\n list4.value = findMap(result4 || [], 'map')\r\n})\r\n//函数\r\nconst findMap = (arr: any, obj: any) => {\r\n return arr.map((item: any) => {\r\n return { value: obj == 'obj' ? item.id : item, label: obj == 'obj' ? item.name : item }\r\n })\r\n}\r\nconst click1 = async () => { options1.value = list1.value }\r\nconst click2 = async () => { options2.value = list2.value }\r\nconst click3 = async () => { options3.value = list3.value }\r\nconst click4 = async () => { options4.value = list4.value }\r\n\r\n\r\nconst list1 = ref<ListItem[]>([])//疫苗名称\r\nconst list2 = ref<ListItem[]>([])//生产企业\r\nconst list3 = ref<ListItem[]>([])//收发货单位\r\nconst list4 = ref<ListItem[]>([])//收发货单位\r\n\r\n\r\nconst options1 = ref<ListItem[]>([])\r\nconst options2 = ref<ListItem[]>([])\r\nconst options3 = ref<ListItem[]>([])\r\nconst options4 = ref<ListItem[]>([])\r\n\r\n\r\n\r\nconst remoteMethod1 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options1.value = list1.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options1.value = []\r\n }\r\n}\r\nconst remoteMethod2 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options2.value = list2.value.filter((item: any) => {\r\n console.log('第一个', query, item)\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options2.value = []\r\n }\r\n}\r\nconst remoteMethod3 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options3.value = list3.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options3.value = []\r\n }\r\n}\r\nconst remoteMethod4 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options4.value = list4.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options3.value = []\r\n }\r\n}\r\n//函数\r\nconst showdialog = async ()=>{\r\n dialogFormVisible.value = true\r\n const reslut:any = await LotNumber()\r\n console.log('数据1',reslut)\r\n const arrMap = reslut\r\n const arr:any = []\r\n arrMap.forEach((item:any)=>{\r\n arr.push({ value: item, link: item}) \r\n })\r\n restaurants.value = arr\r\n console.log('数据2',restaurants.value)\r\n}\r\n\r\nconst restaurants = ref<RestaurantItem[]>([])\r\nconst querySearch = (queryString: string, cb: any) => {\r\n const results = queryString\r\n ? restaurants.value.filter(createFilter(queryString))\r\n : restaurants.value\r\n cb(results)\r\n}\r\n\r\n\r\nconst createFilter = (queryString: string) => {\r\n return (restaurant: RestaurantItem) => {\r\n return (\r\n restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0\r\n )\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n//显示运输登记\r\nconst showdialogdialog = async ()=>{\r\n dialogFormVisible1.value = true\r\n const reslut:any = await shoubat()\r\n console.log('数据1',reslut)\r\n const arrMap = reslut\r\n const arr:any = []\r\n arrMap.forEach((item:any)=>{\r\n arr.push({ value: item, link: item}) \r\n })\r\n restaurants1.value = arr\r\n console.log('数据2',restaurants1.value)\r\n}\r\nconst restaurants1 = ref<RestaurantItem[]>([])\r\nconst querySearch1 = (queryString: string, cb: any) => {\r\n const results = queryString\r\n ? restaurants1.value.filter(createFilter(queryString))\r\n : restaurants1.value\r\n cb(results)\r\n}\r\n\r\n\r\nconst rules = reactive({\r\n batchNumber: [{ required: true, message: '必填项', trigger: 'change' }],\r\n enterpriseId: [{ required: true, message: '必填项', trigger: 'change' }],\r\n productId: [{ required: true, message: '必填项', trigger: 'change' }],\r\n specId: [{ required: true, message: '必填项', trigger: 'change' }],\r\n})\r\nconst submitForm = async (formEl: FormInstance | undefined,ty:string) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n initParam.type = ty\r\n const result = await inventoryExcel(initParam)\r\n ty=='excel'?downloadExcelFun(result):downPDF(result)\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\nconst rules1 = reactive({\r\n date: [{ required: true, message: '必填项', trigger: 'change' }],\r\n receivingUnit: [{ required: true, message: '必填项', trigger: 'change' }],\r\n})\r\nconst submitForm1 = async (formEl: FormInstance | undefined,ty:any) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n initParamWord.type = ty\r\n const result:any = await transportWord(initParamWord)\r\n\r\n console.log('result',result,ty)\r\n ty=='word'?downloadExcelFun(result):downPDF(result)\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_autocomplete = _resolveComponent(\"el-autocomplete\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_el_button, {\n \"el-button\": \"\",\n type: \"primary\",\n icon: \"Download\",\n onClick: showdialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"收发登记表\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n \"el-button\": \"\",\n type: \"primary\",\n icon: \"Download\",\n onClick: showdialogdialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"运输登记表\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_dialog, {\n \"destroy-on-close\": true,\n modelValue: dialogFormVisible.value,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($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_1, [\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) => (submitForm(ruleFormRef.value,'excel')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"导出\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => (submitForm(ruleFormRef.value,'pdf')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"打印\")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n model: initParam,\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n rules: rules\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"品名\",\n \"label-width\": formLabelWidth,\n prop: \"productId\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: initParam.productId,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((initParam.productId) = $event)),\n modelModifiers: { number: true },\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"品名\",\n \"remote-method\": remoteMethod1,\n loading: loading.value,\n clearable: \"\",\n style: {\"width\":\"100%\"},\n onClear: _cache[1] || (_cache[1] = ($event: any) => (initParam.productId = null)),\n onClick: click1\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options1.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 prop: \"enterpriseId\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: initParam.enterpriseId,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((initParam.enterpriseId) = $event)),\n modelModifiers: { number: true },\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"生产企业\",\n \"remote-method\": remoteMethod2,\n loading: loading.value,\n clearable: \"\",\n style: {\"width\":\"100%\"},\n onClear: _cache[3] || (_cache[3] = ($event: any) => (initParam.enterpriseId = null)),\n onClick: click2\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options2.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 prop: \"specId\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: initParam.specId,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((initParam.specId) = $event)),\n modelModifiers: { number: true },\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"规格\",\n \"remote-method\": remoteMethod3,\n loading: loading.value,\n clearable: \"\",\n style: {\"width\":\"100%\"},\n onClear: _cache[5] || (_cache[5] = ($event: any) => (initParam.specId = null)),\n onClick: click3\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options3.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 prop: \"batchNumber\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: initParam.batchNumber,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((initParam.batchNumber) = $event)),\n \"fetch-suggestions\": querySearch,\n clearable: \"\",\n class: \"inputWidth\",\n placeholder: \"批号\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_el_dialog, {\n \"destroy-on-close\": true,\n modelValue: dialogFormVisible1.value,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((dialogFormVisible1).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[15] || (_cache[15] = ($event: any) => (dialogFormVisible1.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancel\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[16] || (_cache[16] = ($event: any) => (submitForm1(ruleFormRef1.value,'word')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"导出\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[17] || (_cache[17] = ($event: any) => (submitForm1(ruleFormRef1.value,'pdf')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"打印\")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n model: initParamWord,\n ref_key: \"ruleFormRef1\",\n ref: ruleFormRef1,\n rules: rules1\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"出库日期\",\n \"label-width\": formLabelWidth,\n prop: \"date\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: initParamWord.date,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((initParamWord.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 }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: initParamWord.receivingUnit,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((initParamWord.receivingUnit) = $event)),\n \"fetch-suggestions\": querySearch1,\n clearable: \"\",\n class: \"inputWidth\",\n placeholder: \"收货单位\",\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 }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: initParamWord.productId,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((initParamWord.productId) = $event)),\n modelModifiers: { number: true },\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"品名\",\n \"remote-method\": remoteMethod1,\n loading: loading.value,\n clearable: \"\",\n style: {\"width\":\"100%\"},\n onClear: _cache[14] || (_cache[14] = ($event: any) => (initParamWord.productId = null)),\n onClick: click1\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options1.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 }, 8, [\"model\", \"rules\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ], 64))\n}\n}\n\n})","<template> \r\n <el-button el-button type=\"primary\" icon=\"Download\" @click=\"showdialog\">收发登记表</el-button>\r\n <el-button el-button type=\"primary\" icon=\"Download\" @click=\"showdialogdialog\">运输登记表</el-button>\r\n <el-dialog :destroy-on-close=\"true\" v-model=\"dialogFormVisible\" title=\"收发登记表\" :append-to-body=\"true\" draggable width=\"30%\">\r\n <el-form :model=\"initParam\" ref=\"ruleFormRef\" :rules=\"rules\">\r\n <el-form-item label=\"品名\" :label-width=\"formLabelWidth\" prop=\"productId\">\r\n <el-select v-model.number=\"initParam.productId\" filterable remote reserve-keyword placeholder=\"品名\"\r\n :remote-method=\"remoteMethod1\" :loading=\"loading\" clearable style=\"width: 100%;\"\r\n @clear=\"initParam.productId = null\" @click=\"click1\">\r\n <el-option v-for=\"item in options1\" :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\" prop=\"enterpriseId\">\r\n <el-select v-model.number=\"initParam.enterpriseId\" filterable remote reserve-keyword placeholder=\"生产企业\"\r\n :remote-method=\"remoteMethod2\" :loading=\"loading\" clearable style=\"width: 100%;\"\r\n @clear=\"initParam.enterpriseId = null\" @click=\"click2\">\r\n <el-option v-for=\"item in options2\" :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\" prop=\"specId\">\r\n <el-select v-model.number=\"initParam.specId\" filterable remote reserve-keyword placeholder=\"规格\"\r\n :remote-method=\"remoteMethod3\" :loading=\"loading\" clearable style=\"width: 100%;\"\r\n @clear=\"initParam.specId = null\" @click=\"click3\">\r\n <el-option v-for=\"item in options3\" :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\" prop=\"batchNumber\">\r\n <!-- <el-select v-model=\"initParam.batchNumber\" class=\"m-2\" placeholder=\"Select\" style=\"width: 100%;\">\r\n <el-option v-for=\"item in options5\" :key=\"item\" :label=\"item\" :value=\"item\" />\r\n </el-select> -->\r\n <el-autocomplete v-model=\"initParam.batchNumber\" :fetch-suggestions=\"querySearch\" clearable \r\n class=\"inputWidth\" placeholder=\"批号\" style=\"width: 100%;\"/>\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=\"submitForm(ruleFormRef,'excel')\">导出</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm(ruleFormRef,'pdf')\">打印</el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n <el-dialog :destroy-on-close=\"true\" v-model=\"dialogFormVisible1\" title=\"运输登记表\" :append-to-body=\"true\" draggable width=\"30%\">\r\n <el-form :model=\"initParamWord\" ref=\"ruleFormRef1\" :rules=\"rules1\">\r\n <el-form-item label=\"出库日期\" :label-width=\"formLabelWidth\" prop=\"date\">\r\n <el-date-picker v-model=\"initParamWord.date\" type=\"date\" value-format=\"YYYY-MM-DD\" clearable\r\n style=\"width: 100%;\" />\r\n </el-form-item>\r\n <el-form-item label=\"收货单位\" :label-width=\"formLabelWidth\" prop=\"receivingUnit\">\r\n <!-- <el-select v-model.number=\"initParamWord.receivingUnit\" filterable remote reserve-keyword placeholder=\"收货单位\"\r\n :remote-method=\"remoteMethod4\" :loading=\"loading\" clearable style=\"width: 100%;\"\r\n @clear=\"initParamWord.receivingUnit = null\" @click=\"click4\">\r\n <el-option v-for=\"item in options4\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\" />\r\n </el-select> -->\r\n\r\n <el-autocomplete v-model=\"initParamWord.receivingUnit\" :fetch-suggestions=\"querySearch1\" clearable class=\"inputWidth\"\r\n placeholder=\"收货单位\" style=\"width: 100%;\" />\r\n </el-form-item>\r\n <el-form-item label=\"品名\" :label-width=\"formLabelWidth\">\r\n <el-select v-model.number=\"initParamWord.productId\" filterable remote reserve-keyword placeholder=\"品名\"\r\n :remote-method=\"remoteMethod1\" :loading=\"loading\" clearable style=\"width: 100%;\"\r\n @clear=\"initParamWord.productId = null\" @click=\"click1\">\r\n <el-option v-for=\"item in options1\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\" />\r\n </el-select>\r\n </el-form-item>\r\n </el-form>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button @click=\"dialogFormVisible1 = false\">Cancel</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm1(ruleFormRef1,'word')\">导出</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm1(ruleFormRef1,'pdf')\">打印</el-button>\r\n\r\n </span>\r\n </template>\r\n </el-dialog>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { inventoryExcel, transportWord,stockunit } from \"@/api\";\r\nimport { gradeName, enterpriseFun, stockunitFun, specification, LotNumber,shoubat } from \"@/plugins/selectData\";\r\nimport { reactive, ref, onMounted } from 'vue'\r\nimport { downPDF, downloadExcelFun } from \"@/utils/download\";\r\nimport type { FormInstance } from 'element-plus'\r\nconst dialogFormVisible = ref(false)\r\nconst dialogFormVisible1 = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst ruleFormRef1 = ref<FormInstance>()\r\nconst formLabelWidth = '80px'\r\nconst loading = ref(false)\r\ninterface RuleForm {\r\n batchNumber: any,\r\n enterpriseId?: any,\r\n productId?: any,\r\n specId: any,\r\n type: string\r\n}\r\nconst initParam = reactive<RuleForm>({//请求参数\r\n \"batchNumber\":'',\r\n \"enterpriseId\": null,\r\n \"productId\": null,\r\n \"specId\": null,\r\n \"type\": ''\r\n})\r\ninterface RuleForm1 {\r\n date: any,\r\n receivingUnit?: any,\r\n productId?: any,\r\n type: string\r\n}\r\nconst initParamWord = reactive<RuleForm1>({//请求参数\r\n \"date\": null,\r\n \"receivingUnit\": '',\r\n \"productId\": null,\r\n \"type\": ''\r\n})\r\nonMounted(async () => {\r\n const result1: any = await gradeName()//疫苗名称\r\n const result2: any = await enterpriseFun()//生产企业\r\n const result3: any = await specification()//规格\r\n const result4: any = await stockunitFun(2)//收发货单位\r\n\r\n list1.value = findMap(result1 || [], 'obj')\r\n list2.value = findMap(result2 || [], 'obj')\r\n list3.value = findMap(result3 || [], 'obj')\r\n list4.value = findMap(result4 || [], 'map')\r\n})\r\n//函数\r\nconst findMap = (arr: any, obj: any) => {\r\n return arr.map((item: any) => {\r\n return { value: obj == 'obj' ? item.id : item, label: obj == 'obj' ? item.name : item }\r\n })\r\n}\r\ninterface ListItem {\r\n value: string\r\n label: string\r\n}\r\n\r\nconst click1 = async () => { options1.value = list1.value }\r\nconst click2 = async () => { options2.value = list2.value }\r\nconst click3 = async () => { options3.value = list3.value }\r\nconst click4 = async () => { options4.value = list4.value }\r\n\r\n\r\nconst list1 = ref<ListItem[]>([])//疫苗名称\r\nconst list2 = ref<ListItem[]>([])//生产企业\r\nconst list3 = ref<ListItem[]>([])//收发货单位\r\nconst list4 = ref<ListItem[]>([])//收发货单位\r\n\r\n\r\nconst options1 = ref<ListItem[]>([])\r\nconst options2 = ref<ListItem[]>([])\r\nconst options3 = ref<ListItem[]>([])\r\nconst options4 = ref<ListItem[]>([])\r\n\r\n\r\n\r\nconst remoteMethod1 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options1.value = list1.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options1.value = []\r\n }\r\n}\r\nconst remoteMethod2 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options2.value = list2.value.filter((item: any) => {\r\n console.log('第一个', query, item)\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options2.value = []\r\n }\r\n}\r\nconst remoteMethod3 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options3.value = list3.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options3.value = []\r\n }\r\n}\r\nconst remoteMethod4 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options4.value = list4.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options3.value = []\r\n }\r\n}\r\n//函数\r\nconst showdialog = async ()=>{\r\n dialogFormVisible.value = true\r\n const reslut:any = await LotNumber()\r\n console.log('数据1',reslut)\r\n const arrMap = reslut\r\n const arr:any = []\r\n arrMap.forEach((item:any)=>{\r\n arr.push({ value: item, link: item}) \r\n })\r\n restaurants.value = arr\r\n console.log('数据2',restaurants.value)\r\n}\r\n\r\ninterface RestaurantItem {\r\n value: string\r\n link: string\r\n}\r\nconst restaurants = ref<RestaurantItem[]>([])\r\nconst querySearch = (queryString: string, cb: any) => {\r\n const results = queryString\r\n ? restaurants.value.filter(createFilter(queryString))\r\n : restaurants.value\r\n cb(results)\r\n}\r\n\r\n\r\nconst createFilter = (queryString: string) => {\r\n return (restaurant: RestaurantItem) => {\r\n return (\r\n restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0\r\n )\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n//显示运输登记\r\nconst showdialogdialog = async ()=>{\r\n dialogFormVisible1.value = true\r\n const reslut:any = await shoubat()\r\n console.log('数据1',reslut)\r\n const arrMap = reslut\r\n const arr:any = []\r\n arrMap.forEach((item:any)=>{\r\n arr.push({ value: item, link: item}) \r\n })\r\n restaurants1.value = arr\r\n console.log('数据2',restaurants1.value)\r\n}\r\nconst restaurants1 = ref<RestaurantItem[]>([])\r\nconst querySearch1 = (queryString: string, cb: any) => {\r\n const results = queryString\r\n ? restaurants1.value.filter(createFilter(queryString))\r\n : restaurants1.value\r\n cb(results)\r\n}\r\n\r\n\r\nconst rules = reactive({\r\n batchNumber: [{ required: true, message: '必填项', trigger: 'change' }],\r\n enterpriseId: [{ required: true, message: '必填项', trigger: 'change' }],\r\n productId: [{ required: true, message: '必填项', trigger: 'change' }],\r\n specId: [{ required: true, message: '必填项', trigger: 'change' }],\r\n})\r\nconst submitForm = async (formEl: FormInstance | undefined,ty:string) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n initParam.type = ty\r\n const result = await inventoryExcel(initParam)\r\n ty=='excel'?downloadExcelFun(result):downPDF(result)\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\nconst rules1 = reactive({\r\n date: [{ required: true, message: '必填项', trigger: 'change' }],\r\n receivingUnit: [{ required: true, message: '必填项', trigger: 'change' }],\r\n})\r\nconst submitForm1 = async (formEl: FormInstance | undefined,ty:any) => {\r\n if (!formEl) return\r\n await formEl.validate(async (valid, fields) => {\r\n if (valid) {\r\n initParamWord.type = ty\r\n const result:any = await transportWord(initParamWord)\r\n\r\n console.log('result',result,ty)\r\n ty=='word'?downloadExcelFun(result):downPDF(result)\r\n } else {\r\n console.log('error submit!', fields)\r\n }\r\n })\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n.inputWidth {\r\n width: 200px;\r\n}\r\n</style>","import script from \"./downing.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./downing.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./downing.vue?vue&type=style&index=0&id=7dcf445e&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, unref as _unref, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"storagePut\" }\nconst _hoisted_2 = { style: {\"margin-top\":\"20px\"} }\n\nimport {\r\n inventoryList,\r\n productList,//血液制品名称\r\n enterpriseList,//生产企业\r\n stockunit,//收发货单位\r\n} from \"@/api\";\r\nimport downing from \"./downing.vue\";\r\nimport { reactive, ref, onMounted } from \"vue\";\r\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport bg from '@/components/bg.vue'\r\nimport { ElTable } from 'element-plus'\r\ninterface RuleForm {\r\n page: number,\r\n pageSize: number,\r\n batchNumber: string,\r\n enterpriseId?: any,\r\n endDate: string,\r\n startDate: string,\r\n productId?: any,\r\n sendReceiveUnit: string,\r\n}\r\ninterface User {\r\n date: string\r\n name: string\r\n address: string\r\n}\r\n\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 loading = ref(false)\r\n\r\n\r\n\r\n\r\nconst initParam = reactive<RuleForm>({//请求参数\r\n \"page\": 1,\r\n \"pageSize\": 5,\r\n \"batchNumber\": \"\",\r\n \"enterpriseId\": null,\r\n \"endDate\": \"\",\r\n \"startDate\": \"\",\r\n \"productId\":null,\r\n \"sendReceiveUnit\": \"\"\r\n})\r\nconst data: any = reactive({\r\n tableData: [],\r\n datepick:[],\r\n total: 0,\r\n str: ''\r\n})\r\n\r\n\r\n//函数\r\nconst changFun = async (e:any)=>{\r\n if(e){initParam.startDate=e[0];initParam.endDate=e[1]}\r\n else {initParam.startDate=\"\";initParam.endDate=\"\"}\r\n}\r\n\r\n\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'selection', width: '60px', fixed: 'left' },\r\n { prop: 'product_name', label: '血液制品名称', width: '120px' },\r\n { prop: 'enterprise_name', label: '生产企业',},\r\n { prop: 'approval_number', label: '批准文号', width: '120px' },\r\n { prop: 'batch_number', label: '血液制品批号', width: 120 },\r\n { prop: 'expiry_date', label: '失效日期', width: 120 },\r\n { prop: 'total_in', label: '收入数量', width: 100 },\r\n { prop: 'total_out', label: '发出数量', width: 85 },\r\n { prop: 'balance', label: '结余数量', width: 100 },\r\n { prop: 'unit_name', label: '单位', width: 80 },\r\n { prop: 'dosage_form_name', label: '剂型', width: 100 },\r\n { prop: 'operator', label: '经办人', width: 100 },\r\n { prop: 'forwarding_unit', label: '发货单位', width: 150 },\r\n { prop: 'receiving_unit', label: '收货单位', width:150 },\r\n { prop: 'date', label: '日期', width:120},\r\n // { prop: 'operation', label: '操作', fixed: 'right'}\r\n]\r\n\r\n//设置时间\r\nconst datepickFn = ()=>{\r\n const today = new Date()\r\n const year = today.getFullYear();\r\n const month = (today.getMonth() + 1).toString().padStart(2,'0'); \r\n const date = (today.getDate()).toString().padStart(2,'0');\r\n const j = year +'-' + month + '-'+date\r\n data.datepick = [j,j]\r\n initParam.startDate = j; \r\n initParam.endDate = j\r\n}\r\n// datepickFn()\r\nconst userListApi = async () => {\r\n const result: any = await inventoryList(initParam)\r\n data.tableData = result.data?.list || []\r\n data.total = result.data?.count || 0\r\n}\r\nuserListApi()\r\n\r\n//函数\r\nconst printFun = async ()=>{\r\n window.print() //打印\r\n}\r\nconst multipleTableRef = ref<InstanceType<typeof ElTable>>()\r\nconst multipleSelection = ref<User[]>([])\r\nconst handleSelectionChange = (val: User[]) => {\r\n multipleSelection.value = val\r\n console.log('选中', multipleSelection.value);\r\n}\r\n\r\nconst handleCurrentChange = async (page: any) => {\r\n initParam.page = page\r\n userListApi()\r\n}\r\n\r\nonMounted(async () => {\r\n const result1: any = await productList({ page: 1, pageSize: 999 })//血液制品名称\r\n const result2: any = await enterpriseList({ page: 1, pageSize: 999 })//生产企业\r\n const result3: any = await stockunit({ type: 3 })//收发货单位\r\n\r\n list1.value = findMap(result1.data?.list || [],'obj')\r\n list2.value = findMap(result2.data?.list || [],'obj')\r\n list3.value = findMap(result3.data?.list || [],'map')\r\n})\r\n//函数\r\nconst click1 = async ()=>{options1.value = list1.value }\r\nconst click2 = async ()=>{options2.value = list2.value }\r\nconst click3 = async ()=>{options3.value = list3.value}\r\n\r\nconst list1 = ref<ListItem[]>([])//血液制品名称\r\nconst list2 = ref<ListItem[]>([])//生产企业\r\nconst list3 = ref<ListItem[]>([])//收发货单位\r\n\r\n//函数\r\nconst findMap = (arr: any,obj: any) => {\r\n return arr.map((item: any) => {\r\n return { value: obj=='obj'?item.id:item, label:obj=='obj'?item.name:item }\r\n })\r\n}\r\n\r\n\r\nconst options1 = ref<ListItem[]>([])\r\nconst options2 = ref<ListItem[]>([])\r\nconst options3 = ref<ListItem[]>([])\r\n\r\nconst remoteMethod1 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options1.value = list1.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options1.value = []\r\n }\r\n}\r\nconst remoteMethod2 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options2.value = list2.value.filter((item: any) => {\r\n console.log('第一个',query,item)\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options2.value = []\r\n }\r\n}\r\nconst remoteMethod3 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options3.value = list3.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options3.value = []\r\n }\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")!\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_pagination = _resolveComponent(\"el-pagination\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(searchAdd, {\n isButtom: \"查询\",\n onEvent: _cache[7] || (_cache[7] = ($event: any) => (userListApi()))\n }, {\n searchConter: _withCtx(() => [\n _createVNode(_component_el_form_item, { label: \"血液制品名称\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: initParam.productId,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((initParam.productId) = $event)),\n modelModifiers: { number: true },\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"血液制品名称\",\n \"remote-method\": remoteMethod1,\n loading: loading.value,\n clearable: \"\",\n style: {\"width\":\"200px\"},\n onClear: _cache[1] || (_cache[1] = ($event: any) => (initParam.productId=null)),\n onClick: click1\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options1.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, { label: \"生产企业\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: initParam.enterpriseId,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((initParam.enterpriseId) = $event)),\n modelModifiers: { number: true },\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"生产企业\",\n \"remote-method\": remoteMethod2,\n loading: loading.value,\n clearable: \"\",\n onClear: _cache[3] || (_cache[3] = ($event: any) => (initParam.enterpriseId=null)),\n onClick: click2,\n style: {\"width\":\"200px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options2.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, { label: \"血液制品批号\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: initParam.batchNumber,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((initParam.batchNumber) = $event)),\n placeholder: \"血液制品批号\",\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_date_picker, {\n modelValue: data.datepick,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((data.datepick) = $event)),\n type: \"daterange\",\n placeholder: \"出/入库日期\",\n clearable: \"\",\n \"value-format\": \"YYYY-MM-DD\",\n style: {\"width\":\"200px\"},\n onChange: changFun\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: initParam.sendReceiveUnit,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((initParam.sendReceiveUnit) = $event)),\n filterable: \"\",\n remote: \"\",\n \"reserve-keyword\": \"\",\n placeholder: \"收发单位\",\n \"remote-method\": remoteMethod3,\n loading: loading.value,\n clearable: \"\",\n onClick: click3,\n style: {\"width\":\"200px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options3.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(downing)\n ]),\n bg: _withCtx(() => [\n _createVNode(_unref(ElTable), {\n ref_key: \"multipleTableRef\",\n ref: multipleTableRef,\n data: data.tableData,\n border: \"\",\n style: {\"width\":\"100%\"},\n \"max-height\": \"450\",\n onSelectionChange: handleSelectionChange,\n \"row-key\": (row) => { return row.id }\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(columns, (item, i) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: i }, [\n (item.type)\n ? (_openBlock(), _createBlock(_component_el_table_column, {\n key: 0,\n type: item.type,\n width: \"55\",\n \"reserve-selection\": true,\n align: \"center\",\n fixed: \"\"\n }, null, 8, [\"type\"]))\n : _createCommentVNode(\"\", true),\n (item.prop)\n ? (_openBlock(), _createBlock(_component_el_table_column, {\n key: 1,\n property: item.prop,\n label: item.label,\n align: \"center\",\n width: item.width,\n \"show-overflow-tooltip\": true\n }, null, 8, [\"property\", \"label\", \"width\"]))\n : _createCommentVNode(\"\", true),\n (item.prop == 'operation')\n ? (_openBlock(), _createBlock(_component_el_table_column, {\n key: 2,\n label: item.label,\n fixed: \"right\",\n \"min-width\": \"200\"\n }, {\n default: _withCtx((scope) => [\n _createVNode(_component_el_button, {\n text: \"\",\n size: \"small\",\n type: \"primary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n text: \"\",\n size: \"small\",\n type: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"label\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 64))\n ]),\n _: 1\n }, 8, [\"data\", \"row-key\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_pagination, {\n \"current-page\": initParam.page,\n \"onUpdate:currentPage\": _cache[8] || (_cache[8] = ($event: any) => ((initParam.page) = $event)),\n \"page-size\": initParam.pageSize,\n \"onUpdate:pageSize\": _cache[9] || (_cache[9] = ($event: any) => ((initParam.pageSize) = $event)),\n layout: \"total, sizes, prev, pager, next, jumper\",\n total: data.total,\n onSizeChange: _cache[10] || (_cache[10] = ($event: any) => (userListApi())),\n onCurrentChange: handleCurrentChange\n }, null, 8, [\"current-page\", \"page-size\", \"total\"])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"storagePut\">\r\n <searchAdd isButtom=\"查询\" @event=\"userListApi()\">\r\n <template #searchConter>\r\n <el-form-item label=\"血液制品名称\">\r\n <el-select v-model.number=\"initParam.productId\" filterable remote reserve-keyword placeholder=\"血液制品名称\"\r\n :remote-method=\"remoteMethod1\" :loading=\"loading\" clearable style=\"width: 200px;\" @clear=\"initParam.productId=null\" @click=\"click1\">\r\n <el-option v-for=\"item in options1\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\" />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"生产企业\">\r\n <el-select v-model.number=\"initParam.enterpriseId\" filterable remote reserve-keyword placeholder=\"生产企业\"\r\n :remote-method=\"remoteMethod2\" :loading=\"loading\" clearable @clear=\"initParam.enterpriseId=null\" @click=\"click2\" style=\"width: 200px;\">\r\n <el-option v-for=\"item in options2\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\" />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"血液制品批号\">\r\n <el-input v-model=\"initParam.batchNumber\" placeholder=\"血液制品批号\" clearable style=\"width: 200px;\" />\r\n </el-form-item>\r\n <el-form-item label=\"出/入库日期\">\r\n <el-date-picker v-model=\"data.datepick\" type=\"daterange\" placeholder=\"出/入库日期\" clearable value-format=\"YYYY-MM-DD\"\r\n style=\"width: 200px;\" @change=\"changFun\" />\r\n </el-form-item>\r\n <el-form-item label=\"收发单位\">\r\n <el-select v-model=\"initParam.sendReceiveUnit\" filterable remote reserve-keyword placeholder=\"收发单位\"\r\n :remote-method=\"remoteMethod3\" :loading=\"loading\" clearable @click=\"click3\" style=\"width: 200px;\">\r\n <el-option v-for=\"item in options3\" :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 <downing></downing>\r\n </template>\r\n <template #bg>\r\n <el-table ref=\"multipleTableRef\" :data=\"data.tableData\" border style=\"width: 100%\" max-height=\"450\"\r\n @selection-change=\"handleSelectionChange\" :row-key=\"(row: any) => { return row.id }\">\r\n <template v-for=\"(item, i) in columns\" :key=\"i\">\r\n <el-table-column :type=\"item.type\" width=\"55\" v-if=\"item.type\" :reserve-selection=\"true\"\r\n align=\"center\" fixed />\r\n <el-table-column :property=\"item.prop\" v-if=\"item.prop\" :label=\"item.label\" align=\"center\" :width=\"item.width\" :show-overflow-tooltip=\"true\">\r\n </el-table-column>\r\n <el-table-column v-if=\"item.prop == 'operation'\" :label=\"item.label\" fixed=\"right\" min-width=\"200\">\r\n <template #default=\"scope\">\r\n <el-button text size=\"small\" type=\"primary\">编辑</el-button>\r\n <el-button text size=\"small\" type=\"danger\">删除</el-button>\r\n </template>\r\n </el-table-column>\r\n </template>\r\n </el-table>\r\n <div style=\"margin-top: 20px;\">\r\n <el-pagination v-model:current-page=\"initParam.page\" v-model:page-size=\"initParam.pageSize\"\r\n layout=\"total, sizes, prev, pager, next, jumper\" :total=\"data.total\" @size-change=\"userListApi()\" @current-change=\"handleCurrentChange\" />\r\n </div>\r\n </template>\r\n </bg>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport {\r\n inventoryList,\r\n productList,//血液制品名称\r\n enterpriseList,//生产企业\r\n stockunit,//收发货单位\r\n} from \"@/api\";\r\nimport downing from \"./downing.vue\";\r\nimport { reactive, ref, onMounted } from \"vue\";\r\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport bg from '@/components/bg.vue'\r\nimport { ElTable } from 'element-plus'\r\nconst loading = ref(false)\r\n\r\n\r\n\r\n\r\ninterface RuleForm {\r\n page: number,\r\n pageSize: number,\r\n batchNumber: string,\r\n enterpriseId?: any,\r\n endDate: string,\r\n startDate: string,\r\n productId?: any,\r\n sendReceiveUnit: string,\r\n}\r\nconst initParam = reactive<RuleForm>({//请求参数\r\n \"page\": 1,\r\n \"pageSize\": 5,\r\n \"batchNumber\": \"\",\r\n \"enterpriseId\": null,\r\n \"endDate\": \"\",\r\n \"startDate\": \"\",\r\n \"productId\":null,\r\n \"sendReceiveUnit\": \"\"\r\n})\r\nconst data: any = reactive({\r\n tableData: [],\r\n datepick:[],\r\n total: 0,\r\n str: ''\r\n})\r\n\r\n\r\n//函数\r\nconst changFun = async (e:any)=>{\r\n if(e){initParam.startDate=e[0];initParam.endDate=e[1]}\r\n else {initParam.startDate=\"\";initParam.endDate=\"\"}\r\n}\r\n\r\n\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'selection', width: '60px', fixed: 'left' },\r\n { prop: 'product_name', label: '血液制品名称', width: '120px' },\r\n { prop: 'enterprise_name', label: '生产企业',},\r\n { prop: 'approval_number', label: '批准文号', width: '120px' },\r\n { prop: 'batch_number', label: '血液制品批号', width: 120 },\r\n { prop: 'expiry_date', label: '失效日期', width: 120 },\r\n { prop: 'total_in', label: '收入数量', width: 100 },\r\n { prop: 'total_out', label: '发出数量', width: 85 },\r\n { prop: 'balance', label: '结余数量', width: 100 },\r\n { prop: 'unit_name', label: '单位', width: 80 },\r\n { prop: 'dosage_form_name', label: '剂型', width: 100 },\r\n { prop: 'operator', label: '经办人', width: 100 },\r\n { prop: 'forwarding_unit', label: '发货单位', width: 150 },\r\n { prop: 'receiving_unit', label: '收货单位', width:150 },\r\n { prop: 'date', label: '日期', width:120},\r\n // { prop: 'operation', label: '操作', fixed: 'right'}\r\n]\r\n\r\n//设置时间\r\nconst datepickFn = ()=>{\r\n const today = new Date()\r\n const year = today.getFullYear();\r\n const month = (today.getMonth() + 1).toString().padStart(2,'0'); \r\n const date = (today.getDate()).toString().padStart(2,'0');\r\n const j = year +'-' + month + '-'+date\r\n data.datepick = [j,j]\r\n initParam.startDate = j; \r\n initParam.endDate = j\r\n}\r\n// datepickFn()\r\nconst userListApi = async () => {\r\n const result: any = await inventoryList(initParam)\r\n data.tableData = result.data?.list || []\r\n data.total = result.data?.count || 0\r\n}\r\nuserListApi()\r\n\r\n//函数\r\nconst printFun = async ()=>{\r\n window.print() //打印\r\n}\r\ninterface User {\r\n date: string\r\n name: string\r\n address: string\r\n}\r\n\r\nconst multipleTableRef = ref<InstanceType<typeof ElTable>>()\r\nconst multipleSelection = ref<User[]>([])\r\nconst handleSelectionChange = (val: User[]) => {\r\n multipleSelection.value = val\r\n console.log('选中', multipleSelection.value);\r\n}\r\n\r\nconst handleCurrentChange = async (page: any) => {\r\n initParam.page = page\r\n userListApi()\r\n}\r\n\r\ninterface ListItem {\r\n value: string\r\n label: string\r\n}\r\nonMounted(async () => {\r\n const result1: any = await productList({ page: 1, pageSize: 999 })//血液制品名称\r\n const result2: any = await enterpriseList({ page: 1, pageSize: 999 })//生产企业\r\n const result3: any = await stockunit({ type: 3 })//收发货单位\r\n\r\n list1.value = findMap(result1.data?.list || [],'obj')\r\n list2.value = findMap(result2.data?.list || [],'obj')\r\n list3.value = findMap(result3.data?.list || [],'map')\r\n})\r\n//函数\r\nconst click1 = async ()=>{options1.value = list1.value }\r\nconst click2 = async ()=>{options2.value = list2.value }\r\nconst click3 = async ()=>{options3.value = list3.value}\r\n\r\nconst list1 = ref<ListItem[]>([])//血液制品名称\r\nconst list2 = ref<ListItem[]>([])//生产企业\r\nconst list3 = ref<ListItem[]>([])//收发货单位\r\n\r\n//函数\r\nconst findMap = (arr: any,obj: any) => {\r\n return arr.map((item: any) => {\r\n return { value: obj=='obj'?item.id:item, label:obj=='obj'?item.name:item }\r\n })\r\n}\r\n\r\n\r\nconst options1 = ref<ListItem[]>([])\r\nconst options2 = ref<ListItem[]>([])\r\nconst options3 = ref<ListItem[]>([])\r\n\r\nconst remoteMethod1 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options1.value = list1.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options1.value = []\r\n }\r\n}\r\nconst remoteMethod2 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options2.value = list2.value.filter((item: any) => {\r\n console.log('第一个',query,item)\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options2.value = []\r\n }\r\n}\r\nconst remoteMethod3 = async (query: string) => {\r\n if (query) {\r\n loading.value = true\r\n setTimeout(() => {\r\n loading.value = false\r\n options3.value = list3.value.filter((item: any) => {\r\n return item.label.toLowerCase().includes(query.toLowerCase())\r\n })\r\n }, 200)\r\n } else {\r\n options3.value = []\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.storagePut {\r\n user-select: none;\r\n}\r\n\r\n.el-form-item {\r\n // margin-bottom: 0;\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=862f1d08&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":["async","LotNumber","reslut","batchnumber","data","shoubat","stockunit","type","list","specification","specList","page","pageSize","gradeName","productList","enterpriseFun","enterpriseList","stockunitFun","getContentExportApi","params","$http","post","responseType","downloadExcelFun","res","fileName","decodeURIComponent","headers","blob","Blob","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","formLabelWidth","dialogFormVisible","ref","dialogFormVisible1","ruleFormRef","ruleFormRef1","loading","initParam","initParamWord","onMounted","result1","result2","result3","result4","list1","value","findMap","list2","list3","list4","arr","obj","map","item","id","label","name","click1","options1","click2","options2","click3","options3","remoteMethod1","query","setTimeout","filter","toLowerCase","includes","remoteMethod2","console","log","remoteMethod3","showdialog","arrMap","forEach","push","link","restaurants","querySearch","queryString","cb","results","createFilter","restaurant","indexOf","showdialogdialog","restaurants1","querySearch1","rules","batchNumber","required","message","trigger","enterpriseId","productId","specId","submitForm","formEl","ty","validate","valid","fields","inventoryExcel","rules1","date","receivingUnit","submitForm1","transportWord","_component_el_option","_component_el_select","_component_el_autocomplete","_component_el_dialog","_component_el_date_picker","_Fragment","icon","modelValue","$event","title","draggable","width","footer","model","ref_key","prop","modelModifiers","number","filterable","remote","placeholder","clearable","onClear","_renderList","_createBlock","key","tableData","datepick","total","str","changFun","e","startDate","endDate","columns","fixed","userListApi","inventoryList","count","multipleTableRef","multipleSelection","handleSelectionChange","val","handleCurrentChange","_component_el_input","_component_el_table_column","_component_el_pagination","searchAdd","onEvent","searchConter","onChange","sendReceiveUnit","bg","btn","downing","_unref","ElTable","border","onSelectionChange","row","i","align","_createCommentVNode","property","scope","text","size","layout","onSizeChange","onCurrentChange","TO_STRING_TAG_SUPPORT","isCallable","classofRaw","wellKnownSymbol","TO_STRING_TAG","$Object","Object","CORRECT_ARGUMENTS","arguments","tryGet","it","error","module","exports","O","undefined","callee","makeBuiltIn","defineProperty","target","descriptor","get","getter","set","setter","f","test","classof","$String","argument","TypeError","$TypeError","passed","defineBuiltIn","uncurryThis","toString","validateArgumentsLength","$URLSearchParams","URLSearchParams","URLSearchParamsPrototype","prototype","append","$delete","length","$value","this","entries","v","k","entry","index","dindex","found","entriesLength","enumerable","unsafe","getAll","$has","has","values","DESCRIPTORS","defineBuiltInAccessor","configurable"],"sourceRoot":""}