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: '', dealWayKey: '',
depositPremium: '', depositPremium: '',
depositSettle: '', depositSettle: '',
discountCar: '',
downPayAmount: '', downPayAmount: '',
downPayAmounts: '', downPayAmounts: '',
downPayAmountsRatio: '', downPayAmountsRatio: '',
downPayRatio: '', downPayRatio: '',
factoryDiscount: '', factoryDiscount: '',
factoryDiscountUse: '', factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '', interest: '',
isPack: '', isPack: '',
isShowMore: false, isShowMore: false,
@ -371,14 +373,17 @@ export default {
proxyAccidentPremium: '', proxyAccidentPremium: '',
proxyPremium: '', proxyPremium: '',
proxyPurchasetax: '', proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '', purchaseTax: '',
purchaseTaxCb: false, purchaseTaxCb: false,
realTotal: '', realTotal: '',
receivableTotal: '', receivableTotal: '',
registerAmount: '', registerAmount: '',
returnTime: '', returnTime: '',
salesOrderSid: '',
serviceAmount: '', serviceAmount: '',
saleOrderSid: '', serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '', trailerAmount: '',
trailerAmountCb: false, trailerAmountCb: false,
vehOtherPrice: '', vehOtherPrice: '',
@ -443,12 +448,14 @@ export default {
dealWayKey: '', dealWayKey: '',
depositPremium: '', depositPremium: '',
depositSettle: '', depositSettle: '',
discountCar: '',
downPayAmount: '', downPayAmount: '',
downPayAmounts: '', downPayAmounts: '',
downPayAmountsRatio: '', downPayAmountsRatio: '',
downPayRatio: '', downPayRatio: '',
factoryDiscount: '', factoryDiscount: '',
factoryDiscountUse: '', factoryDiscountUse: '',
factoryDiscountUseKey: '',
interest: '', interest: '',
isPack: val, isPack: val,
isShowMore: false, isShowMore: false,
@ -485,14 +492,17 @@ export default {
proxyAccidentPremium: '', proxyAccidentPremium: '',
proxyPremium: '', proxyPremium: '',
proxyPurchasetax: '', proxyPurchasetax: '',
proxyTotal: '',
purchaseTax: '', purchaseTax: '',
purchaseTaxCb: false, purchaseTaxCb: false,
realTotal: '', realTotal: '',
receivableTotal: '', receivableTotal: '',
registerAmount: '', registerAmount: '',
returnTime: '', returnTime: '',
salesOrderSid: '',
serviceAmount: '', serviceAmount: '',
saleOrderSid: '', serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '', trailerAmount: '',
trailerAmountCb: false, trailerAmountCb: false,
vehOtherPrice: '', vehOtherPrice: '',
@ -517,6 +527,14 @@ export default {
this.finance.loanPeriod = choose[0].period this.finance.loanPeriod = choose[0].period
// -- // --
this.finance.bondRatio = choose[0].bondRatio 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.factoryDiscountUse = '抵利息'
this.finance.factoryDiscountUseKey = '02' 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.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) 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') { if (this.finance.premiumCb && this.finance.dealWayKey === '02') {
this.finance.offsetPremium = this.finance.premium 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.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))) 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) 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() { handleColse() {
this.finance = { this.finance = {
saleOrderSid: '',
type: '',
isPack: '',
policyName: '',
policySid: '',
mainVehicleAmount: '',
accessoriesAmount: '', accessoriesAmount: '',
trailerAmount: '',
purchaseTax: '',
premium: '',
loanTotal: '',
accessoriesAmountCb: false, accessoriesAmountCb: false,
trailerAmountCb: false,
purchaseTaxCb: false,
premiumCb: false,
downPayRatio: '',
downPayAmount: '',
loanAmount: '',
loanPeriod: '',
bondRatio: '',
bondAmount: '', bondAmount: '',
bondAmounts: '',
bondRatio: '',
dealWay: '',
dealWayKey: '',
depositPremium: '',
depositSettle: '',
discountCar: '',
downPayAmount: '',
downPayAmounts: '',
downPayAmountsRatio: '',
downPayRatio: '',
factoryDiscount: '', factoryDiscount: '',
factoryDiscountUse: '', factoryDiscountUse: '',
factoryDiscountUseKey: '', factoryDiscountUseKey: '',
policyYearRatio: '', interest: '',
loanPayMoney: '', isPack: '',
isShowMore: false,
loanAmount: '',
loanAmountTotal: '',
loanDownPay: '',
loanInterest: '', loanInterest: '',
discountCar: '', loanPayMoney: '',
otherPolicyState: false, loanPeriod: '',
loanTotal: '',
otherPolicyName: '', mainVehicleAmount: '',
otherPolicySid: '', monthlyRepay: '',
nominalPrice: '',
offsetPremium: '',
offsetPurchasetax: '',
offsetTotal: '',
operationAmount: '',
otherAmount: '',
otherAmountRemark: '',
otherPolicyAmount: '', otherPolicyAmount: '',
otherPolicyPeriod: '',
otherPolicyMonthlyRepay: '',
otherPolicyInterest: '', otherPolicyInterest: '',
otherPolicyMonthlyRepay: '',
otherPolicyName: '',
otherPolicyPeriod: '',
otherPolicySid: '',
otherPolicyState: false,
otherPolicyYearRatio: '', otherPolicyYearRatio: '',
loanDownPay: '',
downPayAmountsRatio: '',
loanAmountTotal: '',
period: '', period: '',
monthlyRepay: '', policyName: '',
interest: '', policySid: '',
returnTime: '', policyYearRatio: '',
premium: '',
downPayAmounts: '', premiumCb: false,
bondAmounts: '',
depositPremium: '',
depositSettle: '',
serviceAmount: '',
proxyAccidentPremium: '', proxyAccidentPremium: '',
registerAmount: '',
operationAmount: '',
vehOtherPrice: '',
otherAmount: '',
otherAmountRemark: '',
dealWay: '',
dealWayKey: '',
proxyPremium: '', proxyPremium: '',
proxyPurchasetax: '', proxyPurchasetax: '',
proxyTotal: '', proxyTotal: '',
offsetPremium: '', purchaseTax: '',
offsetPurchasetax: '', purchaseTaxCb: false,
offsetTotal: '',
receivableTotal: '',
realTotal: '', realTotal: '',
vehTotalPrice: '', receivableTotal: '',
nominalPrice: '' registerAmount: '',
returnTime: '',
salesOrderSid: '',
serviceAmount: '',
serviceChargeTypeKey: '',
serviceChargeTypeValue: '',
trailerAmount: '',
trailerAmountCb: false,
vehOtherPrice: '',
vehTotalPrice: ''
} }
this.isShowMore = false this.isShowMore = false
this.$emit('doback') this.$emit('doback')

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save