Commit df40bfd6 authored by zhangjianguo's avatar zhangjianguo

商品详情

parent 1f95161e
......@@ -1609,6 +1609,10 @@
if (valid) {
let content = this.$refs.ue.getUEContent();
this.addMsg.GoodsDetails = content;
if(this.addMsg.CategoryList.length==0){
this.Error('请选择商品分类');
return false
}
if (this.SpecificationList.length > 0) {
this.addMsg.IsCustomSpecification = 1;
}
......@@ -1839,6 +1843,7 @@
getcode(){//编码获取详情
this.GoodsId = this.addMsg.Id;
this.getData()
},
getData() {
this.apipost(
......@@ -1851,6 +1856,9 @@
this.SupplierId = this.addMsg.SupplierId;
}
if (!this.$route.query.GoodsId) {
this.addMsg.Id=0
}
if (this.addMsg.LimitBuyGoodsNum != -1) {
this.BuyGoodsNumState = false
}
......
......@@ -45,7 +45,7 @@
<el-table-column label="商品信息" align="center">
<el-table-column label="订单号" prop="OrderNo" width="200" ></el-table-column>
<el-table-column label="订单号" prop="OrderNo" width="200" fixed></el-table-column>
<el-table-column label="规格" width="300" >
<template slot-scope="scope">
{{scope.row.GoodsName}}{{scope.row.Specification}}
......
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