(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-827fe720","chunk-506c1d68","yb"],{2004:function(t,a,n){"use strict";n.r(a);n("b0c0");var e=function(){var t=this,a=t._self._c;return a("div",{staticClass:"mobile"},[a("div",{staticClass:"m-head flex-center"},[t._v(" 我的使用 ")]),a("div",{staticClass:"m-body"},[a("div",{staticClass:"search"},[a("div",{staticClass:"search-box"},[t._m(0),a("a-input",{attrs:{placeholder:"请输入身份证"},model:{value:t.idCard,callback:function(a){t.idCard=a},expression:"idCard"}})],1),a("div",{staticClass:"search-box"},[t._m(1),a("a-input",{attrs:{placeholder:"请输入住院号"},model:{value:t.outpatientNo,callback:function(a){t.outpatientNo=a},expression:"outpatientNo"}})],1),a("a-button",{attrs:{type:"primary"},on:{click:t.getList}},[t._v("开始查询")])],1),a("div",{staticClass:"list-box"},[a("a-spin",{attrs:{tip:"正在请求数据...",spinning:t.spinning}},[t.list.length>0?a("div",{staticClass:"list"},t._l(t.list,(function(n,e){return a("div",{key:e,staticClass:"item link",on:{click:function(a){return t.changeItem(n,e)}}},[a("h2",[t._v(t._s(n.name)+" "),2==n.status?a("i",{staticStyle:{color:"#f98c1c"}},[t._v("待支付")]):t._e(),3==n.status?a("i",{staticStyle:{color:"#15ae40"}},[t._v("已支付")]):t._e()]),a("p",[a("label",[t._v("使用人：")]),t._v(t._s(n.patientName))]),a("p",[a("label",[t._v("使用时间：")]),t._v(t._s(n.usageTime))])])})),0):t._e(),t.noData?a("div",{staticClass:"no-data"},[a("img",{attrs:{src:n("4099")}}),a("p",[t._v("暂无数据哦~")])]):t._e()])],1)]),t.showInfo?a("HzDetail",{attrs:{dataInfo:t.dataInfo},on:{closeDet:t.closeDet}}):t._e()],1)},i=[function(){var t=this,a=t._self._c;return a("label",[a("i",{staticStyle:{color:"red"}},[t._v("*")]),t._v("身份证")])},function(){var t=this,a=t._self._c;return a("label",[a("i",{staticStyle:{color:"red"}},[t._v("*")]),t._v("门诊号")])}],s=n("7cc1"),o=n("b7a6"),c={name:"hz",components:{HzDetail:s["default"]},data:function(){return{idCard:"",outpatientNo:"",list:[],spinning:!1,noData:!1,showInfo:!0,dataInfo:null}},mounted:function(){},created:function(){},methods:{changeItem:function(t,a){this.dataInfo=t,this.showInfo=!0},closeDet:function(){this.showInfo=!1,this.dataInfo=null},getList:function(){var t=this;return this.idCard?this.outpatientNo?(this.spinning=!0,this.noData=!1,void Object(o["s"])({idCard:this.idCard,outpatientNo:this.outpatientNo}).then((function(a){t.spinning=!1,200==a.code&&(t.list=a.data,0==a.data.length&&(t.noData=!0),setTimeout((function(a){t.showContinue=!0}),500))})).catch((function(a){t.spinning=!1,setTimeout((function(n){t.hide=t.$message.error(a.msg,0),setTimeout(t.hide,1200)}),500)}))):(this.hide=this.$message.warning("请输入门诊号！",0),void setTimeout(this.hide,1200)):(this.hide=this.$message.warning("请输入身份证号码！",0),void setTimeout(this.hide,1200))}},beforeDestroy:function(){}},r=c,u=(n("d690"),n("2877")),d=Object(u["a"])(r,e,i,!1,null,"70790f4c",null);a["default"]=d.exports},"3c38":function(t,a,n){},4099:function(t,a,n){t.exports=n.p+"img/nodata.cbb42a95.png"},"7cc1":function(t,a,n){"use strict";n.r(a);n("b0c0");var e=function(){var t=this,a=t._self._c;return t.dataInfo?a("div",{staticClass:"result"},[a("div",{staticClass:"m-head"},[a("i",{staticClass:"iconfont icon-zuobian",on:{click:t.closeDet}}),a("label",[t._v("耗材信息")])]),a("div",{staticClass:"info-body"},[a("div",{staticClass:"item"},[a("h2",[t._v("患者信息")]),a("div",{staticClass:"info"},[a("p",[a("label",[t._v("患者姓名：")]),a("span",[t._v(t._s(t.dataInfo.patientName))])]),a("p",[a("label",[t._v("患者身份证号码：")]),a("span",[t._v(t._s(t.dataInfo.patientIdCard))])]),a("p",[a("label",[t._v("入院时间：")]),a("span",[t._v(t._s(t.dataInfo.admissionTime))])]),a("p",[a("label",[t._v("住院号/门诊号：")]),a("span",[t._v(t._s(t.dataInfo.outpatientNo))])]),a("p",[a("label",[t._v("支付金额：")]),a("span",[t._v(t._s(t.dataInfo.amount)+"元")])]),a("p",[a("label",[t._v("使用时间：")]),a("span",[t._v(t._s(t.dataInfo.usageTime))])]),a("p",[a("label",[t._v("支付时间：")]),a("span",[t._v(t._s(t.dataInfo.chargeTime))])]),a("p",[a("label",[t._v("出院时间：")]),a("span",[t._v(t._s(t.dataInfo.dischargeTime))])])])]),a("div",{staticClass:"item"},[a("h2",[t._v("医疗机构信息")]),a("div",{staticClass:"info"},[a("p",[a("label",[t._v("医院名称：")]),a("span",[t._v(t._s(t.dataInfo.hospitalName))])]),a("p",[a("label",[t._v("医院编码：")]),a("span",[t._v(t._s(t.dataInfo.hospitalNo))])]),a("p",[a("label",[t._v("入库时间：")]),a("span",[t._v(t._s(t.dataInfo.purchaseTime))])]),a("p",[a("label",[t._v("科室：")]),a("span",[t._v(t._s(t.dataInfo.department))])]),a("p",[a("label",[t._v("医生：")]),a("span",[t._v(t._s(t.dataInfo.doctorName))])]),a("p",[a("label",[t._v("入库数量：")]),a("span",[t._v(t._s(t.dataInfo.purchaseQuantity)+t._s(t.dataInfo.unit))])]),a("p",[a("label",[t._v("入库时间：")]),a("span",[t._v(t._s(t.dataInfo.purchaseTime))])])])]),a("div",{staticClass:"item"},[a("h2",[t._v("耗材信息")]),a("div",{staticClass:"info"},[a("p",[a("label",[t._v("耗材原始UDI码：")]),a("span",[t._v(t._s(t.dataInfo.udi))])]),a("p",[a("label",[t._v("耗材名称：")]),a("span",[t._v(t._s(t.dataInfo.name))])]),a("p",[a("label",[t._v("规格：")]),a("span",[t._v(t._s(t.dataInfo.spec))])]),a("p",[a("label",[t._v("医保码：")]),a("span",[t._v(t._s(t.dataInfo.insuranceNo))])]),a("p",[a("label",[t._v("批次号：")]),a("span",[t._v(t._s(t.dataInfo.batchNumber))])]),a("p",[a("label",[t._v("总数：")]),a("span",[t._v(t._s(t.dataInfo.quantity)+t._s(t.dataInfo.unit))])]),a("p",[a("label",[t._v("每件包装数：")]),a("span",[t._v(t._s(t.dataInfo.packQuantity))])]),a("p",[a("label",[t._v("单价：")]),a("span",[t._v(t._s(t.dataInfo.unitPrice)+"元")])]),a("p",[a("label",[t._v("生产商：")]),a("span",[t._v(t._s(t.dataInfo.manufacturer))])]),a("p",[a("label",[t._v("耗材性质：")]),a("span",[t._v(t._s(t.dataInfo.itemNature))])]),a("p",[a("label",[t._v("耗材类型：")]),a("span",[t._v(t._s(t.dataInfo.itemType))])]),a("p",[a("label",[t._v("入库时间：")]),a("span",[t._v(t._s(t.dataInfo.stockedTime))])]),a("p",[a("label",[t._v("采购时间：")]),a("span",[t._v(t._s(t.dataInfo.buyTime))])]),a("p",[a("label",[t._v("注册证号：")]),a("span",[t._v(t._s(t.dataInfo.certificateNo))])]),a("p",[a("label",[t._v("有效期：")]),a("span",[t._v(t._s(t.dataInfo.expiryDate))])])])]),a("div",{staticClass:"item"},[a("h2",[t._v("供应商信息")]),a("div",{staticClass:"info"},[a("p",[a("label",[t._v("供应商编号：")]),a("span",[t._v(t._s(t.dataInfo.supplierNo))])]),a("p",[a("label",[t._v("供应商名称：")]),a("span",[t._v(t._s(t.dataInfo.supplierName))])]),a("p",[a("label",[t._v("出库数量：")]),a("span",[t._v(t._s(t.dataInfo.outQuantity))])]),a("p",[a("label",[t._v("出库时间：")]),a("span",[t._v(t._s(t.dataInfo.outTime))])]),a("p",[a("label",[t._v("是否拆零：")]),a("span",[t._v(t._s(t.dataInfo.isSplit?"是":"否"))])])])]),a("div",{staticClass:"item"},[a("h2",[t._v("二维码信息")]),a("div",{staticClass:"info"},[a("p",[a("label",[t._v("二维码ID：")]),a("span",[t._v(t._s(t.dataInfo.id))])]),a("p",[a("label",[t._v("二维码状态：")]),2==t.dataInfo.status?a("span",{staticStyle:{color:"#ff6f00"}},[t._v("待支付")]):t._e(),3==t.dataInfo.status?a("span",{staticStyle:{color:"#15ae40"}},[t._v("已支付")]):t._e()])])])])]):t._e()},i=[],s={name:"HzDetail",props:["dataInfo"],data:function(){return{dataInfo_:this.dataInfo}},watch:{dataInfo:function(t,a){t&&(this.dataInfo_=t)}},mounted:function(){},created:function(){},methods:{closeDet:function(){this.$emit("closeDet")}},beforeDestroy:function(){}},o=s,c=(n("86c3"),n("2877")),r=Object(c["a"])(o,e,i,!1,null,"d3b849d8",null);a["default"]=r.exports},"86c3":function(t,a,n){"use strict";n("ee18")},b7a6:function(t,a,n){"use strict";n.d(a,"p",(function(){return c})),n.d(a,"c",(function(){return r})),n.d(a,"i",(function(){return u})),n.d(a,"o",(function(){return d})),n.d(a,"b",(function(){return l})),n.d(a,"h",(function(){return p})),n.d(a,"f",(function(){return f})),n.d(a,"u",(function(){return _})),n.d(a,"d",(function(){return v})),n.d(a,"v",(function(){return b})),n.d(a,"j",(function(){return h})),n.d(a,"a",(function(){return m})),n.d(a,"g",(function(){return I})),n.d(a,"r",(function(){return g})),n.d(a,"q",(function(){return C})),n.d(a,"w",(function(){return y})),n.d(a,"y",(function(){return j})),n.d(a,"e",(function(){return O})),n.d(a,"z",(function(){return N})),n.d(a,"A",(function(){return D})),n.d(a,"s",(function(){return T})),n.d(a,"x",(function(){return w})),n.d(a,"n",(function(){return k})),n.d(a,"t",(function(){return x})),n.d(a,"m",(function(){return S})),n.d(a,"k",(function(){return q})),n.d(a,"l",(function(){return z}));n("99af");var e=n("bc3a"),i=n.n(e),s=n("b775"),o=n("9fb0");function c(){return Object(s["b"])({url:"/api/sys-menu/list",method:"get"})}function r(t,a){return Object(s["b"])({url:"/api/sys-menu",method:a,data:t})}function u(t){var a=t.id;return Object(s["b"])({url:"/api/sys-menu/".concat(a),method:"delete"})}function d(t){return Object(s["b"])({url:"/api/dept/list",method:"post",data:t})}function l(t){return Object(s["b"])({url:"/api/dept/save",method:"post",data:t})}function p(t){var a=t.id;return Object(s["b"])({url:"/api/dept/".concat(a),method:"delete"})}function f(t){var a=t.userId;return Object(s["b"])({url:"/api/user/".concat(a),method:"delete"})}function _(t){return Object(s["b"])({url:"/api/sys/user/resetpwd",method:"post",data:t})}function v(t){return Object(s["b"])({url:"/api/role/save",method:"post",data:t})}function b(){return Object(s["b"])({url:"/api/sys-role/list",method:"get"})}function h(t){var a=t.roleIds;return Object(s["b"])({url:"/api/system/role/".concat(a),method:"delete"})}function m(t){return Object(s["b"])({url:"/api/sys/user/save",method:"post",data:t})}function I(t){var a=t.id;return Object(s["b"])({url:"/api/sys/user/".concat(a),method:"delete"})}function g(t){return Object(s["b"])({url:"/api/consumable/list?udi=".concat(t),method:"get"})}function C(t){return Object(s["b"])({url:"/api/sys-user/list?type=".concat(t),method:"get"})}function y(t){return Object(s["b"])({url:"/api/purchase",method:"post",data:t})}function j(t){return Object(s["b"])({url:"/api/qrcode/scan/".concat(t),method:"get"})}function O(t){return Object(s["b"])({url:"/api/qrcode/".concat(t),method:"get"})}function N(t){return Object(s["b"])({url:"/api/qrcode/usage",method:"post",data:t})}function D(t){return Object(s["b"])({url:"/api/qrcode/charge",method:"post",data:t})}function T(t){return Object(s["b"])({url:"/api/open/qrcode/query?patientIdCard=".concat(t.idCard,"&outpatientNo=").concat(t.outpatientNo),method:"get"})}function w(t){return Object(s["b"])({url:"/api/consumable",method:"post",data:t})}function k(){return Object(s["b"])({url:"/api/sys-dept/list?pid=1",method:"get"})}function x(t){return Object(s["b"])({url:"/api/purchase/batch/".concat(t),method:"get"})}function S(t){return i.a.post("/api/consumable/excel/import",t,{headers:{Authorization:sessionStorage.getItem(o["a"]),"Content-Type":"multipart/form-data"}})}function q(t){var a=t.billCode,n=t.entSendName;return Object(s["b"])({url:"/api/bill/query?billCode=".concat(a,"&entSendName=").concat(n),method:"get"})}function z(t){var a=t.code;return Object(s["b"])({url:"/api/bill/storage/".concat(a),method:"get"})}},d690:function(t,a,n){"use strict";n("3c38")},ee18:function(t,a,n){}}]);