text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[65],{"5f59":function(e,t,o){"use strict";o.r(t);var s=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("q-input",{staticStyle:{display:"none"},model:{value:e.scaneddata.request_time,callback:function(t){e.$set(e.scaneddata,"request_time",t)},expression:"scaneddata.request_time"}}),o("q-card",{directives:[{name:"show",rawName:"v-show",value:!e.fab,expression:"!fab"}],style:{width:e.width,height:e.height},attrs:{flat:""}},[o("q-card-section",{staticStyle:{height:"75px"}},[o("div",{staticClass:"text-h6"},[e._v(e._s(e.goods_code_label))]),o("div",{staticClass:"text-subtitle2"},[e._v(e._s(e.goods_scan.goods_code))])]),o("q-separator"),o("q-scroll-area",{style:{height:e.scroll_height,width:e.width},attrs:{"thumb-style":e.thumbStyle,"bar-style":e.barStyle}},[o("q-list",[o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_desc_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_desc))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_supplier_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_supplier))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_weight_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_weight))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_w_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_w))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_d_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_d))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_h_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_h))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.unit_volume_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.unit_volume))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_unit_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_unit))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_class_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_class))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_brand_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_brand))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_color_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_color))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_shape_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_shape))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_specs_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_specs))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_origin_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_origin))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_cost_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_cost))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.goods_price_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.goods_price))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.creater_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.creater))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.create_time_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.create_time))])],1)],1),o("q-item",[o("q-item-section",[o("q-item-label",[e._v(e._s(e.updatetime_label))]),o("q-item-label",{attrs:{caption:""}},[e._v(e._s(e.goods_scan.update_time))])],1)],1)],1)],1),o("q-separator",{attrs:{dark:""}})],1)],1)},a=[],i=o("3004"),l=o("18d6"),_=o("09f9"),d={name:"Pagezebra_goodslist",data(){return{openid:"",login_name:"",authin:"0",pathname:"goods/",height:"",width:"",scroll_height:"",goods_scan:{},goods_code_label:this.$t("goods.view_goodslist.goods_code"),goods_desc_label:this.$t("goods.view_goodslist.goods_desc"),goods_supplier_label:this.$t("goods.view_goodslist.goods_supplier"),goods_weight_label:this.$t("goods.view_goodslist.goods_weight"),goods_w_label:this.$t("goods.view_goodslist.goods_w"),goods_d_label:this.$t("goods.view_goodslist.goods_d"),goods_h_label:this.$t("goods.view_goodslist.goods_h"),unit_volume_label:this.$t("goods.view_goodslist.unit_volume"),goods_unit_label:this.$t("goods.view_goodslist.goods_unit"),goods_class_label:this.$t("goods.view_goodslist.goods_class"),goods_brand_label:this.$t("goods.view_goodslist.goods_brand"),goods_color_label:this.$t("goods.view_goodslist.goods_color"),goods_shape_label:this.$t("goods.view_goodslist.goods_shape"),goods_specs_label:this.$t("goods.view_goodslist.goods_specs"),goods_origin_label:this.$t("goods.view_goodslist.goods_origin"),goods_cost_label:this.$t("goods.view_goodslist.goods_cost"),goods_price_label:this.$t("goods.view_goodslist.goods_price"),creater_label:this.$t("creater"),create_time_label:this.$t("createtime"),updatetime_label:this.$t("updatetime"),thumbStyle:{right:"4px",borderRadius:"5px",backgroundColor:"#E0E0E0",width:"5px",opacity:.75},barStyle:{right:"2px",borderRadius:"9px",backgroundColor:"#EEEEEE",width:"9px",opacity:.2},bar_scanned:""}},methods:{getGoodsList(e){var t=this;Object(i["e"])(t.pathname+"?goods_code="+e,{}).then((e=>{0===e.results.length?(navigator.vibrate(100),t.$q.notify({message:"No Goods Data",position:"top",icon:"close",color:"negative"})):1===e.results.length?t.goods_scan=e.results[0]:(navigator.vibrate(100),t.$q.notify({message:"Repeating Data",position:"top",icon:"close",color:"negative"}))})).catch((e=>{navigator.vibrate(100),t.$q.notify({message:e.detail,position:"top",icon:"close",color:"negative"})}))}},computed:{fab:{get(){return this.$store.state.fabchange.fab}},scaneddata:{get(){return this.$store.state.scanedsolve.scaneddata}}},created(){var e=this;l["a"].has("openid")?e.openid=l["a"].getItem("openid"):(e.openid="",l["a"].set("openid","")),l["a"].has("login_name")?e.login_name=l["a"].getItem("login_name"):(e.login_name="",l["a"].set("login_name","")),l["a"].has("auth")?e.authin="1":e.authin="0"},mounted(){var e=this;e.width=1*_["a"].width+"px",e.height=_["a"].height-50+"px",e.scroll_height=_["a"].height-175+"px",e.goods_scan=""},updated(){var e=this;""!==e.scaneddata&&e.bar_scanned!==e.scaneddata.request_time&&("GOODS"===e.scaneddata.mode?(e.bar_scanned=e.scaneddata.request_time,e.getGoodsList(e.scaneddata.code)):e.$q.notify({message:"No Goods Data",position:"top",icon:"close",color:"negative"}))},beforeDestroy(){}},n=d,g=o("42e1"),c=o("c518"),r=o("27f9"),m=o("f09f"),b=o("a370"),h=o("eb85"),q=o("4983"),p=o("1c1c"),v=o("66e5"),u=o("4074"),w=o("0170"),f=o("eebe"),$=o.n(f),y=Object(g["a"])(n,s,a,!1,null,null,null);"function"===typeof c["default"]&&Object(c["default"])(y);t["default"]=y.exports;$()(y,"components",{QInput:r["a"],QCard:m["a"],QCardSection:b["a"],QSeparator:h["a"],QScrollArea:q["a"],QList:p["a"],QItem:v["a"],QItemSection:u["a"],QItemLabel:w["a"]})},b08c:function(e,t){},c518:function(e,t,o){"use strict";var s=o("b08c"),a=o.n(s);t["default"]=a.a}}]);