Commit 46da79c1 authored by yaya's avatar yaya

feat: UI优化

parent 656dad29
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</div> </div>
<div class="consign_content_item"> <div class="consign_content_item">
<div style="font-weight: bold">货品信息</div> <div style="font-weight: bold">货品信息</div>
<div class="consign_content_item__text">{{ `藏品类目:${consignDetail.cidName || '-'}` }}</div> <div class="consign_content_item__text">{{ `藏品类目:${consignDetail.categoryNamesStr || '-'}` }}</div>
<div class="consign_content_item__text">{{ `藏品名称:${consignDetail.name || '-'}` }}</div> <div class="consign_content_item__text">{{ `藏品名称:${consignDetail.name || '-'}` }}</div>
<div class="consign_content_item__text">{{ `详细介绍:${consignDetail.detail || '-'}` }}</div> <div class="consign_content_item__text">{{ `详细介绍:${consignDetail.detail || '-'}` }}</div>
<div class="consign_content_item__text">{{ `\u2003入手价:${consignDetail.price ? '¥' + consignDetail.price : '-'}` }}</div> <div class="consign_content_item__text">{{ `\u2003入手价:${consignDetail.price ? '¥' + consignDetail.price : '-'}` }}</div>
...@@ -312,6 +312,15 @@ export default { ...@@ -312,6 +312,15 @@ export default {
this.consignDetail.videosImageUrl = list[1] this.consignDetail.videosImageUrl = list[1]
} }
} }
if (this.consignDetail.categoryNames && this.consignDetail.categoryNames.length > 0) {
let categoryStr = ''
this.consignDetail.categoryNames.map((item, index) => {
const tip = this.consignDetail.categoryNames.length !== index + 1 ? '/' : ''
categoryStr = categoryStr.concat(item + tip)
})
this.consignDetail.categoryNamesStr = categoryStr
}
this.systemStateName = response.data.data.systemStateName this.systemStateName = response.data.data.systemStateName
this.systemState = response.data.data.systemState this.systemState = response.data.data.systemState
if (response.data.data.consignSaleRecordVoList) { if (response.data.data.consignSaleRecordVoList) {
......
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="状态" prop="systemStateName" /> <el-table-column align="center" label="状态" prop="systemStateName" />
<el-table-column v-if="listQuery.systemState === '30'" align="center" label="取消类型" prop="cancelType" />
<el-table-column v-if="listQuery.systemState === '30'" align="center" label="取消原因" prop="remark" />
<el-table-column align="center" label="下单时间" prop="saleTime" /> <el-table-column align="center" label="下单时间" prop="saleTime" />
<el-table-column align="center" label="操作" width="300"> <el-table-column align="center" label="操作" width="300">
...@@ -184,6 +186,7 @@ ...@@ -184,6 +186,7 @@
</template> </template>
<script> <script>
import Line2Hidden from '@/components/line2Hidden'
import Pagination from '@/components/Pagination' import Pagination from '@/components/Pagination'
import { findConsignList, imgValuate, identifyImage, finishValue, cancelValue } from '@/api/business/consign' import { findConsignList, imgValuate, identifyImage, finishValue, cancelValue } from '@/api/business/consign'
import { MessageBox } from 'element-ui' import { MessageBox } from 'element-ui'
...@@ -191,7 +194,8 @@ import { MessageBox } from 'element-ui' ...@@ -191,7 +194,8 @@ import { MessageBox } from 'element-ui'
export default { export default {
name: 'ConsignList', name: 'ConsignList',
components: { components: {
Pagination Pagination,
Line2Hidden
}, },
data() { data() {
return { return {
......
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