ced1f746781b22ba9b378fc56d052abbd772ccd58a0b532183781e088ac806cfe7f53daa15ee5ad8bea9f178eca14af354ed08c1619d81ed5720be4055d6 32 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-7cd0034e\"],{2520:function(t,e,o){\"use strict\";o(\"2b53\")},\"2b53\":function(t,e,o){},\"55bb\":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(\"div\",{staticClass:\"dis-inline\"},[o(\"el-select\",{style:{width:t.width+\"px\"},attrs:{value:t.value,placeholder:t.placeholder,clearable:t.clearable,filterable:\"\",remote:\"\",size:t.size,multiple:t.multiple,disabled:t.disabled,\"remote-method\":t.remoteMethod,loading:t.loading},on:{change:t.selChange,clear:t.clearChange}},t._l(t.shop_list,(function(t,e){return o(\"el-option\",{key:e,attrs:{label:t.name,value:t.id}})})),1),o(\"span\",{staticClass:\"el-icon-arrow-down sel-icon\",staticStyle:{\"margin-right\":\"15px\"}})],1)},n=[],r=o(\"e1b7\"),d={name:\"SelectShop\",model:{prop:\"value\",event:\"change\"},props:{value:{type:[Number,String,Array],default:\"\"},width:{type:[Number,String],default:200},placeholder:{type:String,default:\"请输入店铺关键词\"},size:{type:String,default:\"\"},isDefault:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},isCheck:{type:Boolean,default:!0},enable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},action:{type:[Number,String],default:\"\"},materielId:{type:[Number,String],default:\"\"}},data(){return{shop_list:[],loading:!1,page:1,pre_page:999}},created(){this.getList()},methods:{remoteMethod(t){\"\"!==t?(this.loading=!0,this.searchList(t)):this.getList()},clearChange(){this.$emit(\"clear\")},selChange(t){if(!t)return;let e=[];e=this.multiple?this.shop_list.filter(e=>t.indexOf(e.id)>-1):this.shop_list.filter(e=>e.id===t),this.$emit(\"change\",t,e)},async getList(){const t={page:this.page,pageSize:this.pre_page,enableStatus:5,materielId:this.materielId,action:this.action},e=await Object(r[\"getAllShop\"])(t);this.loading=!1,this.shop_list=e.data,this.$emit(\"getAllShop\",e.data),this.isDefault&&this.$emit(\"default\",e.data[0].id,e.data[0])},async searchList(t){const e={page:this.page,pageSize:this.pre_page,name:t,shopPartnerId:\"\",shopType:\"\",enableStatus:5},o=await Object(r[\"search\"])(e);this.loading=!1,this.shop_list=o.data}}},u=d,s=(o(\"2520\"),o(\"2877\")),i=Object(s[\"a\"])(u,a,n,!1,null,\"b4ad8046\",null);e[\"default\"]=i.exports},ba50: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(\"ContainerQuery\",[o(\"div\",{attrs:{slot:\"left\"},slot:\"left\"},[t.$accessCheck(t.$Access.ActivityGoodsAdd)?o(\"el-button\",{attrs:{type:\"primary\",size:\"small\"},on:{click:function(e){return t.$router.push(\"/Marketing/Promotion/AddPromotion\")}}},[t._v(\" 新增促销 \")]):t._e()],1),t.$accessCheck(t.$Access.ActivityGoodsSearch)?o(\"div\",{attrs:{slot:\"more\"},slot:\"more\"},[o(\"el-form\",{attrs:{inline:!0,size:\"small\"}},[o(\"el-form-item\",[o(\"el-input\",{attrs:{placeholder:\"活动标题\",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_form.title,callback:function(e){t.$set(t.search_form,\"title\",e)},expression:\"search_form.title\"}},[o(\"el-button\",{attrs:{slot:\"append\",icon:\"el-icon-search\"},on:{click:function(e){return t.pageChange(1)}},slot:\"append\"})],1)],1),o(\"el-form-item\",[o(\"SelectShop\",{attrs:{width:\"150\",clearable:!0,placeholder:\"选择商铺\"},on:{clear:t.clearShop,change:t.selShop},model:{value:t.search_form.useShop,callback:function(e){t.$set(t.search_form,\"useShop\",e)},expression:\"search_form.useShop\"}})],1),o(\"el-form-item\",[o(\"el-date-picker\",{attrs:{type:\"daterange\",\"range-separator\":\"-\",\"start-placeholder\":\"活动开始日期\",\"end-placeholder\":\"活动结束日期\"},on:{change:t.LocationFrom},model:{value:t.search_form.time,callback:function(e){t.$set(t.search_form,\"time\",e)},expression:\"search_form.time\"}})],1),o(\"el-form-item\",[o(\"el-select\",{staticStyle:{width:\"150px\"},attrs:{clearable:\"\",placeholder:\"活动状态\"},on:{clear:function(e){return t.delType(\"isEnd\")},change:function(e){return t.pageChange(1)}},model:{value:t.search_form.isEnd,callback:function(e){t.$set(t.search_form,\"isEnd\",e)},expression:\"search_form.isEnd\"}},t._l(t.ActivityStatus,(function(t){return o(\"el-option\",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),o(\"el-form-item\",[o(\"el-select\",{staticStyle:{width:\"150px\"},attrs:{clearable:\"\",placeholder:\"上架/下架\"},on:{change:function(e){return t.pageChange(1)}},model:{value:t.search_form.enableStatus,callback:function(e){t.$set(t.search_form,\"enableStatus\",e)},expression:\"search_form.enableStatus\"}},t._l(t.activeList,(function(t){return o(\"el-option\",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1)],1):t._e(),o(\"el-table\",{attrs:{data:t.activity_list}},[o(\"el-table-column\",{attrs:{prop:\"title\",label:\"活动标题\",fixed:\"left\",\"show-overflow-tooltip\":\"\",\"min-width\":\"160\"}}),t.promotionTypeFlag?o(\"el-table-column\",{attrs:{prop:\"activityType\",label:\"促销类型\",\"min-width\":\"120\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(10===e.row.activityType?\"商品特价\":\"商品秒杀\")+\" \")]}}],null,!1,2022519245)}):t._e(),t.creationTimeFlag?o(\"el-table-column\",{attrs:{prop:\"createTime\",label:\"创建时间\",\"min-width\":\"150\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(t.$_common.formatDate(e.row.createTime))+\" \")]}}],null,!1,754808738)}):t._e(),t.commodityFlag?o(\"el-table-column\",{attrs:{prop:\"useShopName\",label:\"商铺名称\",\"show-overflow-tooltip\":\"\",\"min-width\":\"180\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(e.row.useShopName.join(\",\"))+\" \")]}}],null,!1,2184997884)}):t._e(),t.clientTypeFlag?o(\"el-table-column\",{attrs:{prop:\"customerRange\",label:\"客户类型\",\"min-width\":\"100\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(5===e.row.customerRange?\"全部客户\":\"部分客户\")+\" \")]}}],null,!1,40806277)}):t._e(),t.scopeFlag?o(\"el-table-column\",{attrs:{prop:\"categoryName\",label:\"活动商品\",\"min-width\":\"80\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[o(\"span\",{staticClass:\"click-div\",on:{click:function(o){return t.LookGoods(e.row.id)}}},[t._v(\"查看\")])]}}],null,!1,2951584226)}):t._e(),t.activityTimeFlag?o(\"el-table-column\",{attrs:{prop:\"startTime\",label:\"活动时间\",\"min-width\":\"200\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(t.$_common.formatDate(e.row.startTime,\"yyyy-MM-dd\"))+\"至\"+t._s(t.$_common.formatDate(e.row.endTime,\"yyyy-MM-dd\"))+\" \")]}}],null,!1,2216393580)}):t._e(),t.standUpAndDownFlag?o(\"el-table-column\",{attrs:{prop:\"enableStatus\",label:\"活动状态\",\"min-width\":\"100\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t.$accessCheck(t.$Access.ActivityGoodsUpdateEnableStatus)?o(\"el-switch\",{staticClass:\"switchStyle\",attrs:{\"active-color\":\"#36B365\",\"active-value\":5,\"inactive-value\":4,\"active-text\":\"上架\",\"inactive-text\":\"下架\"},on:{change:function(o){return t.activityStatus(o,e.row)}},model:{value:e.row.enableStatus,callback:function(o){t.$set(e.row,\"enableStatus\",o)},expression:\"scope.row.enableStatus\"}}):o(\"div\",[5===e.row.enableStatus?o(\"span\",{staticClass:\"success-status\"},[t._v(\" 上架 \")]):o(\"span\",{staticClass:\"info-status\"},[t._v(\"下架\")])])]}}],null,!1,3441624714)}):t._e(),t.internalCommunicationFlag?o(\"el-table-column\",{attrs:{prop:\"remark\",label:\"内部沟通\",\"min-width\":\"100\",\"show-overflow-tooltip\":\"\"}}):t._e(),o(\"el-table-column\",{attrs:{fixed:\"right\",width:\"240\"},scopedSlots:t._u([{key:\"header\",fn:function(e){return[t._e(),o(\"span\",[t._v(\"操作\")]),o(\"el-popover\",{attrs:{\"popper-class\":\"custom-table-checkbox\",trigger:\"click\"}},[o(\"el-checkbox-group\",{model:{value:t.checkList,callback:function(e){t.checkList=e},expression:\"checkList\"}},t._l(t.columns,(function(e,a){return o(\"el-checkbox\",{key:a,attrs:{label:e.label},on:{change:t.change}})})),1),o(\"el-button\",{attrs:{slot:\"reference\",icon:\"el-icon-setting\",type:\"text\"},slot:\"reference\"})],1)]}},{key:\"default\",fn:function(e){return[t.$accessCheck(t.$Access.ActivityGoodsUpdateAuditStatus)?o(\"el-button\",{attrs:{disabled:2===parseInt(e.row.auditStatus),type:\"text\"},on:{click:function(o){return t.updateEnableStatus(e.row.id)}}},[t._v(\" 审核 \")]):t._e(),t.$accessCheck(t.$Access.ActivityGoodsEdit)?o(\"el-button\",{attrs:{type:\"text\"},on:{click:function(o){return t.$router.push(\"/Marketing/Promotion/editPromotion/\"+e.row.id)}}},[t._v(\" 编辑 \")]):t._e(),t.$accessCheck(t.$Access.ActivityGoodsDel)?o(\"el-button\",{attrs:{disabled:2===parseInt(e.row.auditStatus)&&5===parseInt(e.row.enableStatus),type:\"text\"},on:{click:function(o){return t.delData(e.row.id)}}},[t._v(\" 删除 \")]):t._e()]}}])})],1),o(\"el-dialog\",{attrs:{\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,title:\"活动商品\",visible:t.isShow},on:{\"update:visible\":function(e){t.isShow=e}}},[o(\"el-table\",{attrs:{data:t.activityGoods}},[o(\"el-table-column\",{attrs:{\"show-overflow-tooltip\":\"\",prop:\"goodsName\",label:\"商品名称\",\"min-width\":\"140\"}}),o(\"el-table-column\",{attrs:{prop:\"goodsCode\",\"min-width\":\"140\",label:\"商品编码\"}}),o(\"el-table-column\",{attrs:{align:\"center\",prop:\"price\",label:\"促销价格\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[o(\"span\",{staticStyle:{color:\"#ff4040\"}},[t._v(\" \"+t._s(t.$_common.formattedNumber(e.row.price))+\" \")])]}}])}),o(\"el-table-column\",{attrs:{\"min-width\":\"140\",prop:\"unitName\",label:\"规格\"}}),o(\"el-table-column\",{attrs:{\"min-width\":\"100\",prop:\"isMutex\",align:\"center\",label:\"是否互斥\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[4===e.row.isMutex?o(\"span\",{staticClass:\"info-status\"},[t._v(\"否\")]):t._e(),o(\"span\",{staticClass:\"danger-status\"},[t._v(\"是\")])]}}])}),o(\"el-table-column\",{attrs:{\"min-width\":\"100\",prop:\"surplusNum\",label:\"活动剩余数\"}}),o(\"el-table-column\",{attrs:{\"min-width\":\"100\",prop:\"limitNum\",label:\"限购数量\"}})],1)],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}})],1)},n=[],r=o(\"55bb\"),d=o(\"c371\"),u=(o(\"c40e\"),{name:\"PromotionList\",components:{SelectShop:r[\"default\"]},data(){return{activity_list:[],isShow:!1,pageSize:10,page:1,total:0,activityGoods:[],activeList:[{value:4,label:\"下架\"},{value:5,label:\"上架\"}],ActivityStatus:[{value:4,label:\"已结束\"},{value:5,label:\"未结束\"}],status_list:[{label:\"商品特价\",value:10},{label:\"商品秒杀\",value:20}],search_form:{title:\"\",activityType:\"\",enableStatus:\"\",start:\"\",end:\"\",useShop:\"\",isEnd:\"\"},topData:{},checkList:[\"促销类型\",\"创建时间\",\"商铺名称\",\"客户类型\",\"商品范围\",\"活动时间\",\"上架/下架\",\"内部沟通\"],columns:[{label:\"促销类型\"},{label:\"创建时间\"},{label:\"商铺名称\"},{label:\"客户类型\"},{label:\"商品范围\"},{label:\"活动时间\"},{label:\"上架/下架\"},{label:\"内部沟通\"}],promotionTypeFlag:!0,creationTimeFlag:!0,commodityFlag:!0,clientTypeFlag:!0,scopeFlag:!0,activityTimeFlag:!0,standUpAndDownFlag:!0,internalCommunicationFlag:!0}},created(){this.getData()},activated(){this.$_isInit()||this.getData()},methods:{async activityStatus(t,e){try{await Object(d[\"activityStatus\"])({id:e.id,enableStatus:t,activityType:e.activityType});this.$message({type:\"success\",message:\"操作成功!\"})}catch(o){this.getData()}},delType(t){\"isEnd\"===t?(this.search_form.isEnd=\"\",this.pageChange(1)):(this.search_form.activityType=\"\",this.pageChange(1))},updateEnableStatus(t){this.$confirm(\"确定审核此商品促销吗?\",\"提示\",{confirmButtonText:\"确定\",cancelButtonText:\"取消\",type:\"warning\"}).then(async()=>{await Object(d[\"updateActivityStatus\"])({id:t,auditStatus:2});this.$message({type:\"success\",message:\"审核成功!\"}),this.getAllActivity()})},async LookGoods(t){this.isShow=!0;const{data:e}=await Object(d[\"getInfoActivity\"])(t);this.activityGoods=e.activityGoods},delData(t){this.$confirm(\"确定删除此商品促销吗?\",\"提示\",{confirmButtonText:\"确定\",cancelButtonText:\"取消\",type:\"warning\"}).then(async()=>{await Object(d[\"delActivity\"])(t);this.$message({type:\"success\",message:\"删除成功!\"}),this.getAllActivity()})},async getAllActivity(){const{data:t,pageTotal:e}=await Object(d[\"getAllActivity\"])({page:this.page,pageSize:this.pageSize});this.activity_list=t,this.total=e},async searchActivity(){const{data:t,pageTotal:e}=await Object(d[\"searchActivity\"])({page:this.page,pageSize:this.pageSize,title:this.search_form.title,activityType:this.search_form.activityType,enableStatus:this.search_form.enableStatus,start:this.search_form.start,end:this.search_form.end,useShop:this.search_form.useShop,isEnd:this.search_form.isEnd});this.activity_list=t,this.total=e},getData(){const t=this.$_common.isSerch(this.search_form);t?this.searchActivity():this.getAllActivity()},clearShop(){this.search_form.useShop=\"\",this.pageChange(1)},selShop(t,e){this.pageChange(1)},LocationFrom(t){t&&t.length?(this.search_form.start=t[0]/1e3,this.search_form.end=t[1]/1e3+86399):(this.search_form.start=\"\",this.search_form.end=\"\"),this.pageChange(1)},pageChange(t){this.page=t,this.getData()},sizeChange(t){this.pageSize=t,this.pageChange(1)},change(){this.promotionTypeFlag=this.checkList.some(t=>\"促销类型\"===t),this.creationTimeFlag=this.checkList.some(t=>\"创建时间\"===t),this.commodityFlag=this.checkList.some(t=>\"商铺名称\"===t),this.clientTypeFlag=this.checkList.some(t=>\"客户类型\"===t),this.scopeFlag=this.checkList.some(t=>\"商品范围\"===t),this.activityTimeFlag=this.checkList.some(t=>\"活动时间\"===t),this.standUpAndDownFlag=this.checkList.some(t=>\"上架/下架\"===t),this.internalCommunicationFlag=this.checkList.some(t=>\"内部沟通\"===t)}}}),s=u,i=(o(\"d1e0\"),o(\"2877\")),l=Object(i[\"a\"])(s,a,n,!1,null,\"7994e0d2\",null);e[\"default\"]=l.exports},c371:function(t,e,o){\"use strict\";o.r(e),o.d(e,\"searchMarket\",(function(){return n})),o.d(e,\"addMarket\",(function(){return r})),o.d(e,\"getInfo\",(function(){return d})),o.d(e,\"editMarket\",(function(){return u})),o.d(e,\"updateAuditStatusMarket\",(function(){return s})),o.d(e,\"CouponUpdateEnableStatus\",(function(){return i})),o.d(e,\"delMarket\",(function(){return l})),o.d(e,\"getAll\",(function(){return c})),o.d(e,\"getUserCoupon\",(function(){return f})),o.d(e,\"activityStatus\",(function(){return p})),o.d(e,\"searchActivity\",(function(){return h})),o.d(e,\"addActivity\",(function(){return g})),o.d(e,\"getInfoActivity\",(function(){return m})),o.d(e,\"editActivity\",(function(){return b})),o.d(e,\"updateActivityStatus\",(function(){return G})),o.d(e,\"delActivity\",(function(){return y})),o.d(e,\"getAllActivity\",(function(){return S})),o.d(e,\"getTempVipData\",(function(){return v})),o.d(e,\"addVipCard\",(function(){return k})),o.d(e,\"getVipCardInfo\",(function(){return O})),o.d(e,\"editVipCard\",(function(){return j})),o.d(e,\"delVipCard\",(function(){return C})),o.d(e,\"updateVipCardStatus\",(function(){return _})),o.d(e,\"getAllVipCard\",(function(){return A})),o.d(e,\"receiveRecord\",(function(){return B})),o.d(e,\"invalidVipCard\",(function(){return M})),o.d(e,\"getAllComBinPackage\",(function(){return w})),o.d(e,\"enableComBinPackage\",(function(){return T})),o.d(e,\"addComBinPackage\",(function(){return I})),o.d(e,\"editComBinPackage\",(function(){return x})),o.d(e,\"getComBinPackage\",(function(){return $}));var a=o(\"b775\");function n(t){return Object(a[\"default\"])({url:\"/Market/Coupon/search\",method:\"post\",data:t})}function r(t){return Object(a[\"default\"])({url:\"/Market/Coupon/add\",method:\"post\",data:t})}function d(t,e){return Object(a[\"default\"])({url:\"/Market/Coupon/getInfo/\"+t,method:\"post\",data:e})}function u(t,e){return Object(a[\"default\"])({url:\"/Market/Coupon/edit/\"+t,method:\"post\",data:e})}function s(t){return Object(a[\"default\"])({url:\"/Market/Coupon/updateAuditStatus\",method:\"put\",data:t})}function i(t){return Object(a[\"default\"])({url:\"/Market/Coupon/updateEnableStatus\",method:\"put\",data:t})}function l(t,e){return Object(a[\"default\"])({url:\"/Market/Coupon/del/\"+t,method:\"delete\",data:e})}function c(t){return Object(a[\"default\"])({url:\"/Market/Coupon/getAll\",method:\"post\",data:t})}function f(t){return Object(a[\"default\"])({url:\"/Market/UserCoupon/getAll\",method:\"post\",data:t})}function p(t){return Object(a[\"default\"])({url:\"/Market/Activity/updateEnableStatus\",method:\"put\",data:t})}function h(t){return Object(a[\"default\"])({url:\"/Market/Activity/getAll\",method:\"post\",data:t})}function g(t){return Object(a[\"default\"])({url:\"/Market/Activity/add\",method:\"post\",data:t})}function m(t,e){return Object(a[\"default\"])({url:\"/Market/Activity/getInfo/\"+t,method:\"get\",data:e})}function b(t,e){return Object(a[\"default\"])({url:\"/Market/Activity/edit/\"+t,method:\"put\",data:e})}function G(t){return Object(a[\"default\"])({url:\"/Market/Activity/updateAuditStatus\",method:\"put\",data:t})}function y(t,e){return Object(a[\"default\"])({url:\"/Market/Activity/del/\"+t,method:\"delete\",data:e})}function S(t){return Object(a[\"default\"])({url:\"/Market/Activity/getAll\",method:\"post\",data:t})}function v(t){return Object(a[\"default\"])({url:\"/Market/VipCard/getTempData\",method:\"get\",data:t})}function k(t){return Object(a[\"default\"])({url:\"/Market/VipCard/addVipCard\",method:\"post\",data:t})}function O(t,e){return Object(a[\"default\"])({url:\"/Market/VipCard/getVipCardInfo/\"+t,method:\"get\",data:e})}function j(t,e){return Object(a[\"default\"])({url:\"/Market/VipCard/editVipCard/\"+t,method:\"post\",data:e})}function C(t,e){return Object(a[\"default\"])({url:\"/Market/VipCard/delVipCard/\"+t,method:\"delete\",data:e})}function _(t){return Object(a[\"default\"])({url:\"/Market/VipCard/updateVipCardStatus\",method:\"post\",data:t})}function A(t){return Object(a[\"default\"])({url:\"/Market/VipCard/getAllVipCard\",method:\"post\",data:t})}function B(t){return Object(a[\"default\"])({url:\"/Market/VipCard/receiveRecord\",method:\"post\",data:t})}function M(t){return Object(a[\"default\"])({url:\"/Market/VipCard/invalidVipCard\",method:\"post\",data:t})}function w(t){return Object(a[\"default\"])({url:\"/Market/ComBinPackage/getAll\",method:\"post\",data:t})}function T(t,e){return Object(a[\"default\"])({url:\"/Market/ComBinPackage/enable/\"+t,method:\"put\",data:e})}function I(t){return Object(a[\"default\"])({url:\"Market/ComBinPackage/add\",method:\"post\",data:t})}function x(t,e){return Object(a[\"default\"])({url:\"Market/ComBinPackage/edit/\"+t,method:\"put\",data:e})}function $(t,e){return Object(a[\"default\"])({url:\"Market/ComBinPackage/get/\"+t,method:\"post\",data:e})}},c40e:function(t,e,o){\"use strict\";o.r(e),o.d(e,\"getAllGoodsBasicBySku\",(function(){return n})),o.d(e,\"goodsImport\",(function(){return r})),o.d(e,\"goodsQuickImport\",(function(){return d})),o.d(e,\"searchBasic\",(function(){return u})),o.d(e,\"exportSearchBasic\",(function(){return s})),o.d(e,\"defineSpec\",(function(){return i})),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 h})),o.d(e,\"exportGetAllGoodsBasic\",(function(){return g})),o.d(e,\"getGoodsBasicInfoById\",(function(){return m})),o.d(e,\"getGoodsByCategory\",(function(){return b})),o.d(e,\"updateEnableStatus\",(function(){return G})),o.d(e,\"delGoodsBasic\",(function(){return y})),o.d(e,\"editGoodsBasic\",(function(){return S})),o.d(e,\"getGoodsBasicOfShopId\",(function(){return v})),o.d(e,\"updateCategory\",(function(){return k})),o.d(e,\"BatchUnloading\",(function(){return O})),o.d(e,\"setTop\",(function(){return j})),o.d(e,\"setSalesNumBatch\",(function(){return C})),o.d(e,\"setSalesNum\",(function(){return _})),o.d(e,\"getAllUnit\",(function(){return A})),o.d(e,\"addUnit\",(function(){return B})),o.d(e,\"editUnit\",(function(){return M})),o.d(e,\"updateEnablesStatus\",(function(){return w})),o.d(e,\"delUnit\",(function(){return T})),o.d(e,\"SpecManageAdd\",(function(){return I})),o.d(e,\"SpecManageedit\",(function(){return x})),o.d(e,\"SpecManagedel\",(function(){return $})),o.d(e,\"SpecManageinfo\",(function(){return E})),o.d(e,\"SpecManagegetAll\",(function(){return L})),o.d(e,\"getAllGoodsBySku\",(function(){return F})),o.d(e,\"searchGood\",(function(){return P})),o.d(e,\"exportSearchGood\",(function(){return V})),o.d(e,\"addGoods\",(function(){return D})),o.d(e,\"getGoodsInfo\",(function(){return U})),o.d(e,\"delGoods\",(function(){return z})),o.d(e,\"editGoods\",(function(){return N})),o.d(e,\"getAllGoods\",(function(){return Q})),o.d(e,\"getAllGoodsList\",(function(){return R})),o.d(e,\"exportGetAllGoodsList\",(function(){return J})),o.d(e,\"exportGetAllGoods\",(function(){return q})),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 rt})),o.d(e,\"setNoSalesShop\",(function(){return dt})),o.d(e,\"addCategory\",(function(){return ut})),o.d(e,\"updateCategoryStatus\",(function(){return st})),o.d(e,\"getCategoryInfoById\",(function(){return it})),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 ht})),o.d(e,\"getRelMap\",(function(){return gt})),o.d(e,\"getPriceTrend\",(function(){return mt})),o.d(e,\"batchSetDistribution\",(function(){return bt})),o.d(e,\"addGoodsSupport\",(function(){return Gt})),o.d(e,\"editGoodsSupport\",(function(){return yt})),o.d(e,\"delGoodsSupport\",(function(){return St})),o.d(e,\"getAllGoodsSupport\",(function(){return vt})),o.d(e,\"getGoodsSupportInfo\",(function(){return kt})),o.d(e,\"getAllGoodsGroups\",(function(){return Ot})),o.d(e,\"addGoodsGroups\",(function(){return jt})),o.d(e,\"enableGoodsGroups\",(function(){return Ct})),o.d(e,\"updateGoodsGroups\",(function(){return _t})),o.d(e,\"getReservoirInfo\",(function(){return At})),o.d(e,\"deleteGoodsGroups\",(function(){return Bt})),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 r(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 u(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/search\",method:\"post\",data:t})}function s(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/search\",method:\"post\",responseType:\"blob\",data:t})}function i(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 h(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 m(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 y(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/delGoodsBasic/\"+t,method:\"delete\",data:e})}function S(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/editGoodsBasic/\"+t,method:\"put\",data:e})}function v(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/getGoodsBasicOfShopId\",method:\"post\",data:t})}function k(t){return Object(a[\"default\"])({url:\"/GoodsManage/GoodsBasic/updateCategory\",method:\"post\",data:t})}function O(t){return Object(a[\"default\"])({url:\"/Goods/Goods/updateEnableStatus\",method:\"post\",data:t})}function j(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 _(t){return Object(a[\"default\"])({url:\"/Goods/Goods/setSalesNum\",method:\"post\",data:t})}function A(t){return Object(a[\"default\"])({url:\"/GoodsManage/Units/getAll\",method:\"post\",data:t})}function B(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 w(t){return Object(a[\"default\"])({url:\"/GoodsManage/Units/updateEnablesStatus\",method:\"put\",data:t})}function T(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/Units/del/\"+t,method:\"delete\",data:e})}function I(t){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/add\",method:\"post\",data:t})}function x(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/edit/\"+t,method:\"post\",data:e})}function $(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/del/\"+t,method:\"delete\",data:e})}function E(t,e){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/info/\"+t,method:\"get\",data:e})}function L(t){return Object(a[\"default\"])({url:\"/GoodsManage/SpecManage/getAll\",method:\"post\",data:t})}function F(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoodsBySku\",method:\"post\",data:t})}function P(t){return Object(a[\"default\"])({url:\"/Goods/Goods/search\",method:\"post\",data:t})}function V(t){return Object(a[\"default\"])({url:\"/Goods/Goods/search\",responseType:\"blob\",method:\"post\",data:t})}function D(t){return Object(a[\"default\"])({url:\"/Goods/Goods/addGoods\",method:\"post\",data:t})}function U(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/getGoodsInfo/\"+t,method:\"post\",data:e})}function z(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/delGoods/\"+t,method:\"get\",data:e})}function N(t,e){return Object(a[\"default\"])({url:\"/Goods/Goods/editGoods/\"+t,method:\"put\",data:e})}function Q(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoods\",method:\"post\",data:t})}function R(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoodsList\",method:\"post\",data:t})}function J(t){return Object(a[\"default\"])({url:\"/Goods/Goods/getAllGoodsList\",method:\"post\",responseType:\"blob\",data:t})}function q(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 rt(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 ut(t){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/addCategory\",method:\"post\",data:t})}function st(t,e){return Object(a[\"default\"])({url:\"/GoodsCategory/GoodsCategory/updateCategoryStatus/\"+t,method:\"put\",data:e})}function it(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 ht(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 mt(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 yt(t){return Object(a[\"default\"])({url:\"/Goods/GoodsSupport/editGoodsSupport\",method:\"post\",data:t})}function St(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsSupport/delGoodsSupport/\"+t,method:\"post\",data:e})}function vt(t){return Object(a[\"default\"])({url:\"Goods/GoodsSupport/getAllGoodsSupport\",method:\"post\",data:t})}function kt(t,e){return Object(a[\"default\"])({url:\"/Goods/GoodsSupport/getGoodsSupportInfo/\"+t,method:\"post\",data:e})}function Ot(t){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/getAllGoodsGroups\",method:\"post\",data:t})}function jt(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 _t(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/updateGoodsGroups/\"+t,method:\"post\",data:e})}function At(t,e){return Object(a[\"default\"])({url:\"Goods/GoodsGroups/getReservoirInfo/\"+t,method:\"post\",data:e})}function Bt(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})}},ce2a:function(t,e,o){},d1e0:function(t,e,o){\"use strict\";o(\"ce2a\")}}]);","extractedComments":[]}