提交 8efba4dc authored 作者: 王天霸's avatar 王天霸

uu

上级 51db2d75
差异被折叠。
.freightTemplate-add[data-v-4c4d0505] .el-dialog{height:80%;overflow:hidden}.freightTemplate-add[data-v-4c4d0505] .el-dialog__body{height:calc(100% - 60px);overflow-x:hidden;overflow-y:scroll}.radiomodels .el-radio-button[data-v-4c4d0505]{margin:0 10px}[data-v-4c4d0505] .radiomodels .el-radio-button .el-radio-button__inner{border:1px solid #dcdfe6!important;border-radius:4px!important}[data-v-4c4d0505] .radiomodels .el-radio-button .el-radio-button__orig-radio:checked+.el-radio-button__inner{box-shadow:none}.queryFormInline[data-v-4c4d0505]{padding-bottom:20px}.cton_h3[data-v-4c4d0505]{margin-left:170px;color:#1890ff}.cton_text[data-v-4c4d0505]{width:80%;margin:0 0 30px 170px}.cton_text p[data-v-4c4d0505]{font-size:14px;padding:0;margin:5px 0}[data-v-4c4d0505] .el-card__body{height:calc(100% - 40px);overflow-y:auto}
\ No newline at end of file
.freightTemplate-add[data-v-0a8a8104] .el-dialog{height:80%;overflow:hidden}.freightTemplate-add[data-v-0a8a8104] .el-dialog__body{height:calc(100% - 60px);overflow-x:hidden;overflow-y:scroll}.radiomodels .el-radio-button[data-v-0a8a8104]{margin:0 10px}[data-v-0a8a8104] .radiomodels .el-radio-button .el-radio-button__inner{border:1px solid #dcdfe6!important;border-radius:4px!important}[data-v-0a8a8104] .radiomodels .el-radio-button .el-radio-button__orig-radio:checked+.el-radio-button__inner{box-shadow:none}.queryFormInline[data-v-0a8a8104]{padding-bottom:20px}.cton_h3[data-v-0a8a8104]{margin-left:170px;color:#1890ff}.cton_text[data-v-0a8a8104]{width:80%;margin:0 0 30px 170px}.cton_text p[data-v-0a8a8104]{font-size:14px;padding:0;margin:5px 0}[data-v-0a8a8104] .el-card__body{height:calc(100% - 40px);overflow-y:auto}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-564e1f2c"],{"5a97":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return r})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"d",(function(){return l}));var o=n("b775");function a(t){return Object(o["a"])({url:"/system/goodsNew/list",method:"get",params:t})}function r(t){return Object(o["a"])({url:"/system/goodsNew/shelvesStatus",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/system/goodsNew/goodsStatus",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/system/goodsNew/info",method:"get",params:t})}function u(t){return Object(o["a"])({url:"/system/goodsNew/businessList",method:"get",params:t})}function l(t){return Object(o["a"])({url:"/system/goodsNew/collect",method:"post",data:t})}},"6b1f":function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return c})),n.d(e,"h",(function(){return u})),n.d(e,"g",(function(){return l})),n.d(e,"c",(function(){return i})),n.d(e,"i",(function(){return d})),n.d(e,"e",(function(){return f}));var o=n("b775");function a(t){return Object(o["a"])({url:"/local/getOrganization",method:"get",params:t})}function r(t){return Object(o["a"])({url:"/local/organization",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/local/shopbrand",method:"get",params:t})}function c(t){return Object(o["a"])({url:"/local/brands",method:"post",data:t})}function u(t){return Object(o["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/local/getShopInfo",method:"get",params:t})}function i(t){return Object(o["a"])({url:"/local/addShopInfo",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/system/goods/uploadImg",method:"post",data:t})}function f(t){return Object(o["a"])({url:"/local/cate",method:"get",params:t})}},add2:function(t,e,n){"use strict";n("f3e3")},e3b2:function(t,e,n){"use strict";n.r(e);var o=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("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",{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=[],r=(n("fc02"),n("6b1f")),s=n("5a97"),c=(n("ed08"),{name:"freight",data:function(){return{collect_num:0,form:{desc:""},el_valuestatus:!0,el_value:[],options:[],props:{checkStrictly:!1,expandTrigger:"click",emitPath:!0,value:"id",label:"label"}}},components:{},created:function(){this.getData(),this.info()},watch:{},methods:{info:function(){var t=this;Object(r["g"])().then((function(e){1==e.code&&(t.collect_num=e.data.collect_num)}))},onSubmit:function(){var t,e=this;if(!this.form.desc)return this.$message.error("请填写需要导入的商品链接!"),!1;if(t=this.form.desc.split(","),!(t.length>0&&t.length<=10))return t.length>10?(this.$message({message:"您单次输入的链接数量超过10条!",type:"warning"}),!1):(this.$message.error("请填写需要导入的商品链接!"),!1);if(3!=this.el_value.length)return this.$message.error("请选择商品分类!"),!1;console.log(this.el_value);var n={category_id:this.el_value[2],third_url:t};Object(s["d"])(n).then((function(t){1==t.code&&(e.$message({message:t.message,type:"success"}),e.el_value=[],e.form.desc="",e.info())}))},elvalueclick:function(){},getData:function(){var t=this;Object(s["e"])().then((function(e){1==e.code&&(t.options=e.data)}))}}}),u=c,l=(n("add2"),n("5d22")),i=Object(l["a"])(u,o,a,!1,null,"4c4d0505",null);e["default"]=i.exports},f3e3:function(t,e,n){}}]);
\ No newline at end of file
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d3838d94"],{"41e7":function(t,e,n){"use strict";n("a57f")},"5a97":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return r})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"d",(function(){return l}));var o=n("b775");function a(t){return Object(o["a"])({url:"/system/goodsNew/list",method:"get",params:t})}function r(t){return Object(o["a"])({url:"/system/goodsNew/shelvesStatus",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/system/goodsNew/goodsStatus",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/system/goodsNew/info",method:"get",params:t})}function u(t){return Object(o["a"])({url:"/system/goodsNew/businessList",method:"get",params:t})}function l(t){return Object(o["a"])({url:"/system/goodsNew/collect",method:"post",data:t})}},"6b1f":function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return c})),n.d(e,"h",(function(){return u})),n.d(e,"g",(function(){return l})),n.d(e,"c",(function(){return i})),n.d(e,"i",(function(){return d})),n.d(e,"e",(function(){return f}));var o=n("b775");function a(t){return Object(o["a"])({url:"/local/getOrganization",method:"get",params:t})}function r(t){return Object(o["a"])({url:"/local/organization",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/local/shopbrand",method:"get",params:t})}function c(t){return Object(o["a"])({url:"/local/brands",method:"post",data:t})}function u(t){return Object(o["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/local/getShopInfo",method:"get",params:t})}function i(t){return Object(o["a"])({url:"/local/addShopInfo",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/system/goods/uploadImg",method:"post",data:t})}function f(t){return Object(o["a"])({url:"/local/cate",method:"get",params:t})}},a57f:function(t,e,n){},e3b2:function(t,e,n){"use strict";n.r(e);var o=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("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",{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=[],r=(n("fc02"),n("6b1f")),s=n("5a97"),c=(n("ed08"),{name:"freight",data:function(){return{collect_num:0,form:{desc:""},el_valuestatus:!0,el_value:[],options:[],props:{checkStrictly:!1,expandTrigger:"click",emitPath:!0,value:"id",label:"label"}}},components:{},created:function(){this.getData(),this.info()},watch:{},methods:{info:function(){var t=this;Object(r["g"])().then((function(e){1==e.code&&(t.collect_num=e.data.collect_num)}))},onSubmit:function(){var t,e=this;if(!this.form.desc)return this.$message.error("请填写需要导入的商品链接!"),!1;if(t=this.form.desc.split(","),!(t.length>0&&t.length<=10))return t.length>10?(this.$message({message:"您单次输入的链接数量超过10条!",type:"warning"}),!1):(this.$message.error("请填写需要导入的商品链接!"),!1);if(3!=this.el_value.length)return this.$message.error("请选择商品分类!"),!1;console.log(this.el_value);var n={category_id:this.el_value[2],third_url:t};Object(s["d"])(n).then((function(t){1==t.code&&(e.$message({message:t.message,type:"success"}),e.el_value=[],e.form.desc="",e.info())}))},elvalueclick:function(){},getData:function(){var t=this;Object(s["e"])().then((function(e){1==e.code&&(t.options=e.data)}))}}}),u=c,l=(n("41e7"),n("5d22")),i=Object(l["a"])(u,o,a,!1,null,"0a8a8104",null);e["default"]=i.exports}}]);
\ No newline at end of file
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<el-button <el-button
style="float:right;margin-left: 10px;" style="float:right;margin-left: 10px;"
type="danger" type="danger"
v-if='radiomodel!=4' v-if='radiomodel!=4&&radiomodel!=1'
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handledelsale('9','del','all')" @click="handledelsale('9','del','all')"
...@@ -188,9 +188,9 @@ ...@@ -188,9 +188,9 @@
@click="lookdetail(scope.row)" @click="lookdetail(scope.row)"
>预览 >预览
</el-button> </el-button>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical" v-if="radiomodel!=1"></el-divider>
<el-button <el-button
v-if="radiomodel!=4" v-if="radiomodel!=4&&radiomodel!=1"
size="mini" size="mini"
type="text" type="text"
@click="handledelsale(scope.row,'del','one')" @click="handledelsale(scope.row,'del','one')"
......
...@@ -93,6 +93,7 @@ export default { ...@@ -93,6 +93,7 @@ export default {
let urlarr let urlarr
if(this.form.desc){ if(this.form.desc){
urlarr= this.form.desc.split(',') urlarr= this.form.desc.split(',')
debugger
if(urlarr.length>0&&urlarr.length<=10){ if(urlarr.length>0&&urlarr.length<=10){
}else if(urlarr.length>10){ }else if(urlarr.length>10){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论