|
|
@ -24,10 +24,10 @@ |
|
|
|
<el-col :span="4" class="el-form-item-right"> 品牌</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="temp.brandSid" :disabled="stateId == '1'" style="width:50%" placeholder="请选择" |
|
|
|
<el-select v-model="temp.brand" :disabled="stateId == '1'" style="width:50%" placeholder="请选择" |
|
|
|
@change="changePinPai"> |
|
|
|
<el-option v-for="(item, index) in brand_list" :key="index" :label="item.brandName" |
|
|
|
:value="item.sid"/> |
|
|
|
:value="item.brandName"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
@ -35,12 +35,12 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="el-form-item-right"> 车型</el-col> |
|
|
|
<el-col :span="20"> |
|
|
|
<el-form-item prop="modelName"> |
|
|
|
<el-form-item prop="model"> |
|
|
|
<!-- <el-select v-model="temp.modelName" placeholder="请选择" @change="getName" style="width:19%">--> |
|
|
|
<!-- <el-option v-for="(item, index) in figuration" :key="index" :label="item.modelName" :value="item.sid"/>--> |
|
|
|
<!-- </el-select>--> |
|
|
|
<div class="vehicle"> |
|
|
|
<span>{{ temp.modelName }}</span> |
|
|
|
<span>{{ temp.model }}</span> |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" v-show="this.stateId !== '1'" @click="handSelect">车型选择</el-button> |
|
|
|
</div> |
|
|
@ -52,7 +52,7 @@ |
|
|
|
<el-col :span="4" class="el-form-item-right"> 车型常用配置</el-col> |
|
|
|
<el-col :span="20"> |
|
|
|
<el-form-item> |
|
|
|
{{ temp.sketChconfiguration }} |
|
|
|
{{ temp.configName }} |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -76,16 +76,16 @@ |
|
|
|
<el-col :span="4" class="el-form-item-right">销售指导价(万元)</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item> |
|
|
|
<span>{{ temp.saleReferencePrice }}</span> |
|
|
|
<span>{{ temp.guidancePrice }}</span> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item prop="saleReferencePrice">--> |
|
|
|
<!-- <el-form-item prop="guidancePrice">--> |
|
|
|
<!-- <el-input v-model="" maxlength="20" placeholder="" style="width:50%" clearable readonly/>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="el-form-item-right">车型报价</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="vehicleModelOffer"> |
|
|
|
<el-input v-model="temp.vehicleModelOffer" maxlength="20" placeholder="" style="width:50%" clearable/> |
|
|
|
<el-form-item prop="price"> |
|
|
|
<el-input v-model="temp.price" maxlength="20" placeholder="" style="width:50%" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -98,8 +98,8 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="el-form-item-right">预提车日期</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="estimatedPickupDate"> |
|
|
|
<el-date-picker v-model="temp.estimatedPickupDate" type="date" format="yyyy-MM-dd" style="width:50%" value-format="yyyy-MM-dd" placeholder="请选择"/> |
|
|
|
<el-form-item prop="date"> |
|
|
|
<el-date-picker v-model="temp.date" type="date" format="yyyy-MM-dd" style="width:50%" value-format="yyyy-MM-dd" placeholder="请选择"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -111,82 +111,82 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<!-- 选择贷款后展示的金融需求 --> |
|
|
|
<div v-if="this.ifdictKey"> |
|
|
|
<div class="title">金融需求</div> |
|
|
|
<el-form ref="dataForm" :model="crmFindemandVo_copy" label-position="right" label-width="190px" :rules="rules"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="el-form-item-right"> |
|
|
|
贷款主体类型 |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item> |
|
|
|
<el-checkbox-group v-if="principal.length > 0" v-model="loanSubjectType" @change="getDaiKuang"> |
|
|
|
<el-checkbox v-for="item in principal" :key="item.dictKey" :label="item.dictKey"> |
|
|
|
{{ item.dictValue }} |
|
|
|
</el-checkbox> |
|
|
|
</el-checkbox-group> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="el-form-item-right"> 资方</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="crmFindemandVo_copy.managementName" placeholder="请选择" style="width:50%"> |
|
|
|
<el-option v-for="(item, index) in supplier" :key="item.sid" :label="item.manageName" |
|
|
|
:value="item.manageName"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="el-form-item-right"> 是否打包</el-col> |
|
|
|
<el-col :span="20"> |
|
|
|
<el-form-item> |
|
|
|
<el-radio v-model="crmFindemandVo_copy.isnoPackaging" label="是">是</el-radio> |
|
|
|
<el-radio v-model="crmFindemandVo_copy.isnoPackaging" label="否">否</el-radio> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="el-form-item-right"> 首付比例</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="downpayment"> |
|
|
|
<el-input v-model="crmFindemandVo_copy.downpayment" maxlength="5" placeholder="" style="width:50%" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="el-form-item-right"> |
|
|
|
保证金比列 |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="marginLevel"> |
|
|
|
<el-input v-model="crmFindemandVo_copy.marginLevel" maxlength="5" style="width:50%" placeholder="" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="el-form-item-right"> 贷款期数</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="loanStageNumber"> |
|
|
|
<el-input v-model="crmFindemandVo_copy.loanStageNumber" maxlength="5" placeholder="" style="width:50%" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="el-form-item-right"> 月还金额</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="acceptMonthAmount"> |
|
|
|
<el-input v-model="crmFindemandVo_copy.acceptMonthAmount" maxlength="5" placeholder="" style="width:50%" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="el-form-item-right"> 备注</el-col> |
|
|
|
<el-col :span="20"> |
|
|
|
<el-form-item prop=""> |
|
|
|
<el-input v-model="crmFindemandVo_copy.remarks" maxlength="5" placeholder="" style="width:81%" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
<!-- 选择贷款后展示的金融需求 暂时注释掉,不可删除!!! --> |
|
|
|
<!-- <div v-if="this.ifdictKey">--> |
|
|
|
<!-- <div class="title">金融需求</div>--> |
|
|
|
<!-- <el-form ref="dataForm" :model="crmFindemandVo_copy" label-position="right" label-width="190px" :rules="rules">--> |
|
|
|
<!-- <el-row>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right">--> |
|
|
|
<!-- 贷款主体类型--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- <el-col :span="8">--> |
|
|
|
<!-- <el-form-item>--> |
|
|
|
<!-- <el-checkbox-group v-if="principal.length > 0" v-model="loanSubjectType" @change="getDaiKuang">--> |
|
|
|
<!-- <el-checkbox v-for="item in principal" :key="item.dictKey" :label="item.dictKey">--> |
|
|
|
<!-- {{ item.dictValue }}--> |
|
|
|
<!-- </el-checkbox>--> |
|
|
|
<!-- </el-checkbox-group>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right"> 资方</el-col>--> |
|
|
|
<!-- <el-col :span="8">--> |
|
|
|
<!-- <el-form-item>--> |
|
|
|
<!-- <el-select v-model="crmFindemandVo_copy.managementName" placeholder="请选择" style="width:50%">--> |
|
|
|
<!-- <el-option v-for="(item, index) in supplier" :key="item.sid" :label="item.manageName"--> |
|
|
|
<!-- :value="item.manageName"/>--> |
|
|
|
<!-- </el-select>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- </el-row>--> |
|
|
|
<!-- <el-row>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right"> 是否打包</el-col>--> |
|
|
|
<!-- <el-col :span="20">--> |
|
|
|
<!-- <el-form-item>--> |
|
|
|
<!-- <el-radio v-model="crmFindemandVo_copy.isnoPackaging" label="是">是</el-radio>--> |
|
|
|
<!-- <el-radio v-model="crmFindemandVo_copy.isnoPackaging" label="否">否</el-radio>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- </el-row>--> |
|
|
|
<!-- <el-row>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right"> 首付比例</el-col>--> |
|
|
|
<!-- <el-col :span="8">--> |
|
|
|
<!-- <el-form-item prop="downpayment">--> |
|
|
|
<!-- <el-input v-model="crmFindemandVo_copy.downpayment" maxlength="5" placeholder="" style="width:50%" class="addinputw" clearable/>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right">--> |
|
|
|
<!-- 保证金比例--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- <el-col :span="8">--> |
|
|
|
<!-- <el-form-item prop="marginLevel">--> |
|
|
|
<!-- <el-input v-model="crmFindemandVo_copy.marginLevel" maxlength="5" style="width:50%" placeholder="" class="addinputw" clearable/>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- </el-row>--> |
|
|
|
<!-- <el-row>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right"> 贷款期数</el-col>--> |
|
|
|
<!-- <el-col :span="8">--> |
|
|
|
<!-- <el-form-item prop="loanStageNumber">--> |
|
|
|
<!-- <el-input v-model="crmFindemandVo_copy.loanStageNumber" maxlength="5" placeholder="" style="width:50%" class="addinputw" clearable/>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right"> 月还金额</el-col>--> |
|
|
|
<!-- <el-col :span="8">--> |
|
|
|
<!-- <el-form-item prop="acceptMonthAmount">--> |
|
|
|
<!-- <el-input v-model="crmFindemandVo_copy.acceptMonthAmount" maxlength="5" placeholder="" style="width:50%" class="addinputw" clearable/>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- </el-row>--> |
|
|
|
<!-- <el-row>--> |
|
|
|
<!-- <el-col :span="4" class="el-form-item-right"> 备注</el-col>--> |
|
|
|
<!-- <el-col :span="20">--> |
|
|
|
<!-- <el-form-item prop="">--> |
|
|
|
<!-- <el-input v-model="crmFindemandVo_copy.remarks" maxlength="5" placeholder="" style="width:81%" class="addinputw" clearable/>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- </el-row>--> |
|
|
|
<!-- </el-form>--> |
|
|
|
<!-- </div>--> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -237,20 +237,20 @@ export default { |
|
|
|
customerSid: '', |
|
|
|
purchaseMethod: '', |
|
|
|
brandSid: '', |
|
|
|
brandName: '', |
|
|
|
brand: '', |
|
|
|
modelSid: '', |
|
|
|
modelName: '', |
|
|
|
sketChconfiguration: '', |
|
|
|
model: '', |
|
|
|
configName: '', |
|
|
|
otherConfig: '', |
|
|
|
changeOptions: '', |
|
|
|
vehicleModelOffer: '', |
|
|
|
price: '', |
|
|
|
number: '', |
|
|
|
estimatedPickupDate: '', |
|
|
|
date: '', |
|
|
|
states: '', |
|
|
|
comonConfigSid: '', |
|
|
|
purchaseMethodValue: '', |
|
|
|
remarks: '', |
|
|
|
saleReferencePrice: '', |
|
|
|
guidancePrice: '', |
|
|
|
crmFindemandDto: { |
|
|
|
customerSid: '', |
|
|
|
demandSid: '', |
|
|
@ -321,9 +321,8 @@ export default { |
|
|
|
// this.enter = checkin |
|
|
|
getPcVehicleInfoBySid(sid).then((response) => { |
|
|
|
if (response.code === '200') { |
|
|
|
// this.temp = response.data |
|
|
|
// this.temp.brandSid = response.data.brand |
|
|
|
// this.aseTypeBox = [this.temp.purchaseMethod] |
|
|
|
this.temp = response.data |
|
|
|
this.aseTypeBox = [this.temp.purchaseMethod] |
|
|
|
// if (this.temp.purchaseMethodValue == '贷款') { |
|
|
|
// this.ifdictKey = true |
|
|
|
// this.crmFindemandVo_copy = response.data.crmFindemandVo |
|
|
@ -331,7 +330,6 @@ export default { |
|
|
|
// this.ifdictKey = false |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
// if (this.temp.crmFindemandVo.loanSubjectType !== '') { |
|
|
|
// this.principal.forEach((e) => { |
|
|
|
// if (e.dictValue == this.temp.crmFindemandVo.loanSubjectType) { |
|
|
@ -533,15 +531,16 @@ export default { |
|
|
|
changePinPai(value) { |
|
|
|
let bb = [] |
|
|
|
this.brand_list.forEach((e) => { |
|
|
|
if (e.sid === value) { |
|
|
|
if (e.brandName === value) { |
|
|
|
bb = { |
|
|
|
name: e.brandName, |
|
|
|
sid: e.sid |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
this.temp.brandName = bb.name |
|
|
|
this.temp.brand = bb.name |
|
|
|
this.temp.brandSid = bb.sid |
|
|
|
console.log('sid',this.temp.brandSid,'name',this.temp.brand) |
|
|
|
this.getCheXingName(this.temp.brandSid) |
|
|
|
}, |
|
|
|
|
|
|
@ -568,7 +567,7 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
this.temp.brandSid = bb.sid |
|
|
|
this.temp.brandName = bb.names |
|
|
|
this.temp.brand = bb.names |
|
|
|
}, |
|
|
|
// 车型名称 |
|
|
|
// getCheXing() { |
|
|
@ -704,10 +703,10 @@ export default { |
|
|
|
var arrayList = [] |
|
|
|
arrayList = value |
|
|
|
console.log(arrayList, 8888) |
|
|
|
this.temp.modelName = arrayList[0].modelName |
|
|
|
this.temp.sketChconfiguration = arrayList[0].configName |
|
|
|
this.temp.model = arrayList[0].modelName |
|
|
|
this.temp.configName = arrayList[0].configName |
|
|
|
this.temp.otherConfig = arrayList[0].otherConfig |
|
|
|
this.temp.saleReferencePrice = arrayList[0].guidedPrice |
|
|
|
this.temp.guidancePrice = arrayList[0].guidedPrice |
|
|
|
}, |
|
|
|
resetState() { |
|
|
|
this.viewState = 1 |
|
|
|