Commit c1ae7e4f authored by 黄奎's avatar 黄奎

页面修改

parent 71cd23e5
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
:inactive-value="2"> :inactive-value="2">
</el-switch> </el-switch>
</el-form-item> </el-form-item>
<el-form-item label="是否可开发票" v-if="isShowTax" > <el-form-item label="是否可开发票" v-if="isShowTax">
<el-switch v-model="addMsg.IsNoTax" active-color="#409EFF" :active-value="0" :inactive-value="1"> <el-switch v-model="addMsg.IsNoTax" active-color="#409EFF" :active-value="0" :inactive-value="1">
</el-switch> </el-switch>
</el-form-item> </el-form-item>
...@@ -1179,7 +1179,7 @@ ...@@ -1179,7 +1179,7 @@
GoodsCountry: "", //商品国家 GoodsCountry: "", //商品国家
FatCode: "", //海关代码/关税率 FatCode: "", //海关代码/关税率
GoodsUrl: "", //商品官网 GoodsUrl: "", //商品官网
IsKorea:0,//是否为韩国馆 IsKorea: 0, //是否为韩国馆
}, },
predefineColors: [ predefineColors: [
'#000000', '#000000',
...@@ -1287,7 +1287,7 @@ ...@@ -1287,7 +1287,7 @@
My_cateList: [], //分类类型 My_cateList: [], //分类类型
isShowPlat: true, //是否显示上架版面和分类 isShowPlat: true, //是否显示上架版面和分类
isShowTax: false, //赞羊显示是否可开发票 isShowTax: false, //赞羊显示是否可开发票
currentUserInfo: {},//当前登录用户 currentUserInfo: {}, //当前登录用户
}; };
}, },
created() { created() {
...@@ -1298,7 +1298,7 @@ ...@@ -1298,7 +1298,7 @@
this.FxState = this.$route.query.FxState; this.FxState = this.$route.query.FxState;
} }
this.currentUserInfo = JSON.parse(localStorage.mall_userInfo); this.currentUserInfo = JSON.parse(localStorage.mall_userInfo);
this.addMsg.IsKorea=this.currentUserInfo.IsKorea; this.addMsg.IsKorea = this.currentUserInfo.IsKorea;
this.getService(); this.getService();
this.getRule(); this.getRule();
this.getSpeciList(); this.getSpeciList();
...@@ -1804,6 +1804,7 @@ ...@@ -1804,6 +1804,7 @@
}); });
}, },
Save(formName) { Save(formName) {
this.addMsg.IsKorea = this.currentUserInfo.IsKorea;
this.$refs[formName].validate(valid => { this.$refs[formName].validate(valid => {
if (valid) { if (valid) {
let content = this.$refs.ue.getUEContent(); let content = this.$refs.ue.getUEContent();
...@@ -1818,7 +1819,8 @@ ...@@ -1818,7 +1819,8 @@
if (this.SpecificationList.length == 0) { if (this.SpecificationList.length == 0) {
this.addMsg.IsCustomSpecification = 2; this.addMsg.IsCustomSpecification = 2;
} }
if (this.addMsg.IsKorea==0 && this.addMsg.IsCustomSpecification != 1 && this.SpecificationList.length == 0) { if (this.addMsg.IsKorea == 0 && this.addMsg.IsCustomSpecification != 1 && this.SpecificationList
.length == 0) {
this.Error("请选择规格项目!"); this.Error("请选择规格项目!");
return return
} }
...@@ -1840,7 +1842,8 @@ ...@@ -1840,7 +1842,8 @@
this.addMsg.MemberPriceTreeList = this.memberList2; this.addMsg.MemberPriceTreeList = this.memberList2;
} }
if (this.addMsg.IsKorea==0 && this.currentUserInfo.TenantId == 1 &&this.currentUserInfo.MallBaseId == 1 && this.SupplierId == '') { if (this.addMsg.IsKorea == 0 && this.currentUserInfo.TenantId == 1 && this.currentUserInfo.MallBaseId ==
1 && this.SupplierId == '') {
this.Error("请选择供应商!"); this.Error("请选择供应商!");
return return
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment