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
8.0 KiB
1 line
8.0 KiB
|
2 months ago
|
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package2/stock/addStock"],{"2e11":function(t,e,s){},"7d5b":function(t,e,s){"use strict";s.r(e);var i=s("8e44"),o=s("c5ab");for(var a in o)["default"].indexOf(a)<0&&function(t){s.d(e,t,(function(){return o[t]}))}(a);s("90c3");var n=s("828b"),r=Object(n["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=r.exports},"8e44":function(t,e,s){"use strict";s.d(e,"b",(function(){return o})),s.d(e,"c",(function(){return a})),s.d(e,"a",(function(){return i}));var i={uniSearchBar:function(){return Promise.all([s.e("common/vendor"),s.e("uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar")]).then(s.bind(null,"f56e"))},uniIcons:function(){return Promise.all([s.e("common/vendor"),s.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(s.bind(null,"6bbb6"))},uLoadmore:function(){return Promise.all([s.e("common/vendor"),s.e("uni_modules/uview-ui/components/u-loadmore/u-loadmore")]).then(s.bind(null,"9fc5"))},uniPopup:function(){return s.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(s.bind(null,"2864"))},uniNumberBox:function(){return s.e("uni_modules/uni-number-box/components/uni-number-box/uni-number-box").then(s.bind(null,"b2ff"))}},o=function(){var t=this,e=t.$createElement,s=(t._self._c,t.__map(t.stockList,(function(e,s){var i=t.__get_orig(e),o=t.__map(e.checkStockAttributeVos,(function(e,s){var i=t.__get_orig(e),o=t._f("sliceMsg")(e.attributeList);return{$orig:i,f0:o}}));return{$orig:i,l0:o}})));t._isMounted||(t.e0=function(t){return this.$refs.carPopup.close()},t.e1=function(e){return t.$refs.showPopup.close()}),t.$mp.data=Object.assign({},{$root:{l1:s}})},a=[]},"90c3":function(t,e,s){"use strict";var i=s("2e11"),o=s.n(i);o.a},"994d":function(t,e,s){"use strict";(function(t,e){var i=s("47a9");s("7859");i(s("3240"));var o=i(s("7d5b"));t.__webpack_require_UNI_MP_PLUGIN__=s,e(o.default)}).call(this,s("3223")["default"],s("df3c")["createPage"])},b73e:function(t,e,s){"use strict";(function(t,i){var o=s("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(s("af34")),n=o(s("b9aa")),r={components:{},data:function(){return{indexList:[],status:"loadmore",pageNum:1,shopList:[],shopList1:[],shopOwnerPhone:t.getStorageSync("shopOwnerPhone"),username:t.getStorageSync("username"),carPages:1,zheng:"",fu:"",pages:1,totalPages:0,info:0,categoryId:"",searchName:"",shopId:"",carList:new Map,attributeList:[],purchasePrice:0,storageType:"",carType:0,type:"",productId:"",pdList:[],stockList:[],height:0,gateType:""}},filters:{sliceMsg:function(t){var e="";if("string"==typeof t){var s=JSON.parse(t);for(var i in s)e+=s[i]+"/"}return e},maxNum:function(t){return t>=10?10:t<0?0:void 0}},onReachBottom:function(){this.pageNum>=this.pages||(this.status="loading",this.pageNum++,"search"==this.gateType?this.getShareList("search"):this.getShareList())},onShow:function(){this.pdList=this.pdList,this.shopId=t.getStorageSync("shopId");for(var e=0;e<this.shopList.length;e++)this.shopList[e].id==this.pdList.id&&(this.shopList[e].hasCheck=!0);for(var s=0;s<this.shopList1.length;s++)this.shopList1[s].id==this.pdList.id&&(this.shopList1[s].hasCheck=!0);if(this.pdList.saleDetailQueryDTO)if(0==this.carList.size){for(var i={id:this.pdList.id,productName:this.pdList.productName,productPicture:this.pdList.productPicture,productSn:this.pdList.productSn,supplierName:this.pdList.supplierName,stockLogList:new Map},o=0;o<this.pdList.saleDetailQueryDTO.length;o++)i.stockLogList.set(this.pdList.saleDetailQueryDTO[o].attributeList,this.pdList.saleDetailQueryDTO[o]);this.carList.set(this.pdList.id,i)}else if(1==this.carList.has(this.pdList.id))for(var a=0;a<this.pdList.saleDetailQueryDTO.length;a++)this.carList.get(this.pdList.id).stockLogList.set(this.pdList.saleDetailQueryDTO[a].attributeList,this.pdList.saleDetailQueryDTO[a]);else{for(var n={id:this.pdList.id,productName:this.pdList.productName,productPicture:this.pdList.productPicture,productSn:this.pdList.productSn,supplierName:this.pdList.
|