Commit 05c54e3e by liwk

commit

1 parent 4e0a815d
......@@ -20,6 +20,7 @@
</el-radio-group>
</div>
<div class="box">
<div class="title">基本信息</div>
<el-form-item
label="产品提供方"
required
......
......@@ -148,7 +148,7 @@ export default {
mixins: [searchMixin],
data () {
return {
flag: false,
flag: true,
brandNameList: [],
supplierList: [
{
......@@ -184,7 +184,8 @@ export default {
label: '商品SKU',
minWidth: '200',
formatter: (cell) => {
return cell.appearance == 1 ? `${cell.brandName}${cell.productName}` : `${cell.brandName}${cell.productName}\n${cell.salesPrice}元`
if (cell.appearance != 1) console.log(cell)
return cell.appearance == 1 ? `${cell.brandName}${cell.productName}` : `<div>${cell.brandName}${cell.productName}</div><div>${cell.denomination}元</div>`
}
},
{
......@@ -213,6 +214,7 @@ export default {
label: '库存',
prop: 'stock',
minWidth: '200',
sortable: true,
},
{
label: '商品状态',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!