Browse Source

完善金融方案、车辆需求

master
yunuo970428 2 years ago
parent
commit
f927f3b1d8
  1. 145
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue
  2. 259
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeEdit.vue
  3. 117
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeInfo.vue
  4. 21
      anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuAdd.vue
  5. 6
      anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuinfo.vue
  6. 343
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue
  7. 150
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeEdit.vue
  8. 220
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeInfo.vue

145
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue

@ -329,12 +329,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -371,14 +373,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
@ -443,12 +448,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: val,
isShowMore: false,
@ -485,14 +492,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
@ -517,6 +527,14 @@ export default {
this.finance.loanPeriod = choose[0].period
// --
this.finance.bondRatio = choose[0].bondRatio
// --
this.finance.depositPremium = choose[0].depositPremium
// --
this.finance.depositSettle = choose[0].depositSettle
// -- ()
this.finance.nominalPrice = choose[0].nominalPrice
// --
this.finance.proxyAccidentPremium = choose[0].vehAccidentAmount
//
this.finance.factoryDiscountUse = '抵利息'
this.finance.factoryDiscountUseKey = '02'
@ -588,6 +606,17 @@ export default {
this.finance.loanAmount = Math.round(parseInt(this.arguments(this.finance.loanTotal)) - parseInt(this.arguments(this.finance.downPayAmount)))
// --
this.finance.bondAmount = Math.round(parseFloat(this.arguments(this.finance.bondRatio)) * parseInt(this.arguments(this.finance.loanAmount)) / 100)
// --
if (this.finance.serviceChargeTypeKey === '01') {
// * ()
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanTotal)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue)))
} else if (this.finance.serviceChargeTypeKey === '02') {
//
this.finance.serviceAmount = this.finance.serviceChargeTypeValue
} else if (this.finance.serviceChargeTypeKey === '03') {
// * ()
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanAmount)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue)))
}
}
if (this.finance.premiumCb && this.finance.dealWayKey === '02') {
this.finance.offsetPremium = this.finance.premium
@ -607,6 +636,10 @@ export default {
this.finance.downPayRatio = (parseInt(this.arguments(this.finance.downPayAmount)) / parseInt(this.arguments(this.finance.loanTotal)) * 100).toPrecision(2)
//
this.finance.loanAmount = Math.round(parseInt(this.arguments(this.finance.loanTotal)) - parseInt(this.arguments(this.finance.downPayAmount)))
if (this.finance.serviceChargeTypeKey === '03') {
// * ()
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanAmount)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue)))
}
// --
this.finance.bondAmount = Math.round(parseFloat(this.arguments(this.finance.bondRatio)) * parseInt(this.arguments(this.finance.loanAmount)) / 100)
}
@ -735,78 +768,74 @@ export default {
},
handleColse() {
this.finance = {
saleOrderSid: '',
type: '',
isPack: '',
policyName: '',
policySid: '',
mainVehicleAmount: '',
accessoriesAmount: '',
trailerAmount: '',
purchaseTax: '',
premium: '',
loanTotal: '',
accessoriesAmountCb: false,
trailerAmountCb: false,
purchaseTaxCb: false,
premiumCb: false,
downPayRatio: '',
downPayAmount: '',
loanAmount: '',
loanPeriod: '',
bondRatio: '',
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
policyYearRatio: '',
loanPayMoney: '',
interest: '',
isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
discountCar: '',
otherPolicyState: false,
otherPolicyName: '',
otherPolicySid: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '',
otherPolicyPeriod: '',
otherPolicyMonthlyRepay: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
loanDownPay: '',
downPayAmountsRatio: '',
loanAmountTotal: '',
period: '',
monthlyRepay: '',
interest: '',
returnTime: '',
downPayAmounts: '',
bondAmounts: '',
depositPremium: '',
depositSettle: '',
serviceAmount: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
registerAmount: '',
operationAmount: '',
vehOtherPrice: '',
otherAmount: '',
otherAmountRemark: '',
dealWay: '',
dealWayKey: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
receivableTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
vehTotalPrice: '',
nominalPrice: ''
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
this.isShowMore = false
this.$emit('doback')

259
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeEdit.vue

@ -335,12 +335,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -377,14 +379,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
@ -421,155 +426,149 @@ export default {
backData(value) {
this.viewState = 1
value = JSON.parse(JSON.stringify(value))
this.formobj.type = value.type
this.formobj.isPack = value.isPack
this.formobj.policyName = value.policyName
this.formobj.policySid = value.policySid
this.formobj.mainVehicleAmount = value.mainVehicleAmount
this.formobj.accessoriesAmount = value.accessoriesAmount
this.formobj.trailerAmount = value.trailerAmount
this.formobj.purchaseTax = value.purchaseTax
this.formobj.premium = value.premium
this.formobj.loanTotal = value.loanTotal
this.formobj.accessoriesAmountCb = value.accessoriesAmountCb
this.formobj.trailerAmountCb = value.trailerAmountCb
this.formobj.purchaseTaxCb = value.purchaseTaxCb
this.formobj.premiumCb = value.premiumCb
this.formobj.downPayRatio = value.downPayRatio
this.formobj.downPayAmount = value.downPayAmount
this.formobj.loanAmount = value.loanAmount
this.formobj.loanPeriod = value.loanPeriod
this.formobj.bondRatio = value.bondRatio
this.formobj.bondAmount = value.bondAmount
this.formobj.factoryDiscount = value.factoryDiscount
this.formobj.factoryDiscountUse = value.factoryDiscountUse
this.formobj.factoryDiscountUseKey = value.factoryDiscountUseKey
this.formobj.policyYearRatio = value.policyYearRatio
this.formobj.loanPayMoney = value.loanPayMoney
this.formobj.loanInterest = value.loanInterest
this.formobj.discountCar = value.discountCar
this.formobj.otherPolicyState = value.otherPolicyState
this.formobj.otherPolicyName = value.otherPolicyName
this.formobj.otherPolicySid = value.otherPolicySid
this.formobj.otherPolicyAmount = value.otherPolicyAmount
this.formobj.otherPolicyPeriod = value.otherPolicyPeriod
this.formobj.otherPolicyMonthlyRepay = value.otherPolicyMonthlyRepay
this.formobj.otherPolicyInterest = value.otherPolicyInterest
this.formobj.otherPolicyYearRatio = value.otherPolicyYearRatio
this.formobj.loanDownPay = value.loanDownPay
this.formobj.downPayAmountsRatio = value.downPayAmountsRatio
this.formobj.loanAmountTotal = value.loanAmountTotal
this.formobj.period = value.period
this.formobj.monthlyRepay = value.monthlyRepay
this.formobj.interest = value.interest
this.formobj.returnTime = value.returnTime
this.formobj.downPayAmounts = value.downPayAmounts
this.formobj.bondAmounts = value.bondAmounts
this.formobj.depositPremium = value.depositPremium
this.formobj.depositSettle = value.depositSettle
this.formobj.serviceAmount = value.serviceAmount
this.formobj.proxyAccidentPremium = value.proxyAccidentPremium
this.formobj.registerAmount = value.registerAmount
this.formobj.operationAmount = value.operationAmount
this.formobj.vehOtherPrice = value.vehOtherPrice
this.formobj.otherAmount = value.otherAmount
this.formobj.otherAmountRemark = value.otherAmountRemark
this.formobj.dealWay = value.dealWay
this.formobj.dealWayKey = value.dealWayKey
this.formobj.proxyPremium = value.proxyPremium
this.formobj.proxyPurchasetax = value.proxyPurchasetax
this.formobj.proxyTotal = value.proxyTotal
this.formobj.offsetPremium = value.offsetPremium
this.formobj.offsetPurchasetax = value.offsetPurchasetax
this.formobj.offsetTotal = value.offsetTotal
this.formobj.receivableTotal = value.receivableTotal
this.formobj.realTotal = value.realTotal
this.formobj.vehTotalPrice = value.vehTotalPrice
this.formobj.nominalPrice = value.nominalPrice
this.formobj = value
// this.formobj.isPack = value.isPack
// this.formobj.policyName = value.policyName
// this.formobj.policySid = value.policySid
// this.formobj.mainVehicleAmount = value.mainVehicleAmount
// this.formobj.accessoriesAmount = value.accessoriesAmount
// this.formobj.trailerAmount = value.trailerAmount
// this.formobj.purchaseTax = value.purchaseTax
// this.formobj.premium = value.premium
// this.formobj.loanTotal = value.loanTotal
//
// this.formobj.accessoriesAmountCb = value.accessoriesAmountCb
// this.formobj.trailerAmountCb = value.trailerAmountCb
// this.formobj.purchaseTaxCb = value.purchaseTaxCb
// this.formobj.premiumCb = value.premiumCb
//
// this.formobj.downPayRatio = value.downPayRatio
// this.formobj.downPayAmount = value.downPayAmount
// this.formobj.loanAmount = value.loanAmount
// this.formobj.loanPeriod = value.loanPeriod
// this.formobj.bondRatio = value.bondRatio
// this.formobj.bondAmount = value.bondAmount
// this.formobj.factoryDiscount = value.factoryDiscount
// this.formobj.factoryDiscountUse = value.factoryDiscountUse
// this.formobj.factoryDiscountUseKey = value.factoryDiscountUseKey
// this.formobj.policyYearRatio = value.policyYearRatio
// this.formobj.loanPayMoney = value.loanPayMoney
// this.formobj.loanInterest = value.loanInterest
// this.formobj.discountCar = value.discountCar
// this.formobj.otherPolicyState = value.otherPolicyState
//
// this.formobj.otherPolicyName = value.otherPolicyName
// this.formobj.otherPolicySid = value.otherPolicySid
// this.formobj.otherPolicyAmount = value.otherPolicyAmount
// this.formobj.otherPolicyPeriod = value.otherPolicyPeriod
//
// this.formobj.otherPolicyMonthlyRepay = value.otherPolicyMonthlyRepay
// this.formobj.otherPolicyInterest = value.otherPolicyInterest
// this.formobj.otherPolicyYearRatio = value.otherPolicyYearRatio
//
// this.formobj.loanDownPay = value.loanDownPay
// this.formobj.downPayAmountsRatio = value.downPayAmountsRatio
// this.formobj.loanAmountTotal = value.loanAmountTotal
// this.formobj.period = value.period
// this.formobj.monthlyRepay = value.monthlyRepay
// this.formobj.interest = value.interest
// this.formobj.returnTime = value.returnTime
//
// this.formobj.downPayAmounts = value.downPayAmounts
// this.formobj.bondAmounts = value.bondAmounts
// this.formobj.depositPremium = value.depositPremium
// this.formobj.depositSettle = value.depositSettle
// this.formobj.serviceAmount = value.serviceAmount
// this.formobj.proxyAccidentPremium = value.proxyAccidentPremium
// this.formobj.registerAmount = value.registerAmount
// this.formobj.operationAmount = value.operationAmount
// this.formobj.vehOtherPrice = value.vehOtherPrice
// this.formobj.otherAmount = value.otherAmount
// this.formobj.otherAmountRemark = value.otherAmountRemark
// this.formobj.dealWay = value.dealWay
// this.formobj.dealWayKey = value.dealWayKey
// this.formobj.proxyPremium = value.proxyPremium
// this.formobj.proxyPurchasetax = value.proxyPurchasetax
// this.formobj.proxyTotal = value.proxyTotal
// this.formobj.offsetPremium = value.offsetPremium
// this.formobj.offsetPurchasetax = value.offsetPurchasetax
// this.formobj.offsetTotal = value.offsetTotal
// this.formobj.receivableTotal = value.receivableTotal
// this.formobj.realTotal = value.realTotal
// this.formobj.vehTotalPrice = value.vehTotalPrice
// this.formobj.nominalPrice = value.nominalPrice
},
backParameters() {
this.$emit('backParameters', this.formobj)
this.formobj = {
saleOrderSid: '',
type: '',
isPack: '',
policyName: '',
policySid: '',
mainVehicleAmount: '',
accessoriesAmount: '',
trailerAmount: '',
purchaseTax: '',
premium: '',
loanTotal: '',
accessoriesAmountCb: false,
trailerAmountCb: false,
purchaseTaxCb: false,
premiumCb: false,
downPayRatio: '',
downPayAmount: '',
loanAmount: '',
loanPeriod: '',
bondRatio: '',
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
policyYearRatio: '',
loanPayMoney: '',
interest: '',
isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
discountCar: '',
otherPolicyState: false,
otherPolicyName: '',
otherPolicySid: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '',
otherPolicyPeriod: '',
otherPolicyMonthlyRepay: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
loanDownPay: '',
downPayAmountsRatio: '',
loanAmountTotal: '',
period: '',
monthlyRepay: '',
interest: '',
returnTime: '',
downPayAmounts: '',
bondAmounts: '',
depositPremium: '',
depositSettle: '',
serviceAmount: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
registerAmount: '',
operationAmount: '',
vehOtherPrice: '',
otherAmount: '',
otherAmountRemark: '',
dealWay: '',
dealWayKey: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
receivableTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
vehTotalPrice: '',
nominalPrice: '',
isShowMore: false
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
},
handleSave() {

117
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialschemeInfo.vue

@ -329,12 +329,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -371,14 +373,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
@ -394,80 +399,74 @@ export default {
},
handleReturn() {
this.formobj = {
saleOrderSid: '',
type: '',
isPack: '',
policyName: '',
policySid: '',
mainVehicleAmount: '',
accessoriesAmount: '',
trailerAmount: '',
purchaseTax: '',
premium: '',
loanTotal: '',
accessoriesAmountCb: false,
trailerAmountCb: false,
purchaseTaxCb: false,
premiumCb: false,
downPayRatio: '',
downPayAmount: '',
loanAmount: '',
loanPeriod: '',
bondRatio: '',
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
policyYearRatio: '',
loanPayMoney: '',
interest: '',
isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
discountCar: '',
otherPolicyState: false,
otherPolicyName: '',
otherPolicySid: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '',
otherPolicyPeriod: '',
otherPolicyMonthlyRepay: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
loanDownPay: '',
downPayAmountsRatio: '',
loanAmountTotal: '',
period: '',
monthlyRepay: '',
interest: '',
returnTime: '',
downPayAmounts: '',
bondAmounts: '',
depositPremium: '',
depositSettle: '',
serviceAmount: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
registerAmount: '',
operationAmount: '',
vehOtherPrice: '',
otherAmount: '',
otherAmountRemark: '',
dealWay: '',
dealWayKey: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
receivableTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
vehTotalPrice: '',
nominalPrice: '',
isShowMore: false
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
this.$emit('doback')
}

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

@ -149,12 +149,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -191,14 +193,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
@ -286,12 +291,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -328,14 +335,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
@ -441,12 +451,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -483,14 +495,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',

6
anrui-buscenter/anrui-buscenter-ui/src/views/kehuguanli/cheliangxuqiu/cheliangxuqiuinfo.vue

@ -115,12 +115,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -157,13 +159,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',

343
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue

@ -318,7 +318,76 @@ export default {
dealWay_list: [],
policy_list: [],
other_list: [],
finance: {},
finance: {
accessoriesAmount: '',
accessoriesAmountCb: false,
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
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: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
},
orgPath: '',
rules: {}
}
@ -366,75 +435,76 @@ export default {
},
//
isPackChange(val) {
this.finance.type = ''
this.finance.isPack = val
this.finance.policyName = ''
this.finance.policySid = ''
this.finance.mainVehicleAmount = ''
this.finance.accessoriesAmount = ''
this.finance.trailerAmount = ''
this.finance.purchaseTax = ''
this.finance.premium = ''
this.finance.loanTotal = ''
this.finance.accessoriesAmountCb = false
this.finance.trailerAmountCb = false
this.finance.purchaseTaxCb = false
this.finance.premiumCb = false
this.finance.downPayRatio = ''
this.finance.downPayAmount = ''
this.finance.loanAmount = ''
this.finance.loanPeriod = ''
this.finance.bondRatio = ''
this.finance.bondAmount = ''
this.finance.factoryDiscount = ''
this.finance.policyYearRatio = ''
this.finance.loanPayMoney = ''
this.finance.loanInterest = ''
this.finance.discountCar = ''
this.finance.otherPolicyState = false
this.finance.otherPolicyName = ''
this.finance.otherPolicySid = ''
this.finance.otherPolicyAmount = ''
this.finance.otherPolicyPeriod = ''
this.finance.otherPolicyMonthlyRepay = ''
this.finance.otherPolicyInterest = ''
this.finance.otherPolicyYearRatio = ''
this.finance.loanDownPay = ''
this.finance.downPayAmountsRatio = ''
this.finance.loanAmountTotal = ''
this.finance.period = ''
this.finance.monthlyRepay = ''
this.finance.interest = ''
this.finance.returnTime = ''
this.finance.downPayAmounts = ''
this.finance.bondAmounts = ''
this.finance.depositPremium = ''
this.finance.depositSettle = ''
this.finance.serviceAmount = ''
this.finance.proxyAccidentPremium = ''
this.finance.registerAmount = ''
this.finance.operationAmount = ''
this.finance.vehOtherPrice = ''
this.finance.otherAmount = ''
this.finance.otherAmountRemark = ''
this.finance.dealWay = ''
this.finance.dealWayKey = ''
this.finance.proxyPremium = ''
this.finance.proxyPurchasetax = ''
this.finance.proxyTotal = ''
this.finance.offsetPremium = ''
this.finance.offsetPurchasetax = ''
this.finance.offsetTotal = ''
this.finance.receivableTotal = ''
this.finance.realTotal = ''
this.finance.vehTotalPrice = ''
this.finance.nominalPrice = ''
this.finance = {
accessoriesAmount: '',
accessoriesAmountCb: false,
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: val,
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: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
console.log(this.orgPath, window.sessionStorage.getItem('userSid'), this.finance.isPack, 88888)
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
if (resp.success) {
@ -455,6 +525,14 @@ export default {
this.finance.loanPeriod = choose[0].period
// --
this.finance.bondRatio = choose[0].bondRatio
// --
this.finance.depositPremium = choose[0].depositPremium
// --
this.finance.depositSettle = choose[0].depositSettle
// -- ()
this.finance.nominalPrice = choose[0].nominalPrice
// --
this.finance.proxyAccidentPremium = choose[0].vehAccidentAmount
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: choose[0].sid }).then((res) => {
if (res.success) {
this.other_list = res.data
@ -523,6 +601,17 @@ export default {
this.finance.loanAmount = Math.round(parseInt(this.arguments(this.finance.loanTotal)) - parseInt(this.arguments(this.finance.downPayAmount)))
// --
this.finance.bondAmount = Math.round(parseFloat(this.arguments(this.finance.bondRatio)) * parseInt(this.arguments(this.finance.loanAmount)) / 100)
// --
if (this.finance.serviceChargeTypeKey === '01') {
// * ()
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanTotal)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue)))
} else if (this.finance.serviceChargeTypeKey === '02') {
//
this.finance.serviceAmount = this.finance.serviceChargeTypeValue
} else if (this.finance.serviceChargeTypeKey === '03') {
// * ()
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanAmount)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue)))
}
}
if (this.finance.premiumCb && this.finance.dealWayKey === '02') {
this.finance.offsetPremium = this.finance.premium
@ -542,6 +631,10 @@ export default {
this.finance.downPayRatio = (parseInt(this.arguments(this.finance.downPayAmount)) / parseInt(this.arguments(this.finance.loanTotal)) * 100).toPrecision(2)
//
this.finance.loanAmount = Math.round(parseInt(this.arguments(this.finance.loanTotal)) - parseInt(this.arguments(this.finance.downPayAmount)))
if (this.finance.serviceChargeTypeKey === '03') {
// * ()
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanAmount)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue)))
}
// --
this.finance.bondAmount = Math.round(parseFloat(this.arguments(this.finance.bondRatio)) * parseInt(this.arguments(this.finance.loanAmount)) / 100)
}
@ -664,80 +757,74 @@ export default {
},
handleColse() {
this.finance = {
saleOrderSid: '',
type: '',
isPack: '',
policyName: '',
policySid: '',
mainVehicleAmount: '',
accessoriesAmount: '',
trailerAmount: '',
purchaseTax: '',
premium: '',
loanTotal: '',
accessoriesAmountCb: false,
trailerAmountCb: false,
purchaseTaxCb: false,
premiumCb: false,
downPayRatio: '',
downPayAmount: '',
loanAmount: '',
loanPeriod: '',
bondRatio: '',
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
policyYearRatio: '',
loanPayMoney: '',
interest: '',
isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
discountCar: '',
otherPolicyState: false,
otherPolicyName: '',
otherPolicySid: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '',
otherPolicyPeriod: '',
otherPolicyMonthlyRepay: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
loanDownPay: '',
downPayAmountsRatio: '',
loanAmountTotal: '',
period: '',
monthlyRepay: '',
interest: '',
returnTime: '',
downPayAmounts: '',
bondAmounts: '',
depositPremium: '',
depositSettle: '',
serviceAmount: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
registerAmount: '',
operationAmount: '',
vehOtherPrice: '',
otherAmount: '',
otherAmountRemark: '',
dealWay: '',
dealWayKey: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
receivableTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
vehTotalPrice: '',
nominalPrice: '',
isShowMore: false
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
this.orgPath = ''
this.$emit('doback')

150
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeEdit.vue

@ -334,12 +334,14 @@ export default {
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '',
isPack: '',
isShowMore: false,
@ -376,14 +378,17 @@ export default {
proxyAccidentPremium: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
saleOrderSid: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
@ -410,77 +415,78 @@ export default {
backData(value) {
this.viewState = 1
value = JSON.parse(JSON.stringify(value))
this.formobj.type = value.type
this.formobj.isPack = value.isPack
this.formobj.policyName = value.policyName
this.formobj.policySid = value.policySid
this.formobj.mainVehicleAmount = value.mainVehicleAmount
this.formobj.accessoriesAmount = value.accessoriesAmount
this.formobj.trailerAmount = value.trailerAmount
this.formobj.purchaseTax = value.purchaseTax
this.formobj.premium = value.premium
this.formobj.loanTotal = value.loanTotal
this.formobj.accessoriesAmountCb = value.accessoriesAmountCb
this.formobj.trailerAmountCb = value.trailerAmountCb
this.formobj.purchaseTaxCb = value.purchaseTaxCb
this.formobj.premiumCb = value.premiumCb
this.formobj.downPayRatio = value.downPayRatio
this.formobj.downPayAmount = value.downPayAmount
this.formobj.loanAmount = value.loanAmount
this.formobj.loanPeriod = value.loanPeriod
this.formobj.bondRatio = value.bondRatio
this.formobj.bondAmount = value.bondAmount
this.formobj.factoryDiscount = value.factoryDiscount
this.formobj.factoryDiscountUse = value.factoryDiscountUse
this.formobj.factoryDiscountUseKey = value.factoryDiscountUseKey
this.formobj.policyYearRatio = value.policyYearRatio
this.formobj.loanPayMoney = value.loanPayMoney
this.formobj.loanInterest = value.loanInterest
this.formobj.discountCar = value.discountCar
this.formobj.otherPolicyState = value.otherPolicyState
this.formobj.otherPolicyName = value.otherPolicyName
this.formobj.otherPolicySid = value.otherPolicySid
this.formobj.otherPolicyAmount = value.otherPolicyAmount
this.formobj.otherPolicyPeriod = value.otherPolicyPeriod
this.formobj.otherPolicyMonthlyRepay = value.otherPolicyMonthlyRepay
this.formobj.otherPolicyInterest = value.otherPolicyInterest
this.formobj.otherPolicyYearRatio = value.otherPolicyYearRatio
this.formobj.loanDownPay = value.loanDownPay
this.formobj.downPayAmountsRatio = value.downPayAmountsRatio
this.formobj.loanAmountTotal = value.loanAmountTotal
this.formobj.period = value.period
this.formobj.monthlyRepay = value.monthlyRepay
this.formobj.interest = value.interest
this.formobj.returnTime = value.returnTime
this.formobj.downPayAmounts = value.downPayAmounts
this.formobj.bondAmounts = value.bondAmounts
this.formobj.depositPremium = value.depositPremium
this.formobj.depositSettle = value.depositSettle
this.formobj.serviceAmount = value.serviceAmount
this.formobj.proxyAccidentPremium = value.proxyAccidentPremium
this.formobj.registerAmount = value.registerAmount
this.formobj.operationAmount = value.operationAmount
this.formobj.vehOtherPrice = value.vehOtherPrice
this.formobj.otherAmount = value.otherAmount
this.formobj.otherAmountRemark = value.otherAmountRemark
this.formobj.dealWay = value.dealWay
this.formobj.dealWayKey = value.dealWayKey
this.formobj.proxyPremium = value.proxyPremium
this.formobj.proxyPurchasetax = value.proxyPurchasetax
this.formobj.proxyTotal = value.proxyTotal
this.formobj.offsetPremium = value.offsetPremium
this.formobj.offsetPurchasetax = value.offsetPurchasetax
this.formobj.offsetTotal = value.offsetTotal
this.formobj.receivableTotal = value.receivableTotal
this.formobj.realTotal = value.realTotal
this.formobj.vehTotalPrice = value.vehTotalPrice
this.formobj.nominalPrice = value.nominalPrice
this.formobj = value
// this.formobj.type = value.type
// this.formobj.isPack = value.isPack
// this.formobj.policyName = value.policyName
// this.formobj.policySid = value.policySid
// this.formobj.mainVehicleAmount = value.mainVehicleAmount
// this.formobj.accessoriesAmount = value.accessoriesAmount
// this.formobj.trailerAmount = value.trailerAmount
// this.formobj.purchaseTax = value.purchaseTax
// this.formobj.premium = value.premium
// this.formobj.loanTotal = value.loanTotal
//
// this.formobj.accessoriesAmountCb = value.accessoriesAmountCb
// this.formobj.trailerAmountCb = value.trailerAmountCb
// this.formobj.purchaseTaxCb = value.purchaseTaxCb
// this.formobj.premiumCb = value.premiumCb
//
// this.formobj.downPayRatio = value.downPayRatio
// this.formobj.downPayAmount = value.downPayAmount
// this.formobj.loanAmount = value.loanAmount
// this.formobj.loanPeriod = value.loanPeriod
// this.formobj.bondRatio = value.bondRatio
// this.formobj.bondAmount = value.bondAmount
// this.formobj.factoryDiscount = value.factoryDiscount
// this.formobj.factoryDiscountUse = value.factoryDiscountUse
// this.formobj.factoryDiscountUseKey = value.factoryDiscountUseKey
// this.formobj.policyYearRatio = value.policyYearRatio
// this.formobj.loanPayMoney = value.loanPayMoney
// this.formobj.loanInterest = value.loanInterest
// this.formobj.discountCar = value.discountCar
// this.formobj.otherPolicyState = value.otherPolicyState
//
// this.formobj.otherPolicyName = value.otherPolicyName
// this.formobj.otherPolicySid = value.otherPolicySid
// this.formobj.otherPolicyAmount = value.otherPolicyAmount
// this.formobj.otherPolicyPeriod = value.otherPolicyPeriod
//
// this.formobj.otherPolicyMonthlyRepay = value.otherPolicyMonthlyRepay
// this.formobj.otherPolicyInterest = value.otherPolicyInterest
// this.formobj.otherPolicyYearRatio = value.otherPolicyYearRatio
//
// this.formobj.loanDownPay = value.loanDownPay
// this.formobj.downPayAmountsRatio = value.downPayAmountsRatio
// this.formobj.loanAmountTotal = value.loanAmountTotal
// this.formobj.period = value.period
// this.formobj.monthlyRepay = value.monthlyRepay
// this.formobj.interest = value.interest
// this.formobj.returnTime = value.returnTime
//
// this.formobj.downPayAmounts = value.downPayAmounts
// this.formobj.bondAmounts = value.bondAmounts
// this.formobj.depositPremium = value.depositPremium
// this.formobj.depositSettle = value.depositSettle
// this.formobj.serviceAmount = value.serviceAmount
// this.formobj.proxyAccidentPremium = value.proxyAccidentPremium
// this.formobj.registerAmount = value.registerAmount
// this.formobj.operationAmount = value.operationAmount
// this.formobj.vehOtherPrice = value.vehOtherPrice
// this.formobj.otherAmount = value.otherAmount
// this.formobj.otherAmountRemark = value.otherAmountRemark
// this.formobj.dealWay = value.dealWay
// this.formobj.dealWayKey = value.dealWayKey
// this.formobj.proxyPremium = value.proxyPremium
// this.formobj.proxyPurchasetax = value.proxyPurchasetax
// this.formobj.proxyTotal = value.proxyTotal
// this.formobj.offsetPremium = value.offsetPremium
// this.formobj.offsetPurchasetax = value.offsetPurchasetax
// this.formobj.offsetTotal = value.offsetTotal
// this.formobj.receivableTotal = value.receivableTotal
// this.formobj.realTotal = value.realTotal
// this.formobj.vehTotalPrice = value.vehTotalPrice
// this.formobj.nominalPrice = value.nominalPrice
},
handleSave() {
saveJinRong(this.formobj).then((resp) => {

220
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialschemeInfo.vue

@ -319,80 +319,74 @@ export default {
tableKey: 0,
index: 0,
formobj: {
saleOrderSid: '',
type: '',
isPack: '',
policyName: '',
policySid: '',
mainVehicleAmount: '',
accessoriesAmount: '',
trailerAmount: '',
purchaseTax: '',
premium: '',
loanTotal: '',
accessoriesAmountCb: false,
trailerAmountCb: false,
purchaseTaxCb: false,
premiumCb: false,
downPayRatio: '',
downPayAmount: '',
loanAmount: '',
loanPeriod: '',
bondRatio: '',
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
policyYearRatio: '',
loanPayMoney: '',
interest: '',
isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
discountCar: '',
otherPolicyState: false,
otherPolicyName: '',
otherPolicySid: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '',
otherPolicyPeriod: '',
otherPolicyMonthlyRepay: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
loanDownPay: '',
downPayAmountsRatio: '',
loanAmountTotal: '',
period: '',
monthlyRepay: '',
interest: '',
returnTime: '',
downPayAmounts: '',
bondAmounts: '',
depositPremium: '',
depositSettle: '',
serviceAmount: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
registerAmount: '',
operationAmount: '',
vehOtherPrice: '',
otherAmount: '',
otherAmountRemark: '',
dealWay: '',
dealWayKey: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
receivableTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
vehTotalPrice: '',
nominalPrice: '',
isShowMore: false
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
}
},
@ -403,80 +397,74 @@ export default {
},
handleReturn() {
this.formobj = {
saleOrderSid: '',
type: '',
isPack: '',
policyName: '',
policySid: '',
mainVehicleAmount: '',
accessoriesAmount: '',
trailerAmount: '',
purchaseTax: '',
premium: '',
loanTotal: '',
accessoriesAmountCb: false,
trailerAmountCb: false,
purchaseTaxCb: false,
premiumCb: false,
downPayRatio: '',
downPayAmount: '',
loanAmount: '',
loanPeriod: '',
bondRatio: '',
bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '',
factoryDiscountUse: '',
factoryDiscountUseKey: '',
policyYearRatio: '',
loanPayMoney: '',
interest: '',
isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '',
discountCar: '',
otherPolicyState: false,
otherPolicyName: '',
otherPolicySid: '',
loanPayMoney: '',
loanPeriod: '',
loanTotal: '',
mainVehicleAmount: '',
monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '',
otherPolicyPeriod: '',
otherPolicyMonthlyRepay: '',
otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '',
loanDownPay: '',
downPayAmountsRatio: '',
loanAmountTotal: '',
period: '',
monthlyRepay: '',
interest: '',
returnTime: '',
downPayAmounts: '',
bondAmounts: '',
depositPremium: '',
depositSettle: '',
serviceAmount: '',
policyName: '',
policySid: '',
policyYearRatio: '',
premium: '',
premiumCb: false,
proxyAccidentPremium: '',
registerAmount: '',
operationAmount: '',
vehOtherPrice: '',
otherAmount: '',
otherAmountRemark: '',
dealWay: '',
dealWayKey: '',
proxyPremium: '',
proxyPurchasetax: '',
proxyTotal: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
receivableTotal: '',
purchaseTax: '',
purchaseTaxCb: false,
realTotal: '',
vehTotalPrice: '',
nominalPrice: '',
isShowMore: false
receivableTotal: '',
registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
}
this.$emit('doback')
}

Loading…
Cancel
Save