|
|
@@ -1,6 +1,6 @@
|
|
|
<!-- 预售大厅-我的预售-我的申请-详情 -->
|
|
|
<template>
|
|
|
- <app-drawer title="详情" :width="800" v-model:show="show">
|
|
|
+ <app-drawer title="详情" :width="960" v-model:show="show">
|
|
|
<app-table-details title="预售信息" :label-width="140" :data="selectedRow" :cell-props="details1" :column="2">
|
|
|
<!-- 采购保证金比例 -->
|
|
|
<template #buymarginvalue="{ value }">
|
|
|
@@ -14,6 +14,10 @@
|
|
|
<template #performancetemplateid="{ value }">
|
|
|
<app-performance-rule :item="getPerformanceTemplateById(value)" />
|
|
|
</template>
|
|
|
+ <!-- 集采价格 -->
|
|
|
+ <template #price>
|
|
|
+ <app-table :data="priceList" :columns="priceColumns" :show-toolbar="false" border />
|
|
|
+ </template>
|
|
|
</app-table-details>
|
|
|
<app-table-details title="钻石参考信息" :label-width="140" :data="selectedRow" :cell-props="details2" :column="2">
|
|
|
<!-- 生产方式 -->
|
|
|
@@ -35,7 +39,10 @@ import { shallowRef, reactive, PropType, onMounted } from 'vue'
|
|
|
import { getFileUrl, parsePercent, handleNumberValue } from '@/filters'
|
|
|
import { getInOutApplyStatusName, getYSProductionModeName } from '@/constants/presale'
|
|
|
import { performanceStore } from '@/stores'
|
|
|
+import { useRequest } from '@/hooks/request'
|
|
|
+import { queryPresaleorderapplyprice } from '@/services/api/presale'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
|
+import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppTableDetails from '@pc/components/base/table-details/index.vue'
|
|
|
import AppPerformanceRule from '@pc/components/modules/performance-rule/index.vue'
|
|
|
|
|
|
@@ -50,6 +57,12 @@ const { getPerformanceTemplateById } = performanceStore.actions
|
|
|
const show = shallowRef(true)
|
|
|
const imageUrl = reactive<string[]>([])
|
|
|
|
|
|
+const { dataList: priceList } = useRequest(queryPresaleorderapplyprice, {
|
|
|
+ params: {
|
|
|
+ applyid: props.selectedRow.presaleapplyid
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
const details1 = [
|
|
|
{ prop: 'wrstandardname', label: '商品名称:' },
|
|
|
{ prop: 'applytime', label: '申请日期:' },
|
|
|
@@ -64,6 +77,7 @@ const details1 = [
|
|
|
{ prop: 'applystatus', label: '状态:' },
|
|
|
{ prop: 'auditremark', label: '审核备注:' },
|
|
|
{ prop: 'performancetemplateid', label: '履约方式:', entireRow: true },
|
|
|
+ { prop: 'price', label: '集采价格:', entireRow: true },
|
|
|
]
|
|
|
|
|
|
const details2 = [
|
|
|
@@ -78,6 +92,12 @@ const details2 = [
|
|
|
{ prop: 'remark', label: '备注:', entireRow: true },
|
|
|
]
|
|
|
|
|
|
+const priceColumns: Ermcp.TableColumn[] = [
|
|
|
+ { prop: 'stepindex', label: '序号' },
|
|
|
+ { prop: 'qty', label: '数量' },
|
|
|
+ { prop: 'price', label: '价格(元/克拉)' },
|
|
|
+]
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
const images = props.selectedRow.pictureurls.split(',')
|
|
|
images.forEach((url) => {
|