提交 7fa2998e authored 作者: yyf's avatar yyf

云仓3.1.4提测

上级 79520a87
差异被折叠。
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0382b59d"],{"280e":function(t,e,n){},"3d17":function(t,e,n){"use strict";n.d(e,"j",(function(){return a})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"i",(function(){return i})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f})),n.d(e,"h",(function(){return m}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/goods/uploadVideo",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/local/getCategoryList",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/freightNew/getFreight",method:"get",params:t})}function u(t){return Object(r["a"])({url:"/system/goodsNew/addGoods",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/system/goodsNew/info",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/system/goodsNew/goodsEdit",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/goodsNew/batchUploadImage",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/local/serviceFee/getByCategory",method:"get",params:t})}function m(t){return Object(r["a"])({url:"/system/goodsNew/synthesisList",method:"post",data:t})}},"5a97":function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"i",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return l})),n.d(e,"h",(function(){return d})),n.d(e,"d",(function(){return f}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/goodsNew/list",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/system/goodsNew/shelvesStatus",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/goodsNew/goodsStatus",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/system/goodsNew/info",method:"get",params:t})}function c(t){return Object(r["a"])({url:"/system/goodsNew/collect",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/system/goodsNew/cancelOnsale",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/goodsNew/cancelOnsaleAll",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/goodsNew/onsaleUpdate",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/system/goodsNew/excel",method:"post",data:t})}},"61da":function(t,e,n){"use strict";n("280e")},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return a})),n.d(e,"i",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"l",(function(){return i})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return f})),n.d(e,"e",(function(){return m})),n.d(e,"h",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"k",(function(){return g}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/index/getInfo",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/local/getOrganization",method:"get",params:t})}function s(t){return Object(r["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/local/shopbrand",method:"get",params:t})}function c(t){return Object(r["a"])({url:"/local/brands",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(r["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function m(t){return Object(r["a"])({url:"/local/cate",method:"get",params:t})}function h(t){return Object(r["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function p(t){return Object(r["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(r["a"])({url:"/local/qualification/list",method:"get",params:t})}},e3b2:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t._v("导入商品")]),t._v(" "),n("h3",{staticClass:"cton_h3"},[t._v("剩余次数:"+t._s(t.collect_num)+" / 1000次")]),t._v(" "),n("div",{staticClass:"cton_text"},[n("p",[t._v("功能介绍:")]),t._v(" "),n("p",[t._v("\n 商品导入是为了商家快速、方便地将其它平台上已有的商品,一键导入到您的云仓平台,不再用手动输入编写商品信息\n ")]),t._v(" "),n("p",[t._v("使用方法:")]),t._v(" "),n("p",[t._v("\n 复制其它电商平台的商品链接,粘贴至商品链接输入框内,为该商品选择对应的商品分类,选择完成后点击立即获取按钮即可\n ")]),t._v(" "),n("p",[t._v("示例:")]),t._v(" "),n("p",[t._v("京东商品链接如:https://item.jd.com/10684560542.html")]),t._v(" "),n("p",[t._v("温馨提示:")]),t._v(" "),n("p",[t._v("商品在获取过程中,请不要进行其它操作")]),t._v(" "),n("p",[t._v("\n 商品抓取后,默认放入到下架商品中,请手动修改商品相关信息,再提交申请上架\n ")]),t._v(" "),n("p",[t._v("请确保不要将多个平台的商品链接混合输入")]),t._v(" "),n("p",[t._v("每个用户默认拥有1000次商品导入的机会,请慎重使用")]),t._v(" "),n("p",[t._v("支持平台:")]),t._v(" "),n("p",[t._v("京东、天猫、淘宝 ")])]),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"180px"}},[n("el-form-item",{attrs:{label:"商品链接:"}},[n("el-input",{staticStyle:{width:"700px"},attrs:{type:"textarea",autosize:{minRows:4,maxRows:8},placeholder:"请输入其它平台商品的链接,单次最多允许输入10条链接,以英文逗号隔开"},model:{value:t.form.desc,callback:function(e){t.$set(t.form,"desc",e)},expression:"form.desc"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"商品分类:"}},[t.el_valuestatus?n("el-cascader",{ref:"cascaderDom",staticStyle:{width:"350px"},attrs:{props:t.props,options:t.options,placeholder:"请选择"},on:{change:t.elvalueclick},model:{value:t.el_value,callback:function(e){t.el_value=e},expression:"el_value"}}):t._e()],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即导入")])],1)],1)],1)],1)},a=[],o=(n("1bc7"),n("4057"),n("e680"),n("fc02"),n("2ca7"),n("6b1f")),s=n("5a97"),u=n("3d17"),c=(n("ed08"),{name:"freight",data:function(){return{collect_num:0,form:{desc:""},el_valuestatus:!0,el_value:[],options:[],props:{expandTrigger:"click",lazy:!0,lazyLoad:this.lazyLoad,value:"id",label:"title",leaf:"leaf"}}},components:{},created:function(){this.info()},watch:{},methods:{info:function(){var t=this;Object(o["j"])().then((function(e){1==e.code&&(t.collect_num=e.data.collect_num)}))},onSubmit:function(){var t=this;if(this.collect_num<=0)this.$message({type:"warning",message:"您好,您的导入次数已用完,请您联系我们的工作人员操作充值"});else{var e;if(!this.form.desc)return this.$message.error("请填写需要导入的商品链接!"),!1;if(e=this.form.desc.split(","),!(e.length>0&&e.length<=10))return e.length>10?(this.$message({message:"您单次输入的链接数量超过10条!",type:"warning"}),!1):(this.$message.error("请填写需要导入的商品链接!"),!1);if(Number(e.length)>Number(this.collect_num))this.$message({type:"warning",message:"您好,准备导入的商品条数过多,当前剩余次数不足,请重新输入"});else{if(3!=this.el_value.length)return this.$message.error("请选择商品分类!"),!1;var n={category_id:this.el_value[2],third_url:e};Object(s["g"])(n).then((function(n){var r=0,a=Number(e.length),o="";1===n.code?(1===a?1===Number(n.data)?t.$message({type:"success",message:"您好,商品已导入成功,请在仓库中进行编辑后申请上架"}):t.$message({type:"error",message:"您好,商品导入失败,请您重新导入"}):a>1&&(r=Number(n.data),o="您好,一共导入"+a+"条商品,"+r+"条导入成功,请在仓库中进行编辑后申请上架",t.$message({type:"warning",message:o})),t.el_value=[],t.$refs.cascaderDom.$refs.panel.activePath=[],t.form.desc=""):(o=n.message?n.message:"导入失败",t.$message({type:"error",message:o})),t.info()}))}}},add:function(t,e){var n,r,a,o;try{n=t.toString().split(".")[1].length,r=e.toString().split(".")[1].length}catch(s){n=0,r=0}return a=Math.pow(10,Math.max(n,r)),o=(t*a+e*a)/a,o=o.toFixed(2),o},minus:function(t,e){return this.add(t,-e)},elvalueclick:function(){},lazyLoad:function(t,e){this.SSQList=[],this.SSQStr="",this.getArea(t,e),this.SSQList&&this.SSQList.length>0?this.isNextStep=!1:this.isNextStep=!0},getArea:function(t,e){var n=t.level,r={};0===n&&(r={parent_id:0}),n>0&&(r={parent_id:t.value}),Object(u["b"])(r).then((function(t){var r={};r=t.data,r.forEach((function(t){t.value=t.id,t.label=t.label,t.children=[],t.leaf=n>=2})),e(r)}))}}}),i=c,l=(n("61da"),n("cba8")),d=Object(l["a"])(i,r,a,!1,null,"83efcd1a",null);e["default"]=d.exports}}]);
//# sourceMappingURL=chunk-0382b59d.2bc17510.js.map
\ No newline at end of file
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0382b59d"],{"280e":function(t,e,n){},"3d17":function(t,e,n){"use strict";n.d(e,"j",(function(){return a})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"i",(function(){return i})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f})),n.d(e,"h",(function(){return m}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/goods/uploadVideo",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/local/getCategoryList",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/freightNew/getFreight",method:"get",params:t})}function u(t){return Object(r["a"])({url:"/system/goodsNew/addGoods",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/system/goodsNew/info",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/system/goodsNew/goodsEdit",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/goodsNew/batchUploadImage",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/local/serviceFee/getByCategory",method:"get",params:t})}function m(t){return Object(r["a"])({url:"/system/goodsNew/synthesisList",method:"post",data:t})}},"5a97":function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"h",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return l})),n.d(e,"g",(function(){return d}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/goodsNew/list",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/system/goodsNew/shelvesStatus",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/goodsNew/goodsStatus",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/system/goodsNew/info",method:"get",params:t})}function c(t){return Object(r["a"])({url:"/system/goodsNew/collect",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/system/goodsNew/cancelOnsale",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/goodsNew/cancelOnsaleAll",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/goodsNew/onsaleUpdate",method:"post",data:t})}},"61da":function(t,e,n){"use strict";n("280e")},"6b1f":function(t,e,n){"use strict";n.d(e,"g",(function(){return a})),n.d(e,"i",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"a",(function(){return c})),n.d(e,"l",(function(){return i})),n.d(e,"j",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"m",(function(){return f})),n.d(e,"e",(function(){return m})),n.d(e,"h",(function(){return h})),n.d(e,"f",(function(){return p})),n.d(e,"k",(function(){return g}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/index/getInfo",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/local/getOrganization",method:"get",params:t})}function s(t){return Object(r["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/local/shopbrand",method:"get",params:t})}function c(t){return Object(r["a"])({url:"/local/brands",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(r["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function m(t){return Object(r["a"])({url:"/local/cate",method:"get",params:t})}function h(t){return Object(r["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function p(t){return Object(r["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(r["a"])({url:"/local/qualification/list",method:"get",params:t})}},e3b2:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t._v("导入商品")]),t._v(" "),n("h3",{staticClass:"cton_h3"},[t._v("剩余次数:"+t._s(t.collect_num)+" / 1000次")]),t._v(" "),n("div",{staticClass:"cton_text"},[n("p",[t._v("功能介绍:")]),t._v(" "),n("p",[t._v("\n 商品导入是为了商家快速、方便地将其它平台上已有的商品,一键导入到您的云仓平台,不再用手动输入编写商品信息\n ")]),t._v(" "),n("p",[t._v("使用方法:")]),t._v(" "),n("p",[t._v("\n 复制其它电商平台的商品链接,粘贴至商品链接输入框内,为该商品选择对应的商品分类,选择完成后点击立即获取按钮即可\n ")]),t._v(" "),n("p",[t._v("示例:")]),t._v(" "),n("p",[t._v("京东商品链接如:https://item.jd.com/10684560542.html")]),t._v(" "),n("p",[t._v("温馨提示:")]),t._v(" "),n("p",[t._v("商品在获取过程中,请不要进行其它操作")]),t._v(" "),n("p",[t._v("\n 商品抓取后,默认放入到下架商品中,请手动修改商品相关信息,再提交申请上架\n ")]),t._v(" "),n("p",[t._v("请确保不要将多个平台的商品链接混合输入")]),t._v(" "),n("p",[t._v("每个用户默认拥有1000次商品导入的机会,请慎重使用")]),t._v(" "),n("p",[t._v("支持平台:")]),t._v(" "),n("p",[t._v("京东、天猫、淘宝 ")])]),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"180px"}},[n("el-form-item",{attrs:{label:"商品链接:"}},[n("el-input",{staticStyle:{width:"700px"},attrs:{type:"textarea",autosize:{minRows:4,maxRows:8},placeholder:"请输入其它平台商品的链接,单次最多允许输入10条链接,以英文逗号隔开"},model:{value:t.form.desc,callback:function(e){t.$set(t.form,"desc",e)},expression:"form.desc"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"商品分类:"}},[t.el_valuestatus?n("el-cascader",{ref:"cascaderDom",staticStyle:{width:"350px"},attrs:{props:t.props,options:t.options,placeholder:"请选择"},on:{change:t.elvalueclick},model:{value:t.el_value,callback:function(e){t.el_value=e},expression:"el_value"}}):t._e()],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即导入")])],1)],1)],1)],1)},a=[],o=(n("1bc7"),n("4057"),n("e680"),n("fc02"),n("2ca7"),n("6b1f")),s=n("5a97"),u=n("3d17"),c=(n("ed08"),{name:"freight",data:function(){return{collect_num:0,form:{desc:""},el_valuestatus:!0,el_value:[],options:[],props:{expandTrigger:"click",lazy:!0,lazyLoad:this.lazyLoad,value:"id",label:"title",leaf:"leaf"}}},components:{},created:function(){this.info()},watch:{},methods:{info:function(){var t=this;Object(o["j"])().then((function(e){1==e.code&&(t.collect_num=e.data.collect_num)}))},onSubmit:function(){var t=this;if(this.collect_num<=0)this.$message({type:"warning",message:"您好,您的导入次数已用完,请您联系我们的工作人员操作充值"});else{var e;if(!this.form.desc)return this.$message.error("请填写需要导入的商品链接!"),!1;if(e=this.form.desc.split(","),!(e.length>0&&e.length<=10))return e.length>10?(this.$message({message:"您单次输入的链接数量超过10条!",type:"warning"}),!1):(this.$message.error("请填写需要导入的商品链接!"),!1);if(Number(e.length)>Number(this.collect_num))this.$message({type:"warning",message:"您好,准备导入的商品条数过多,当前剩余次数不足,请重新输入"});else{if(3!=this.el_value.length)return this.$message.error("请选择商品分类!"),!1;var n={category_id:this.el_value[2],third_url:e};Object(s["f"])(n).then((function(n){var r=0,a=Number(e.length),o="";1===n.code?(1===a?1===Number(n.data)?t.$message({type:"success",message:"您好,商品已导入成功,请在仓库中进行编辑后申请上架"}):t.$message({type:"error",message:"您好,商品导入失败,请您重新导入"}):a>1&&(r=Number(n.data),o="您好,一共导入"+a+"条商品,"+r+"条导入成功,请在仓库中进行编辑后申请上架",t.$message({type:"warning",message:o})),t.el_value=[],t.$refs.cascaderDom.$refs.panel.activePath=[],t.form.desc=""):(o=n.message?n.message:"导入失败",t.$message({type:"error",message:o})),t.info()}))}}},add:function(t,e){var n,r,a,o;try{n=t.toString().split(".")[1].length,r=e.toString().split(".")[1].length}catch(s){n=0,r=0}return a=Math.pow(10,Math.max(n,r)),o=(t*a+e*a)/a,o=o.toFixed(2),o},minus:function(t,e){return this.add(t,-e)},elvalueclick:function(){},lazyLoad:function(t,e){this.SSQList=[],this.SSQStr="",this.getArea(t,e),this.SSQList&&this.SSQList.length>0?this.isNextStep=!1:this.isNextStep=!0},getArea:function(t,e){var n=t.level,r={};0===n&&(r={parent_id:0}),n>0&&(r={parent_id:t.value}),Object(u["b"])(r).then((function(t){var r={};r=t.data,r.forEach((function(t){t.value=t.id,t.label=t.label,t.children=[],t.leaf=n>=2})),e(r)}))}}}),i=c,l=(n("61da"),n("cba8")),d=Object(l["a"])(i,r,a,!1,null,"83efcd1a",null);e["default"]=d.exports}}]);
//# sourceMappingURL=chunk-0382b59d.b9084e08.js.map
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论