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"],{"577b":function(e,t,i){},7249:function(e,t,i){"use strict";var n=i("577b"),s=i.n(n);s.a},9166:function(e,t,i){"use strict";i.r(t);var n=i("cde1"),s=i("c05d");for(var a in s)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(a);i("7249");var o=i("828b"),r=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,"3c408ab2",null,!1,n["a"],void 0);t["default"]=r.exports},b9e4:function(e,t,i){"use strict";(function(e){var n=i("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(i("7eb4")),a=n(i("af34")),o=n(i("34cf")),r=n(i("ee10")),u={data:function(){return{items:["按入库单查看","按商品查看"],current:0,single:"",popleType:"",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:"",screenHeight:0,supplierId:""}},onReachBottom:function(){this.pages>=this.totalPages||(this.status="loading",this.pages=++this.pages,this.getPeopleType())},onShareAppMessage:function(){var t=this;return(0,r.default)(s.default.mark((function i(){return s.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){var i=e.getSystemInfoSync();this.screenWidth=i.screenWidth,this.screenHeight=i.windowHeight,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:{handleNum:function(){this.keyboardNum=this.handleNumber(this.keyboardNum)},handleNumber:function(e){console.log("处理数字",e),e=e.toString();var t=e.replace(/[^0-9.-]/g,"");if(""===t)return"0";var i="";t.startsWith("-")?(i="-",t=t.substring(1).replace(/-/g,"")):t=t.replace(/-/g,"");var n=t.split(".");n.length>1&&(t=n[0]+"."+n.slice(1).join(""));var s="",a="";if(t.includes(".")){var r=t.split("."),u=(0,o.default)(r,2);s=u[0],a=u[1]}else s=t;s=s.replace(/^0+/,""),""===s&&(s="0");var p=""===a?s:"".concat(s,".").concat(a);return"0"!==s||""!==a&&!/^0*$/.test(a)||(p="0",i=""),i+p},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.inven
|