This commit is contained in:
parent
d9a0770be5
commit
8ac08ece08
@ -80,6 +80,13 @@
|
||||
<div>{{moment(h.createdAt).format('YYYY-MM-DD HH:mm:ss')}}</div>
|
||||
<div>${{h.usPrice}}</div>
|
||||
</div>
|
||||
<div class="text-xl mt-4">得物价格(CNY)</div>
|
||||
<div v-if="record.dwHistoryPrices?.length>0" class="flex space-x-16 my-2 text-lg" v-for="h in record.dwHistoryPrices">
|
||||
<div>{{moment(h.createdAt).format('YYYY-MM-DD HH:mm:ss')}}</div>
|
||||
<div>¥{{h.dwPrice}}</div>
|
||||
</div>
|
||||
<div class="text-lg" v-else >暂无</div>
|
||||
|
||||
</div>
|
||||
</a-spin>
|
||||
</template>
|
||||
@ -353,6 +360,7 @@ const expand = (expanded, record)=>{
|
||||
if(expanded && !record.historyPrices){
|
||||
GetProduct(record.pid).then(res=>{
|
||||
record.historyPrices = res.historyPrices
|
||||
record.dwHistoryPrices = res.dwHistoryPrices
|
||||
}).catch(err=>{
|
||||
message.error("获取历史价格失败")
|
||||
console.log(err)
|
||||
|
Loading…
Reference in New Issue
Block a user