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EAAQ4T,EAASQ,GACjBnO,EAAQ,EACZ,MAAOA,EAAQ+H,EAAOnF,OACpB,GAAImF,EAAO/H,OAAajG,EAAO,OAAO,EACtC,OAAO,CACX,GAAG,CAAE6U,YAAY,EAAMC,QAAQ,G,uBCzBjC,IAAII,EAAc,EAAQ,MACtBvB,EAAc,EAAQ,MACtBwB,EAAwB,EAAQ,MAEhCnB,EAA2BD,gBAAgBE,UAC3CjS,EAAU2R,EAAYK,EAAyBhS,SAI/CkT,KAAiB,SAAUlB,IAC7BmB,EAAsBnB,EAA0B,OAAQ,CACtDnB,IAAK,WACH,IAAIuC,EAAQ,EAEZ,OADApT,EAAQqS,MAAM,WAAce,GAAS,IAC9BA,CACT,EACAC,cAAc,EACdR,YAAY,G","sources":["webpack://baozhidao-putoutstorage/./src/plugins/selectData.ts","webpack://baozhidao-putoutstorage/./src/utils/download.ts","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Editinventory.vue?50b7","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Editinventory.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Editinventory.vue?7a73","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/inputSearch.vue?d1d3","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/inputSearch.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/inputSearch.vue?f3bb","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/scanCode.vue?880d","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/scanCode.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/scanCode.vue?4c39","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Labour.vue?f85c","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Labour.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Labour.vue?a97c","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Outbound.vue?a646","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Outbound.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/Outbound.vue?0601","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/downing.vue?d42d","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/downing.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/downing.vue?fe70","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/index.vue?5b06","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/index.vue","webpack://baozhidao-putoutstorage/./src/views/stockcontrol/storageFrom/index.vue?2499","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}","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\nconst _hoisted_2 = { class: \"dialog-footer\" }\n\nimport { reactive, ref } from 'vue'\r\nimport type { FormInstance} from 'element-plus'\r\nimport { syrulesData } from \"@/plugins/rulesData\";\r\nimport { \r\n medicListStock,\r\n stockunit,//发货单位\r\n operatorList,//经办人\r\n stockoutedit,//编辑\r\n stockoutdel,//删除\r\n} from \"@/api\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nconst formLabelWidth = '110px'\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: 'Editinventory',\n props: {\r\n row: {\r\n type: Object,\r\n default: () => { },\r\n },\r\n},\n emits: ['scanCode','editinvent'],\n setup(__props, { emit: __emit }) {\n\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nlet rules:any = reactive({})\r\n\r\n\r\nconst props = __props\r\n\r\nlet initParam:any = reactive({\r\n \"id\":\"\",\r\n \"date\": \"\",\r\n \"receiving_unit\": \"\",\r\n \"medicineInfo\": {},\r\n \"operator\":'',\r\n \"quantity\": null,\r\n \"unit_price\":Number(null)\r\n})\r\nlet data:any = reactive({\r\n tableData:[],\r\n showDiaData:[],\r\n rules1:{},\r\n columns:[],// 渲染表格\r\n selectType:[],//表格的下拉对应\r\n editStrot:false,\r\n editIndex:null\r\n}) \r\n\r\n//显示编辑\r\nconst editFun = async (row:any)=>{\r\n console.log('编辑',row)\r\n dialogFormVisible.value = true\r\n await medicListStockFun()//获取入库表单\r\n await itemPirFun()//发货单位\r\n await operatorListApi()//经办人\r\n}\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\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\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\n\r\n\r\nconst emit:any = __emit\r\n\r\n//重置\r\nconst resetForm = (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n formEl.resetFields()\r\n}\r\n\r\n//提交\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n console.log('tijiao',initParam)\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n stockouteditApi()\r\n } else {\r\n ElMessage.error('请完善必填项')\r\n }\r\n })\r\n}\r\n//提交编辑\r\nconst stockouteditApi = async ()=>{\r\n let param = {...initParam}\r\n param.unit_price = Number(param.unit_price)\r\n const reslut:any = await stockoutedit(param)\r\n if(reslut.code==200 && reslut.msg=='修改出库信息成功'){\r\n emit('editinvent', '');\r\n dialogFormVisible.value = false;\r\n ElMessage.success(reslut.msg)\r\n }\r\n}\r\n//收发货单位Api\r\nconst itemPirFun = async()=>{\r\n const reslut:any = await stockunit({ type: 3 })\r\n const arrMap = reslut.data?.list\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}\r\n//经办人Api\r\nconst operatorListApi = async()=>{\r\n const reslut:any = await operatorList({})\r\n const arrMap = reslut.data?.list\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}\r\n\r\n//获取入库表单Api\r\nconst medicListStockFun = async ()=>{\r\n data.columns = []\r\n const reslut:any = await medicListStock({})\r\n if(reslut.code==200 && reslut.msg=='查询成功'){\r\n data.showDiaData = reslut.data?.list\r\n data.rules1 = {}\r\n data.columns = []\r\n data.selectType = []\r\n reslut.data?.list.forEach((value:any) => { //value设置成key\r\n data.selectType.push({type:value.type,list:value.list})\r\n data.columns.push({ prop: value.field_name, label: value.name, list:value.list})\r\n initParam.medicineInfo[value.field_name] = ''; // 这里可以根据需要设置其他值作为键的内容\r\n if(['product_id','enterprise_id','spec_id','batch_number','expiry_date','approval_number'].includes(value.field_name)){\r\n if(value.type==6){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'}]\r\n }else if(value.type==7){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'},{ pattern: /^(?:[1-9]\\d*)$/, message: '请输入正整数', trigger: \"blur\" },]\r\n }else{\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change',}]\r\n }\r\n }\r\n });\r\n Object.assign(rules,{...data.rules1,...syrulesData})\r\n let obj = {...props.row}\r\n Object.keys(initParam).forEach(key => {\r\n if(key!='medicineInfo'){\r\n initParam[key] = obj[key]\r\n }else{\r\n Object.keys(initParam.medicineInfo).forEach(key => {\r\n initParam.medicineInfo[key] = obj[key]\r\n })\r\n }\r\n })\r\n console.log('rules',initParam,obj)\r\n dialogFormVisible.value = true\r\n }\r\n}\r\n\r\n/**\r\n * 删除\r\n * @param row \r\n */\r\nconst delClick = (row:any) => {\r\n ElMessageBox.confirm('删除一条信息,将导致数量变化,是否继续?','删除',{\r\n confirmButtonText: '确认删除',\r\n cancelButtonText: 'Cancel',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await stockoutdel({id:row.id})\r\n console.log('删除成功',reslut)\r\n if(reslut.code==200 && reslut.msg=='删除出库信息成功'){ emit('editinvent', '');ElMessage.success(reslut.msg)}\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\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_divider = _resolveComponent(\"el-divider\")!\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_date_picker = _resolveComponent(\"el-date-picker\")!\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\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (editFun(props.row)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (delClick(props.row)))\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[9] || (_cache[9] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"编辑\",\n \"append-to-body\": true,\n draggable: \"\",\n width: \"60%\"\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(\"取消\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (submitForm(ruleFormRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"提交\")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n rules: _unref(rules),\n model: _unref(initParam),\n inline: true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_divider, { \"content-position\": \"center\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"药品信息\")\n ]),\n _: 1\n }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(data).showDiaData, (item, index) => {\n return (_openBlock(), _createBlock(_component_el_form_item, {\n label: item.name,\n \"label-width\": formLabelWidth,\n key: index,\n prop: 'medicineInfo.'+item.field_name\n }, {\n default: _withCtx(() => [\n ([1,2,3,4,5].includes(item.type))\n ? (_openBlock(), _createBlock(_component_el_select, {\n key: 0,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n placeholder: '请选择'+item.name,\n class: \"inputWidth\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.list, (itemIt, i) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: itemIt.name,\n value: itemIt.id,\n key: i\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==6)\n ? (_openBlock(), _createBlock(_component_el_input, {\n key: 1,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n autocomplete: \"off\",\n placeholder: '请输入'+item.name,\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==7)\n ? (_openBlock(), _createBlock(_component_el_input, {\n key: 2,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n autocomplete: \"off\",\n placeholder: '请输入'+item.name,\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==8)\n ? (_openBlock(), _createBlock(_component_el_input, {\n key: 3,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n autocomplete: \"off\",\n placeholder: '请输入'+item.name,\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==9)\n ? (_openBlock(), _createBlock(_component_el_date_picker, {\n key: 4,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n type: \"date\",\n \"value-format\": \"YYYY-MM-DD\",\n placeholder: '请输入'+item.name,\n clearable: \"\",\n style: {\"width\":\"200px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==10)\n ? (_openBlock(), _createBlock(_component_el_date_picker, {\n key: 5,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n type: \"datetime\",\n \"value-format\": \"YYYY-MM-DD HH:mm:ss\",\n placeholder: '请输入'+item.name,\n clearable: \"\",\n style: {\"width\":\"200px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"label\", \"prop\"]))\n }), 128)),\n _createVNode(_component_el_divider, { \"content-position\": \"center\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"入库信息\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"el-form-item-main\",\n label: \"数量\",\n \"label-width\": formLabelWidth,\n prop: \"quantity\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: _unref(initParam).quantity,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(initParam).quantity) = $event)),\n modelModifiers: { number: true },\n autocomplete: \"off\",\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"el-form-item-main\",\n label: \"销售单价\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: _unref(initParam).unit_price,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(initParam).unit_price) = $event)),\n autocomplete: \"off\",\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"el-form-item-main\",\n label: \"入库日期\",\n \"label-width\": formLabelWidth,\n prop: \"date\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _unref(initParam).date,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(initParam).date) = $event)),\n type: \"date\",\n placeholder: \"血液制品效期\",\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, {\n class: \"el-form-item-main\",\n label: \"收货单位\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: _unref(initParam).receiving_unit,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(initParam).receiving_unit) = $event)),\n \"fetch-suggestions\": querySearch1,\n clearable: \"\",\n class: \"inputWidth\",\n placeholder: \"收货单位\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"经办人\",\n \"label-width\": formLabelWidth,\n prop: \"operator\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: _unref(initParam).operator,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(initParam).operator) = $event)),\n \"fetch-suggestions\": querySearch,\n clearable: \"\",\n class: \"inputWidth\",\n placeholder: \"经办人\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"rules\", \"model\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","<!-- 扫码 -->\r\n<template>\r\n <div class=\"\">\r\n <el-button type=\"primary\" @click=\"editFun(props.row)\">编辑</el-button>\r\n <el-button type=\"danger\" @click=\"delClick(props.row)\">删除</el-button>\r\n <el-dialog :destroy-on-close=\"true\" v-model=\"dialogFormVisible\" title=\"编辑\" :append-to-body=\"true\" draggable width=\"60%\">\r\n <el-form ref=\"ruleFormRef\" :rules=\"rules\" :model=\"initParam\" :inline=\"true\">\r\n <el-divider content-position=\"center\">药品信息</el-divider>\r\n <el-form-item :label=\"item.name\" :label-width=\"formLabelWidth\" v-for=\"(item,index) in data.showDiaData\" :key=\"index\" :prop=\"'medicineInfo.'+item.field_name\">\r\n <el-select v-model=\"initParam.medicineInfo[item.field_name]\" :placeholder=\"'请选择'+item.name\" class=\"inputWidth\" v-if=\"[1,2,3,4,5].includes(item.type)\">\r\n <el-option :label=\"itemIt.name\" :value=\"itemIt.id\" v-for=\"itemIt,i in item.list\" :key=\"i\"/>\r\n </el-select>\r\n <el-input v-model=\"initParam.medicineInfo[item.field_name]\" autocomplete=\"off\" :placeholder=\"'请输入'+item.name\" class=\"inputWidth\" v-if=\"item.type==6\"/>\r\n <el-input v-model=\"initParam.medicineInfo[item.field_name]\" autocomplete=\"off\" :placeholder=\"'请输入'+item.name\" class=\"inputWidth\" v-if=\"item.type==7\"/>\r\n <el-input v-model=\"initParam.medicineInfo[item.field_name]\" autocomplete=\"off\" :placeholder=\"'请输入'+item.name\" class=\"inputWidth\" v-if=\"item.type==8\"/>\r\n <el-date-picker v-model=\"initParam.medicineInfo[item.field_name]\" type=\"date\" value-format=\"YYYY-MM-DD\" :placeholder=\"'请输入'+item.name\" clearable style=\"width: 200px;\" v-if=\"item.type==9\"/>\r\n <el-date-picker v-model=\"initParam.medicineInfo[item.field_name]\" type=\"datetime\" value-format=\"YYYY-MM-DD HH:mm:ss\" :placeholder=\"'请输入'+item.name\" clearable style=\"width: 200px;\" v-if=\"item.type==10\"/>\r\n </el-form-item>\r\n <el-divider content-position=\"center\">入库信息</el-divider>\r\n <el-form-item class=\"el-form-item-main\" label=\"数量\" :label-width=\"formLabelWidth\" prop=\"quantity\">\r\n <el-input v-model.number=\"initParam.quantity\" autocomplete=\"off\" class=\"inputWidth\" />\r\n </el-form-item>\r\n <el-form-item class=\"el-form-item-main\" label=\"销售单价\" :label-width=\"formLabelWidth\">\r\n <el-input v-model=\"initParam.unit_price\" autocomplete=\"off\" class=\"inputWidth\"/>\r\n </el-form-item>\r\n <el-form-item class=\"el-form-item-main\" label=\"入库日期\" :label-width=\"formLabelWidth\" prop=\"date\">\r\n <el-date-picker v-model=\"initParam.date\" type=\"date\" placeholder=\"血液制品效期\" value-format=\"YYYY-MM-DD\" clearable style=\"width: 200px;\" />\r\n </el-form-item>\r\n <el-form-item class=\"el-form-item-main\" label=\"收货单位\" :label-width=\"formLabelWidth\">\r\n <el-autocomplete v-model=\"initParam.receiving_unit\" :fetch-suggestions=\"querySearch1\" clearable class=\"inputWidth\"\r\n placeholder=\"收货单位\" />\r\n </el-form-item>\r\n <el-form-item label=\"经办人\" :label-width=\"formLabelWidth\" prop=\"operator\">\r\n <el-autocomplete v-model=\"initParam.operator\" :fetch-suggestions=\"querySearch\" clearable class=\"inputWidth\"\r\n placeholder=\"经办人\" />\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\">取消</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm(ruleFormRef)\">提交</el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { reactive, ref } from 'vue'\r\nimport type { FormInstance} from 'element-plus'\r\nimport { syrulesData } from \"@/plugins/rulesData\";\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nlet rules:any = reactive({})\r\n\r\n\r\nconst props = defineProps({\r\n row: {\r\n type: Object,\r\n default: () => { },\r\n },\r\n})\r\n\r\nimport { \r\n medicListStock,\r\n stockunit,//发货单位\r\n operatorList,//经办人\r\n stockoutedit,//编辑\r\n stockoutdel,//删除\r\n} from \"@/api\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nconst formLabelWidth = '110px'\r\n\r\n//提交参数\r\nlet initParam:any = reactive({\r\n \"id\":\"\",\r\n \"date\": \"\",\r\n \"receiving_unit\": \"\",\r\n \"medicineInfo\": {},\r\n \"operator\":'',\r\n \"quantity\": null,\r\n \"unit_price\":Number(null)\r\n})\r\nlet data:any = reactive({\r\n tableData:[],\r\n showDiaData:[],\r\n rules1:{},\r\n columns:[],// 渲染表格\r\n selectType:[],//表格的下拉对应\r\n editStrot:false,\r\n editIndex:null\r\n}) \r\n\r\n//显示编辑\r\nconst editFun = async (row:any)=>{\r\n console.log('编辑',row)\r\n dialogFormVisible.value = true\r\n await medicListStockFun()//获取入库表单\r\n await itemPirFun()//发货单位\r\n await operatorListApi()//经办人\r\n}\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\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\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\n\r\n\r\nconst emit:any = defineEmits(['scanCode','editinvent'])\r\n\r\n//重置\r\nconst resetForm = (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n formEl.resetFields()\r\n}\r\n\r\n//提交\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n console.log('tijiao',initParam)\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n stockouteditApi()\r\n } else {\r\n ElMessage.error('请完善必填项')\r\n }\r\n })\r\n}\r\n//提交编辑\r\nconst stockouteditApi = async ()=>{\r\n let param = {...initParam}\r\n param.unit_price = Number(param.unit_price)\r\n const reslut:any = await stockoutedit(param)\r\n if(reslut.code==200 && reslut.msg=='修改出库信息成功'){\r\n emit('editinvent', '');\r\n dialogFormVisible.value = false;\r\n ElMessage.success(reslut.msg)\r\n }\r\n}\r\n//收发货单位Api\r\nconst itemPirFun = async()=>{\r\n const reslut:any = await stockunit({ type: 3 })\r\n const arrMap = reslut.data?.list\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}\r\n//经办人Api\r\nconst operatorListApi = async()=>{\r\n const reslut:any = await operatorList({})\r\n const arrMap = reslut.data?.list\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}\r\n\r\n//获取入库表单Api\r\nconst medicListStockFun = async ()=>{\r\n data.columns = []\r\n const reslut:any = await medicListStock({})\r\n if(reslut.code==200 && reslut.msg=='查询成功'){\r\n data.showDiaData = reslut.data?.list\r\n data.rules1 = {}\r\n data.columns = []\r\n data.selectType = []\r\n reslut.data?.list.forEach((value:any) => { //value设置成key\r\n data.selectType.push({type:value.type,list:value.list})\r\n data.columns.push({ prop: value.field_name, label: value.name, list:value.list})\r\n initParam.medicineInfo[value.field_name] = ''; // 这里可以根据需要设置其他值作为键的内容\r\n if(['product_id','enterprise_id','spec_id','batch_number','expiry_date','approval_number'].includes(value.field_name)){\r\n if(value.type==6){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'}]\r\n }else if(value.type==7){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'},{ pattern: /^(?:[1-9]\\d*)$/, message: '请输入正整数', trigger: \"blur\" },]\r\n }else{\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change',}]\r\n }\r\n }\r\n });\r\n Object.assign(rules,{...data.rules1,...syrulesData})\r\n let obj = {...props.row}\r\n Object.keys(initParam).forEach(key => {\r\n if(key!='medicineInfo'){\r\n initParam[key] = obj[key]\r\n }else{\r\n Object.keys(initParam.medicineInfo).forEach(key => {\r\n initParam.medicineInfo[key] = obj[key]\r\n })\r\n }\r\n })\r\n console.log('rules',initParam,obj)\r\n dialogFormVisible.value = true\r\n }\r\n}\r\n\r\n/**\r\n * 删除\r\n * @param row \r\n */\r\nconst delClick = (row:any) => {\r\n ElMessageBox.confirm('删除一条信息,将导致数量变化,是否继续?','删除',{\r\n confirmButtonText: '确认删除',\r\n cancelButtonText: 'Cancel',\r\n type: 'error',\r\n center: true,\r\n }).then(async() => {\r\n const reslut:any = await stockoutdel({id:row.id})\r\n console.log('删除成功',reslut)\r\n if(reslut.code==200 && reslut.msg=='删除出库信息成功'){ emit('editinvent', '');ElMessage.success(reslut.msg)}\r\n }).catch(() => {\r\n ElMessage.info('已取消删除')\r\n })\r\n}\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n.inputWidth {\r\n width: 200px;\r\n}\r\n</style>\r\n","import script from \"./Editinventory.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Editinventory.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Editinventory.vue?vue&type=style&index=0&id=1c7a5677&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '@/assets/img/BarCodeQR.svg'\n\n\nconst _hoisted_1 = { class: \"Qr\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"Qr-img\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n style: {\"width\":\"80%\",\"height\":\"80%\"}\n })\n], -1)\nconst _hoisted_3 = { class: \"Qr-input\" }\n\nimport { ref, reactive } from \"vue\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'inputSearch',\n emits: ['inputSearchData',],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst myInput = ref()\r\nconst data: any = reactive({\r\n value: '',\r\n num:0\r\n})\r\nconst emit: any = __emit\r\n//函数\r\nconst inputFocus = async () => {\r\n console.log('获取焦点',myInput.value)\r\n setTimeout(() => {\r\n myInput.value!=null?myInput.value.focus():''\r\n }, 1000)\r\n}\r\n//函数\r\nconst CloseFn = async () => {\r\n ClearFn()\r\n setTimeout(() => {\r\n myInput.value.focus()\r\n }, 1000)\r\n}\r\n/**\r\n * 清空\r\n */\r\nconst ClearFn = async ()=>{\r\n data.value = '';\r\n}\r\ndocument.addEventListener('keydown',(event:any)=>{\r\n // console.log('扫码枪',event)\r\n data.num += 1\r\n if(data.num == 1){data.value = ''}\r\n if (event.code === 'Enter') { // 判断是否按下了回车键\r\n data.value = event.target.value; // 获取扫描枪输入框的值 \r\n onSubmit()\r\n }\r\n})\r\nconst onSubmit = async () => {\r\n if(data.value){\r\n emit('inputSearchData', data.value);data.num = 0 \r\n }else{\r\n ElMessage.error('点击输入框在使用扫码枪扫码')\r\n }\r\n}\r\n__expose({\r\n inputFocus, data,ClearFn\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_CircleClose = _resolveComponent(\"CircleClose\")!\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _withDirectives(_createElementVNode(\"input\", {\n class: \"Qr-input-type\",\n ref_key: \"myInput\",\n ref: myInput,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((data.value) = $event)),\n type: \"text\",\n placeholder: \"请扫描追溯码\"\n }, null, 512), [\n [_vModelText, data.value]\n ]),\n _createVNode(_component_el_icon, {\n size: 18,\n style: {\"cursor\":\"pointer\"},\n onClick: CloseFn\n }, {\n default: _withCtx(() => [\n _createVNode(_component_CircleClose)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"button\", {\n class: \"Qr-isButton\",\n onClick: onSubmit\n }, \"确认搜索\")\n ]))\n}\n}\n\n})","<template>\r\n <div class=\"Qr\">\r\n <div class=\"Qr-img\">\r\n <img src=\"@/assets/img/BarCodeQR.svg\" style=\"width: 80%;height: 80%;\">\r\n </div>\r\n <div class=\"Qr-input\">\r\n <input class=\"Qr-input-type\" ref=\"myInput\" v-model=\"data.value\" type=\"text\" placeholder=\"请扫描追溯码\" >\r\n <el-icon :size=\"18\" style=\"cursor: pointer;\" @click=\"CloseFn\">\r\n <CircleClose />\r\n </el-icon>\r\n </div>\r\n <button class=\"Qr-isButton\" @click=\"onSubmit\">确认搜索</button>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ref, reactive } from \"vue\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nconst myInput = ref()\r\nconst data: any = reactive({\r\n value: '',\r\n num:0\r\n})\r\nconst emit: any = defineEmits(['inputSearchData',])\r\n//函数\r\nconst inputFocus = async () => {\r\n console.log('获取焦点',myInput.value)\r\n setTimeout(() => {\r\n myInput.value!=null?myInput.value.focus():''\r\n }, 1000)\r\n}\r\n//函数\r\nconst CloseFn = async () => {\r\n ClearFn()\r\n setTimeout(() => {\r\n myInput.value.focus()\r\n }, 1000)\r\n}\r\n/**\r\n * 清空\r\n */\r\nconst ClearFn = async ()=>{\r\n data.value = '';\r\n}\r\ndocument.addEventListener('keydown',(event:any)=>{\r\n // console.log('扫码枪',event)\r\n data.num += 1\r\n if(data.num == 1){data.value = ''}\r\n if (event.code === 'Enter') { // 判断是否按下了回车键\r\n data.value = event.target.value; // 获取扫描枪输入框的值 \r\n onSubmit()\r\n }\r\n})\r\nconst onSubmit = async () => {\r\n if(data.value){\r\n emit('inputSearchData', data.value);data.num = 0 \r\n }else{\r\n ElMessage.error('点击输入框在使用扫码枪扫码')\r\n }\r\n}\r\ndefineExpose({\r\n inputFocus, data,ClearFn\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n.Qr {\r\n display: flex;\r\n margin-bottom: 20px;\r\n border: 1px solid #409eff;\r\n box-sizing: border-box;\r\n min-width: 450px;\r\n width: 50%;\r\n border-radius: 6px;\r\n overflow: hidden;\r\n\r\n &-img {\r\n width: 30px;\r\n height: 30px;\r\n margin-top: 10px;\r\n margin-bottom: 10px;\r\n padding: 0 20px;\r\n flex-shrink: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-right: .5px solid #409eff;\r\n user-select: none;\r\n }\r\n\r\n &-input {\r\n flex: 1;\r\n padding: 0 20px;\r\n display: flex;\r\n align-items: center;\r\n\r\n &-type {\r\n outline: none;\r\n border: none;\r\n flex: 1;\r\n font-weight: bold;\r\n font-size: 18px;\r\n }\r\n }\r\n\r\n &-isButton {\r\n background: #409eff;\r\n outline: none;\r\n border: none;\r\n color: #fff;\r\n min-width: 100px;\r\n flex-shrink: 0;\r\n cursor: pointer;\r\n user-select: none;\r\n }\r\n\r\n &-isButton:hover {\r\n background: #a0cfff;\r\n }\r\n\r\n &-isButton:active {\r\n background-color: #337ecc;\r\n }\r\n}</style>","import script from \"./inputSearch.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./inputSearch.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./inputSearch.vue?vue&type=style&index=0&id=c9c7753e&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, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createBlock as _createBlock, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\nconst _hoisted_2 = [\"onDblclick\"]\nconst _hoisted_3 = { class: \"dialog-footer\" }\n\nimport { reactive, ref,nextTick,watch, onMounted} from 'vue'\r\nimport inputSearch from \"./inputSearch.vue\";\r\nimport { scanCodeTableOut } from \"@/plugins/rulesData\";\r\nimport { \r\n stockunit,//收发货单位\r\n stockCodeOut\r\n} from \"@/api\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { Delete} from '@element-plus/icons-vue'\r\nimport { syrulesData } from \"@/plugins/rulesData\";\r\nimport { timesFn } from \"@/plugins/settime\";\r\nimport {\r\n medicListScanCode,\r\n medicMsfx\r\n} from \"@/api\";\r\ninterface RestaurantItem {\r\n value: string\r\n link: string\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'scanCode',\n emits: ['scanCode'],\n setup(__props, { emit: __emit }) {\n\r\nconst dialogFormVisible = ref(false)\r\nwatch(() => dialogFormVisible.value, (dy: any) => {\r\n if(!dy)resetForm()\r\n})\r\nconst inputSearchRef = ref<InstanceType<typeof inputSearch> | null>(null)\r\nlet data: any = reactive({\r\n tableData: [],\r\n showDiaData: [],\r\n itemPir: [],\r\n rules1: {},\r\n columns: [],// 渲染表格\r\n selectType: [],//表格的下拉对应\r\n editStrot: false,\r\n editIndex: null,\r\n qr:''\r\n})\r\nlet initParam: any = reactive({\r\n \"date\": \"\",\r\n \"receivingUnit\": \"\",\r\n \"medicineInfo\": {},\r\n \"operator\": '',\r\n \"quantity\": '',\r\n \"unitPrice\": null\r\n})\r\n//双击填充经办人,发货单位\r\nconst dbclicklable = (item:any)=>{\r\n if(['收货单位','经办人'].includes(item.label)){\r\n if(data.tableData.length!=0){\r\n if(data.tableData[0][item.prop]==''){\r\n ElMessage.error('请填写第一项,在双击全部填充')\r\n return\r\n }\r\n data.tableData.forEach((obj:any)=>{\r\n obj[item.prop] = data.tableData[0][item.prop]\r\n })\r\n }else{\r\n ElMessage.error('请先扫描在进行批量填充')\r\n return\r\n }\r\n }\r\n}\r\n/**\r\n * 当前搜索到的样式\r\n * @param param0 \r\n */\r\nconst tableRowClassName = ({rowIndex}: {\r\n rowIndex: number\r\n}) => {\r\n if(data.qr){\r\n const i = data.tableData.findIndex((item:any) => item.Qrcode==data.qr)\r\n if (rowIndex==i) { return 'success-row' }else{return ''}\r\n }else{\r\n return ''\r\n }\r\n}\r\n\r\nlet rules: any = reactive({})\r\nconst showDia = async () => {\r\n await updating()\r\n dialogFormVisible.value = true\r\n medicListStockFun()//获取入库表单\r\n itemPirFun()\r\n nextTick(()=>{\r\n console.log('inputSearchRef111',inputSearchRef.value)\r\n inputSearchRef.value?.inputFocus()\r\n })\r\n}\r\nconst updating = ()=>{\r\n ElMessageBox.alert('扫码出库功能更新中,请先使用手动出库', '提示', {\r\n confirmButtonText: '我知道了',\r\n type: 'warning',\r\n draggable: true,\r\n callback: () => {\r\n },\r\n })\r\n return new Promise<void>((resolve, reject) => {}) \r\n}\r\n//函数\r\nconst findFun = (data: any, list: any) => {\r\n if (list) {\r\n const b = list.find((item: any) => item.id == data)\r\n if (b) return b.name\r\n else return ''\r\n } else {\r\n return data\r\n }\r\n}\r\n\r\n//获取入库表单Api\r\nconst medicListStockFun = async () => {\r\n data.columns = []\r\n const reslut: any = await medicListScanCode({})\r\n console.log('表格', reslut)\r\n if (reslut.code == 200 && reslut.msg == '查询成功') {\r\n data.showDiaData = reslut.data?.list || []\r\n data.rules1 = {}\r\n data.columns = []\r\n reslut.data?.list.forEach((value: any) => { //value设置成key\r\n data.columns.push({ prop: value.field_name, label: value.name, list: value.list })\r\n initParam.medicineInfo[value.field_name] = ''; // 这里可以根据需要设置其他值作为键的内容\r\n });\r\n Object.assign(rules, { ...data.rules1, ...syrulesData })\r\n dialogFormVisible.value = true\r\n }\r\n}\r\nconst emit: any = __emit\r\nconst subStock = async ()=>{\r\n const ab = data.tableData.every((item:any) => item.quantity != '' && item.operator != '' && item.date != '')\r\n if(!ab){ElMessage.error('缺少数据提示:【数量】、【经办人】、【出库日期】是必填项哦!');return;}\r\n else{\r\n const arr = [...data.tableData]\r\n arr.forEach((item:any)=>{\r\n item.quantity = Number(item.quantity)\r\n item.unitPrice = Number(item.unitPrice)\r\n\r\n })\r\n const reslut:any = await stockCodeOut({stockOutList:arr})\r\n console.log('添加成功')\r\n if(reslut.code==200){\r\n ElMessage.success(reslut.msg)\r\n dialogFormVisible.value = false\r\n emit('scanCode', '')\r\n }\r\n }\r\n}\r\n/**\r\n * 搜索\r\n * @param e 追溯码\r\n */\r\nconst inputSearchfn = async (e:any)=>{\r\n data.qr = e\r\n const j = await SearchFind(e)\r\n if (j) {ElMessage.error('提示:重复扫描添加数据了哦');return}\r\n const reslut:any = await medicMsfx({code:e})\r\n let initParamObj = {...initParam}\r\n initParamObj.Qrcode = e\r\n if (reslut.code==200 && reslut.msg=='查询成功') {\r\n initParamObj.medicineInfo = reslut.data[0] || {}\r\n if(reslut.data[0].quantity!=undefined){\r\n initParamObj.quantity = reslut.data[0].quantity\r\n }\r\n initParamObj.date = timesFn()\r\n data.tableData.push(initParamObj)\r\n inputSearchRef.value?.inputFocus()\r\n }\r\n}\r\n/**\r\n * 筛选是否已经扫描过\r\n * @param j 追溯码 \r\n */\r\nconst SearchFind = (j:any)=>{\r\n return new Promise(resolve=>{\r\n const ab = data.tableData.find((item:any) => item.Qrcode==j)\r\n ab==undefined?resolve(false):resolve(true)\r\n })\r\n}\r\n\r\n/**\r\n * 删除\r\n * @param index \r\n */\r\nconst deltable = async (index:any)=>{\r\n data.tableData.splice(index,1)\r\n nextTick(()=>{\r\n inputSearchRef.value?.inputFocus()\r\n })\r\n}\r\n\r\n//收发货单位\r\nconst itemPirFun = async () => {\r\n const reslut: any = await stockunit({ type: 2 })\r\n const arrMap = reslut.data?.list\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}\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\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\nconst resetForm = async ()=>{\r\n data.tableData = []\r\n inputSearchRef?.value?.ClearFn()\r\n inputSearchRef.value?.inputFocus()\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")!\n const _component_el_autocomplete = _resolveComponent(\"el-autocomplete\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_button, {\n \"el-button\": \"\",\n type: \"primary\",\n icon: \"Camera\",\n onClick: showDia\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[1] || (_cache[1] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"扫码出库\",\n \"append-to-body\": true,\n draggable: \"\",\n \"close-on-click-modal\": false,\n \"close-on-press-escape\": false,\n width: \"95%\"\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_3, [\n _createVNode(_component_el_button, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (dialogFormVisible.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"关闭\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n onClick: resetForm\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"重置数据\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n disabled: _unref(data).tableData.length==0?true:false,\n onClick: subStock\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"立即出库\")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(inputSearch, {\n ref_key: \"inputSearchRef\",\n ref: inputSearchRef,\n style: {\"margin\":\"0 auto 40px auto\"},\n onInputSearchData: inputSearchfn\n }, null, 512),\n _createVNode(_component_el_table, {\n data: _unref(data).tableData,\n style: {\"width\":\"100%\"},\n border: \"\",\n height: \"450\",\n \"row-class-name\": tableRowClassName\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(data).columns, (item, i) => {\n return (_openBlock(), _createBlock(_component_el_table_column, {\n label: item.label,\n key: i,\n \"min-width\": \"110\",\n \"show-overflow-tooltip\": \"\"\n }, {\n default: _withCtx((scope) => [\n _createTextVNode(_toDisplayString(findFun(scope.row.medicineInfo[item.prop], item.list)), 1)\n ]),\n _: 2\n }, 1032, [\"label\"]))\n }), 128)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(scanCodeTableOut), (item, index) => {\n return (_openBlock(), _createBlock(_component_el_table_column, {\n \"min-width\": \"150\",\n key: index,\n fixed: item.prop == 'operation'&&'right'\n }, {\n header: _withCtx((scope) => [\n _createElementVNode(\"div\", {\n onDblclick: ($event: any) => (dbclicklable(item))\n }, _toDisplayString(item.label), 41, _hoisted_2)\n ]),\n default: _withCtx((scope) => [\n (['quantity','unitPrice','operator'].includes(item.prop))\n ? (_openBlock(), _createBlock(_component_el_input, {\n key: 0,\n modelValue: scope.row[item.prop],\n \"onUpdate:modelValue\": ($event: any) => ((scope.row[item.prop]) = $event),\n style: {\"width\":\"100px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]))\n : _createCommentVNode(\"\", true),\n (item.prop == 'date')\n ? (_openBlock(), _createBlock(_component_el_date_picker, {\n key: 1,\n modelValue: scope.row[item.prop],\n \"onUpdate:modelValue\": ($event: any) => ((scope.row[item.prop]) = $event),\n type: \"date\",\n \"value-format\": \"YYYY-MM-DD\",\n style: {\"width\":\"120px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]))\n : _createCommentVNode(\"\", true),\n (item.prop == 'receivingUnit')\n ? (_openBlock(), _createBlock(_component_el_autocomplete, {\n key: 2,\n modelValue: scope.row[item.prop],\n \"onUpdate:modelValue\": ($event: any) => ((scope.row[item.prop]) = $event),\n \"fetch-suggestions\": querySearch1,\n clearable: \"\",\n style: {\"width\":\"120px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]))\n : _createCommentVNode(\"\", true),\n (item.prop == 'operation')\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 3,\n type: \"danger\",\n icon: _unref(Delete),\n onClick: ($event: any) => (deltable(scope.$index))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"icon\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"fixed\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","<!-- 扫码 -->\r\n<template>\r\n <div class=\"\">\r\n <el-button el-button type=\"primary\" icon=\"Camera\" @click=\"showDia\">扫码出库</el-button>\r\n <el-dialog :destroy-on-close=\"true\" v-model=\"dialogFormVisible\" title=\"扫码出库\" :append-to-body=\"true\" draggable :close-on-click-modal=\"false\"\r\n :close-on-press-escape=\"false\" width=\"95%\">\r\n <inputSearch ref=\"inputSearchRef\" style=\"margin:0 auto 40px auto;\" @inputSearchData=\"inputSearchfn\"></inputSearch>\r\n <el-table :data=\"data.tableData\" style=\"width: 100%\" border height=\"450\" :row-class-name=\"tableRowClassName\">\r\n <el-table-column :label=\"item.label\" v-for=\"item, i in data.columns\" :key=\"i\" min-width=\"110\" show-overflow-tooltip>\r\n <template #default=\"scope\"><!--scope.row.medicineInfo[item.prop] -->\r\n {{ findFun(scope.row.medicineInfo[item.prop], item.list) }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column min-width=\"150\" v-for=\"item,index in scanCodeTableOut\" :key=\"index\"\r\n :fixed=\"item.prop == 'operation'&&'right'\">\r\n <template v-slot:header=\"scope\"> \r\n <div @dblclick=\"dbclicklable(item)\"> \r\n {{item.label}} \r\n </div> \r\n </template> \r\n <template #default=\"scope\">\r\n <el-input v-if=\"['quantity','unitPrice','operator'].includes(item.prop)\" v-model=\"scope.row[item.prop]\" style=\"width: 100px;\"/>\r\n <el-date-picker v-if=\"item.prop == 'date'\" v-model=\"scope.row[item.prop]\" type=\"date\" value-format=\"YYYY-MM-DD\" style=\"width: 120px;\"/>\r\n <el-autocomplete v-if=\"item.prop == 'receivingUnit'\" v-model=\"scope.row[item.prop]\"\r\n :fetch-suggestions=\"querySearch1\" clearable style=\"width: 120px;\" />\r\n <el-button v-if=\"item.prop == 'operation'\" type=\"danger\" :icon=\"Delete\" @click=\"deltable(scope.$index)\">删除</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button @click=\"dialogFormVisible = false\">关闭</el-button>\r\n <el-button type=\"danger\" @click=\"resetForm\">重置数据</el-button>\r\n <el-button type=\"primary\" :disabled=\"data.tableData.length==0?true:false\" @click=\"subStock\">立即出库</el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { reactive, ref,nextTick,watch, onMounted} from 'vue'\r\nimport inputSearch from \"./inputSearch.vue\";\r\nimport { scanCodeTableOut } from \"@/plugins/rulesData\";\r\nconst dialogFormVisible = ref(false)\r\nwatch(() => dialogFormVisible.value, (dy: any) => {\r\n if(!dy)resetForm()\r\n})\r\nconst inputSearchRef = ref<InstanceType<typeof inputSearch> | null>(null)\r\nimport { \r\n stockunit,//收发货单位\r\n stockCodeOut\r\n} from \"@/api\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { Delete} from '@element-plus/icons-vue'\r\nimport { syrulesData } from \"@/plugins/rulesData\";\r\nimport { timesFn } from \"@/plugins/settime\";\r\nimport {\r\n medicListScanCode,\r\n medicMsfx\r\n} from \"@/api\";\r\nlet data: any = reactive({\r\n tableData: [],\r\n showDiaData: [],\r\n itemPir: [],\r\n rules1: {},\r\n columns: [],// 渲染表格\r\n selectType: [],//表格的下拉对应\r\n editStrot: false,\r\n editIndex: null,\r\n qr:''\r\n})\r\nlet initParam: any = reactive({\r\n \"date\": \"\",\r\n \"receivingUnit\": \"\",\r\n \"medicineInfo\": {},\r\n \"operator\": '',\r\n \"quantity\": '',\r\n \"unitPrice\": null\r\n})\r\n//双击填充经办人,发货单位\r\nconst dbclicklable = (item:any)=>{\r\n if(['收货单位','经办人'].includes(item.label)){\r\n if(data.tableData.length!=0){\r\n if(data.tableData[0][item.prop]==''){\r\n ElMessage.error('请填写第一项,在双击全部填充')\r\n return\r\n }\r\n data.tableData.forEach((obj:any)=>{\r\n obj[item.prop] = data.tableData[0][item.prop]\r\n })\r\n }else{\r\n ElMessage.error('请先扫描在进行批量填充')\r\n return\r\n }\r\n }\r\n}\r\n/**\r\n * 当前搜索到的样式\r\n * @param param0 \r\n */\r\nconst tableRowClassName = ({rowIndex}: {\r\n rowIndex: number\r\n}) => {\r\n if(data.qr){\r\n const i = data.tableData.findIndex((item:any) => item.Qrcode==data.qr)\r\n if (rowIndex==i) { return 'success-row' }else{return ''}\r\n }else{\r\n return ''\r\n }\r\n}\r\n\r\nlet rules: any = reactive({})\r\nconst showDia = async () => {\r\n await updating()\r\n dialogFormVisible.value = true\r\n medicListStockFun()//获取入库表单\r\n itemPirFun()\r\n nextTick(()=>{\r\n console.log('inputSearchRef111',inputSearchRef.value)\r\n inputSearchRef.value?.inputFocus()\r\n })\r\n}\r\nconst updating = ()=>{\r\n ElMessageBox.alert('扫码出库功能更新中,请先使用手动出库', '提示', {\r\n confirmButtonText: '我知道了',\r\n type: 'warning',\r\n draggable: true,\r\n callback: () => {\r\n },\r\n })\r\n return new Promise<void>((resolve, reject) => {}) \r\n}\r\n//函数\r\nconst findFun = (data: any, list: any) => {\r\n if (list) {\r\n const b = list.find((item: any) => item.id == data)\r\n if (b) return b.name\r\n else return ''\r\n } else {\r\n return data\r\n }\r\n}\r\n\r\n//获取入库表单Api\r\nconst medicListStockFun = async () => {\r\n data.columns = []\r\n const reslut: any = await medicListScanCode({})\r\n console.log('表格', reslut)\r\n if (reslut.code == 200 && reslut.msg == '查询成功') {\r\n data.showDiaData = reslut.data?.list || []\r\n data.rules1 = {}\r\n data.columns = []\r\n reslut.data?.list.forEach((value: any) => { //value设置成key\r\n data.columns.push({ prop: value.field_name, label: value.name, list: value.list })\r\n initParam.medicineInfo[value.field_name] = ''; // 这里可以根据需要设置其他值作为键的内容\r\n });\r\n Object.assign(rules, { ...data.rules1, ...syrulesData })\r\n dialogFormVisible.value = true\r\n }\r\n}\r\nconst emit: any = defineEmits(['scanCode'])\r\nconst subStock = async ()=>{\r\n const ab = data.tableData.every((item:any) => item.quantity != '' && item.operator != '' && item.date != '')\r\n if(!ab){ElMessage.error('缺少数据提示:【数量】、【经办人】、【出库日期】是必填项哦!');return;}\r\n else{\r\n const arr = [...data.tableData]\r\n arr.forEach((item:any)=>{\r\n item.quantity = Number(item.quantity)\r\n item.unitPrice = Number(item.unitPrice)\r\n\r\n })\r\n const reslut:any = await stockCodeOut({stockOutList:arr})\r\n console.log('添加成功')\r\n if(reslut.code==200){\r\n ElMessage.success(reslut.msg)\r\n dialogFormVisible.value = false\r\n emit('scanCode', '')\r\n }\r\n }\r\n}\r\n/**\r\n * 搜索\r\n * @param e 追溯码\r\n */\r\nconst inputSearchfn = async (e:any)=>{\r\n data.qr = e\r\n const j = await SearchFind(e)\r\n if (j) {ElMessage.error('提示:重复扫描添加数据了哦');return}\r\n const reslut:any = await medicMsfx({code:e})\r\n let initParamObj = {...initParam}\r\n initParamObj.Qrcode = e\r\n if (reslut.code==200 && reslut.msg=='查询成功') {\r\n initParamObj.medicineInfo = reslut.data[0] || {}\r\n if(reslut.data[0].quantity!=undefined){\r\n initParamObj.quantity = reslut.data[0].quantity\r\n }\r\n initParamObj.date = timesFn()\r\n data.tableData.push(initParamObj)\r\n inputSearchRef.value?.inputFocus()\r\n }\r\n}\r\n/**\r\n * 筛选是否已经扫描过\r\n * @param j 追溯码 \r\n */\r\nconst SearchFind = (j:any)=>{\r\n return new Promise(resolve=>{\r\n const ab = data.tableData.find((item:any) => item.Qrcode==j)\r\n ab==undefined?resolve(false):resolve(true)\r\n })\r\n}\r\n\r\n/**\r\n * 删除\r\n * @param index \r\n */\r\nconst deltable = async (index:any)=>{\r\n data.tableData.splice(index,1)\r\n nextTick(()=>{\r\n inputSearchRef.value?.inputFocus()\r\n })\r\n}\r\n\r\n//收发货单位\r\nconst itemPirFun = async () => {\r\n const reslut: any = await stockunit({ type: 2 })\r\n const arrMap = reslut.data?.list\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}\r\ninterface RestaurantItem {\r\n value: string\r\n link: string\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\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\nconst resetForm = async ()=>{\r\n data.tableData = []\r\n inputSearchRef?.value?.ClearFn()\r\n inputSearchRef.value?.inputFocus()\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.inputWidth {\r\n width: 200px;\r\n}\r\n.el-table .warning-row {\r\n --el-table-tr-bg-color: var(--el-color-warning-light-9);\r\n}\r\n.el-table .success-row {\r\n --el-table-tr-bg-color: var(--el-color-success-light-9);\r\n}\r\n</style>\r\n","import script from \"./scanCode.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./scanCode.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./scanCode.vue?vue&type=style&index=0&id=19e6bb52&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, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString } from \"vue\"\n\nconst _hoisted_1 = { class: \"\" }\nconst _hoisted_2 = { class: \"dialog-footer\" }\nconst _hoisted_3 = { class: \"dialog-footer\" }\n\nimport { reactive, ref } from 'vue'\r\nimport type { FormInstance, FormRules} from 'element-plus'\r\nimport { ElNotification} from 'element-plus'\r\nimport { syrulesData,columnsTable } from \"@/plugins/rulesData\";\r\nimport { \r\n medicListStockOut,\r\n stockunit,//发货单位\r\n operatorList,//经办人\r\n stockTemplateIn,//单个出库\r\n stockTemplateBatchOut,//批量出库\r\n} from \"@/api\";\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport {Delete,Edit,} from '@element-plus/icons-vue'\r\nconst formLabelWidth = '110px'\r\n\r\ninterface RestaurantItem {\r\n value: string\r\n link: string\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Labour',\n emits: ['scanCode'],\n setup(__props, { emit: __emit }) {\n\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\n\r\nlet rules:any = reactive({})\r\n\r\nconst innerVisible = ref(false)\r\nlet initParam:any = reactive({\r\n \"date\": \"\",\r\n \"forwardingUnit\": \"\",\r\n \"medicineInfo\": {},\r\n \"operator\":'',\r\n \"quantity\": null,\r\n \"unitPrice\":null\r\n})\r\nlet data:any = reactive({\r\n tableData:[],\r\n showDiaData:[],\r\n itemPir:[],\r\n itemOpen:[],\r\n rules1:{},\r\n columns:[],// 渲染表格\r\n selectType:[],//表格的下拉对应\r\n editStrot:false,\r\n editIndex:null\r\n}) \r\nconst emit:any = __emit\r\n//立即出库\r\nconst subStock = async ()=>{\r\n let arr = [...data.tableData]\r\n arr.forEach(item=>{\r\n item.unitPrice = Number(item.unitPrice)\r\n })\r\n const reslut:any = await stockTemplateBatchOut({\"stockOutList\": arr})\r\n console.log('返回',reslut)\r\n if(reslut.code==200 && reslut.msg=='出库成功'){\r\n ElMessage.success(reslut.msg)\r\n dialogFormVisible.value = false\r\n innerVisible.value = false\r\n emit('scanCode', '')\r\n data.tableData = []\r\n }\r\n}\r\n\r\n\r\n//函数\r\nconst findFun = (data:any,list:any)=>{\r\n if(list){\r\n const b = list.find((item:any) => item.id==data)\r\n if(b) return b.name\r\n else return ''\r\n }else{\r\n return data\r\n }\r\n}\r\nconst resetForm = (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n formEl.resetFields()\r\n}\r\n//加入暂存区\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n ElNotification({\r\n title: '暂存成功',\r\n message: 'ok,加入暂存成功,右下角按钮查看/提交暂存',\r\n type: 'success',\r\n })\r\n console.log('提交',data.editStrot)\r\n if(data.editStrot){//编辑状态\r\n let {date,forwardingUnit,operator,quantity,unitPrice,medicineInfo} = initParam\r\n data.tableData.splice(data.editIndex,1,{date,forwardingUnit,operator,quantity,unitPrice:unitPrice,medicineInfo:{...medicineInfo}})\r\n console.log('编辑状态',data.tableData)\r\n }else{//正常添加\r\n let {date,forwardingUnit,operator,quantity,unitPrice,medicineInfo} = initParam\r\n data.tableData.push({date,forwardingUnit,operator,quantity,unitPrice:unitPrice,medicineInfo:{...medicineInfo}})\r\n console.log('正常添加',data.tableData)\r\n }\r\n } else {\r\n ElMessage.error('请完善必填项')\r\n }\r\n })\r\n}\r\n\r\n//函数\r\nconst closeFun = async () => {\r\n if(data.tableData.length==0){\r\n dialogFormVisible.value = false\r\n data.tableData = []\r\n }else{\r\n ElMessageBox.confirm('请检查录入数据是否已经提交,该操作将放弃出库信息,是否放弃?', '提示', {\r\n confirmButtonText: '立即出库',\r\n cancelButtonText: '放弃数据',\r\n type: 'warning',\r\n draggable: true,\r\n center: true,\r\n }).then(() => {\r\n innerVisible.value = true\r\n }).catch(() => {\r\n dialogFormVisible.value = false\r\n ElMessage.success('已放弃出库数据')\r\n })\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\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\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\nconst itemPirFun = async()=>{\r\n const reslut:any = await stockunit({ type: 3 })\r\n const arrMap = reslut.data?.list\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}\r\n//经办人Api\r\nconst operatorListApi = async()=>{\r\n const reslut:any = await operatorList({})\r\n const arrMap = reslut.data?.list\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}\r\n\r\n\r\n//函数\r\nconst showinnerVisible = async ()=>{\r\n innerVisible.value = true\r\n data.editStrot = false\r\n console.log(data.tableData)\r\n}\r\n\r\nconst showDia = async ()=>{\r\n data.tableData = []\r\n data.showDiaData = []\r\n data.itemPir = []\r\n data.itemOpen = []\r\n data.rules1 = []\r\n data.columns = []\r\n data.selectType = []\r\n data.editStrot = false\r\n resetFun()//复原表单\r\n\r\n medicListStockFun()//获取出库表单\r\n itemPirFun()//发货单位\r\n operatorListApi()//经办人\r\n}\r\n//复原表单\r\nconst resetFun = async ()=>{\r\n initParam.date = ''\r\n initParam.forwardingUnit = ''\r\n initParam.medicineInfo = {}\r\n initParam.operator = ''\r\n initParam.quantity = null\r\n initParam.unitPrice = null\r\n resetForm(ruleFormRef.value)\r\n}\r\n//获取出库表单Api\r\nconst medicListStockFun = async ()=>{\r\n data.columns = []\r\n const reslut:any = await medicListStockOut({})\r\n if(reslut.code==200 && reslut.msg=='查询成功'){\r\n data.showDiaData = reslut.data?.list\r\n data.rules1 = {}\r\n data.columns = []\r\n data.selectType = []\r\n reslut.data?.list.forEach((value:any) => { //value设置成key\r\n data.selectType.push({type:value.type,list:value.list})\r\n data.columns.push({ prop: value.field_name, label: value.name, list:value.list})\r\n initParam.medicineInfo[value.field_name] = ''; // 这里可以根据需要设置其他值作为键的内容\r\n if(['product_id','enterprise_id','spec_id','batch_number','expiry_date','approval_number'].includes(value.field_name)){\r\n if(value.type==6){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'}]\r\n }else if(value.type==7){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'},{ pattern: /^(?:[1-9]\\d*)$/, message: '请输入正整数', trigger: \"blur\" },]\r\n }else{\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change',}]\r\n }\r\n }\r\n });\r\n Object.assign(rules,{...data.rules1,...syrulesData})\r\n console.log('表格', data.selectType)\r\n dialogFormVisible.value = true\r\n }\r\n}\r\n\r\nconst handleClick = (datas:any,index:any) => {\r\n data.editStrot = true\r\n data.editIndex = index\r\n let {date,forwardingUnit,operator,quantity,unitPrice,medicineInfo} = datas\r\n Object.assign(initParam,{date,forwardingUnit,operator,quantity,unitPrice,medicineInfo:{...medicineInfo}})\r\n innerVisible.value = false\r\n}\r\nconst delClick = (index:any) => {\r\n ElMessageBox.confirm('删除一条信息,是否继续?','删除',{\r\n confirmButtonText: '确认删除',\r\n cancelButtonText: 'Cancel',\r\n type: 'warning',\r\n center: true,\r\n }).then(() => {\r\n data.tableData.splice(index, 1);\r\n ElMessage.success('已删除')\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_divider = _resolveComponent(\"el-divider\")!\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_date_picker = _resolveComponent(\"el-date-picker\")!\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_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_button, {\n \"el-button\": \"\",\n type: \"primary\",\n icon: \"Pointer\",\n onClick: showDia\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[8] || (_cache[8] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"手动出库\",\n \"append-to-body\": true,\n \"before-close\": closeFun,\n draggable: \"\",\n \"close-on-click-modal\": false,\n \"close-on-press-escape\": false,\n width: \"60%\"\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (submitForm(ruleFormRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"加入暂存\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, { onClick: showinnerVisible }, {\n default: _withCtx(() => [\n _createTextVNode(\"查看暂存\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (resetForm(ruleFormRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"重置数据\")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n rules: _unref(rules),\n model: _unref(initParam),\n inline: true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_divider, { \"content-position\": \"center\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"药品信息\")\n ]),\n _: 1\n }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(data).showDiaData, (item, index) => {\n return (_openBlock(), _createBlock(_component_el_form_item, {\n label: item.name,\n \"label-width\": formLabelWidth,\n key: index,\n prop: 'medicineInfo.'+item.field_name\n }, {\n default: _withCtx(() => [\n ([1,2,3,4,5].includes(item.type))\n ? (_openBlock(), _createBlock(_component_el_select, {\n key: 0,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n placeholder: '请选择'+item.name,\n class: \"inputWidth\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.list, (itemIt, i) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n label: itemIt.name,\n value: itemIt.id,\n key: i\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==6)\n ? (_openBlock(), _createBlock(_component_el_input, {\n key: 1,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n autocomplete: \"off\",\n placeholder: '请输入'+item.name,\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==7)\n ? (_openBlock(), _createBlock(_component_el_input, {\n key: 2,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n autocomplete: \"off\",\n placeholder: '请输入'+item.name,\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==8)\n ? (_openBlock(), _createBlock(_component_el_input, {\n key: 3,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n autocomplete: \"off\",\n placeholder: '请输入'+item.name,\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==9)\n ? (_openBlock(), _createBlock(_component_el_date_picker, {\n key: 4,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n type: \"date\",\n \"value-format\": \"YYYY-MM-DD\",\n placeholder: '请输入'+item.name,\n clearable: \"\",\n style: {\"width\":\"200px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (item.type==10)\n ? (_openBlock(), _createBlock(_component_el_date_picker, {\n key: 5,\n modelValue: _unref(initParam).medicineInfo[item.field_name],\n \"onUpdate:modelValue\": ($event: any) => ((_unref(initParam).medicineInfo[item.field_name]) = $event),\n type: \"datetime\",\n \"value-format\": \"YYYY-MM-DD HH:mm:ss\",\n placeholder: '请输入'+item.name,\n clearable: \"\",\n style: {\"width\":\"200px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"label\", \"prop\"]))\n }), 128)),\n _createVNode(_component_el_divider, { \"content-position\": \"center\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"出库信息\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"el-form-item-main\",\n label: \"数量\",\n \"label-width\": formLabelWidth,\n prop: \"quantity\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: _unref(initParam).quantity,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(initParam).quantity) = $event)),\n modelModifiers: { number: true },\n autocomplete: \"off\",\n class: \"inputWidth\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n class: \"el-form-item-main\",\n label: \"出库日期\",\n \"label-width\": formLabelWidth,\n prop: \"date\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _unref(initParam).date,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(initParam).date) = $event)),\n type: \"date\",\n placeholder: \"出库日期\",\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, {\n class: \"el-form-item-main\",\n label: \"收货单位\",\n \"label-width\": formLabelWidth\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: _unref(initParam).forwardingUnit,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(initParam).forwardingUnit) = $event)),\n \"fetch-suggestions\": querySearch1,\n clearable: \"\",\n class: \"inputWidth\",\n placeholder: \"收货单位\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"经办人\",\n \"label-width\": formLabelWidth,\n prop: \"operator\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: _unref(initParam).operator,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(initParam).operator) = $event)),\n \"fetch-suggestions\": querySearch,\n clearable: \"\",\n class: \"inputWidth\",\n placeholder: \"经办人\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"rules\", \"model\"]),\n _createVNode(_component_el_dialog, {\n \"destroy-on-close\": true,\n modelValue: innerVisible.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((innerVisible).value = $event)),\n title: \"出库数据\",\n width: \"95%\",\n \"append-to-body\": \"\",\n draggable: \"\",\n \"close-on-click-modal\": false,\n \"close-on-press-escape\": false\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_3, [\n _createVNode(_component_el_button, {\n onClick: _cache[6] || (_cache[6] = ($event: any) => (innerVisible.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"关闭\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: subStock\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"立即出库\")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_table, {\n data: _unref(data).tableData,\n style: {\"width\":\"100%\"},\n border: \"\",\n \"max-height\": \"450\",\n \"header-cell-style\": {'background-color':'#ccc','color': 'white'}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(data).columns, (item, i) => {\n return (_openBlock(), _createBlock(_component_el_table_column, {\n label: item.label,\n key: i,\n \"min-width\": \"110\",\n \"show-overflow-tooltip\": \"\"\n }, {\n default: _withCtx((scope) => [\n _createTextVNode(_toDisplayString(findFun(scope.row.medicineInfo[item.prop],item.list)), 1)\n ]),\n _: 2\n }, 1032, [\"label\"]))\n }), 128)),\n _createVNode(_component_el_table_column, {\n prop: \"quantity\",\n label: \"数量\",\n \"min-width\": \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"unitPrice\",\n label: \"购进单价\",\n \"min-width\": \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"forwardingUnit\",\n label: \"收货单位\",\n \"min-width\": \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"date\",\n label: \"出库日期\",\n \"min-width\": \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"operator\",\n label: \"经办人\",\n \"min-width\": \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n fixed: \"right\",\n label: \"操作\",\n \"min-width\": \"110\"\n }, {\n default: _withCtx((scope) => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n icon: _unref(Edit),\n onClick: ($event: any) => (handleClick(scope.row,scope.$index)),\n circle: \"\"\n }, null, 8, [\"icon\", \"onClick\"]),\n _createVNode(_component_el_button, {\n type: \"danger\",\n icon: _unref(Delete),\n onClick: ($event: any) => (delClick(scope.$index)),\n circle: \"\"\n }, null, 8, [\"icon\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n}\n}\n\n})","<!-- 扫码 -->\r\n<template>\r\n <div class=\"\">\r\n <el-button el-button type=\"primary\" icon=\"Pointer\" @click=\"showDia\">手动出库</el-button>\r\n <el-dialog :destroy-on-close=\"true\" v-model=\"dialogFormVisible\" title=\"手动出库\" :append-to-body=\"true\" :before-close=\"closeFun\" draggable :close-on-click-modal=\"false\" :close-on-press-escape=\"false\" width=\"60%\">\r\n <el-form ref=\"ruleFormRef\" :rules=\"rules\" :model=\"initParam\" :inline=\"true\">\r\n <el-divider content-position=\"center\">药品信息</el-divider>\r\n <el-form-item :label=\"item.name\" :label-width=\"formLabelWidth\" v-for=\"(item,index) in data.showDiaData\" :key=\"index\" :prop=\"'medicineInfo.'+item.field_name\">\r\n <el-select v-model=\"initParam.medicineInfo[item.field_name]\" :placeholder=\"'请选择'+item.name\" class=\"inputWidth\" v-if=\"[1,2,3,4,5].includes(item.type)\">\r\n <el-option :label=\"itemIt.name\" :value=\"itemIt.id\" v-for=\"itemIt,i in item.list\" :key=\"i\"/>\r\n </el-select>\r\n <el-input v-model=\"initParam.medicineInfo[item.field_name]\" autocomplete=\"off\" :placeholder=\"'请输入'+item.name\" class=\"inputWidth\" v-if=\"item.type==6\"/>\r\n <el-input v-model=\"initParam.medicineInfo[item.field_name]\" autocomplete=\"off\" :placeholder=\"'请输入'+item.name\" class=\"inputWidth\" v-if=\"item.type==7\"/>\r\n <el-input v-model=\"initParam.medicineInfo[item.field_name]\" autocomplete=\"off\" :placeholder=\"'请输入'+item.name\" class=\"inputWidth\" v-if=\"item.type==8\"/>\r\n <el-date-picker v-model=\"initParam.medicineInfo[item.field_name]\" type=\"date\" value-format=\"YYYY-MM-DD\" :placeholder=\"'请输入'+item.name\" clearable style=\"width: 200px;\" v-if=\"item.type==9\"/>\r\n <el-date-picker v-model=\"initParam.medicineInfo[item.field_name]\" type=\"datetime\" value-format=\"YYYY-MM-DD HH:mm:ss\" :placeholder=\"'请输入'+item.name\" clearable style=\"width: 200px;\" v-if=\"item.type==10\"/>\r\n </el-form-item>\r\n <el-divider content-position=\"center\">出库信息</el-divider>\r\n <el-form-item class=\"el-form-item-main\" label=\"数量\" :label-width=\"formLabelWidth\" prop=\"quantity\">\r\n <el-input v-model.number=\"initParam.quantity\" autocomplete=\"off\" class=\"inputWidth\" />\r\n </el-form-item>\r\n <!-- <el-form-item class=\"el-form-item-main\" label=\"销售单价\" :label-width=\"formLabelWidth\">\r\n <el-input v-model=\"initParam.unitPrice\" autocomplete=\"off\" class=\"inputWidth\"/>\r\n </el-form-item> -->\r\n <el-form-item class=\"el-form-item-main\" label=\"出库日期\" :label-width=\"formLabelWidth\" prop=\"date\">\r\n <el-date-picker v-model=\"initParam.date\" type=\"date\" placeholder=\"出库日期\" value-format=\"YYYY-MM-DD\" clearable style=\"width: 200px;\" />\r\n </el-form-item>\r\n <el-form-item class=\"el-form-item-main\" label=\"收货单位\" :label-width=\"formLabelWidth\">\r\n <el-autocomplete v-model=\"initParam.forwardingUnit\" :fetch-suggestions=\"querySearch1\" clearable class=\"inputWidth\"\r\n placeholder=\"收货单位\" />\r\n </el-form-item>\r\n <el-form-item label=\"经办人\" :label-width=\"formLabelWidth\" prop=\"operator\">\r\n <!-- <el-select v-model=\"initParam.operator\" placeholder=\"请选择经办人\" class=\"inputWidth\">\r\n <el-option :label=\"it\" :value=\"it\" v-for=\"(it,j) in data.itemOpen\" :key=\"j+Math.random()\" />\r\n </el-select> -->\r\n <el-autocomplete v-model=\"initParam.operator\" :fetch-suggestions=\"querySearch\" clearable class=\"inputWidth\"\r\n placeholder=\"经办人\" />\r\n </el-form-item>\r\n </el-form>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button type=\"primary\" @click=\"submitForm(ruleFormRef)\">加入暂存</el-button>\r\n <el-button @click=\"showinnerVisible\">查看暂存</el-button>\r\n <el-button type=\"danger\" @click=\"resetForm(ruleFormRef)\">重置数据</el-button>\r\n </span>\r\n </template>\r\n <el-dialog :destroy-on-close=\"true\" v-model=\"innerVisible\" title=\"出库数据\" width=\"95%\" append-to-body draggable :close-on-click-modal=\"false\" :close-on-press-escape=\"false\">\r\n <el-table :data=\"data.tableData\" style=\"width: 100%\" border max-height=\"450\" :header-cell-style=\"{'background-color':'#ccc','color': 'white'}\">\r\n <el-table-column :label=\"item.label\" v-for=\"item,i in data.columns\" :key=\"i\" min-width=\"110\" show-overflow-tooltip>\r\n <template #default=\"scope\"><!--scope.row.medicineInfo[item.prop] -->\r\n {{ findFun(scope.row.medicineInfo[item.prop],item.list)}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column prop=\"quantity\" label=\"数量\" min-width=\"110\" show-overflow-tooltip/>\r\n <el-table-column prop=\"unitPrice\" label=\"购进单价\" min-width=\"110\" show-overflow-tooltip/>\r\n <el-table-column prop=\"forwardingUnit\" label=\"收货单位\" min-width=\"110\" show-overflow-tooltip/>\r\n <el-table-column prop=\"date\" label=\"出库日期\" min-width=\"110\" show-overflow-tooltip/>\r\n <el-table-column prop=\"operator\" label=\"经办人\" min-width=\"110\" show-overflow-tooltip/>\r\n\r\n <el-table-column fixed=\"right\" label=\"操作\" min-width=\"110\">\r\n <template #default=\"scope\">\r\n <el-button type=\"primary\" :icon=\"Edit\" @click=\"handleClick(scope.row,scope.$index)\" circle />\r\n <el-button type=\"danger\" :icon=\"Delete\" @click=\"delClick(scope.$index)\" circle />\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button @click=\"innerVisible = false\">关闭</el-button>\r\n <el-button type=\"primary\" @click=\"subStock\">立即出库</el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { reactive, ref } from 'vue'\r\nimport type { FormInstance, FormRules} from 'element-plus'\r\nimport { ElNotification} from 'element-plus'\r\nimport { syrulesData,columnsTable } from \"@/plugins/rulesData\";\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\n\r\nlet rules:any = reactive({})\r\n\r\nimport { \r\n medicListStockOut,\r\n stockunit,//发货单位\r\n operatorList,//经办人\r\n stockTemplateIn,//单个出库\r\n stockTemplateBatchOut,//批量出库\r\n} from \"@/api\";\r\nconst innerVisible = ref(false)\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport {Delete,Edit,} from '@element-plus/icons-vue'\r\nconst formLabelWidth = '110px'\r\n\r\nlet initParam:any = reactive({\r\n \"date\": \"\",\r\n \"forwardingUnit\": \"\",\r\n \"medicineInfo\": {},\r\n \"operator\":'',\r\n \"quantity\": null,\r\n \"unitPrice\":null\r\n})\r\nlet data:any = reactive({\r\n tableData:[],\r\n showDiaData:[],\r\n itemPir:[],\r\n itemOpen:[],\r\n rules1:{},\r\n columns:[],// 渲染表格\r\n selectType:[],//表格的下拉对应\r\n editStrot:false,\r\n editIndex:null\r\n}) \r\nconst emit:any = defineEmits(['scanCode'])\r\n//立即出库\r\nconst subStock = async ()=>{\r\n let arr = [...data.tableData]\r\n arr.forEach(item=>{\r\n item.unitPrice = Number(item.unitPrice)\r\n })\r\n const reslut:any = await stockTemplateBatchOut({\"stockOutList\": arr})\r\n console.log('返回',reslut)\r\n if(reslut.code==200 && reslut.msg=='出库成功'){\r\n ElMessage.success(reslut.msg)\r\n dialogFormVisible.value = false\r\n innerVisible.value = false\r\n emit('scanCode', '')\r\n data.tableData = []\r\n }\r\n}\r\n\r\n\r\n//函数\r\nconst findFun = (data:any,list:any)=>{\r\n if(list){\r\n const b = list.find((item:any) => item.id==data)\r\n if(b) return b.name\r\n else return ''\r\n }else{\r\n return data\r\n }\r\n}\r\nconst resetForm = (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n formEl.resetFields()\r\n}\r\n//加入暂存区\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n ElNotification({\r\n title: '暂存成功',\r\n message: 'ok,加入暂存成功,右下角按钮查看/提交暂存',\r\n type: 'success',\r\n })\r\n console.log('提交',data.editStrot)\r\n if(data.editStrot){//编辑状态\r\n let {date,forwardingUnit,operator,quantity,unitPrice,medicineInfo} = initParam\r\n data.tableData.splice(data.editIndex,1,{date,forwardingUnit,operator,quantity,unitPrice:unitPrice,medicineInfo:{...medicineInfo}})\r\n console.log('编辑状态',data.tableData)\r\n }else{//正常添加\r\n let {date,forwardingUnit,operator,quantity,unitPrice,medicineInfo} = initParam\r\n data.tableData.push({date,forwardingUnit,operator,quantity,unitPrice:unitPrice,medicineInfo:{...medicineInfo}})\r\n console.log('正常添加',data.tableData)\r\n }\r\n } else {\r\n ElMessage.error('请完善必填项')\r\n }\r\n })\r\n}\r\n\r\n//函数\r\nconst closeFun = async () => {\r\n if(data.tableData.length==0){\r\n dialogFormVisible.value = false\r\n data.tableData = []\r\n }else{\r\n ElMessageBox.confirm('请检查录入数据是否已经提交,该操作将放弃出库信息,是否放弃?', '提示', {\r\n confirmButtonText: '立即出库',\r\n cancelButtonText: '放弃数据',\r\n type: 'warning',\r\n draggable: true,\r\n center: true,\r\n }).then(() => {\r\n innerVisible.value = true\r\n }).catch(() => {\r\n dialogFormVisible.value = false\r\n ElMessage.success('已放弃出库数据')\r\n })\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\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\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\nconst itemPirFun = async()=>{\r\n const reslut:any = await stockunit({ type: 3 })\r\n const arrMap = reslut.data?.list\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}\r\n//经办人Api\r\nconst operatorListApi = async()=>{\r\n const reslut:any = await operatorList({})\r\n const arrMap = reslut.data?.list\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}\r\n\r\n\r\n//函数\r\nconst showinnerVisible = async ()=>{\r\n innerVisible.value = true\r\n data.editStrot = false\r\n console.log(data.tableData)\r\n}\r\n\r\nconst showDia = async ()=>{\r\n data.tableData = []\r\n data.showDiaData = []\r\n data.itemPir = []\r\n data.itemOpen = []\r\n data.rules1 = []\r\n data.columns = []\r\n data.selectType = []\r\n data.editStrot = false\r\n resetFun()//复原表单\r\n\r\n medicListStockFun()//获取出库表单\r\n itemPirFun()//发货单位\r\n operatorListApi()//经办人\r\n}\r\n//复原表单\r\nconst resetFun = async ()=>{\r\n initParam.date = ''\r\n initParam.forwardingUnit = ''\r\n initParam.medicineInfo = {}\r\n initParam.operator = ''\r\n initParam.quantity = null\r\n initParam.unitPrice = null\r\n resetForm(ruleFormRef.value)\r\n}\r\n//获取出库表单Api\r\nconst medicListStockFun = async ()=>{\r\n data.columns = []\r\n const reslut:any = await medicListStockOut({})\r\n if(reslut.code==200 && reslut.msg=='查询成功'){\r\n data.showDiaData = reslut.data?.list\r\n data.rules1 = {}\r\n data.columns = []\r\n data.selectType = []\r\n reslut.data?.list.forEach((value:any) => { //value设置成key\r\n data.selectType.push({type:value.type,list:value.list})\r\n data.columns.push({ prop: value.field_name, label: value.name, list:value.list})\r\n initParam.medicineInfo[value.field_name] = ''; // 这里可以根据需要设置其他值作为键的内容\r\n if(['product_id','enterprise_id','spec_id','batch_number','expiry_date','approval_number'].includes(value.field_name)){\r\n if(value.type==6){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'}]\r\n }else if(value.type==7){\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change'},{ pattern: /^(?:[1-9]\\d*)$/, message: '请输入正整数', trigger: \"blur\" },]\r\n }else{\r\n data.rules1['medicineInfo.'+value.field_name] = [{required: true,message: '必填项',trigger: 'change',}]\r\n }\r\n }\r\n });\r\n Object.assign(rules,{...data.rules1,...syrulesData})\r\n console.log('表格', data.selectType)\r\n dialogFormVisible.value = true\r\n }\r\n}\r\n\r\nconst handleClick = (datas:any,index:any) => {\r\n data.editStrot = true\r\n data.editIndex = index\r\n let {date,forwardingUnit,operator,quantity,unitPrice,medicineInfo} = datas\r\n Object.assign(initParam,{date,forwardingUnit,operator,quantity,unitPrice,medicineInfo:{...medicineInfo}})\r\n innerVisible.value = false\r\n}\r\nconst delClick = (index:any) => {\r\n ElMessageBox.confirm('删除一条信息,是否继续?','删除',{\r\n confirmButtonText: '确认删除',\r\n cancelButtonText: 'Cancel',\r\n type: 'warning',\r\n center: true,\r\n }).then(() => {\r\n data.tableData.splice(index, 1);\r\n ElMessage.success('已删除')\r\n })\r\n}\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n.inputWidth {\r\n width: 200px;\r\n}\r\n</style>\r\n","import script from \"./Labour.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Labour.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Labour.vue?vue&type=style&index=0&id=02c6e863&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, createElementVNode as _createElementVNode, unref as _unref, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"align-items\":\"center\",\"flex-wrap\":\"wrap\"} }\nconst _hoisted_2 = { style: {\"max-width\":\"200px\",\"margin-bottom\":\"18px\"} }\n\nimport {tranoutexport, transportrecordList } 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, ElTable } from 'element-plus'\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { tableinterface,RuleForm,RuleForm1,ListItem,RestaurantItem,RuleFormdown} from \"./js/interface\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Outbound',\n setup(__props) {\n\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\n\r\nconst multipleSelection:any = ref([])\r\nconst handleSelectionChange = (val: any) => {\r\n multipleSelection.value = val\r\n let arrMap = [...val]\r\n expinitParam.stockOutIds = arrMap.map(item=> item.stock_out_id )\r\n}\r\n\r\nlet tableData = ref([])\r\nconst initParam = reactive<RuleForm1>({//请求参数\r\n \"date\": null,\r\n \"receivingUnit\": ''\r\n})\r\n//函数\r\nconst searchFn = async ()=>{\r\n const reslut:any = await transportrecordList(initParam)\r\n if(reslut.code==200){\r\n tableData.value = reslut.data.list || []\r\n }\r\n console.log('搜索',reslut)\r\n}\r\n\r\n\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\n\r\n\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\n\r\n\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 dialogFormVisible.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 restaurants.value = arr\r\n}\r\nconst restaurants = ref<RestaurantItem[]>([])\r\nconst querySearch1 = (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\nlet expinitParam:any = reactive<RuleFormdown>({\r\n \"stockOutIds\": [],\r\n \"type\": ''\r\n})\r\nconst submitForm = async ( ty: any) => {\r\n const b = Object.values(initParam).some(item => item==null || item=='')\r\n console.log('b',b)\r\n if(b){\r\n ElMessage.error('请选择出库日期跟收货单位')\r\n return\r\n }else{\r\n expinitParam.type = ty\r\n expinitParam = {...expinitParam,...initParam}\r\n const result: any = await tranoutexport(expinitParam)\r\n console.log('result', result, ty)\r\n ty == 'word' ? downloadExcelFun(result) : downPDF(result)\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_date_picker = _resolveComponent(\"el-date-picker\")!\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_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\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[3] || (_cache[3] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"出库单\",\n \"append-to-body\": true,\n draggable: \"\",\n width: \"80%\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_el_form, {\n model: initParam,\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n inline: true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"出库日期\",\n prop: \"date\"\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 clearable: false,\n class: \"inputWidth\",\n type: \"date\",\n \"value-format\": \"YYYY-MM-DD\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"收货单位\",\n prop: \"receivingUnit\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: initParam.receivingUnit,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((initParam.receivingUnit) = $event)),\n \"fetch-suggestions\": querySearch1,\n class: \"inputWidth\",\n placeholder: \"收货单位\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n icon: \"Search\",\n onClick: searchFn\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"搜索\")\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (submitForm('pdf')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"打印\")\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(_component_el_table, {\n data: _unref(tableData),\n border: \"\",\n style: {\"margin-top\":\"40px\",\"width\":\"100%\"},\n onSelectionChange: handleSelectionChange\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n type: \"selection\",\n width: \"40\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"qrcode\",\n label: \"条码\",\n \"min-width\": \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"product_name\",\n label: \"品种\",\n width: \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"enterprise_name\",\n label: \"生产企业\",\n width: \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"approval_number\",\n label: \"批准文号\",\n \"min-width\": \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"qualification_number\",\n label: \"批签发合格编号\",\n \"min-width\": \"150\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"spec_name\",\n label: \"规格(剂/支或粒)\",\n width: \"150\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"produced_date\",\n label: \"生产日期\",\n width: \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"batch_number\",\n label: \"批号\",\n width: \"100\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"expiry_date\",\n label: \"失效日期\",\n width: \"100\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"quantity\",\n label: \"数量\",\n width: \"70\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"unit_name\",\n label: \"单位\",\n width: \"70\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"date\",\n label: \"出库日期\",\n width: \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"receiving_unit\",\n label: \"收货单位\",\n width: \"90\",\n \"show-overflow-tooltip\": \"\"\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ], 64))\n}\n}\n\n})","<template>\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=\"80%\">\r\n <div style=\"display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap\">\r\n <div>\r\n <el-form :model=\"initParam\" ref=\"ruleFormRef\" :inline=\"true\">\r\n <el-form-item label=\"出库日期\" prop=\"date\">\r\n <el-date-picker v-model=\"initParam.date\" :clearable='false' class=\"inputWidth\" type=\"date\" value-format=\"YYYY-MM-DD\"\r\n style=\"width: 100%;\" />\r\n </el-form-item>\r\n <el-form-item label=\"收货单位\" prop=\"receivingUnit\">\r\n <el-autocomplete v-model=\"initParam.receivingUnit\" :fetch-suggestions=\"querySearch1\"\r\n class=\"inputWidth\" placeholder=\"收货单位\" style=\"width: 100%;\" />\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" icon=\"Search\" @click=\"searchFn\">搜索</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <div style=\"max-width: 200px;margin-bottom: 18px;\">\r\n <!-- <el-button type=\"primary\" @click=\"submitForm('word')\">导出</el-button> -->\r\n <el-button type=\"primary\" @click=\"submitForm('pdf')\">打印</el-button>\r\n </div>\r\n </div>\r\n <el-table :data=\"tableData\" border style=\"margin-top: 40px;width: 100%\"\r\n @selection-change=\"handleSelectionChange\">\r\n <el-table-column type=\"selection\" width=\"40\" />\r\n <el-table-column property=\"qrcode\" label=\"条码\" min-width=\"120\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"product_name\" label=\"品种\" width=\"120\" show-overflow-tooltip />\r\n <el-table-column property=\"enterprise_name\" label=\"生产企业\" width=\"120\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"approval_number\" label=\"批准文号\" min-width=\"120\" show-overflow-tooltip />\r\n <el-table-column property=\"qualification_number\" label=\"批签发合格编号\" min-width=\"150\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"spec_name\" label=\"规格(剂/支或粒)\" width=\"150\" show-overflow-tooltip />\r\n <el-table-column property=\"produced_date\" label=\"生产日期\" width=\"120\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"batch_number\" label=\"批号\" width=\"100\" show-overflow-tooltip />\r\n <el-table-column property=\"expiry_date\" label=\"失效日期\" width=\"100\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"quantity\" label=\"数量\" width=\"70\" show-overflow-tooltip />\r\n <el-table-column property=\"unit_name\" label=\"单位\" width=\"70\" show-overflow-tooltip/>\r\n <el-table-column property=\"date\" label=\"出库日期\" width=\"110\" show-overflow-tooltip />\r\n <el-table-column property=\"receiving_unit\" label=\"收货单位\" width=\"90\" show-overflow-tooltip/>\r\n </el-table>\r\n </el-dialog>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport {tranoutexport, transportrecordList } 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, ElTable } from 'element-plus'\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { tableinterface,RuleForm,RuleForm1,ListItem,RestaurantItem,RuleFormdown} from \"./js/interface\";\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\n\r\nconst multipleSelection:any = ref([])\r\nconst handleSelectionChange = (val: any) => {\r\n multipleSelection.value = val\r\n let arrMap = [...val]\r\n expinitParam.stockOutIds = arrMap.map(item=> item.stock_out_id )\r\n}\r\n\r\nlet tableData = ref([])\r\nconst initParam = reactive<RuleForm1>({//请求参数\r\n \"date\": null,\r\n \"receivingUnit\": ''\r\n})\r\n//函数\r\nconst searchFn = async ()=>{\r\n const reslut:any = await transportrecordList(initParam)\r\n if(reslut.code==200){\r\n tableData.value = reslut.data.list || []\r\n }\r\n console.log('搜索',reslut)\r\n}\r\n\r\n\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\n\r\n\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\n\r\n\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 dialogFormVisible.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 restaurants.value = arr\r\n}\r\nconst restaurants = ref<RestaurantItem[]>([])\r\nconst querySearch1 = (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\nlet expinitParam:any = reactive<RuleFormdown>({\r\n \"stockOutIds\": [],\r\n \"type\": ''\r\n})\r\nconst submitForm = async ( ty: any) => {\r\n const b = Object.values(initParam).some(item => item==null || item=='')\r\n console.log('b',b)\r\n if(b){\r\n ElMessage.error('请选择出库日期跟收货单位')\r\n return\r\n }else{\r\n expinitParam.type = ty\r\n expinitParam = {...expinitParam,...initParam}\r\n const result: any = await tranoutexport(expinitParam)\r\n console.log('result', result, ty)\r\n ty == 'word' ? downloadExcelFun(result) : downPDF(result)\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 \"./Outbound.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Outbound.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Outbound.vue?vue&type=style&index=0&id=7c05a2a5&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, createElementVNode as _createElementVNode, unref as _unref, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { style: {\"display\":\"flex\",\"justify-content\":\"space-between\",\"align-items\":\"center\",\"flex-wrap\":\"wrap\"} }\nconst _hoisted_2 = { style: {\"max-width\":\"200px\",\"margin-bottom\":\"18px\"} }\n\nimport {transportWord, transportrecordList } 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, ElTable } from 'element-plus'\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { tableinterface,RuleForm,RuleForm1,ListItem,RestaurantItem,RuleFormdown} from \"./js/interface\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'downing',\n setup(__props) {\n\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\n\r\nconst multipleSelection:any = ref([])\r\nconst handleSelectionChange = (val: any) => {\r\n multipleSelection.value = val\r\n let arrMap = [...val]\r\n expinitParam.stockOutIds = arrMap.map(item=> item.stock_out_id )\r\n}\r\n\r\nlet tableData = ref([])\r\nconst initParam = reactive<RuleForm1>({//请求参数\r\n \"date\": null,\r\n \"receivingUnit\": ''\r\n})\r\n//函数\r\nconst searchFn = async ()=>{\r\n const reslut:any = await transportrecordList(initParam)\r\n if(reslut.code==200){\r\n tableData.value = reslut.data.list || []\r\n }\r\n console.log('搜索',reslut)\r\n}\r\n\r\n\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\n\r\n\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\n\r\n\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 dialogFormVisible.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 restaurants.value = arr\r\n}\r\nconst restaurants = ref<RestaurantItem[]>([])\r\nconst querySearch1 = (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\nlet expinitParam:any = reactive<RuleFormdown>({\r\n \"stockOutIds\": [],\r\n \"type\": ''\r\n})\r\nconst submitForm = async ( ty: any) => {\r\n const b = Object.values(initParam).some(item => item==null || item=='')\r\n console.log('b',b)\r\n if(b){\r\n ElMessage.error('请选择出库日期跟收货单位')\r\n return\r\n }else{\r\n expinitParam.type = ty\r\n expinitParam = {...expinitParam,...initParam}\r\n const result: any = await transportWord(expinitParam)\r\n console.log('result', result, ty)\r\n ty == 'word' ? downloadExcelFun(result) : downPDF(result)\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_date_picker = _resolveComponent(\"el-date-picker\")!\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_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\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[4] || (_cache[4] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: \"运输登记表\",\n \"append-to-body\": true,\n draggable: \"\",\n width: \"80%\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_el_form, {\n model: initParam,\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n inline: true\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"出库日期\",\n prop: \"date\"\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 clearable: false,\n class: \"inputWidth\",\n type: \"date\",\n \"value-format\": \"YYYY-MM-DD\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, {\n label: \"收货单位\",\n prop: \"receivingUnit\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_autocomplete, {\n modelValue: initParam.receivingUnit,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((initParam.receivingUnit) = $event)),\n \"fetch-suggestions\": querySearch1,\n class: \"inputWidth\",\n placeholder: \"收货单位\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_form_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n icon: \"Search\",\n onClick: searchFn\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"搜索\")\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"model\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (submitForm('word')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"导出\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (submitForm('pdf')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"打印\")\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(_component_el_table, {\n data: _unref(tableData),\n border: \"\",\n style: {\"margin-top\":\"40px\",\"width\":\"100%\"},\n onSelectionChange: handleSelectionChange\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n type: \"selection\",\n width: \"40\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"qrcode\",\n label: \"条码\",\n \"min-width\": \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"product_name\",\n label: \"品种\",\n width: \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"enterprise_name\",\n label: \"生产企业\",\n width: \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"approval_number\",\n label: \"批准文号\",\n \"min-width\": \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"qualification_number\",\n label: \"批签发合格编号\",\n \"min-width\": \"150\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"spec_name\",\n label: \"规格(剂/支或粒)\",\n width: \"150\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"produced_date\",\n label: \"生产日期\",\n width: \"120\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"batch_number\",\n label: \"批号\",\n width: \"100\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"expiry_date\",\n label: \"失效日期\",\n width: \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"quantity\",\n label: \"数量\",\n width: \"70\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"unit_name\",\n label: \"单位\",\n width: \"70\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"date\",\n label: \"出库日期\",\n width: \"110\",\n \"show-overflow-tooltip\": \"\"\n }),\n _createVNode(_component_el_table_column, {\n property: \"receiving_unit\",\n label: \"收货单位\",\n width: \"90\",\n \"show-overflow-tooltip\": \"\"\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ], 64))\n}\n}\n\n})","<template>\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=\"80%\">\r\n <div style=\"display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap\">\r\n <div>\r\n <el-form :model=\"initParam\" ref=\"ruleFormRef\" :inline=\"true\">\r\n <el-form-item label=\"出库日期\" prop=\"date\">\r\n <el-date-picker v-model=\"initParam.date\" :clearable='false' class=\"inputWidth\" type=\"date\" value-format=\"YYYY-MM-DD\"\r\n style=\"width: 100%;\" />\r\n </el-form-item>\r\n <el-form-item label=\"收货单位\" prop=\"receivingUnit\">\r\n <el-autocomplete v-model=\"initParam.receivingUnit\" :fetch-suggestions=\"querySearch1\"\r\n class=\"inputWidth\" placeholder=\"收货单位\" style=\"width: 100%;\" />\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" icon=\"Search\" @click=\"searchFn\">搜索</el-button>\r\n </el-form-item>\r\n <!-- <el-form-item label=\"品名\" :label-width=\"formLabelWidth\">\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>\r\n </div>\r\n <div style=\"max-width: 200px;margin-bottom: 18px;\">\r\n <el-button type=\"primary\" @click=\"submitForm('word')\">导出</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm('pdf')\">打印</el-button>\r\n </div>\r\n </div>\r\n <el-table :data=\"tableData\" border style=\"margin-top: 40px;width: 100%\"\r\n @selection-change=\"handleSelectionChange\">\r\n <el-table-column type=\"selection\" width=\"40\" />\r\n <el-table-column property=\"qrcode\" label=\"条码\" min-width=\"120\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"product_name\" label=\"品种\" width=\"120\" show-overflow-tooltip />\r\n <el-table-column property=\"enterprise_name\" label=\"生产企业\" width=\"120\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"approval_number\" label=\"批准文号\" min-width=\"120\" show-overflow-tooltip />\r\n <el-table-column property=\"qualification_number\" label=\"批签发合格编号\" min-width=\"150\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"spec_name\" label=\"规格(剂/支或粒)\" width=\"150\" show-overflow-tooltip />\r\n <el-table-column property=\"produced_date\" label=\"生产日期\" width=\"120\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"batch_number\" label=\"批号\" width=\"100\" show-overflow-tooltip />\r\n <el-table-column property=\"expiry_date\" label=\"失效日期\" width=\"110\" show-overflow-tooltip></el-table-column>\r\n <el-table-column property=\"quantity\" label=\"数量\" width=\"70\" show-overflow-tooltip />\r\n <el-table-column property=\"unit_name\" label=\"单位\" width=\"70\" show-overflow-tooltip/>\r\n <el-table-column property=\"date\" label=\"出库日期\" width=\"110\" show-overflow-tooltip />\r\n <el-table-column property=\"receiving_unit\" label=\"收货单位\" width=\"90\" show-overflow-tooltip/>\r\n </el-table>\r\n </el-dialog>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport {transportWord, transportrecordList } 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, ElTable } from 'element-plus'\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { tableinterface,RuleForm,RuleForm1,ListItem,RestaurantItem,RuleFormdown} from \"./js/interface\";\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\n\r\nconst multipleSelection:any = ref([])\r\nconst handleSelectionChange = (val: any) => {\r\n multipleSelection.value = val\r\n let arrMap = [...val]\r\n expinitParam.stockOutIds = arrMap.map(item=> item.stock_out_id )\r\n}\r\n\r\nlet tableData = ref([])\r\nconst initParam = reactive<RuleForm1>({//请求参数\r\n \"date\": null,\r\n \"receivingUnit\": ''\r\n})\r\n//函数\r\nconst searchFn = async ()=>{\r\n const reslut:any = await transportrecordList(initParam)\r\n if(reslut.code==200){\r\n tableData.value = reslut.data.list || []\r\n }\r\n console.log('搜索',reslut)\r\n}\r\n\r\n\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\n\r\n\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\n\r\n\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 dialogFormVisible.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 restaurants.value = arr\r\n}\r\nconst restaurants = ref<RestaurantItem[]>([])\r\nconst querySearch1 = (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\nlet expinitParam:any = reactive<RuleFormdown>({\r\n \"stockOutIds\": [],\r\n \"type\": ''\r\n})\r\nconst submitForm = async ( ty: any) => {\r\n const b = Object.values(initParam).some(item => item==null || item=='')\r\n console.log('b',b)\r\n if(b){\r\n ElMessage.error('请选择出库日期跟收货单位')\r\n return\r\n }else{\r\n expinitParam.type = ty\r\n expinitParam = {...expinitParam,...initParam}\r\n const result: any = await transportWord(expinitParam)\r\n console.log('result', result, ty)\r\n ty == 'word' ? downloadExcelFun(result) : downPDF(result)\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=82088dda&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, unref as _unref } from \"vue\"\n\nconst _hoisted_1 = { class: \"storagePut\" }\n\nimport { \r\n stockOutList,\r\n productList,//血液制品名称\r\n enterpriseList,//生产企业\r\n stockunit,//收发货单位\r\n medicineColumns,//表头\r\n} from \"@/api\";\r\nimport Editinventory from './Editinventory.vue'\r\nimport { reactive, ref,onMounted,onBeforeMount } from \"vue\";\r\nimport tables from \"@/components/table.vue\";\r\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport bg from '@/components/bg.vue'\r\nimport scanCode from './scanCode.vue'\r\nimport Labour from './Labour.vue'\r\nimport Outbound from './Outbound.vue'\r\n\r\nimport downing from './downing.vue'\r\n\r\n\r\nimport { columnsTableOut } from \"@/plugins/rulesData\";\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 TableRef = ref()\r\nconst scanCodeFun = async ()=>{\r\n console.log('添加完成')\r\n TableRef.value?.getTableList()\r\n}\r\n//函数\r\nconst editinventFun = async ()=>{\r\n TableRef.value?.getTableList()\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'); // 注意月份从0开始,所以要加1\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; initParam.endDate = j\r\n}\r\nonBeforeMount(()=>{//默认获取当天的时间\r\n // datepickFn()\r\n})\r\n\r\nconst columns:any = []\r\n//提交参数\r\nconst initParam = reactive({\r\n \"batchNumber\": \"\",\r\n \"enterpriseId\": null,\r\n \"endDate\": \"\",\r\n \"startDate\": \"\",\r\n \"productId\": null,\r\n \"receivingUnit\": \"\",\r\n \"qrcode\":''\r\n})\r\n\r\n\r\nconst data:any = reactive({\r\n datepick: []\r\n})\r\n/**\r\n * \r\n * @param val 子传值\r\n */\r\n const eventFun = (val: any) => {\r\n TableRef.value?.getTableList()\r\n}\r\nconst loading = ref(false)\r\nconst list1 = ref<ListItem[]>([])//血液制品名称\r\nconst list2 = ref<ListItem[]>([])//生产企业\r\nconst list3 = ref<ListItem[]>([])//收发货单位\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\n// 渲染表格\r\nonMounted(async () => {\r\n let r:any = await medicineColumns({})\r\n if(r.code==200){\r\n let obj = [...r.data?.list]\r\n TableRef.value.tableColumns = [...obj,...columnsTableOut]\r\n }\r\n \r\n\r\n const result1: any = await productList({ age: 1, pageSize: 999 })//血液制品名称\r\n const result2: any = await enterpriseList({ age: 1, pageSize: 999 })//生产企业\r\n const result3: any = await stockunit({ type: 2 })//收发货单位\r\n\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\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\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\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//函数\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\n\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\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(searchAdd, {\n isButtom: \"查询\",\n onEvent: eventFun\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 \"start-placeholder\": \"开始\",\n \"end-placeholder\": \"结束\",\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.receivingUnit,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((initParam.receivingUnit) = $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 _createVNode(_component_el_form_item, { label: \"条码\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: initParam.qrcode,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((initParam.qrcode) = $event)),\n placeholder: \"请输入条码\",\n clearable: \"\",\n style: {\"width\":\"200px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(bg, { istitle: \"基本信息\" }, {\n btn: _withCtx(() => [\n _createVNode(Labour, { onScanCode: scanCodeFun }),\n _createVNode(scanCode, {\n onScanCode: scanCodeFun,\n style: {\"margin\":\"0 10px\"}\n }),\n _createVNode(Outbound),\n _createVNode(downing)\n ]),\n bg: _withCtx(() => [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(stockOutList),\n columns: columns,\n initParam: initParam\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(Editinventory, {\n row: row,\n onEditinvent: editinventFun\n }, null, 8, [\"row\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"initParam\"])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"storagePut\">\r\n <searchAdd isButtom=\"查询\" @event=\"eventFun\">\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;\"\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=\"生产企业\">\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\"\r\n @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\r\n start-placeholder=\"开始\" end-placeholder=\"结束\" value-format=\"YYYY-MM-DD\" style=\"width: 200px;\"\r\n @change=\"changFun\" />\r\n </el-form-item>\r\n <el-form-item label=\"收货单位\">\r\n <el-select v-model=\"initParam.receivingUnit\" 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 <el-form-item label=\"条码\">\r\n <el-input v-model=\"initParam.qrcode\" placeholder=\"请输入条码\" clearable style=\"width: 200px;\" />\r\n </el-form-item>\r\n </template>\r\n </searchAdd>\r\n <bg istitle=\"基本信息\">\r\n <template #btn>\r\n <Labour @scanCode=\"scanCodeFun\"></Labour>\r\n <scanCode @scanCode=\"scanCodeFun\" style=\"margin:0 10px;\"></scanCode>\r\n <Outbound></Outbound>\r\n <downing></downing>\r\n </template>\r\n <template #bg>\r\n <tables ref=\"TableRef\" :requestApi=\"stockOutList\" :columns=\"columns\" :initParam=\"initParam\">\r\n <template #right=\"{ row }\">\r\n <Editinventory :row=\"row\" @editinvent=\"editinventFun\"></Editinventory>\r\n </template>\r\n </tables>\r\n </template>\r\n </bg>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { \r\n stockOutList,\r\n productList,//血液制品名称\r\n enterpriseList,//生产企业\r\n stockunit,//收发货单位\r\n medicineColumns,//表头\r\n} from \"@/api\";\r\nimport Editinventory from './Editinventory.vue'\r\nimport { reactive, ref,onMounted,onBeforeMount } from \"vue\";\r\nimport tables from \"@/components/table.vue\";\r\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport bg from '@/components/bg.vue'\r\nimport scanCode from './scanCode.vue'\r\nimport Labour from './Labour.vue'\r\nimport Outbound from './Outbound.vue'\r\n\r\nimport downing from './downing.vue'\r\n\r\n\r\nconst TableRef = ref()\r\nimport { columnsTableOut } from \"@/plugins/rulesData\";\r\n//函数\r\nconst scanCodeFun = async ()=>{\r\n console.log('添加完成')\r\n TableRef.value?.getTableList()\r\n}\r\n//函数\r\nconst editinventFun = async ()=>{\r\n TableRef.value?.getTableList()\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'); // 注意月份从0开始,所以要加1\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; initParam.endDate = j\r\n}\r\nonBeforeMount(()=>{//默认获取当天的时间\r\n // datepickFn()\r\n})\r\n\r\nconst columns:any = []\r\n//提交参数\r\nconst initParam = reactive({\r\n \"batchNumber\": \"\",\r\n \"enterpriseId\": null,\r\n \"endDate\": \"\",\r\n \"startDate\": \"\",\r\n \"productId\": null,\r\n \"receivingUnit\": \"\",\r\n \"qrcode\":''\r\n})\r\n\r\n\r\nconst data:any = reactive({\r\n datepick: []\r\n})\r\n/**\r\n * \r\n * @param val 子传值\r\n */\r\n const eventFun = (val: any) => {\r\n TableRef.value?.getTableList()\r\n}\r\nconst loading = ref(false)\r\nconst list1 = ref<ListItem[]>([])//血液制品名称\r\nconst list2 = ref<ListItem[]>([])//生产企业\r\nconst list3 = ref<ListItem[]>([])//收发货单位\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\n// 渲染表格\r\nonMounted(async () => {\r\n let r:any = await medicineColumns({})\r\n if(r.code==200){\r\n let obj = [...r.data?.list]\r\n TableRef.value.tableColumns = [...obj,...columnsTableOut]\r\n }\r\n \r\n\r\n const result1: any = await productList({ age: 1, pageSize: 999 })//血液制品名称\r\n const result2: any = await enterpriseList({ age: 1, pageSize: 999 })//生产企业\r\n const result3: any = await stockunit({ type: 2 })//收发货单位\r\n\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\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\ninterface ListItem {\r\n value: string\r\n label: string\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\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//函数\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\n\r\n\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n.storagePut {\r\n user-select: none;\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=541c87e2&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","_hoisted_1","class","_hoisted_2","formLabelWidth","_defineComponent","__name","props","row","Object","default","emits","setup","__props","emit","__emit","dialogFormVisible","ref","ruleFormRef","rules","reactive","initParam","Number","tableData","showDiaData","rules1","columns","selectType","editStrot","editIndex","editFun","console","log","value","medicListStockFun","itemPirFun","operatorListApi","restaurants","querySearch","queryString","cb","results","filter","createFilter","restaurant","toLowerCase","indexOf","restaurants1","querySearch1","submitForm","formEl","validate","valid","fields","stockouteditApi","ElMessage","error","param","unit_price","stockoutedit","code","msg","success","arrMap","arr","forEach","item","push","link","operatorList","medicListStock","prop","field_name","label","name","medicineInfo","includes","required","message","trigger","pattern","assign","syrulesData","obj","keys","key","delClick","ElMessageBox","confirm","confirmButtonText","cancelButtonText","center","then","stockoutdel","id","catch","info","_ctx","_cache","_component_el_button","_resolveComponent","_component_el_divider","_component_el_option","_component_el_select","_component_el_input","_component_el_date_picker","_component_el_form_item","_component_el_autocomplete","_component_el_form","_component_el_dialog","_openBlock","_createElementBlock","_createVNode","onClick","$event","_withCtx","_createTextVNode","_","modelValue","title","draggable","width","footer","_createElementVNode","ref_key","_unref","model","inline","_Fragment","_renderList","index","_createBlock","placeholder","itemIt","i","_createCommentVNode","autocomplete","clearable","style","quantity","modelModifiers","number","date","receiving_unit","operator","__exports__","src","_imports_0","_hoisted_3","expose","__expose","myInput","num","inputFocus","setTimeout","focus","CloseFn","ClearFn","addEventListener","event","target","onSubmit","_component_CircleClose","_component_el_icon","_withDirectives","_vModelText","size","watch","dy","resetForm","inputSearchRef","itemPir","qr","dbclicklable","length","tableRowClassName","rowIndex","findIndex","Qrcode","showDia","updating","nextTick","alert","callback","Promise","resolve","reject","findFun","b","find","medicListScanCode","subStock","ab","every","unitPrice","stockCodeOut","stockOutList","inputSearchfn","e","j","SearchFind","medicMsfx","initParamObj","undefined","timesFn","deltable","splice","_component_el_table_column","_component_el_table","icon","disabled","inputSearch","onInputSearchData","border","height","scope","_toDisplayString","scanCodeTableOut","fixed","header","onDblclick","Delete","$index","innerVisible","itemOpen","stockTemplateBatchOut","resetFields","ElNotification","forwardingUnit","closeFun","showinnerVisible","resetFun","medicListStockOut","handleClick","datas","Edit","circle","multipleSelection","handleSelectionChange","val","expinitParam","stockOutIds","map","stock_out_id","searchFn","transportrecordList","onMounted","result1","result2","result3","result4","list1","findMap","list2","list3","list4","showdialogdialog","values","some","ty","tranoutexport","receivingUnit","onSelectionChange","property","transportWord","TableRef","scanCodeFun","getTableList","editinventFun","onBeforeMount","datepick","eventFun","loading","click1","options1","click2","options2","click3","options3","r","medicineColumns","tableColumns","columnsTableOut","age","changFun","startDate","endDate","remoteMethod1","query","remoteMethod2","remoteMethod3","searchAdd","isButtom","onEvent","searchConter","productId","filterable","remote","onClear","enterpriseId","batchNumber","onChange","qrcode","bg","istitle","btn","Labour","onScanCode","scanCode","Outbound","downing","tables","requestApi","right","Editinventory","onEditinvent","TO_STRING_TAG_SUPPORT","isCallable","classofRaw","wellKnownSymbol","TO_STRING_TAG","$Object","CORRECT_ARGUMENTS","arguments","tryGet","it","module","exports","O","tag","callee","makeBuiltIn","defineProperty","descriptor","get","getter","set","setter","f","test","String","classof","$String","argument","TypeError","$TypeError","passed","defineBuiltIn","uncurryThis","toString","validateArgumentsLength","$URLSearchParams","URLSearchParams","URLSearchParamsPrototype","prototype","append","$delete","$value","this","entries","v","k","entry","dindex","found","entriesLength","enumerable","unsafe","getAll","$has","has","DESCRIPTORS","defineBuiltInAccessor","count","configurable"],"sourceRoot":""}