提交 1c50d7ea authored 作者: 王天霸's avatar 王天霸

0

上级 690b5561
差异被折叠。
.freightTemplate-add[data-v-33723dcd] .el-dialog{height:80%;overflow:hidden}.freightTemplate-add[data-v-33723dcd] .el-dialog__body{height:calc(100% - 60px);overflow-x:hidden;overflow-y:scroll}.radiomodels .el-radio-button[data-v-33723dcd]{margin:0 10px}[data-v-33723dcd] .radiomodels .el-radio-button .el-radio-button__inner{border:1px solid #dcdfe6!important;border-radius:4px!important}[data-v-33723dcd] .radiomodels .el-radio-button .el-radio-button__orig-radio:checked+.el-radio-button__inner{box-shadow:none}.queryFormInline[data-v-33723dcd]{padding-bottom:20px}.cton_h3[data-v-33723dcd]{margin-left:170px;color:#1890ff}.cton_text[data-v-33723dcd]{width:80%;margin:0 0 30px 170px}.cton_text p[data-v-33723dcd]{font-size:14px;padding:0;margin:5px 0}[data-v-33723dcd] .el-card__body{height:calc(100% - 40px);overflow-y:auto}
\ No newline at end of file
.freightTemplate-add[data-v-10de8649] .el-dialog{height:80%;overflow:hidden}.freightTemplate-add[data-v-10de8649] .el-dialog__body{height:calc(100% - 60px);overflow-x:hidden;overflow-y:scroll}.radiomodels .el-radio-button[data-v-10de8649]{margin:0 10px}[data-v-10de8649] .radiomodels .el-radio-button .el-radio-button__inner{border:1px solid #dcdfe6!important;border-radius:4px!important}[data-v-10de8649] .radiomodels .el-radio-button .el-radio-button__orig-radio:checked+.el-radio-button__inner{box-shadow:none}.queryFormInline[data-v-10de8649]{padding-bottom:20px}.cton_h3[data-v-10de8649]{margin-left:170px;color:#1890ff}.cton_text[data-v-10de8649]{width:80%;margin:0 0 30px 170px}.cton_text p[data-v-10de8649]{font-size:14px;padding:0;margin:5px 0}[data-v-10de8649] .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.
差异被折叠。
......@@ -546,12 +546,18 @@
if(this.radiomodel==='1'){
data['is_onsale'] = 1
data['is_on'] = 1
data['up_onsale'] = 0
}
if(this.radiomodel==2){
data['is_onsale'] = 0
data['is_on'] = 1
data['up_onsale'] = 0
}
if(this.radiomodel==3){
data['up_onsale'] = Number(this.formInline.status)
data['is_onsale'] = 0
data['is_on'] = 1
}
if(this.radiomodel==4){
data['is_on'] = 0
......
......@@ -93,8 +93,14 @@ export default {
let urlarr
if(this.form.desc){
urlarr= this.form.desc.split(',')
if(urlarr.length>0){
if(urlarr.length>0&&urlarr.length<=10){
}else if(urlarr.length>10){
this.$message({
message: '您单次输入的链接数量超过10条!',
type: 'warning'
});
return false
}else{
this.$message.error('请填写需要导入的商品链接!');
return false
......@@ -103,8 +109,11 @@ export default {
this.$message.error('请填写需要导入的商品链接!');
return false
}
if(this.el_value.length==3){
if(this.el_value.length==3){
// this.$message.error('商品分类!');
}else{
this.$message.error('请选择商品分类!');
return false
......@@ -122,7 +131,7 @@ export default {
type: 'success'
});
this.el_value = []
his.form.desc=''
this.form.desc=''
}
})
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论