You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.5 KiB
65 lines
1.5 KiB
<template>
|
|
<div class="app-container">
|
|
<div class="tab-header webtop">
|
|
<div>车型配置详情</div>
|
|
<div>
|
|
<el-button type="info" size="small" @click="handleReturn">关闭</el-button>
|
|
</div>
|
|
</div>
|
|
<vehicleconfiguration ref="divConfig" :params="sid_list"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import vehicleconfiguration from './vehicleconfiguration'
|
|
|
|
export default {
|
|
name: 'BiaoZhun',
|
|
components: {
|
|
vehicleconfiguration
|
|
},
|
|
data() {
|
|
return {
|
|
FormLoading: false,
|
|
isDown: true,
|
|
isDownOther: true,
|
|
sid_list: {
|
|
modelSid: '',
|
|
configSid: '',
|
|
vehModelConfigSid: '',
|
|
guidedPrice: ''
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
// 返回
|
|
handleReturn() {
|
|
this.sid_list = {
|
|
modelSid: '',
|
|
configSid: '',
|
|
vehModelConfigSid: '',
|
|
guidedPrice: ''
|
|
}
|
|
this.$emit('doback')
|
|
},
|
|
// 查看
|
|
showInfo(row) {
|
|
this.FormLoading = true
|
|
this.sid_list.modelSid = row.modelSid
|
|
this.sid_list.configSid = row.modelConfigSid
|
|
this.sid_list.vehModelConfigSid = row.vehModelConfigSid
|
|
if (row.guidedPrice !== '' || row.guidedPrice !== null) {
|
|
const guidedPrice_two = parseFloat(Number(row.guidedPrice) / 10000).toFixed(2)
|
|
this.sid_list.guidedPrice = guidedPrice_two
|
|
}
|
|
if (row.guidedPrice === '' || row.guidedPrice == null) {
|
|
this.sid_list.guidedPrice = ''
|
|
}
|
|
// this.sid_list.guidedPrice = row.guidedPrice
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style scoped>
|
|
|
|
</style>
|
|
|