Browse Source

完善车辆需求

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

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

@ -94,13 +94,15 @@
<div>
<el-row>
<el-col :span="24">
<div v-show="formobj.financePlan !== '1' && formobj.purchaseMethod !== ''">
<div class="span-sty">金融方案类型</div>
<el-form-item>
<el-radio-group class="addinputInfo" style="font-size: 1px" v-model="formobj.typeKey" @input="typeInput">
<el-radio label="1">资方常规</el-radio>
<el-radio label="2">公司定制</el-radio>
<el-radio v-show="formobj.purchaseMethod === '2'" label="2">公司定制</el-radio>
</el-radio-group>
</el-form-item>
</div>
</el-col>
</el-row>
<div v-show="formobj.financePlan !== '1' && formobj.typeKey === '1'">
@ -265,6 +267,72 @@ export default {
} else {
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) {

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