Commit e30bc103 authored by yaya's avatar yaya

feat:拍品添加股价和供货价

parent c014598c
...@@ -108,6 +108,11 @@ ...@@ -108,6 +108,11 @@
<template slot="prepend">¥</template> <template slot="prepend">¥</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="供货价" prop="supplyPrice">
<el-input v-model="goods.supplyPrice" style="width: 300px">
<template slot="prepend">¥</template>
</el-input>
</el-form-item>
</div> </div>
<div class="item"> <div class="item">
<el-form-item label="理想价" > <el-form-item label="理想价" >
...@@ -162,7 +167,8 @@ export default { ...@@ -162,7 +167,8 @@ export default {
// auctionEndTime: [{ required: true, message: '截拍时间不能为空', trigger: 'blur' }], // auctionEndTime: [{ required: true, message: '截拍时间不能为空', trigger: 'blur' }],
startPrice: [{ required: true, message: '起拍价不能为空', trigger: 'blur' }], startPrice: [{ required: true, message: '起拍价不能为空', trigger: 'blur' }],
addExtent: [{ required: true, message: '加价幅度不能为空', trigger: 'blur' }], addExtent: [{ required: true, message: '加价幅度不能为空', trigger: 'blur' }],
estimatedPrice: [{ required: true, message: '估价不能为空', trigger: 'blur' }] estimatedPrice: [{ required: true, message: '估价不能为空', trigger: 'blur' }],
supplyPrice: [{ required: true, message: '供货价不能为空', trigger: 'blur' }]
}, },
editorInit: { editorInit: {
language: 'zh_CN', language: 'zh_CN',
......
...@@ -57,6 +57,16 @@ ...@@ -57,6 +57,16 @@
<span class="tooltip-span">{{ `${scope.row.distributionPrice ? `¥ ${scope.row.distributionPrice}` : '-'}` }}</span> <span class="tooltip-span">{{ `${scope.row.distributionPrice ? `¥ ${scope.row.distributionPrice}` : '-'}` }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="估价" prop="estimatedPrice">
<template slot-scope="scope">
<span class="tooltip-span">{{ `${scope.row.estimatedPrice ? `¥ ${scope.row.estimatedPrice}` : '-'}` }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="供货价" prop="supplyPrice">
<template slot-scope="scope">
<span class="tooltip-span">{{ `${scope.row.supplyPrice ? `¥ ${scope.row.supplyPrice}` : '-'}` }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="中拍价" prop="salePrice"> <el-table-column align="center" label="中拍价" prop="salePrice">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="tooltip-span">{{ `${scope.row.salePrice ? `¥ ${scope.row.salePrice}` : '-'}` }}</span> <span class="tooltip-span">{{ `${scope.row.salePrice ? `¥ ${scope.row.salePrice}` : '-'}` }}</span>
......
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