043bc4f0b038d9143aa0c29921c8a26462d09670d6894ad7301b1aa35b0a620bb6948cccb76c0729c927a7c9799d3a1fea4220c65fbcfb1196ea38899182 25 KB

1
  1. {"code":"/*!\n * build: vue-admin-beautiful \n * copyright: chuzhixin 1204505056@qq.com \n * time: 2022-12-12 09:51:32\n */\n(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-12740e40\"],{\"05e5\":function(t,e,o){\"use strict\";o.r(e);var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o(\"ContainerTit\",[o(\"el-form\",{ref:\"base_form\",attrs:{inline:!0,model:t.base_form,\"label-width\":\"120px\",rules:t.base_rules,size:\"small\"}},[o(\"el-card\",{staticClass:\"box-card\"},[o(\"div\",{attrs:{slot:\"header\"},slot:\"header\"},[o(\"span\",[t._v(\"基本信息\")])]),o(\"div\",{staticClass:\"info-main\"},[o(\"el-row\",[o(\"el-col\",{attrs:{span:24}},[o(\"el-form-item\",{attrs:{label:\"商品相册:\",prop:\"goods_img\"}},[t.base_form.images?o(\"ul\",{staticClass:\"clearfix\"},t._l(t.base_form.images,(function(t,e){return o(\"li\",{key:e,staticClass:\"float_left\",staticStyle:{\"padding-right\":\"10px\"}},[o(\"el-image\",{staticStyle:{width:\"60px\",height:\"60px\"},attrs:{src:t,fit:\"contain\"}})],1)})),0):t._e()])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"商品编码:\"}},[t._v(\" \"+t._s(t.base_form.code)+\" \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"商品条码:\"}},[t._v(\" \"+t._s(t.base_form.barCode)+\" \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"商品分类:\"}},[t._v(\" \"+t._s(t.base_form.categoryName)+\" \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"生命周期:\"}},[t._v(\" \"+t._s(t.base_form.expireTime)+\"天 \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"商品品牌:\"}},[t._v(\" \"+t._s(t.base_form.brandName||\"--\")+\" \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"销售店铺:\"}},[t._v(\" \"+t._s(t.base_form.shopName||\"--\")+\" \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"销售区域:\"}},t._l(t.base_form.salesArea,(function(e,a){return o(\"span\",{key:a},[t._v(\" \"+t._s(e.name)+\" \")])})),0)],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"当前价格:\"}},[t._v(\" \"+t._s(t.base_form.price||\"--\")+\"元 \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"商品推荐:\"}},[t._v(\" \"+t._s(t.base_form.shopRecommend||\"--\")+\" \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"关键词汇:\"}},t._l(t.base_form.tag,(function(e,a){return o(\"span\",{key:a},[t._v(\" \"+t._s(e)+\" \")])})),0)],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"基本单位:\"}},[t.base_form.masterUnit?o(\"span\",[t._v(\" \"+t._s(t.base_form.masterUnit.name)+\" \")]):o(\"span\",[t._v(\"---\")])])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"禁止销售店铺:\"}},[t._v(\" \"+t._s(t.base_form.noSalesShopNames||\"--\")+\" \")])],1),o(\"el-col\",{attrs:{span:8}},[o(\"el-form-item\",{attrs:{label:\"辅助单位:\"}},[t.base_form.branchUnit?o(\"span\",t._l(t.base_form.branchUnit,(function(e,a){return o(\"el-tag\",{key:a},[4===e.isNew?o(\"span\",[t._v(\" 1\"+t._s(t.base_form.masterUnit.unitName)+\"=\"+t._s(e.conversion)+t._s(e.unitName)+\" \")]):t._e(),o(\"span\",[t._v(\" 1\"+t._s(e.unitName)+\"=\"+t._s(e.conversion)+t._s(t.base_form.masterUnit.unitName)+\" \")])])})),1):o(\"span\",[t._v(\"---\")])])],1)],1)],1)]),o(\"el-card\",{staticClass:\"box-card\",attrs:{shadow:\"hover\"}},[o(\"div\",{attrs:{slot:\"header\"},slot:\"header\"},[o(\"span\",[t._v(\"商品详情\")]),o(\"div\",{staticStyle:{margin:\"20px\"},domProps:{innerHTML:t._s(t.base_form.content)}})])])],1),o(\"BrandSelModel\",{attrs:{\"is-check\":!1,\"dialog-visible\":t.sel_brand},on:{close:function(e){t.sel_brand=!1},confirm:t.brandConfirm}})],1)},n=[],s=o(\"6e72\"),d=o(\"c40e\"),r={name:\"GoodsDetail\",components:{BrandSelModel:s[\"default\"]},data(){const t=(t,e,o)=>{\"\"===e.name?o(new Error(\"请设置基本单位\")):o()};return{img_list:[],masterUnitId:\"\",content:\"\",dynamicTags:[],inputVisible:!1,inputValue:\"\",assist_model:!1,edit_assist_model:!1,unit_index:0,assist_index:0,unit_options:[{unitName:\"件\",unitId:1},{unitName:\"袋\",unitId:2},{unitName:\"箱\",unitId:3},{unitName:\"包\",unitId:4},{unitName:\"KG\",unitId:5},{unitName:\"瓶\",unitId:6},{unitName:\"盒\",unitId:7},{unitName:\"卷\",unitId:8},{unitName:\"桶\",unitId:9},{unitName:\"斤\",unitId:10}],assist_form:{name:\"\",uniId:\"\",conversion:\"\"},assist_rules:{name:[{required:!0,message:\"请输入辅助单位名称\",trigger:\"blur\"}],conversion:[{required:!0,message:\"请输入辅助单位与基本单位的换算关系\",trigger:\"blur\"}]},sel_brand:!1,sel_shop:!1,master_unit_name:\"\",base_form:{branchUnit:[],brandName:\"\",categoryPath:[],shopName:\"\",masterUnit:{name:\"\",id:\"\"},title:\"\",code:\"\",barCode:\"\",categoryId:\"\",expireTime:\"\",brandId:\"\",tag:\"\",description:\"\",salesShop:\"\",images:[]},base_rules:{images:[{type:\"array\",required:!0,message:\"请上传商品图片\",trigger:\"change\"}],title:[{required:!0,message:\"请输入商品名称\",trigger:\"blur\"}],barCode:[{required:!0,message:\"请输入商品条码\",trigger:\"blur\"}],categoryId:[{required:!0,message:\"请选择商品分类\",trigger:\"change\"}],expireTime:[{required:!0,message:\"请输入商品生命周期\",trigger:\"blur\"}],brandId:[{required:!0,message:\"请选择商品品牌\",trigger:\"change\"}],masterUnit:[{required:!0,validator:t,trigger:\"change\"}]},uploadFiles:{img:[],fileList:[],blobImg:[],specificationUploadImgIndex:0},base_goods_id:0}},async created(){await this.getAllUnit(),this.$route.params.id&&(this.base_goods_id=this.$route.params.id,await this.getGoodsInfo())},methods:{async getAllUnit(){const{data:t}=await Object(d[\"getAllUnit\"])({page:1,pageSize:99});this.unit_options=t.map(t=>({unitId:t.id,unitName:t.unitName}))},masterUnitChange(t){const e=this.unit_options.find(e=>e.id===t);this.base_form.masterUnit=e},handleClose(t){this.dynamicTags.splice(this.dynamicTags.indexOf(t),1)},showInput(){this.inputVisible=!0,this.$nextTick(t=>{this.$refs.saveTagInput.$refs.input.focus()})},handleInputConfirm(){let t=this.inputValue;t&&this.dynamicTags.push(t),this.inputVisible=!1,this.inputValue=\"\"},assitUnitChange(t){const e=this.unit_options.find(e=>e.id===t);this.assist_form.name=e.name},delFuUnit(t){this.base_form.branchUnit.splice(t,1)},addFuUnit(){this.assist_model=!0,this.edit_assist_model=!1,this.assist_form={name:\"\",uniId:\"\",conversion:\"\"}},EditFuUnit(t){this.assist_model=!0,this.edit_assist_model=!0,this.assist_form=this.base_form.branchUnit[t],this.assist_index=t},subAssist(){this.edit_assist_model?this.base_form.branchUnit[this.assist_index]=this.assist_form:this.base_form.branchUnit.push(this.assist_form),this.assist_model=!1},async getGoodsInfo(){const{data:t}=await Object(d[\"getGoodsInfo\"])(this.base_goods_id);this.base_form={...t,categoryPath:t.categoryPath?t.categoryPath.split(\",\").map(t=>parseInt(t)):[]},this.img_list=t.images.map(t=>({name:\"\",url:t})),this.dynamicTags=t.tag.split(\",\"),this.base_form.brandName=t.brandTitle,this.masterUnitId=t.masterUnit.id},async submitGoods(){this.$refs[\"base_form\"].validate(async t=>{if(t){const t={categoryPath:this.base_form.categoryPath.join(\",\"),title:this.base_form.title,masterUnit:this.base_form.masterUnit,branchUnit:this.base_form.branchUnit,code:this.base_form.code,barCode:this.base_form.barCode,categoryId:this.base_form.categoryId,expireTime:this.base_form.expireTime,brandId:this.base_form.brandId,tag:this.dynamicTags.join(\",\"),description:this.base_form.description,salesShop:this.base_form.salesShop,images:this.base_form.images};let e={};e=this.$route.params.id?await Object(d[\"editGoodsBasic\"])(this.base_goods_id,t):await Object(d[\"addGoodsBasic\"])(t);this.$message({type:\"success\",message:\"提交成功\"}),this.$closeCurrentGoEdit(\"/goods/manageG/BaseDataList\")}})},categoryChange(t){this.base_form.categoryId=t[t.length-1]},brandConfirm(t){t.length>1?this.$message({type:\"error\",message:\"请选择一个品牌!\"}):(this.base_form.brandName=t[0].title,this.base_form.brandId=t[0].id)},shopConfirm(t){this.base_form.shopName=t.map(t=>t.name).join(\",\"),this.base_form.salesShop=t.map(t=>t.id).join(\",\")}}},i=r,u=(o(\"c1ad\"),o(\"45e1\"),o(\"2877\")),l=Object(u[\"a\"])(i,a,n,!1,null,\"113d4c94\",null);e[\"default\"]=l.exports},\"45e1\":function(t,e,o){\"use strict\";o(\"7238\")},\"6e72\":function(t,e,o){\"use strict\";o.r(e);var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o(\"el-dialog\",{attrs:{title:\"品牌列表\",visible:t.dialogVisible,width:\"60%\",\"close-on-press-escape\":!1,\"close-on-click-modal\":!1},on:{\"update:visible\":function(e){t.dialogVisible=e},close:t.close}},[o(\"div\",{staticClass:\"clearfix\",staticStyle:{\"padding-bottom\":\"10px\"}},[o(\"div\",{staticClass:\"float_left\"},[o(\"el-input\",{staticStyle:{width:\"280px\"},attrs:{placeholder:\"请输入品牌名称\",size:\"small\",clearable:\"\"},on:{clear:function(e){return t.pageChange(1)}},nativeOn:{keyup:function(e){return!e.type.indexOf(\"key\")&&t._k(e.keyCode,\"enter\",13,e.key,\"Enter\")?null:t.pageChange(1)}},model:{value:t.search_key,callback:function(e){t.search_key=e},expression:\"search_key\"}},[o(\"el-button\",{attrs:{slot:\"append\",icon:\"el-icon-search\"},on:{click:function(e){return t.pageChange(1)}},slot:\"append\"})],1)],1),t.isShowAdd?o(\"el-button\",{staticClass:\"float_right\",attrs:{type:\"text\"},on:{click:t.getList}},[t._v(\" 【刷新】 \")]):t._e()],1),o(\"el-table\",{attrs:{size:\"mini\",data:t.brand_list},on:{\"row-dblclick\":t.dblclick,\"selection-change\":t.handleSelectionChange}},[t.isCheck?o(\"el-table-column\",{attrs:{type:\"selection\",width:\"55\"}}):t._e(),o(\"el-table-column\",{attrs:{prop:\"code\",label:\"编码\",\"min-width\":\"100\"}}),o(\"el-table-column\",{attrs:{prop:\"title\",label:\"名称\",\"min-width\":\"100\"}}),o(\"el-table-column\",{attrs:{prop:\"sort\",label:\"排序\",\"min-width\":\"100\"}}),o(\"el-table-column\",{attrs:{prop:\"address\",label:\"状态\",\"min-width\":\"100\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[5===e.row.enableStatus?o(\"span\",{staticClass:\"open-span\"},[t._v(\" 启用 \")]):o(\"span\",{staticClass:\"disabled-span\"},[t._v(\"禁用\")])]}}])}),o(\"el-table-column\",{attrs:{label:\"选择\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[o(\"el-button\",{attrs:{size:\"mini\",icon:\"el-icon-check\"},on:{click:function(o){return t.dblclick(e.row)}}})]}}])})],1),o(\"FooterPage\",{attrs:{\"page-size\":t.pageSize,\"total-page\":t.total,\"current-page\":t.page},on:{\"update:totalPage\":function(e){t.total=e},\"update:total-page\":function(e){t.total=e},\"update:currentPage\":function(e){t.page=e},\"update:current-page\":function(e){t.page=e},pageChange:t.pageChange,sizeChange:t.sizeChange}},[t.isCheck?o(\"div\",{attrs:{slot:\"btn-div\"},slot:\"btn-div\"},[o(\"el-button\",{attrs:{size:\"small\",type:\"primary\"},on:{click:t.confirm}},[t._v(\"确认\")]),o(\"el-button\",{attrs:{size:\"small\"},on:{click:t.close}},[t._v(\"取消\")])],1):t._e()])],1)},n=[],s=o(\"3c48\"),d=o(\"c40e\"),r=o(\"2f62\"),i={name:\"BrandSelModel\",components:{FooterPage:s[\"default\"]},props:{dialogVisible:{type:Boolean,default:!1},isShowAdd:{type:Boolean,default:!1},isCheck:{type:Boolean,default:!0},enable:{type:Boolean,default:!1}},data(){return{total:100,page:1,pageSize:10,search_key:\"\",brand_list:[],choose_brand:[],enableStatus:\"\"}},computed:{...Object(r[\"c\"])({storeData:\"MUser/storeData\"})},created(){this.enable?this.enableStatus=5:this.enableStatus=\"\",this.getList()},methods:{async getList(){const t=await Object(d[\"getAllBrand\"])({page:this.page,pageSize:this.pageSize,keyword:this.search_key,enableStatus:this.enableStatus});this.brand_list=t.data,this.total=t.pageTotal},close(){this.$emit(\"close\")},dblclick(t){this.close(),this.$emit(\"confirm\",[t])},confirm(){this.$emit(\"confirm\",this.choose_brand),this.close()},handleSelectionChange(t){this.choose_brand=t},pageChange(t){this.page=t,this.getList()},sizeChange(t){this.pageSize=t,this.pageChange(1)}}},u=i,l=o(\"2877\"),c=Object(l[\"a\"])(u,a,n,!1,null,\"1e6f8ed0\",null);e[\"default\"]=c.exports},7238:function(t,e,o){},c1ad:function(t,e,o){\"use strict\";o(\"d100\")},c40e:function(t,e,o){\"use strict\";o.r(e),o.d(e,\"getAllGoodsBasicBySku\",(function(){return n})),o.d(e,\"goodsImport\",(function(){return s})),o.d(e,\"goodsQuickImport\",(function(){return d})),o.d(e,\"searchBasic\",(function(){return r})),o.d(e,\"exportSearchBasic\",(function(){return i})),o.d(e,\"defineSpec\",(function(){return u})),o.d(e,\"addBasicAndPublishGoods\",(function(){return l})),o.d(e,\"editQuickGoods\",(function(){return c})),o.d(e,\"getQuickGoodsInfo\",(function(){return f})),o.d(e,\"addGoodsBasic\",(function(){return p})),o.d(e,\"getAllGoodsBasic\",(function(){return m})),o.d(e,\"exportGetAllGoodsBasic\",(function(){return g})),o.d(e,\"getGoodsBasicInfoById\",(function(){return h})),o.d(e,\"getGoodsByCategory\",(function(){return b})),o.d(e,\"updateEnableStatus\",(function(){return G})),o.d(e,\"delGoodsBasic\",(function(){return _})),o.d(e,\"editGoodsBasic\",(function(){return y})),o.d(e,\"getGoodsBasicOfShopId\",(function(){return O})),o.d(e,\"updateCategory\",(function(){return S})),o.d(e,\"BatchUnloading\",(function(){return j})),o.d(e,\"setTop\",(function(){return B})),o.d(e,\"setSalesNumBatch\",(function(){return C})),o.d(e,\"setSalesNum\",(function(){return I})),o.d(e,\"getAllUnit\",(function(){return k})),o.d(e,\"addUnit\",(function(){return v})),o.d(e,\"editUnit\",(function(){return M})),o.d(e,\"updateEnablesStatus\",(function(){return A})),o.d(e,\"delUnit\",(function(){return U})),o.d(e,\"SpecManageAdd\",(function(){return x})),o.d(e,\"SpecManageedit\",(function(){return w})),o.d(e,\"SpecManagedel\",(function(){return N})),o.d(e,\"SpecManageinfo\",(function(){return T})),o.d(e,\"SpecManagegetAll\",(function(){return P})),o.d(e,\"getAllGoodsBySku\",(function(){return z})),o.d(e,\"searchGood\",(function(){return E})),o.d(e,\"exportSearchGood\",(function(){return $})),o.d(e,\"addGoods\",(function(){return L})),o.d(e,\"getGoodsInfo\",(function(){return Q})),o.d(e,\"delGoods\",(function(){return q})),o.d(e,\"editGoods\",(function(){return V})),o.d(e,\"getAllGoods\",(function(){return D})),o.d(e,\"getAllGoodsList\",(function(){return F})),o.d(e,\"exportGetAllGoodsList\",(function(){return R})),o.d(e,\"exportGetAllGoods\",(function(){return J})),o.d(e,\"auditGoods\",(function(){return H})),o.d(e,\"getGoodsByCondition\",(function(){return K})),o.d(e,\"GoodsUpdateEnableStatus\",(function(){return W})),o.d(e,\"batchGoodsExpress\",(function(){return X})),o.d(e,\"addBrand\",(function(){return Y})),o.d(e,\"editBrand\",(function(){return Z})),o.d(e,\"getBrandInfoById\",(function(){return tt})),o.d(e,\"updateBrandStatus\",(function(){return et})),o.d(e,\"delBrand\",(function(){return ot})),o.d(e,\"getAllBrand\",(function(){return at})),o.d(e,\"setBrand\",(function(){return nt})),o.d(e,\"setSku\",(function(){return st})),o.d(e,\"setNoSalesShop\",(function(){return dt})),o.d(e,\"addCategory\",(function(){return rt})),o.d(e,\"updateCategoryStatus\",(function(){return it})),o.d(e,\"getCategoryInfoById\",(function(){return ut})),o.d(e,\"getAllCategory\",(function(){return lt})),o.d(e,\"delCategory\",(function(){return ct})),o.d(e,\"editCategory\",(function(){return ft})),o.d(e,\"getAllCategoryPost\",(function(){return pt})),o.d(e,\"getGoodsByBarCode\",(function(){return mt})),o.d(e,\"getRelMap\",(function(){return gt})),o.d(e,\"getPriceTrend\",(function(){return ht})),o.d(e,\"batchSetDistribution\",(function(){return bt})),o.d(e,\"addGoodsSupport\",(function(){return Gt})),o.d(e,\"editGoodsSupport\",(function(){return _t})),o.d(e,\"delGoodsSupport\",(function(){return yt})),o.d(e,\"getAllGoodsSupport\",(function(){return Ot})),o.d(e,\"getGoodsSupportInfo\",(function(){return St})),o.d(e,\"getAllGoodsGroups\",(function(){return jt})),o.d(e,\"addGoodsGroups\",(function(){return Bt})),o.d(e,\"enableGoodsGroups\",(function(){return Ct})),o.d(e,\"updateGoodsGroups\",(function(){return It})),o.d(e,\"getReservoirInfo\",(function(){return kt})),o.d(e,\"deleteGoodsGroups\",(function(){return vt})),o.d(e,\"setSort\",(function(){return Mt}));var a=o(\"b775\");function n(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/getAllGoodsBasicBySku\",method:\"post\",data:t})}function s(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/goodsImport\",method:\"post\",data:t})}function d(t){return Object(a[\"default\"])({url:\"/Goods/QuickGoods/goodsQuickImport\",method:\"post\",data:t})}function r(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/search\",method:\"post\",data:t})}function i(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/search\",method:\"post\",responseType:\"blob\",data:t})}function u(t){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/defineSpec\",method:\"post\",data:t})}function l(t){return Object(a[\"default\"])({url:\"/Goods/QuickGoods/addBasicAndPublishGoods\",method:\"post\",data:t})}function c(t){return Object(a[\"default\"])({url:\"/Goods/QuickGoods/editQuickGoods\",method:\"post\",data:t})}function f(t,e){return Object(a[\"default\"])({url:\"/Goods/QuickGoods/getQuickGoodsInfo/\"+t,method:\"post\",data:e})}function p(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/addGoodsBasic\",method:\"post\",data:t})}function m(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/getAllGoodsBasic\",method:\"post\",data:t})}function g(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/getAllGoodsBasic\",responseType:\"blob\",method:\"post\",data:t})}function h(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/getGoodsBasicInfoById/\"+t,method:\"post\",data:e})}function b(t){return Object(a[\"default\"])({url:\"/Goods/ApiGoods/getGoodsByCategory\",method:\"post\",data:t})}function G(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/updateEnableStatus\",method:\"put\",data:t})}function _(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/delGoodsBasic/\"+t,method:\"delete\",data:e})}function y(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/editGoodsBasic/\"+t,method:\"put\",data:e})}function O(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/getGoodsBasicOfShopId\",method:\"post\",data:t})}function S(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/updateCategory\",method:\"post\",data:t})}function j(t){return Object(a[\"default\"])({url:\"/Goods/Goods/updateEnableStatus\",method:\"post\",data:t})}function B(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/setTop/\"+t,method:\"get\",data:e})}function C(t){return Object(a[\"default\"])({url:\"/Goods/Goods/setSalesNumBatch\",method:\"post\",data:t})}function I(t){return Object(a[\"default\"])({url:\"/Goods/Goods/setSalesNum\",method:\"post\",data:t})}function k(t){return Object(a[\"default\"])({url:\"/GoodsManage/Units/getAll\",method:\"post\",data:t})}function v(t){return Object(a[\"default\"])({url:\"/GoodsManage/Units/add\",method:\"post\",data:t})}function M(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/Units/edit/\"+t,method:\"put\",data:e})}function A(t){return Object(a[\"default\"])({url:\"/GoodsManage/Units/updateEnablesStatus\",method:\"put\",data:t})}function U(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/Units/del/\"+t,method:\"delete\",data:e})}function x(t){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/add\",method:\"post\",data:t})}function w(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/edit/\"+t,method:\"post\",data:e})}function N(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/del/\"+t,method:\"delete\",data:e})}function T(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/info/\"+t,method:\"get\",data:e})}function P(t){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/getAll\",method:\"post\",data:t})}function z(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoodsBySku\",method:\"post\",data:t})}function E(t){return Object(a[\"default\"])({url:\"/Goods/Goods/search\",method:\"post\",data:t})}function $(t){return Object(a[\"default\"])({url:\"/Goods/Goods/search\",responseType:\"blob\",method:\"post\",data:t})}function L(t){return Object(a[\"default\"])({url:\"/Goods/Goods/addGoods\",method:\"post\",data:t})}function Q(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/getGoodsInfo/\"+t,method:\"post\",data:e})}function q(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/delGoods/\"+t,method:\"get\",data:e})}function V(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/editGoods/\"+t,method:\"put\",data:e})}function D(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoods\",method:\"post\",data:t})}function F(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoodsList\",method:\"post\",data:t})}function R(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoodsList\",method:\"post\",responseType:\"blob\",data:t})}function J(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoods\",method:\"post\",responseType:\"blob\",data:t})}function H(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/audit/\"+t,method:\"put\",data:e})}function K(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getGoodsByCondition\",method:\"post\",data:t})}function W(t){return Object(a[\"default\"])({url:\"/Goods/Goods/updateEnableStatus\",method:\"post\",data:t})}function X(t){return Object(a[\"default\"])({url:\"/Goods/Goods/batchGoodsExpress\",method:\"post\",data:t})}function Y(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBrand/addBrand\",method:\"post\",data:t})}function Z(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBrand/editBrand/\"+t,method:\"put\",data:e})}function tt(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBrand/getBrandInfoById/\"+t,method:\"put\",data:e})}function et(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBrand/updateBrandStatus/\"+t,method:\"put\",data:e})}function ot(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBrand/delBrand/\"+t,method:\"delete\",data:e})}function at(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBrand/getAllBrand\",method:\"post\",data:t})}function nt(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/setBrand\",method:\"put\",data:t})}function st(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/setSku\",method:\"put\",data:t})}function dt(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/setNoSalesShop\",method:\"put\",data:t})}function rt(t){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/addCategory\",method:\"post\",data:t})}function it(t,e){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/updateCategoryStatus/\"+t,method:\"put\",data:e})}function ut(t,e){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/getCategoryInfoById/\"+t,method:\"get\",data:e})}function lt(t){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/getAllCategory\",method:\"get\",data:t})}function ct(t,e){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/delCategory/\"+t,method:\"delete\",data:e})}function ft(t,e){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/editCategory/\"+t,method:\"put\",data:e})}function pt(t){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/getAllCategory\",method:\"post\",data:t})}function mt(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getGoodsByBarCode\",method:\"post\",data:t})}function gt(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getRelMap\",method:\"post\",data:t})}function ht(t,e){return Object(a[\"default\"])({url:\"Goods/Goods/getPriceTrend/\"+t,method:\"POST\",data:e})}function bt(t){return Object(a[\"default\"])({url:\"Goods/Goods/batchSetDistribution\",method:\"POST\",data:t})}function Gt(t){return Object(a[\"default\"])({url:\"Goods/GoodsSupport/addGoodsSupport\",method:\"post\",data:t})}function _t(t){return Object(a[\"default\"])({url:\"/Goods/GoodsSupport/editGoodsSupport\",method:\"post\",data:t})}function yt(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsSupport/delGoodsSupport/\"+t,method:\"post\",data:e})}function Ot(t){return Object(a[\"default\"])({url:\"Goods/GoodsSupport/getAllGoodsSupport\",method:\"post\",data:t})}function St(t,e){return Object(a[\"default\"])({url:\"/Goods/GoodsSupport/getGoodsSupportInfo/\"+t,method:\"post\",data:e})}function jt(t){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/getAllGoodsGroups\",method:\"post\",data:t})}function Bt(t){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/addGoodsGroups\",method:\"post\",data:t})}function Ct(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/enableGoodsGroups/\"+t,method:\"post\",data:e})}function It(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/updateGoodsGroups/\"+t,method:\"post\",data:e})}function kt(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/getReservoirInfo/\"+t,method:\"post\",data:e})}function vt(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/deleteGoodsGroups/\"+t,method:\"post\",data:e})}function Mt(t){return Object(a[\"default\"])({url:\"Goods/Goods/setSort\",method:\"post\",data:t})}},d100:function(t,e,o){}}]);","extractedComments":[]}