(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["salesRanking/components/charge"],{"1d85":function(t,e,n){"use strict";n.r(e);var i=n("47b9"),a=n("269c");for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("dd89");var o,s=n("f0c5"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"d30ed51c",null,!1,i["a"],o);e["default"]=c.exports},"269c":function(t,e,n){"use strict";n.r(e);var i=n("3d43"),a=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=a.a},"3d43":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("b922"));function a(t){return t&&t.__esModule?t:{default:t}}var u={name:"charge",props:{value:{type:Boolean,default:!1},type:{type:String,default:0}},watch:{value:function(t,e){console.log("监听",t),t?this.$refs.popup.open("bottom"):this.$refs.popup.close()}},created:function(){this.getlist()},data:function(){return{determine:null,list:[],seleData:null,seachValue:"",getData:{pageSize:5,currentPage:1,params:{nameOrPhone:"",type:0}}}},methods:{iconClick:function(){this.getData.params.nameOrPhone||this.getlist()},buttenFn:function(){var e=this;clearTimeout(this.determine),t.showLoading({title:"加载中"}),this.determine=setTimeout((function(){e.$emit("chargeChange",e.seleData),t.hideLoading(),e.$emit("input",!1)}),700)},getlist:function(){var e=this;this.getData.params.type=this.type,i.default.findCustomerName(this.getData).then((function(n){2e4===n.code&&(0!=n.data.list.length?(e.list=n.data.list,e.getData.params.nameOrPhone||e.list.unshift({userName:"全部",customerId:""}),e.seleData=e.list[0],console.log(n,"负责人组件")):t.showToast({title:"暂无数据",icon:"none"}))}))},pickerChange:function(t){this.seleData=this.list[t.detail.value[0]]},change:function(t){this.$emit("input",t.show)},confirmFn:function(){this.getlist()}}};e.default=u}).call(this,n("543d")["default"])},"3d4f":function(t,e,n){},"47b9":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"1371"))},uniEasyinput:function(){return n.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(n.bind(null,"2572"))}},a=function(){var t=this,e=t.$createElement;t._self._c},u=[]},dd89:function(t,e,n){"use strict";var i=n("3d4f"),a=n.n(i);a.a}}]); ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'salesRanking/components/charge-create-component', { 'salesRanking/components/charge-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('543d')['createComponent'](__webpack_require__("1d85")) }) }, [['salesRanking/components/charge-create-component']] ]);