平板端快衣店
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 lines
3.6 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/AI/AiChangeGoods"],{"25e5":function(e,t,n){"use strict";var i=n("f115"),a=n.n(i);a.a},3068:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i}));var i={uniSearchBar:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar")]).then(n.bind(null,"1aed"))},uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"d3ec"))},uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"4d18"))}},a=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){return e.$refs.showPopup.close()})},s=[]},6645:function(e,t,n){"use strict";(function(e,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={components:{},data:function(){return{indexList:[],pageNum:1,shopList:[],zheng:"",fu:"",shopList1:[],categoryId:"",searchName:"",height:0,gateType:""}},onLoad:function(){this.height=e.getSystemInfoSync().windowHeight},onShow:function(){this.getGategoryList()},methods:{seeStockCount:function(e,t){this.zheng=e,this.fu=t,this.$refs.showPopup.open()},getGategoryList:function(){var e=this;this.tui.request("/app/productCategory/list","get",{},!1,!0).then((function(t){if(200==t.code){e.indexList=t.result;for(var n=0;n<e.indexList.length;n++)e.indexList[n].parentId=0==n;e.categoryId=e.indexList[0].id,e.getShareList()}else e.tui.toast(t.message)})).catch((function(e){}))},backPrevPage:function(e){e.productId=e.id;var t=getCurrentPages(),i=t[t.length-2];i.$vm.carList1=e,i.$vm.merge=1,n.navigateBack({delta:1})},getShareList:function(e){var t=this,n={};"search"==e?(this.gateType="search",n={categoryId:"",searchStr:this.searchName,pageNum:this.pageNum,pageSize:"100"}):(this.gateType="",n={categoryId:this.categoryId,searchStr:this.searchName,pageNum:this.pageNum,pageSize:"100"}),this.tui.request("/app/product/getShareList","POST",n,!1,!1).then((function(n){200==n.code?"search"==e?(t.shopList=[],t.shopList1=n.result.records):(t.shopList1=[],t.shopList=n.result.records):t.tui.toast(n.message)})).catch((function(e){}))},goAddGoods:function(){n.navigateTo({url:"/package1/inventory/addGoods"})},search:function(e){""==e.value?(this.searchName="",this.getShareList()):(this.searchName=e.value,this.getShareList("search"))},clearSearch:function(){this.searchName="",this.getShareList()},clickMask:function(e){var t="";t=0==e.delFlag?"请将商品上架后再操作!":"请将上次入库的采购价维护后再进行操作!",n.showToast({title:t,icon:"none"})},clickLeftBtn:function(e){for(var t=0;t<this.indexList.length;t++)this.indexList[t].parentId=t==e;this.categoryId=this.indexList[e].id,this.getShareList()}}};t.default=i}).call(this,n("3223")["default"],n("df3c")["default"])},ca7a:function(e,t,n){"use strict";n.r(t);var i=n("6645"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);t["default"]=a.a},e1ed:function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("82ca");i(n("3240"));var a=i(n("e692"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},e692:function(e,t,n){"use strict";n.r(t);var i=n("3068"),a=n("ca7a");for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);n("25e5");var o=n("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=r.exports},f115:function(e,t,n){}},[["e1ed","common/runtime","common/vendor"]]]);