Browse Source

完善车辆需求

master
yunuo970428 2 years ago
parent
commit
87312d4e7a
  1. 82
      anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuAdd.vue
  2. 29
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/paymentticket.vue

82
anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuAdd.vue

@ -94,13 +94,15 @@
<div> <div>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="span-sty">金融方案类型</div> <div v-show="formobj.financePlan !== '1' && formobj.purchaseMethod !== ''">
<el-form-item> <div class="span-sty">金融方案类型</div>
<el-radio-group class="addinputInfo" style="font-size: 1px" v-model="formobj.typeKey" @input="typeInput"> <el-form-item>
<el-radio label="1">资方常规</el-radio> <el-radio-group class="addinputInfo" style="font-size: 1px" v-model="formobj.typeKey" @input="typeInput">
<el-radio label="2">公司定制</el-radio> <el-radio label="1">资方常规</el-radio>
</el-radio-group> <el-radio v-show="formobj.purchaseMethod === '2'" label="2">公司定制</el-radio>
</el-form-item> </el-radio-group>
</el-form-item>
</div>
</el-col> </el-col>
</el-row> </el-row>
<div v-show="formobj.financePlan !== '1' && formobj.typeKey === '1'"> <div v-show="formobj.financePlan !== '1' && formobj.typeKey === '1'">
@ -265,6 +267,72 @@ export default {
} else { } else {
this.formobj.purchaseMethodValue = '贷款' this.formobj.purchaseMethodValue = '贷款'
} }
this.formobj.financePlan = ''
this.formobj.financePlanValue = ''
this.formobj.crmSolutions = {
accessoriesAmount: '',
accessoriesAmountCb: false,
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
interest: '',
isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
period: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
serviceAmount: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
}, },
// //
brandChange(value) { brandChange(value) {

29
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/chukuguanliFlow/chukuguanli/relation/paymentticket.vue → anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/paymentticket.vue

@ -143,7 +143,7 @@
</template> </template>
<script> <script>
import { deliveredFinSelect } from '@/api/chukuguanli/chukubanli' import { deliveredFinSelect, deliveredFinSelecByBusVinSidPC } from '@/api/chukuguanli/chukubanli'
export default { export default {
name: 'PaymentTicket', name: 'PaymentTicket',
@ -186,12 +186,22 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['dataForm'].clearValidate() this.$refs['dataForm'].clearValidate()
}) })
deliveredFinSelect({ contractNo: contractId, vinSid: row.vinSid }).then((response) => { if (row.vinSid !== null && row.vinSid !== undefined) {
if (response.success) { deliveredFinSelect({ contractNo: contractId, vinSid: row.vinSid }).then((response) => {
console.log(response.data) if (response.success) {
this.formobj = response.data console.log(response.data)
} this.formobj = response.data
}) }
})
}
// 退
if (row.busVinSid !== null && row.busVinSid !== undefined) {
deliveredFinSelecByBusVinSidPC({ contractNo: contractId, busVinSid: row.busVinSid }).then((res) =>{
if (res.success) {
this.formobj = res.data
}
})
}
}, },
// ------------ ------------ // ------------ ------------
// //
@ -227,11 +237,6 @@ export default {
} }
</script> </script>
<style scoped> <style scoped>
.titwu {
font-size: 28px;
text-align: center;
padding: 30px 0 20px 0;
}
.span-sty { .span-sty {
width: 120px !important; width: 120px !important;
} }
Loading…
Cancel
Save