You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
18 KiB
1 line
18 KiB
|
2 months ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/index/peopleList"],{"3c74":function(e,t,i){"use strict";(function(e){var n=i("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(i("7eb4")),s=n(i("af34")),a=n(i("ee10")),r={data:function(){return{items:["按入库单查看","按商品查看"],current:0,single:"",popleType:"",shopOwnerPhone:e.getStorageSync("shopOwnerPhone"),shopId:e.getStorageSync("shopId"),oldCount:0,popleList:[],FWHPic:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/f2ba2080aaa54c618c2e47df4f220087.png",showPrice:!1,keyboardNum:"",storeProductDetailList:[],horizontal:"left",sendUserId:"",detailType:0,goodsNum:"",inventoryList:[],signCompany:"",people:"",radioType:"",companyType:"",modelShow:!1,status:"loadmore",remark:"",rechargeRemark:"",dayList:[{name:"30天",value:"30"},{name:"60天",value:"60"},{name:"90天",value:"90"},{name:"120天",value:"120"},{name:"150天",value:"150"},{name:"半年(180)",value:"180"},{name:"210天",value:"210"},{name:"240天",value:"240"},{name:"270天",value:"270"},{name:"300天",value:"300"},{name:"330天",value:"330"},{name:"一年以上",value:"365"}],userId:"",noDaysort:!1,upNewItem:{},allData:{},allBalanceData:{},sort:"",notBuyDays:"",nahuoDay:!1,khName:{},isPrint:!1,userType:"",content:[{iconPath:"/static/images/tabbar/home.png",selectedIconPath:"/static/images/tabbar/home-sel.png",text:"批量删除",active:!1}],searchName:"",pages:1,totalPages:0,noClick:0,hour:0,user:"",supplierId:""}},onReachBottom:function(){this.pages>=this.totalPages||(this.status="loading",this.pages=++this.pages,this.getPeopleType())},onShareAppMessage:function(){var t=this;return(0,a.default)(o.default.mark((function i(){return o.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.$refs.sharePopup.close(),i.abrupt("return",{title:e.getStorageSync("shopName")+"邀请你注册快衣店!",imageUrl:"https://jewel-shop.oss-cn-beijing.aliyuncs.com/3c50b6541b2d4780bab4b3fd0c0af490.jpg",path:"/package2/login/login?customId="+t.userId});case 2:case"end":return i.stop()}}),i)})))()},onShow:function(){1==this.modelShow&&(this.popleType=this.popleType,this.khOrGysList()),this.getAllPeople()},onLoad:function(t){this.popleType=t.popleType,this.noClick=t.noClick||0,this.companyType=t.companyType||"",e.setStorageSync("clearMsg","1"),this.user=e.getStorageSync("username"),this.userType=e.getStorageSync("type"),t.khName&&(this.khName=JSON.parse(t.khName)||""),"khName"==t.popleType?e.setNavigationBarTitle({title:"客户列表"}):"gysName"==t.popleType&&e.setNavigationBarTitle({title:"供应商列表"}),this.getPeopleType()},methods:{onClickItem:function(e){this.current!==e.currentIndex&&(this.current=e.currentIndex),0==e.currentIndex?(this.inventoryList=[],this.orderOrGoodsToConfirm("0")):1==e.currentIndex&&(this.inventoryList=[],this.orderOrGoodsToConfirm("1"))},orderOrGoodsToConfirm:function(e){var t=this;this.tui.request("/app/purchase/notConfirmPurductCountGroup","post",{supplierId:this.supplierId,type:e},!1,!0).then((function(e){200==e.code?t.inventoryList=e.result:t.tui.toast(e.message)}))},getMonth:function(){this.single=Date.now()},changeRemark:function(e){this.rechargeRemark=e.detail.value},huicancel:function(){this.$refs.inputDialog.close(),this.keyboardNum="",this.rechargeRemark=""},attentionWx:function(t,i){var n=this;"1"==t||"3"==t?"1"==t?e.showModal({title:"提示",content:"该用户已使用微信登录,是否解绑?",success:function(e){e.confirm&&n.tui.request("/app/customer/updateUserId","post",{customerId:i.id,userId:""},!1,!0).then((function(e){n.khOrGysList()}))}}):e.showModal({title:"提示",content:"该用户已关注公众号,是否解绑?",success:function(e){e.confirm&&n.tui.request("/app/customer/updateUserId","post",{customerId:i.id,userId:""},!1,!0).then((function(e){}))}}):"2"==t?(this.userId=i.id,this.$refs.sharePopup.open()):e.showModal({title:"提示",content:"是否邀请客户关注服务号?",success:function(t){t.confirm&&e.previewImage({urls:[n.FWHPic]})}})},getPeopleType:function(){"khName"==this.
|