erp/public/dist/js/658.17e6ff16.js

2 lines
23 KiB
JavaScript
Vendored
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";(self["webpackChunkerp"]=self["webpackChunkerp"]||[]).push([[658],{8658:function(t,e,o){o.r(e),o.d(e,{default:function(){return _}});var s=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"cardBox"},[e("div",{staticClass:"searchBox"},[e("div",{staticClass:"row"},[e("span",[t._v("商品名称:")]),e("el-input",{attrs:{placeholder:"商品名称",clearable:""},model:{value:t.form.goods_title,callback:function(e){t.$set(t.form,"goods_title",e)},expression:"form.goods_title"}})],1),e("div",{staticClass:"row"},[e("span",[t._v("商品种类:")]),e("treeselect",{staticStyle:{width:"220px"},attrs:{options:t.treeList,placeholder:"请选择分类"},model:{value:t.form.type_id,callback:function(e){t.$set(t.form,"type_id",e)},expression:"form.type_id"}})],1),e("div",{staticClass:"row"},[e("span",[t._v("商品编码:")]),e("el-input",{attrs:{placeholder:"商品编码",clearable:""},model:{value:t.form.external_sku_id,callback:function(e){t.$set(t.form,"external_sku_id",e)},expression:"form.external_sku_id"}})],1),e("div",{staticClass:"row"},[e("span",[t._v("商品状态:")]),e("el-select",{attrs:{placeholder:"商品状态",clearable:""},model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.options,(function(t){return e("el-option",{key:t.id,attrs:{label:t.label,value:t.id}})})),1)],1),e("div",{staticClass:"row"},[e("el-select",{staticStyle:{width:"80px","margin-right":"5px"},model:{value:t.form.keyword_type,callback:function(e){t.$set(t.form,"keyword_type",e)},expression:"form.keyword_type"}},t._l(t.options3,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),e("el-date-picker",{staticStyle:{width:"300px"},attrs:{type:"datetimerange","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"yyyy-MM-dd HH:mm:ss"},on:{change:t.getSTime},model:{value:t.datePicker,callback:function(e){t.datePicker=e},expression:"datePicker"}})],1),e("div",{staticClass:"row"},[e("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(e){return t.handleChoose(1)}}},[t._v("筛选")]),e("el-button",{attrs:{plain:"",icon:"el-icon-refresh"},on:{click:t.handleReChoose}},[t._v("重置筛选")])],1)])]),e("el-card",[e("div",[e("div",[e("span",[t._v("全部商品(共"+t._s(t.total)+"条)")]),e("span",[t._v(" 玫瑰合计: "+t._s(t.rose_num)+"")]),e("span",[t._v(" 其它合计: "+t._s(t.other_num))]),e("div",{staticClass:"btn"},[e("el-button",{attrs:{icon:"el-icon-refresh"},on:{click:t.resetOrderCount}},[t._v("订单重置")]),e("el-button",{attrs:{type:"primary",icon:"el-icon-plus"},on:{click:t.addNewgoods}},[t._v("新增商品")]),e("el-button",{attrs:{type:"primary",plain:"",icon:"el-icon-upload2"},on:{click:t.handleImport}},[t._v("导入商品")]),e("el-button",{attrs:{type:"warning",icon:"el-icon-download"},on:{click:t.handleExport}},[t._v("表格导出")])],1)]),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"multipleTable",staticClass:"table",staticStyle:{width:"100%"},attrs:{border:"",data:t.tableData,"tooltip-effect":"dark","max-height":"1500"},on:{"selection-change":t.handleSelectionChange}},[e("el-table-column",{attrs:{type:"selection",align:"center"}}),e("el-table-column",{attrs:{label:"商品信息",width:"300"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",{staticClass:"goodBox flex"},[o.row.goods&&o.row.goods.img_url?e("img",{staticClass:"Img",attrs:{src:o.row.goods.img_url}}):t._e(),e("div",[e("div",{staticClass:"tit"},[t._v(t._s(o.row.name))]),e("p",[t._v(t._s(o.row.external_sku_id))]),e("p",[t._v(t._s(o.row.goods&&o.row.goods.updated_at))])])])]}}])}),e("el-table-column",{attrs:{label:"品类"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",[t._v(t._s(o.row.goods&&o.row.goods.type&&o.row.goods.type.name||""))])]}}])}),e("el-table-column",{attrs:{label:"规格",prop:"title"}}),e("el-table-column",{attrs:{prop:"cost",sortable:"",label:"成本"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",{staticClass:"flex"},[t.isShow?e("div",[e("el-input",{model:{value:o.row.cost,callback:function(e){t.$set(o.row,"cost",e)},expression:"scope.row.cost"}})],1):e("span",[t._v(t._s(o.row.cost||0))])])]}}])}),e("el-table-column",{attrs:{prop:"goal_rate",sortable:"",label:"目标去化率"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",{staticClass:"flex"},[o.row.id===t.editGoalId?e("div",[e("el-input",{attrs:{autofocus:""},on:{blur:t.blurGoal,change:function(e){return t.changeGoal(o.row)}},model:{value:o.row.goal_rate,callback:function(e){t.$set(o.row,"goal_rate",e)},expression:"scope.row.goal_rate"}})],1):e("span",[t._v(t._s(o.row.goal_rate))]),e("i",{staticClass:"el-icon-edit",staticStyle:{"padding-left":"5px"},on:{click:function(e){return t.onGoal(o.row)}}})])]}}])}),e("el-table-column",{attrs:{sortable:"",label:"销量"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("span",[t._v(t._s(o.row.order_goods_num))]),0!==o.row.order_detail.length?e("el-popover",{attrs:{placement:"right-start",trigger:"hover"}},[e("div",t._l(o.row.order_detail,(function(o,s){return e("span",{key:s},[e("div",[t._v(t._s(o.shop.name)+":"+t._s(o.number))])])})),0),e("i",{staticClass:"el-icon-view",staticStyle:{"padding-left":"5px"},attrs:{slot:"reference"},slot:"reference"})]):t._e()]}}])}),e("el-table-column",{attrs:{prop:"stock",sortable:"",label:"库存"}}),e("el-table-column",{attrs:{prop:"sale_stock",label:"在售库存"}}),e("el-table-column",{attrs:{prop:"status",label:"状态"}}),e("el-table-column",{attrs:{label:"操作",align:"center",width:"120"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",{staticStyle:{"text-align":"center",width:"100%"}},[e("el-button",{attrs:{type:"text"},on:{click:function(e){return t.handleEdit(o.row.id)}}},[t._v("编辑")]),e("el-button",{attrs:{type:"text"},on:{click:function(e){return t.goodslog(o.row)}}},[t._v("记录")])],1)]}}])})],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isShow||t.stock,expression:"isShow || stock"}],staticClass:"footerBtn"},[e("el-button",{staticClass:"confirmbtn",attrs:{type:"primary"},on:{click:function(e){return t.cancel()}}},[t._v("取消")]),e("el-button",{staticClass:"confirmbtn",attrs:{type:"primary"},on:{click:function(e){return t.onSubmit()}}},[t._v("保存")])],1),e("div",{staticClass:"page"},[e("el-pagination",{attrs:{"current-page":t.current_page,"page-sizes":[100,150,200],"page-size":t.per_page,layout:"total, sizes, prev, pager, next, jumper",total:t.Paginationdata.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)]),e("el-dialog",{attrs:{title:"库存修改",visible:t.ejectstock1,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.ejectstock1=e}}},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.ommodityInventory,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[e("el-table-column",{attrs:{prop:"two_days_ago_num",label:"2天前库存"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",[e("el-input",{attrs:{disabled:!0},model:{value:o.row.two_days_ago_num,callback:function(e){t.$set(o.row,"two_days_ago_num",e)},expression:"scope.row.two_days_ago_num"}}),e("el-input",{model:{value:o.row.two_days_ago_num,callback:function(e){t.$set(o.row,"two_days_ago_num",e)},expression:"scope.row.two_days_ago_num"}})],1)]}}])}),e("el-table-column",{attrs:{prop:"yesterday_num",label:"1天前库存"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",[e("el-input",{attrs:{disabled:!0},model:{value:o.row.yesterday_num,callback:function(e){t.$set(o.row,"yesterday_num",e)},expression:"scope.row.yesterday_num"}}),e("el-input",{model:{value:o.row.yesterday_num,callback:function(e){t.$set(o.row,"yesterday_num",e)},expression:"scope.row.yesterday_num"}})],1)]}}])}),e("el-table-column",{attrs:{sortable:"",label:"今日到货"},scopedSlots:t._u([{key:"default",fn:function(o){return[e("div",[e("el-input",{attrs:{disabled:!0},model:{value:o.row.daily.arrived_today_num,callback:function(e){t.$set(o.row.daily,"arrived_today_num",e)},expression:"scope.row.daily.arrived_today_num"}}),e("el-input",{model:{value:o.row.daily.arrived_today_num,callback:function(e){t.$set(o.row.daily,"arrived_today_num",e)},expression:"scope.row.daily.arrived_today_num"}})],1)]}}])})],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){return t.cancelStock()}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.oldStock()}}},[t._v("确 定")])],1)],1),e("el-dialog",{attrs:{title:"提示",visible:t.dialogVisible3,width:"20%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible3=e}}},[e("span",[t._v("确定要修改售价吗?")]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.dialogVisible3=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.referencePriceRequest()}}},[t._v("确 定")])],1)]),e("el-dialog",{attrs:{title:"提示",visible:t.dialogVisible4,width:"20%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible4=e}}},[e("span",[t._v("确定要修改预留量吗?")]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.reserveCancel}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.reserveRequest()}}},[t._v("确 定")])],1)]),e("el-dialog",{attrs:{title:"提示",visible:t.dialogVisible5,width:"20%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible5=e}}},[e("span",[t._v("确定要修改目标去化率吗?")]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.cancelGoal}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.confirmGoal()}}},[t._v("确 定")])],1)]),e("el-dialog",{attrs:{title:"表格导出",visible:t.Tableexport,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.Tableexport=e}}},[e("div",[e("span",[t._v("选择:")]),[e("el-select",{attrs:{placeholder:"盘点表/成本表/周数据"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options2,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)]],2),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.Tableexport=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.derivation()}}},[t._v("确 定")])],1)]),e("el-dialog",{ref:"drawer",attrs:{title:"导入商品",visible:t.docImportDrawer,direction:"rtl","custom-class":"demo-drawer",width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.docImportDrawer=e},close:function(e){t.importForm.imFileList=[]}}},[e("div",{staticClass:"demo-drawer__content"},[e("el-form",{ref:"importForm",attrs:{model:t.importForm,rules:t.improtRules}},[e("el-form-item",{attrs:{label:"上传文件","label-width":"100px",prop:"fileList"}},[e("el-upload",{staticClass:"uploader",attrs:{action:"",limit:1,accept:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel","file-list":t.importForm.fileList,"auto-upload":!1,"on-change":t.importFileChange}},[e("i",{staticClass:"el-icon-plus"})])],1)],1),e("div",{staticClass:"demo-drawer__footer btn-style"},[e("el-button",{on:{click:function(e){t.docImportDrawer=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.saveUpload}},[t._v("上 传")])],1)],1),e("div",{staticClass:"import-right"},[e("el-button",{staticClass:"button-query",attrs:{size:"medium"}},[e("a",{attrs:{href:"http://erp.chutang66.com/goods/import/template"}},[t._v("下载模板")])])],1)])],1)},a=[],i=(o(560),o(9669)),r=o.n(i),l=o(2346),n=o(9036),d=o(9998),c=o(4301),u=o.n(c),p={components:{Treeselect:u()},data(){return{editPriceId:"",editGoalId:"",editReserveId:"",editLossId:"",total:0,rose_num:0,other_num:0,radio:"",brand:[],treeList:[],loading:!0,tableData:[],shopsData:[],sku_code:{},options:[{id:1,label:"在售"},{id:2,label:"预警"},{id:0,label:"下架"}],options2:[{value:"inventory",label:"盘点表"},{value:"cost",label:"成本表"},{value:"week_data",label:"周数据"}],value:"",options3:[{value:"stock",label:"库存"},{value:"cost",label:"成本"},{value:"loss_num",label:"损耗"},{value:"reserve",label:"预留"}],form:{external_sku_id:"",goods_title:"",type_id:null,brand_id:"",sku_title:"",status:"",keyword_type:"stock",keyword_value:""},Paginationdata:{},current_page:1,per_page:100,multipleSelection:[],updateType:"",stock:!1,isShow:!1,ejectstock1:!1,Importgoods:!1,Tableexport:!1,isShow1:!1,importForm:{fileList:[]},docImportDrawer:!1,improtRules:{fileList:[{required:!0,message:"请导入Excel文件",trigger:"change"},{validator:(t,e,o)=>{e.length?o():o(new Error("请导入Excel文件"))},trigger:"change"}]},publicPath:"",excelTemplatePath:"",visible:!1,updateField:"",reserveShow:!1,datePicker:"",ommodityInventory:[],dialogVisible:!1,dialogVisible2:!1,dialogVisible3:!1,dialogVisible4:!1,dialogVisible5:!1,publicId:"",lastVal:0,nowVal:0,loadingModule:"",noRow:{}}},methods:{getStockInfo(){(0,n.sx)().then((t=>{this.rose_num=t.data.rose_num,this.other_num=t.data.other_num}))},handleEdit(t){this.$router.push({path:"EDIT_GOODS",query:{id:t}})},getList(){let t={page:this.current_page,per_page:this.per_page};(0,n.lO)(t).then((t=>{this.tableData=t.data.data,this.tableData=this.tableData.map((t=>(t={...t,arrived_today_num11:0},t))),this.total=t.data.meta.total,this.Paginationdata=t.data.meta,this.shopsData=this.tableData.map((t=>(t=t.goods&&t.goods.goods_code+"_"+t.sku_code,t))),this.sku_code={sku_code:this.shopsData},this.loading=!1}))},handleChoose(t){this.form={...this.form,page:t,per_page:this.per_page};const e=o(this.form);function o(t){const e={};for(const o in t)0!==t[o]&&!t[o]||""===t[o].toString().replace(/(^\s*)|(\s*$)/g,"")||(e[o]=t[o]);return e}e.type_id=e.type_id||"",(0,n.lO)(e).then((t=>{this.tableData=t.data.data,this.tableData=this.tableData.map((t=>(t={...t,arrived_today_num11:0},t))),this.total=t.data.meta.total,this.Paginationdata=t.data.meta}))},handleReChoose(){this.form={external_sku_id:"",goods_title:"",type_id:null,brand_id:"",sku_title:"",status:""},this.datePicker=""},handleImport(){this.docImportDrawer=!0},handleExport(){this.Tableexport=!0},resetOrderCount(){this.$confirm("确定重置订单计数?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{(0,d.dT)().then((t=>{console.log(t),this.$message({type:"success",message:t.data.message}),this.getList()}))}))},update(){this.isShow=!0,this.stock=!1,this.updateType="newest"},handleSelectionChange(t){this.multipleSelection=t.map((t=>t.id))},addNewgoods(){this.$router.push("/ADDGOODS")},handleSizeChange(t){this.per_page=t,this.handleChoose(1)},handleCurrentChange(t){this.current_page=t,this.handleChoose(this.current_page)},cancel(){this.handleChoose(this.current_page),this.isShow=!1,this.stock=!1},onSubmit(){if("newest"===this.updateType){let t=this.tableData.map((t=>[{id:t.id,cost:t.cost,arrived_today_num:t.arrived_today_num11}])),e={updateType:this.updateType,skus:t.flat()};(0,n.Vx)(e).then((t=>{this.$message({message:"上新成功!",type:"success"})}))}if("inventory"===this.updateType){let t=this.tableData.map((t=>[{id:t.id,inventory:t.daily.inventory}])),e={updateType:this.updateType,skus:t.flat()};(0,n.Vx)(e).then((t=>{this.$message({message:"库存盘点成功!",type:"success"})}))}this.isShow=!1,this.stock=!1,this.handleChoose(this.current_page)},onCount(){this.dialogVisible2=!1,this.isShow=!1,this.stock=!0,this.updateType="inventory"},ejectstock(t){this.ommodityInventory=[],this.ejectstock1=!0,this.updateType="stock",this.ommodityInventory.push(t)},cancelStock(){this.handleChoose(this.current_page),this.ejectstock1=!1},oldStock(){if(this.ejectstock1=!1,"stock"===this.updateType){let t=[{id:this.ommodityInventory[0].id,yesterday_num:this.ommodityInventory[0].yesterday_num,two_days_ago_num:this.ommodityInventory[0].two_days_ago_num,arrived_today_num:this.ommodityInventory[0].daily.arrived_today_num}],e={updateType:this.updateType,skus:t};(0,n.Vx)(e).then((t=>{this.handleChoose(this.current_page),this.$message({message:"库存更新成功!",type:"success"})}))}},importFile(){this.docImportDrawer=!0},async importFileChange(t,e){this.importForm.fileList=e},saveUpload(){this.$refs.importForm.validate((async t=>{if(t)try{const t=new FormData;t.append("goodsSkus",this.importForm.fileList[0].raw),this.isLoadingDialog=!0;let e=localStorage.getItem("token");r().post("/api/goods_skus",t,{headers:{Authorization:`Bearer ${e}`}}).then((t=>{200===t.status&&this.$message.success("模板导入成功")})),this.docImportDrawer=!1}finally{this.isLoadingDialog=!1}}))},getExcelTemplatePath(){this.$requestInternet.get("/api/xxx").then((t=>{this.excelTemplatePath=t}))},derivation(){window.open("/goods_skus/export?exportType="+this.value)},goodslog(t){this.$router.push({path:"/GOODS_LOG",query:{id:t.id}})},deleteSku(t){},getSTime(t){this.form.keyword_value=t.join(" - ")},referencePriceClick(t){this.updateField="reference_price",this.editPriceId=t,this.editReserveId=t,this.editLossId=""},referencePriceBlur(t){this.dialogVisible3=!0,this.publicId=t.id,this.reference_price=t.reference_price},referencePriceRequest(){let t={updateField:this.updateField,reference_price:this.reference_price};(0,n.K1)(this.publicId,t).then((t=>{this.editPriceId="",this.dialogVisible3=!1,this.$message({message:"参考售价修改成功!",type:"success"})}))},onGoal(t){this.updateField="goal_rate",this.editGoalId=t.id,this.lastVal=t.goal_rate,this.editReserveId="",this.editLossId="",this.editPriceId=""},blurGoal(){this.updateField="",this.editGoalId=""},changeGoal(t){this.noRow=t,this.dialogVisible5=!0,this.publicId=t.id,this.nowVal=t.goal_rate},cancelGoal(){this.dialogVisible5=!1,this.updateField="goal_rate",this.editGoalId=this.publicId,this.noRow.goal_rate=this.lastVal},confirmGoal(){let t={updateField:"goal_rate",goal_rate:this.nowVal};(0,n.K1)(this.publicId,t).then((t=>{this.editGoalId="",this.dialogVisible5=!1,this.$message({message:"目标去化率修改成功!",type:"success"})}))},onreserve(t){this.updateField="reserve",this.editReserveId=t.id,this.lastVal=t.reserve,this.editLossId="",this.editPriceId="",this.editGoalId=""},cancelReserve(){this.updateField="",this.editReserveId=""},reservebBlur(t){this.noRow=t,this.dialogVisible4=!0,this.publicId=t.id,this.nowVal=t.reserve},reserveCancel(){this.dialogVisible4=!1,this.updateField="reserve",this.editReserveId=this.publicId,this.noRow.reserve=this.lastVal},reserveRequest(){let t={updateField:"reserve",reserve:this.nowVal};(0,n.K1)(this.publicId,t).then((t=>{this.editReserveId="",this.dialogVisible4=!1,this.$message({message:"预留量修改成功!",type:"success"})}))},loss(t){this.updateField="loss_num",this.editLossId=t,this.editPriceId="",this.editReserveId="",this.editGoalId=""},onLoss(t){let e=t.id,o={updateField:"loss_num",reason:this.radio,loss_num:t.daily.loss_num};(0,n.K1)(e,o).then((t=>{this.editLossId="",this.$message({message:"损耗添加成功!",type:"success"}),this.handleChoose()})),this.updateField="",this.editLossId=""},noBubbles(){this.updateField="",this.editLossId=""},getgoodsType(){let t={per_page:99999};(0,l.Ci)(t).then((t=>{this.treeList=JSON.parse(JSON.stringify(t.data.data).replace(/name/g,"label"))}))},getbrandType(){let t={per_page:99999};(0,l.ar)(t).then((t=>{this.brand=t.data.data}))},beforeInventory(){this.loadingModule=this.$loading({lock:!0,text:"导入中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})},inventorySuccess(t){this.$message({message:t.message,type:"success"}),this.loadingModule.close()},inventoryError(t){this.$message({message:t.errorMessage,type:"error"}),this.loadingModule.close()}},watch:{$route(t,e){window.location.reload()}},mounted(){this.getList(),this.getStockInfo(),this.getgoodsType(),this.getbrandType(),this.editPriceId="",this.editReserveId="",this.editLossId=""}},h=p,m=o(1001),g=(0,m.Z)(h,s,a,!1,null,"6962095a",null),_=g.exports},9036:function(t,e,o){o.d(e,{CD:function(){return v},JS:function(){return b},K1:function(){return c},NR:function(){return m},Rq:function(){return i},Vx:function(){return d},cM:function(){return u},e3:function(){return n},gM:function(){return f},lO:function(){return a},no:function(){return _},od:function(){return p},rQ:function(){return r},sx:function(){return g},t5:function(){return l},zl:function(){return h}});var s=o(8430);function a(t){return(0,s.Z)({url:"/api/goods_skus",method:"get",params:t})}function i(t){return(0,s.Z)({url:"/api/goods",method:"post",data:t})}function r(t){return(0,s.Z)({url:`/api/goods_skus/${t}`,method:"get"})}function l(t){return(0,s.Z)({url:"/api/goods",method:"get",params:t})}function n(t,e){return(0,s.Z)({url:`/api/goods_skus/${t}`,method:"patch",data:e})}function d(t){return(0,s.Z)({url:"/api/batch/goods_skus",method:"patch",data:t})}function c(t,e){return(0,s.Z)({url:`/api/single/goods_skus/${t}`,method:"patch",data:e})}function u(t,e){return(0,s.Z)({url:"/api/upload",Headers:e,method:"post",data:t})}function p(t){return(0,s.Z)({url:"/api/goodsList",method:"get",params:t})}function h(t){return(0,s.Z)({url:"/api/goods_sku_location",method:"get",params:t})}function m(t){return(0,s.Z)({url:"/api/goodsSkusList",method:"get",params:{title:t}})}function g(){return(0,s.Z)({url:"/api/stock/goods_skus",method:"get"})}function _(t){return(0,s.Z)({url:"/api/goods/filter/"+t,method:"get"})}function f(t){return(0,s.Z)({url:"/api/goods_combination",method:"post",data:t})}function v(t){return(0,s.Z)({url:"/api/goods_combination",method:"get",params:t})}function b(t){return(0,s.Z)({url:"/api/goods_combination/"+t,method:"get"})}},9998:function(t,e,o){o.d(e,{$i:function(){return i},OV:function(){return c},Vq:function(){return p},_d:function(){return d},dT:function(){return h},hA:function(){return a},nH:function(){return r},ow:function(){return n},rV:function(){return l},tA:function(){return u}});var s=o(8430);function a(){return(0,s.Z)({url:"/api/shop_platforms",method:"get"})}function i(t){return(0,s.Z)({url:"/api/shops",method:"post",data:t})}function r(t){return(0,s.Z)({url:"/api/shops",method:"get",params:t})}function l(t){return(0,s.Z)({url:`/api/download/${t}/goods`,method:"get"})}function n(t,e){return(0,s.Z)({url:`/api/shops/${t}`,method:"patch",params:e})}function d(t){return(0,s.Z)({url:"/api/sync/shop/stock",method:"put",params:t})}function c(){return(0,s.Z)({url:"/api/shop/ship",method:"get"})}function u(t,e){return(0,s.Z)({url:"/api/shop/ship/senders",method:"get",params:{shop_id:t,shop_ship_id:e}})}function p(t){return(0,s.Z)({url:"/api/shop/ship/senders",method:"post",params:t})}function h(t){return(0,s.Z)({url:"/api/order/reset",method:"get"})}}}]);
//# sourceMappingURL=658.17e6ff16.js.map