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
22 KiB
1 lines
22 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/inventory/addGoods"],{"36fc":function(t,e,i){"use strict";var r=i("96b2"),u=i.n(r);u.a},"74fd":function(t,e,i){"use strict";(function(t,e){var r=i("47a9");i("7859");r(i("3240"));var u=r(i("b879"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(u.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"941c":function(t,e,i){"use strict";(function(t){var r=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(i("7eb4")),s=r(i("7ca3")),a=r(i("ee10"));function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,s.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var n={data:function(){return{single:"",rechargeRemark:"",fileList1:[],oldMultipleList:[],specVal:"",snList:[],prefixRule:"",addIndex:0,numRule:"",goodsList:[],snName:"",formData:{productName:"",price:0,productSn:"",purchasePrice:0,wholesalePrice:0,commission:0,productPicture:"",productIntro:"",categoryId:"",salesWeek:"",tailWarn:"",barcode:"",productPictures:[],productCategoryVo:{}},defaultList:[{name:"颜色",list:[{value:"均色",checked:!1},{value:"白色",checked:!1},{value:"黑色",checked:!1},{value:"浅蓝",checked:!1},{value:"蓝色",checked:!1},{value:"灰色",checked:!1},{value:"咖色",checked:!1},{value:"紫色",checked:!1},{value:"红色",checked:!1},{value:"米色",checked:!1}]},{name:"尺码",list:[{value:"均码",checked:!1},{value:"XS码",checked:!1},{value:"S码",checked:!1},{value:"M码",checked:!1},{value:"L码",checked:!1},{value:"XL码",checked:!1},{value:"2XL码",checked:!1},{value:"3XL码",checked:!1},{value:"4XL码",checked:!1},{value:"25码",checked:!1},{value:"26码",checked:!1},{value:"27码",checked:!1},{value:"28码",checked:!1},{value:"29码",checked:!1},{value:"30码",checked:!1},{value:"31码",checked:!1},{value:"32码",checked:!1},{value:"33码",checked:!1},{value:"34码",checked:!1},{value:"35码",checked:!1},{value:"36码",checked:!1},{value:"37码",checked:!1},{value:"38码",checked:!1},{value:"39码",checked:!1},{value:"40码",checked:!1},{value:"41码",checked:!1},{value:"42码",checked:!1},{value:"43码",checked:!1},{value:"44码",checked:!1},{value:"45码",checked:!1}]}],categoryList:[],cancelArr:[],productId:"",shopId:"",arrtList:[],guigeNum:0,differencePurchasePrice:0,oldPurchasePrice:0,userType:"",typeItem:{},arrtChange:[],categoryId:"",dataList:{},zPrice:0,type:"add",customerCategoryList:[],multipleList:[],rules:{categoryId:{rules:[{required:!0,errorMessage:"请选择商品分类"}]},productSn:{rules:[{required:!0,errorMessage:"请填写货号"}]},productName:{rules:[{required:!0,errorMessage:"请填写商品名称"}]}}}},filters:{sliceMsg:function(t){var e="";if("string"==typeof t){var i=JSON.parse(t);for(var r in i)e+=i[r]+"/"}return e}},onShow:function(){t.authorize({scope:"scope.writePhotosAlbum",success:function(){},fail:function(){this.tui.toast("您未授权,图片上传功能可能会出现错误")}}),this.shopId=t.getStorageSync("shopId"),this.typeItem=JSON.parse(JSON.stringify(this.typeItem))||"",this.typeItem&&(this.formData.categoryId=this.typeItem.id)},onLoad:function(e){var i=this;this.getCustomerCategoryList(),e.dataList&&(this.dataList=JSON.parse(e.dataList),this.tui.request("/app/product/getById/"+this.dataList.id,"POST",{},!1,!0).then((function(t){200==t.code?(i.type="edit",i.customerCategoryList=i.checkPriceRule(""!=t.result.customerCategoryRule&&null!=t.result.customerCategoryRule?JSON.parse(t.result.customerCategoryRule):null),i.formData.attrId=t.result.attrId,i.formData.productName=t.result.productName,i.formData.barcode=t.result.barcode,i.formData.price=t.result.price,i.formData.productSn=t.result.productSn,i.formData.stockCount=i.dataList.stockCount,i.formData.minusStockCount=i.dataList.minusStockCount,i.formData.purchasePrice=t.result.purchasePrice,i.oldPurchasePrice=t.result.purchasePrice,i.formData.wholesalePrice=t.result.wholesalePrice,i.formData.commission=t.result.commission,i.formData.productPicture=t.result.productPicture,i.formData.productIntro=t.result.productIntro,i.formData.categoryId=t.result.categoryId,i.formData.salesWeek=t.result.salesWeek,i.formData.tailWarn=t.result.tailWarn,i.getChildrenPic(),i.getGoodsSpec()):i.tui.toast(t.message)})).catch((function(t){}))),this.userType=t.getStorageSync("type"),this.getGategoryList(),this.getSnList()},methods:{getGoodsSpec:function(){var t=this;this.tui.request("/app/productAttribute/selectAttributeAndValueByCategoryId","POST",{categoryId:this.formData.attrId},!1,!0).then((function(e){if(200==e.code)if("string"==typeof e.result.attributeAndValue){var i=JSON.parse(e.result.attributeAndValue);for(var r in i){var u={};u.attributeName=r,u.productAttributeValueVoList=[];for(var s=0;s<i[r].length;s++)u.productAttributeValueVoList.push({value:i[r][s],checked:!0});t.multipleList.push(u)}}else that.tui.toast("失败了");else t.tui.toast(e.message)})).catch((function(t){}))},getChildrenPic:function(){var t=this;this.tui.request("/app/productPicture/getProductPictureByProductId","POST",{productId:this.dataList.id},!1,!0).then((function(e){if(200==e.code)for(var i=0;i<e.result.length;i++){var r={productPicture:e.result[i].productPicture};t.formData.productPictures.push(r)}else t.tui.toast(e.message)})).catch((function(t){}))},supplierCollection:function(){var t=this;this.tui.request("/app/debt/recharge","post",{userId:this.dataList.supplierId,amountOwed:this.zPrice,dealingsTime:this.single,remark:this.rechargeRemark,userType:"1"},!1,!1).then((function(e){200==e.code?(t.tui.toast("回款成功"),t.$refs.warnPopup.close()):(t.tui.toast(e.message),t.$refs.warnPopup.close())}))},getCustomerCategoryList:function(){var e=this;this.tui.request("/app/customerCategory/getCustomerCategoryListByShopId","POST",{shopId:t.getStorageSync("shopId")},!1,!0).then((function(t){if(200==t.code)if(t.result.length>0){e.customerCategoryList=t.result;for(var i=0;i<e.customerCategoryList.length;i++){var r={categoryName:e.customerCategoryList[i].categoryName,categoryId:e.customerCategoryList[i].id,categoryPrice:""};e.customerCategoryList[i]=r}}else e.customerCategoryList=null;else e.tui.toast(t.message)})).catch((function(t){}))},getSnList:function(){var t=this;this.snList=[],this.snName="",this.tui.request("/app/productSn/getProductSnByShopId","POST",{},!1,!0).then((function(e){if(200==e.code){if(""!=e.result){for(var i=0;i<e.result.length;i++){var r={text:"前缀:"+e.result[i].snPre+",位数:"+e.result[i].snSufLength,value:e.result[i].snPre};t.snList.push(r)}t.snName=e.result[0].snPre}}else t.tui.toast(res.message);t.$forceUpdate()})).catch((function(t){}))},getGategoryList:function(){var t=this;this.tui.request("/app/productCategory/list","get",{},!1,!0).then((function(e){if(200==e.code){if(e.result.length>0)if(""!=t.formData.categoryId&&void 0!=t.formData.categoryId)for(var i=0;i<e.result.length;i++)e.result[i].id==t.formData.categoryId&&(t.typeItem=e.result[i]);else t.typeItem=e.result[0],t.formData.categoryId=t.typeItem.id}else t.tui.toast(e.message)})).catch((function(t){}))},deletePic:function(t){this["fileList".concat(t.name)].splice(t.index,1)},addSpec:function(t){var e={value:t,checked:!1};this.defaultList[this.addIndex].list.push(e),this.$refs.addClose.val=""},cancelCheck:function(){var t=this.cancelArr;this.addMultipleType(t[0],t[1],t[2]),this.$refs.carPopup.close()},dialogClose:function(){this.inputVal="",this.specVal="",this.$refs.inputClose.val="",this.$refs.addClose.val=""},afterRead:function(t){var e=this;return(0,a.default)(u.default.mark((function i(){var r,s,a,o,n;return u.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:r=[].concat(t.file),void 0==e.formData.productPicture&&(e.formData.productPicture=[]),s=e["fileList".concat(t.name)].length,r.map((function(i){e["fileList".concat(t.name)].push(c(c({},i),{},{status:"uploading",message:"上传中"}))})),a=0;case 5:if(!(a<r.length)){i.next=15;break}return i.next=8,e.uploadFilePromise(r[a].url);case 8:o=i.sent,n=e["fileList".concat(t.name)][s],e["fileList".concat(t.name)].splice(s,1,Object.assign(n,{status:"success",message:"",url:o})),s++;case 12:a++,i.next=5;break;case 15:case"end":return i.stop()}}),i)})))()},obtainPrice:function(t,e,i){this.linshiPrice=t.target.value,"price"==e?this.formData.price="":"wholesalePrice"==e?this.formData.wholesalePrice="":"commission"==e?this.formData.commission="":"purchasePrice"==e&&(this.formData.purchasePrice="")},addCustomPrice:function(){null==this.customerCategoryList?t.navigateTo({url:"/package1/index/customClassList"}):this.$refs.customPopup.open()},generateSn:function(t){var e=this;this.tui.request("/app/productSn/getNewProductSn","POST",{snPre:t},!1,!0).then((function(i){200==i.code?e.tui.request("/app/product/getByProductSn","post",{productSn:i.result},!1,!0).then((function(r){200==r.code&&(""!=r.result?e.generateSn(t):(e.formData.productSn=i.result,e.$forceUpdate()))})):e.tui.toast(res.message)})).catch((function(t){})),this.$refs.SNDialog.close()},updateCate:function(){this.$refs.customPopup.close(),this.$forceUpdate()},checkPriceRule:function(t){if(null!=t&&""!=t)if(""!=this.customerCategoryList&&null!=this.customerCategoryList)for(var e=0;e<this.customerCategoryList.length;e++){for(var i=!1,r=0;r<t.length;r++)this.customerCategoryList[e].categoryId==t[r].categoryId&&(i=!0);0==i&&t.push(this.customerCategoryList[e])}else t=this.customerCategoryList;else t=this.customerCategoryList;return t},startGetSn:function(){var e=this;return(0,a.default)(u.default.mark((function i(){var r;return u.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(r=e,""!=e.prefixRule){i.next=4;break}return e.tui.toast("请输入货号生成前缀规则"),i.abrupt("return");case 4:if(""!=e.numRule){i.next=7;break}return e.tui.toast("请输入货号生成位数规则"),i.abrupt("return");case 7:return i.next=9,e.tui.request("/app/productSn/addAndGetNewProductSn","POST",{snPre:e.prefixRule,snSufLength:e.numRule},!1,!1).then((function(i){200==i.code?"货号前缀已存在!"==i.message?t.showModal({title:"提示",content:"货号已经被删除,是否重新启用?",success:function(t){var e=this;t.confirm&&r.tui.request("/app/productSn/useAgainProductSn","POST",{id:i.result.id},!1,!0).then((function(t){200==t.code?(r.tui.toast("重新启用成功"),setTimeout((function(t){r.$refs.SNDialog.close(),r.getSnList(),r.generateSn(e.prefixRule)}),1e3)):r.tui.toast(t.message),r.$forceUpdate()})).catch((function(t){}))}}):(r.$refs.SNDialog.close(),e.formData.productSn=i.result):e.tui.toast(res.message)})).catch((function(t){}));case 9:case"end":return i.stop()}}),i)})))()},changeAddType:function(t){0==t.show&&""==this.multipleList&&(this.multipleList=this.oldMultipleList)},dialogInputConfirm:function(t){var e=this;return(0,a.default)(u.default.mark((function t(){var i;return u.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=e,""==i.multipleList?i.multipleList=[{attributeName:"颜色",productAttributeValueVoList:[{checked:!0,value:"均色"}]},{attributeName:"尺码",productAttributeValueVoList:[{checked:!0,value:"均码"}]}]:(""==i.multipleList[0].productAttributeValueVoList&&(i.multipleList[0].productAttributeValueVoList=[{checked:!0,value:"均色"}]),""==i.multipleList[1].productAttributeValueVoList&&(i.multipleList[1].productAttributeValueVoList=[{checked:!0,value:"均码"}])),i.$refs.addTypeDialog.close();case 3:case"end":return t.stop()}}),t)})))()},changessPrice:function(e,i){var r=this;if("price"==i)this.linshiPrice==e.target.value?this.formData.price=e.target.value:""==e.target.value?this.formData.price=this.linshiPrice:this.formData.price=e.target.value;else if("wholesalePrice"==i)this.linshiPrice==e.target.value?this.formData.wholesalePrice=e.target.value:""==e.target.value?this.formData.wholesalePrice=this.linshiPrice:this.formData.wholesalePrice=e.target.value;else if("commission"==i)this.linshiPrice==e.target.value?this.formData.commission=e.target.value:""==e.target.value?this.formData.commission=this.linshiPrice:this.formData.commission=e.target.value;else if("purchasePrice"==i){if(t.showLoading({title:"加载中...",mask:!0}),this.linshiPrice==e.target.value)this.formData.purchasePrice=e.target.value;else if(""==e.target.value)this.formData.purchasePrice=this.linshiPrice;else{if(this.formData.purchasePrice=e.target.value,void 0==this.dataList.id)return void t.hideLoading();this.differencePurchasePrice=Number(this.oldPurchasePrice)-Number(e.target.value),this.tui.request("/app/purchase/getPurchaseListByProductId","post",{productId:this.dataList.id,pageSize:9999,pageNum:this.pageNum},!1,!1).then((function(e){if(200==e.code){r.guigeNum=0;for(var i=0;i<e.result.records.length;i++)r.guigeNum+=Number(e.result.records[i].purchase.totalAmount);setTimeout((function(e){r.zPrice=r.guigeNum*r.differencePurchasePrice,0!=r.zPrice&&(r.getMonth(),r.$refs.warnPopup.open()),t.hideLoading()}),300)}else r.tui.toast(e.message)})).catch((function(t){}))}t.hideLoading()}},getMonth:function(){this.single=Date.now()},toggle:function(t){this.addIndex=t,this.$refs.addDialog.open()},uploadFilePromise:function(e){var i=this,r=this;return new Promise((function(u,s){t.compressImage({src:e,quality:50,success:function(e){t.uploadFile({url:r.tui.interfaceUrl()+"/upload/file",filePath:e.tempFilePath,name:"file",header:{"content-type":"multipart/form-data",accessToken:i.tui.getToken()},formData:{},success:function(t){var e=JSON.parse(t.data);i.formData.productPicture=e.result}})}})}))},categoryChange:function(t){this.categoryId=t},getSnIsRepeat:function(){var t=this;""!=this.formData.productSn&&this.dataList.productSn!=this.formData.productSn&&this.tui.request("/app/product/getByProductSn","post",{productSn:this.formData.productSn},!1,!0).then((function(e){200==e.code&&""!=e.result&&(t.tui.toast("当前货号已被商品:“"+e.result[0].productName+"”占用,请重新输入"),t.formData.productSn="")}))},ejectRuleSelect:function(){var t=this;if(this.dataList.id){for(var e=0;e<this.multipleList[0].productAttributeValueVoList.length;e++)for(var i=!0,r=0;r<this.defaultList[0].list.length;r++)this.defaultList[0].list[r].value==this.multipleList[0].productAttributeValueVoList[e].value?(i=!1,this.defaultList[0].list[r].checked=!0):this.defaultList[0].list.length==r+1&&1==i&&(this.multipleList[0].productAttributeValueVoList[e].checked=!0,this.defaultList[0].list.push(this.multipleList[0].productAttributeValueVoList[e]));for(var u=0;u<this.multipleList[1].productAttributeValueVoList.length;u++)for(var s=!0,a=0;a<this.defaultList[1].list.length;a++)this.defaultList[1].list[a].value==this.multipleList[1].productAttributeValueVoList[u].value?(s=!1,this.defaultList[1].list[a].checked=!0):this.defaultList[1].list.length==a+1&&1==s&&(this.multipleList[1].productAttributeValueVoList[u].checked=!0,this.defaultList[1].list.push(this.multipleList[1].productAttributeValueVoList[u]))}this.$nextTick((function(){t.oldMultipleList=t.multipleList,""==t.dataList&&(t.multipleList=[]),t.$refs.addTypeDialog.open("bottom")}))},submit:function(){var e=this,i=this,r="";this.$refs.form.validate().then((function(u){i.dataList.id?(r="/app/product/edit",e.formData.id=i.dataList.id,e.formData.stockCount=i.dataList.stockCount,e.formData.supplierId=i.dataList.supplierId,e.formData.supplierName=i.dataList.supplierName,e.formData.delFlag=i.dataList.delFlag):(r="/app/product/save",1==e.userType&&(e.formData.purchasePrice="")),""==u.productPicture&&(u.productPicture=""),null!=e.customerCategoryList&&(e.formData.customerCategoryRule=JSON.stringify(e.customerCategoryList)),e.formData.productCategoryVo={productAttributeOfAddVos:e.multipleList.length>0?e.multipleList:[{attributeName:"颜色",productAttributeValueVoList:[{checked:!0,value:"均色"}]},{attributeName:"尺码",productAttributeValueVoList:[{checked:!0,value:"均码"}]}]},i.tui.request(r,"post",e.formData,!1,!1).then((function(r){if(200==r.code)if(i.dataList.id){for(var u=getCurrentPages(),s=u[u.length-3],a=s.$vm.shopList,o=0;o<a.length;o++)a[o].id==e.formData.id&&(e.formData.categoryId!=i.dataList.categoryId?a.splice(o,1):a[o]=e.formData);t.navigateBack({delta:2})}else t.navigateBack({delta:1});else t.showToast({title:"添加失败",icon:"none"})}))})).catch((function(t){}))},goGategoryLow:function(){t.navigateTo({url:"/package1/inventory/gategory"})},pictureAdd:function(e,i){var r=this;t.chooseMedia({count:9,mediaType:["image"],sourceType:["album"],success:function(e){t.showLoading({title:"加载中...",mask:!0});for(var i=0;i<e.tempFiles.length;i++)r.upLoadFile(e.tempFiles[i].tempFilePath)}})},upLoadFile:function(e){var i=this;return(0,a.default)(u.default.mark((function r(){var s,a;return u.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return s=i,a=t.getStorageSync("hiver_token"),r.next=4,t.uploadFile({url:s.tui.interfaceUrl()+"/upload/file",filePath:e,name:"file",header:{"content-type":"multipart/form-data",accessToken:a},formData:{},success:function(t){var e=JSON.parse(t.data),r={productPicture:e.result};i.formData.productPictures.push(r),s.$forceUpdate()},fail:function(e){t.hideLoading(),t.showToast({title:JSON.stringify(e),icon:"none"})}});case 4:return r.next=6,setTimeout((function(e){t.hideLoading()}),1e3);case 6:case"end":return r.stop()}}),r)})))()},scanCodeAdd:function(){var e=this;t.scanCode({scanType:["barCode"],success:function(t){e.tui.request("/app/product/getByBarcode","post",{barcode:t.result},!1,!0).then((function(i){200==i.code&&(""!=i.result?e.tui.toast("当前条码已被商品:“"+i.result[0].productName+"”占用,请重新输入"):e.formData.barcode=t.result)}))},fail:function(e){t.showToast({title:"扫描失败",icon:"none"})}})},isCheckPrec:function(t,e,i){1==t.list[i].checked?this.getTypeToNum(t,e,i):this.addMultipleType(t,e,i)},addMultipleType:function(t,e,i){t.list[i].checked=!t.list[i].checked;var r=[];if(""==this.multipleList&&1==t.list[i].checked){if("颜色"==t.name){var u={attributeName:"尺码",productAttributeValueVoList:[]};this.multipleList.push(u)}if("尺码"==t.name){u={attributeName:"颜色",productAttributeValueVoList:[]};this.multipleList.push(u)}r.push(t.list[i]);u={attributeName:t.name,productAttributeValueVoList:r};this.multipleList.push(u)}else{if(this.multipleList[0].attributeName==t.name)if(0==this.multipleList[0].productAttributeValueVoList.length)this.multipleList[0].productAttributeValueVoList.push(t.list[i]);else for(var s=0;s<this.multipleList[0].productAttributeValueVoList.length;s++){if(this.multipleList[0].productAttributeValueVoList[s].value==t.list[i].value)return void this.multipleList[0].productAttributeValueVoList.splice(s,1);if(s+1==this.multipleList[0].productAttributeValueVoList.length)return void this.multipleList[0].productAttributeValueVoList.push(t.list[i])}if(this.multipleList[1].attributeName==t.name)if(0==this.multipleList[1].productAttributeValueVoList.length)this.multipleList[1].productAttributeValueVoList.push(t.list[i]);else for(s=0;s<this.multipleList[1].productAttributeValueVoList.length;s++){if(this.multipleList[1].productAttributeValueVoList[s].value==t.list[i].value)return void this.multipleList[1].productAttributeValueVoList.splice(s,1);if(s+1==this.multipleList[1].productAttributeValueVoList.length)return void this.multipleList[1].productAttributeValueVoList.push(t.list[i])}}},getTypeToNum:function(t,e,i){var r=this;this.tui.request("/app/stock/getlistByAttributeList","post",{categoryId:this.formData.attrId,attributeList:t.list[i].value},!1,!0).then((function(u){200==u.code&&(""!=u.result?(r.goodsList=u.result,r.cancelArr=[t,e,i],r.$refs.carPopup.open("bottom")):r.addMultipleType(t,e,i))})).catch((function(t){}))}}};e.default=n}).call(this,i("df3c")["default"])},"96b2":function(t,e,i){},b879:function(t,e,i){"use strict";i.r(e);var r=i("f07c"),u=i("fcd5");for(var s in u)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return u[t]}))}(s);i("36fc");var a=i("828b"),o=Object(a["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=o.exports},f07c:function(t,e,i){"use strict";i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return r}));var r={uniForms:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-forms/components/uni-forms/uni-forms")]).then(i.bind(null,"ac36"))},uniFormsItem:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-forms/components/uni-forms-item/uni-forms-item")]).then(i.bind(null,"b258"))},uniEasyinput:function(){return i.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(i.bind(null,"5fa6"))},uUpload:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uview-ui/components/u-upload/u-upload")]).then(i.bind(null,"adf0"))},uniIcons:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(i.bind(null,"6bbb6"))},uIcon:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(i.bind(null,"1608"))},uniDatetimePicker:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker")]).then(i.bind(null,"4632"))},uniPopup:function(){return i.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(i.bind(null,"2864"))},uniPopupDialog:function(){return Promise.all([i.e("common/vendor"),i.e("uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog")]).then(i.bind(null,"761e"))}},u=function(){var t=this,e=t.$createElement,i=(t._self._c,t.__map(t.goodsList,(function(e,i){var r=t.__get_orig(e),u=t._f("sliceMsg")(e.attributeList);return{$orig:r,f0:u}})));t._isMounted||(t.e0=function(e){return t.$refs.SNDialog.open("center")},t.e1=function(e){return t.$refs.addTypeDialog.close()},t.e2=function(t){return this.$refs.carPopup.close()},t.e3=function(t){return this.$refs.warnPopup.close()}),t.$mp.data=Object.assign({},{$root:{l0:i}})},s=[]},fcd5:function(t,e,i){"use strict";i.r(e);var r=i("941c"),u=i.n(r);for(var s in r)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(s);e["default"]=u.a}},[["74fd","common/runtime","common/vendor"]]]);
|