|
@@ -1,103 +1,111 @@
|
|
|
<!-- 挂牌大厅-我的求购-详情 -->
|
|
<!-- 挂牌大厅-我的求购-详情 -->
|
|
|
<template>
|
|
<template>
|
|
|
<teleport :to="teleportTo">
|
|
<teleport :to="teleportTo">
|
|
|
- <app-view class="app-details" v-bind="$attrs">
|
|
|
|
|
- <template #header>
|
|
|
|
|
- <el-button @click="$emit('closed')">返回</el-button>
|
|
|
|
|
- </template>
|
|
|
|
|
- <div class="app-details__intro" style="line-height:normal;margin-bottom:48px">
|
|
|
|
|
- <div class="info">
|
|
|
|
|
- <h1>求购信息</h1>
|
|
|
|
|
- <table>
|
|
|
|
|
- <tbody>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>委托单号</td>
|
|
|
|
|
- <td>{{ selectedRow.wrtradeorderid }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>买方</td>
|
|
|
|
|
- <td></td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>钻石分类</td>
|
|
|
|
|
- <td>{{ selectedRow.zscategorydisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>货币类型</td>
|
|
|
|
|
- <td>{{ selectedRow.zscurrencytypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>尺寸</td>
|
|
|
|
|
- <td>{{ selectedRow.zssize }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>形状</td>
|
|
|
|
|
- <td>{{ selectedRow.zsshapetypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>切工</td>
|
|
|
|
|
- <td>{{ selectedRow.zscuttypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>颜色</td>
|
|
|
|
|
- <td>{{ selectedRow.zscolortypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>抛光</td>
|
|
|
|
|
- <td>{{ selectedRow.zspolishtypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>净度</td>
|
|
|
|
|
- <td>{{ selectedRow.zsclaritytypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>对称</td>
|
|
|
|
|
- <td>{{ selectedRow.zssymmetrytypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>荧光</td>
|
|
|
|
|
- <td>{{ selectedRow.zsfluorescencetypedisplay }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>履约规则</td>
|
|
|
|
|
- <td>
|
|
|
|
|
- <app-performance-rule
|
|
|
|
|
- :item="getPerformanceTemplateById(selectedRow.performancetemplateid)" />
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td>备注</td>
|
|
|
|
|
- <td>{{ selectedRow.remark }}</td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </tbody>
|
|
|
|
|
- </table>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="property">
|
|
|
|
|
- <h1>询价信息</h1>
|
|
|
|
|
- <app-table :data="dataList" v-model:columns="columns" :show-header="false" border>
|
|
|
|
|
- <!-- 申请状态 -->
|
|
|
|
|
- <template #applystatus="{ value }">
|
|
|
|
|
- {{ getApplyStatusName(value) }}
|
|
|
|
|
|
|
+ <el-container class="trade-details">
|
|
|
|
|
+ <el-aside>
|
|
|
|
|
+ <el-card shadow="never">
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <div class="card-header" @click="$emit('closed')">
|
|
|
|
|
+ <app-icon icon="ArrowLeftBold" />
|
|
|
|
|
+ <h4>求购信息</h4>
|
|
|
|
|
+ </div>
|
|
|
</template>
|
|
</template>
|
|
|
- <!-- 总价 -->
|
|
|
|
|
- <template #applyprice="{ row }">
|
|
|
|
|
- {{ row.zscurrencytypedisplayunit + formatDecimal(row.applyprice) }}
|
|
|
|
|
|
|
+ <ul>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>委托单号</span>
|
|
|
|
|
+ <span>{{ selectedRow.wrtradeorderid }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>钻石分类</span>
|
|
|
|
|
+ <span>{{ selectedRow.zscategorydisplay }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>货币类型</span>
|
|
|
|
|
+ <span>{{ selectedRow.zscurrencytypedisplay }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>尺寸</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zssize) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>形状</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zsshapetypedisplay) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>切工</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zscuttypedisplay) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>颜色</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zscolortypedisplay) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>抛光</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zspolishtypedisplay) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>净度</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zsclaritytypedisplay) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>对称</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zssymmetrytypedisplay) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>荧光</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.zsfluorescencetypedisplay) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li v-if="selectedRow.performancetemplateid">
|
|
|
|
|
+ <span>履约规则</span>
|
|
|
|
|
+ <app-performance-rule
|
|
|
|
|
+ :item="getPerformanceTemplateById(selectedRow.performancetemplateid)" />
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span>备注</span>
|
|
|
|
|
+ <span>{{ handleNoneValue(selectedRow.remark) }}</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </el-card>
|
|
|
|
|
+ </el-aside>
|
|
|
|
|
+ <el-main>
|
|
|
|
|
+ <el-card shadow="never">
|
|
|
|
|
+ <template #header>
|
|
|
|
|
+ <div class="card-header">
|
|
|
|
|
+ <span>询价信息</span>
|
|
|
|
|
+ </div>
|
|
|
</template>
|
|
</template>
|
|
|
- </app-table>
|
|
|
|
|
- </div>
|
|
|
|
|
- </app-view>
|
|
|
|
|
|
|
+ <app-table :data="dataList" v-model:columns="columns" :show-header="false" border>
|
|
|
|
|
+ <!-- 申请状态 -->
|
|
|
|
|
+ <template #applystatus="{ value }">
|
|
|
|
|
+ {{ getApplyStatusName(value) }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <!-- 总价 -->
|
|
|
|
|
+ <template #applyprice="{ row }">
|
|
|
|
|
+ {{ row.zscurrencytypedisplayunit + formatDecimal(row.applyprice) }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </app-table>
|
|
|
|
|
+ </el-card>
|
|
|
|
|
+ </el-main>
|
|
|
|
|
+ </el-container>
|
|
|
</teleport>
|
|
</teleport>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+<script lang="ts">
|
|
|
|
|
+import { defineComponent } from 'vue'
|
|
|
|
|
+export default defineComponent({
|
|
|
|
|
+ inheritAttrs: false,
|
|
|
|
|
+})
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { PropType, shallowRef } from 'vue'
|
|
import { PropType, shallowRef } from 'vue'
|
|
|
-import { formatDecimal } from '@/filters'
|
|
|
|
|
|
|
+import { formatDecimal, handleNoneValue } from '@/filters'
|
|
|
import { getApplyStatusName } from '@/constants/order'
|
|
import { getApplyStatusName } from '@/constants/order'
|
|
|
import { useLoginStore, usePerformanceStore } from '@/stores'
|
|
import { useLoginStore, usePerformanceStore } from '@/stores'
|
|
|
import { queryMyDelistingApply } from '@/services/api/trade'
|
|
import { queryMyDelistingApply } from '@/services/api/trade'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppPerformanceRule from '@pc/components/modules/performance-rule/index.vue'
|
|
import AppPerformanceRule from '@pc/components/modules/performance-rule/index.vue'
|
|
|
|
|
+import AppIcon from '@pc/components/base/icon/index.vue'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
teleportTo: {
|
|
teleportTo: {
|
|
@@ -115,13 +123,13 @@ const { getPerformanceTemplateById } = usePerformanceStore()
|
|
|
|
|
|
|
|
const dataList = shallowRef<Ermcp.MyDelistingApplyRsp[]>([])
|
|
const dataList = shallowRef<Ermcp.MyDelistingApplyRsp[]>([])
|
|
|
const columns = shallowRef<Ermcp.TableColumn[]>([
|
|
const columns = shallowRef<Ermcp.TableColumn[]>([
|
|
|
- { prop: 'selldelistingapplyid', label: '询价单号', show: true },
|
|
|
|
|
|
|
+ { prop: 'selldelistingapplyid', label: '询价单号', width: 200, show: true },
|
|
|
{ prop: 'sellusername', label: '卖方', show: true },
|
|
{ prop: 'sellusername', label: '卖方', show: true },
|
|
|
{ prop: 'goodsno', label: '商品编号', show: true },
|
|
{ prop: 'goodsno', label: '商品编号', show: true },
|
|
|
{ prop: 'applyqty', label: '申请重量', show: true },
|
|
{ prop: 'applyqty', label: '申请重量', show: true },
|
|
|
{ prop: 'applyprice', label: '总价', show: true },
|
|
{ prop: 'applyprice', label: '总价', show: true },
|
|
|
{ prop: 'applystatus', label: '申请状态', show: true },
|
|
{ prop: 'applystatus', label: '申请状态', show: true },
|
|
|
- { prop: 'applytime', label: '申请时间', show: true },
|
|
|
|
|
|
|
+ { prop: 'applytime', label: '申请时间', width: 200, show: true },
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
queryMyDelistingApply({
|
|
queryMyDelistingApply({
|
|
@@ -134,4 +142,8 @@ queryMyDelistingApply({
|
|
|
dataList.value = res.data
|
|
dataList.value = res.data
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
-</script>
|
|
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
|
|
+<style lang="less">
|
|
|
|
|
+@import './index.less';
|
|
|
|
|
+</style>
|