(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[56],{"1a49":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[e("q-input",{staticStyle:{display:"none"},model:{value:t.scaneddata.request_time,callback:function(e){t.$set(t.scaneddata,"request_time",e)},expression:"scaneddata.request_time"}}),e("transition",{attrs:{appear:"","enter-active-class":"animated fadeIn"}},[e("q-table",{staticClass:"my-sticky-header-table shadow-24",attrs:{data:t.table_list,"row-key":"id",separator:t.separator,loading:t.loading,columns:t.columns,"hide-bottom":"",pagination:t.pagination,"no-data-label":"No data","no-results-label":"No data you want","table-style":{height:t.height},flat:"",bordered:""},on:{"update:pagination":function(e){t.pagination=e}},scopedSlots:t._u([{key:"top",fn:function(){return[e("q-btn-group",{attrs:{push:""}},[e("q-btn",{attrs:{label:t.$t("refresh"),icon:"refresh"},on:{click:function(e){return t.reFresh()}}})],1),e("q-space"),e("q-btn-group",{attrs:{push:""}},[e("q-btn",{attrs:{color:"purple",label:t.$t("stock.view_stocklist.cyclecountresult")},on:{click:function(e){return t.ConfirmCount()}}},[e("q-tooltip",{attrs:{"content-class":"bg-amber text-black shadow-4",offset:[10,10],"content-style":"font-size: 12px"}},[t._v("\n              "+t._s(t.$t("stock.view_stocklist.cyclecountresulttip"))+"\n            ")])],1)],1)]},proxy:!0},{key:"body",fn:function(a){return[e("q-tr",{attrs:{props:a}},[e("q-td",{key:"bin_name",class:{"scan-background":""!==t.bin_scan&&t.bin_scan===a.row.bin_name},attrs:{props:a}},[t._v("\n            "+t._s(a.row.bin_name)+"\n          ")]),e("q-td",{key:"goods_code",attrs:{props:a}},[t._v("\n            "+t._s(a.row.goods_code)+"\n          ")]),e("q-td",{key:"physical_inventory",attrs:{props:a}},[t._v("\n            "+t._s(a.row.physical_inventory)+"\n          ")]),e("q-td",{key:"action",staticStyle:{width:"50px"},attrs:{props:a}},[e("q-btn",{attrs:{round:"",flat:"",push:"",color:"purple",icon:"repeat"},on:{click:function(t){a.row.physical_inventory=0}}})],1)],1)]}}])})],1),[e("div",{staticClass:"q-pa-lg flex cordova-footer"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.barscan,expression:"barscan"}],attrs:{id:"scannedBarcodes",type:"text",readonly:"",disabled:""},domProps:{value:t.barscan},on:{input:[function(e){e.target.composing||(t.barscan=e.target.value)},function(e){return t.datachange()}]}})])]],2)},s=[],o=a("3004"),i=a("18d6"),r=a("09f9"),c={name:"Page_stocklist",data(){return{baseurl:i["a"].getItem("baseurl"),openid:"",login_name:"",authin:"0",pathname:this.baseurl+"cyclecount/",separator:"cell",loading:!1,height:"",table_list:[],columns:[{name:"bin_name",required:!0,label:this.$t("warehouse.view_binset.bin_name"),align:"left",field:"bin_name"},{name:"goods_code",label:this.$t("stock.view_stocklist.goods_code"),field:"goods_code",align:"center"},{name:"physical_inventory",label:this.$t("stock.view_stocklist.physical_inventory"),field:"physical_inventory",align:"center"},{name:"action",label:this.$t("action"),align:"right"}],barscan:"",bin_scan:"",goods_scan:""}},methods:{getList(){var t=this;Object(o["f"])(t.pathname,{}).then((e=>{t.table_list=e.results})).catch((e=>{t.$q.notify({message:e.detail,icon:"close",color:"negative"})}))},reFresh(){var t=this;t.barscan="",t.bin_scan="",t.goods_scan="",t.getList()}},computed:{fab:{get(){return console.log("7",this.$store.state.fabchange.fab),this.$store.state.fabchange.fab}},scaneddata:{get(){return this.$store.state.scanedsolve.scaneddata}}},created(){var t=this;i["a"].has("openid")?t.openid=i["a"].getItem("openid"):(t.openid="",i["a"].set("openid","")),i["a"].has("login_name")?t.login_name=i["a"].getItem("login_name"):(t.login_name="",i["a"].set("login_name","")),i["a"].has("auth")?t.authin="1":t.authin="0"},mounted(){var t=this;t.width=1*r["a"].width+"px",t.height=r["a"].height-50+"px",t.scroll_height=r["a"].height-175+"px",t.barscan="",t.bin_scan="",t.goods_scan=""},updated(){},beforeDestroy(){},destroyed(){}},l=c,d=a("42e1"),u=a("47f7"),p=a("27f9"),b=a("eaac"),h=a("e7a9"),g=a("9c40"),_=a("2c91"),f=a("05c0"),m=a("bd08"),y=a("db86"),v=a("eebe"),k=a.n(v),w=Object(d["a"])(l,n,s,!1,null,null,null);"function"===typeof u["default"]&&Object(u["default"])(w);e["default"]=w.exports;k()(w,"components",{QInput:p["a"],QTable:b["a"],QBtnGroup:h["a"],QBtn:g["a"],QSpace:_["a"],QTooltip:f["a"],QTr:m["a"],QTd:y["a"]})},"432f":function(t,e){},"47f7":function(t,e,a){"use strict";var n=a("432f"),s=a.n(n);e["default"]=s.a}}]);