Browse Source

修改报错

master
396316021 1 year ago
parent
commit
26f75c4ff5
  1. 98
      pages/toExamine/pages/finalJudgment/finalJudgment.js

98
pages/toExamine/pages/finalJudgment/finalJudgment.js

@ -750,58 +750,58 @@ Page({
})
let information = {
id: this.data.order_id ? this.data.order_id : '',
spouse_name: this.data.information.spouse_name.text_center ? this.data.information.spouse_name.text_center : '',
spouse_id_card: this.data.information.spouse_id_card.text_center ? this.data.information.spouse_id_card.text_center : '',
spouse_phone: this.data.information.spouse_phone.text_center ? this.data.information.spouse_phone.text_center : '',
spouse_address: this.data.information.spouse_address.text_center ? this.data.information.spouse_address.text_center : '',
spouse_work: this.data.information.spouse_work.text_center ? this.data.information.spouse_work.text_center : '',
spouse_work_address: this.data.information.spouse_work_address.text_center ? this.data.information.spouse_work_address.text_center : '',
spouse_monthly_income: this.data.information.spouse_monthly_income.text_center ? this.data.information.spouse_monthly_income.text_center : '',
spouse_work_age: this.data.information.spouse_work_age.text_center ? this.data.information.spouse_work_age.text_center : '',
lessee_name: this.data.information.lessee_name.text_center ? this.data.information.lessee_name.text_center : '',
address: this.data.information.address.option ? this.data.information.address.option.join(',') : '',
address_detail: this.data.information.address_detail.text_center ? this.data.information.address_detail.text_center : '',
household_address: this.data.information.household_address.text_center ? this.data.information.household_address.text_center : '',
house_situation: this.data.information.house_situation.option || this.data.information.house_situation.option === 0 ? this.data.housing[this.data.information.house_situation.option].name : '',
work_unit: this.data.information.work_unit.text_center ? this.data.information.work_unit.text_center : '',
work_address: this.data.information.work_address.option ? this.data.information.work_address.option.join(',') : '',
work_address_detail: this.data.information.work_address_detail.text_center ? this.data.information.work_address_detail.text_center : '',
work_age: this.data.information.work_age.text_center ? this.data.information.work_age.text_center : '',
monthly_income: this.data.information.monthly_income.text_center ? this.data.information.monthly_income.text_center : '',
r_bank_photo: this.data.information.r_bank_photo.img_arr.length > 0 ? this.data.information.r_bank_photo.up_img_arr.join(',') : '',
r_bank_one: this.data.information.r_bank_one.img_arr.length > 0 ? this.data.information.r_bank_one.up_img_arr.join(',') : '',
r_bank_number: this.data.information.r_bank_number.text_center ? this.data.information.r_bank_number.text_center : '',
r_bank: this.data.information.r_bank.text_center ? this.data.information.r_bank.text_center : '',
t_bank_type: this.data.information.t_bank_type.option || this.data.information.t_bank_type.option === 0 ? this.data.bankcardtype[this.data.information.t_bank_type.option].name : '',
t_bank_card: this.data.information.t_bank_type.option === '0' ? this.data.information.t_bank_card.up_img_arr.join(',') : this.data.information.t_bank_card_s.up_img_arr.join(','),
spouse_name: this.data.information?.spouse_name?.text_center ? this.data.information?.spouse_name?.text_center : '',
spouse_id_card: this.data.information?.spouse_id_card?.text_center ? this.data.information?.spouse_id_card?.text_center : '',
spouse_phone: this.data.information?.spouse_phone?.text_center ? this.data.information?.spouse_phone?.text_center : '',
spouse_address: this.data.information?.spouse_address?.text_center ? this.data.information?.spouse_address?.text_center : '',
spouse_work: this.data.information?.spouse_work?.text_center ? this.data.information?.spouse_work?.text_center : '',
spouse_work_address: this.data.information?.spouse_work_address?.text_center ? this.data.information?.spouse_work_address?.text_center : '',
spouse_monthly_income: this.data.information?.spouse_monthly_income?.text_center ? this.data.information?.spouse_monthly_income?.text_center : '',
spouse_work_age: this.data.information?.spouse_work_age?.text_center ? this.data.information?.spouse_work_age?.text_center : '',
lessee_name: this.data.information?.lessee_name?.text_center ? this.data.information?.lessee_name?.text_center : '',
address: this.data.information?.address.option ? this.data.information?.address.option.join(',') : '',
address_detail: this.data.information?.address_detail?.text_center ? this.data.information?.address_detail?.text_center : '',
household_address: this.data.information?.household_address?.text_center ? this.data.information?.household_address?.text_center : '',
house_situation: this.data.information?.house_situation.option || this.data.information?.house_situation.option === 0 ? this.data.housing[this.data.information?.house_situation.option].name : '',
work_unit: this.data.information?.work_unit?.text_center ? this.data.information?.work_unit?.text_center : '',
work_address: this.data.information?.work_address.option ? this.data.information?.work_address.option.join(',') : '',
work_address_detail: this.data.information?.work_address_detail?.text_center ? this.data.information?.work_address_detail?.text_center : '',
work_age: this.data.information?.work_age?.text_center ? this.data.information?.work_age?.text_center : '',
monthly_income: this.data.information?.monthly_income?.text_center ? this.data.information?.monthly_income?.text_center : '',
r_bank_photo: this.data.information?.r_bank_photo.img_arr.length > 0 ? this.data.information?.r_bank_photo.up_img_arr.join(',') : '',
r_bank_one: this.data.information?.r_bank_one.img_arr.length > 0 ? this.data.information?.r_bank_one.up_img_arr.join(',') : '',
r_bank_number: this.data.information?.r_bank_number?.text_center ? this.data.information?.r_bank_number?.text_center : '',
r_bank: this.data.information?.r_bank?.text_center ? this.data.information?.r_bank?.text_center : '',
t_bank_type: this.data.information?.t_bank_type.option || this.data.information?.t_bank_type.option === 0 ? this.data.bankcardtype[this.data.information?.t_bank_type.option].name : '',
t_bank_card: this.data.information?.t_bank_type.option === '0' ? this.data.information?.t_bank_card.up_img_arr.join(',') : this.data.information?.t_bank_card_s.up_img_arr.join(','),
t_bank_account: this.data.information.t_bank_account.text_center ? this.data.information.t_bank_account.text_center : '',
t_bank: this.data.information.t_bank.text_center ? this.data.information.t_bank.text_center : '',
urgent_relation_one: this.data.information.urgent_relation_one.option || this.data.information.urgent_relation_one.option === 0 ? this.data.relationship1[this.data.information.urgent_relation_one.option].name : '',
urgent_name_one: this.data.information.urgent_name_one.text_center ? this.data.information.urgent_name_one.text_center : '',
urgent_phone_one: this.data.information.urgent_phone_one.text_center ? this.data.information.urgent_phone_one.text_center : '',
urgent_relation_two: this.data.information.urgent_relation_two.option || this.data.information.urgent_relation_two.option === 0 ? this.data.relationship2[this.data.information.urgent_relation_two.option].name : '',
urgent_name_two: this.data.information.urgent_name_two.text_center ? this.data.information.urgent_name_two.text_center : '',
urgent_phone_two: this.data.information.urgent_phone_two.text_center ? this.data.information.urgent_phone_two.text_center : '',
urgent_relation_three: this.data.information.urgent_relation_three.option || this.data.information.urgent_relation_three.option === 0 ? this.data.relationship3[this.data.information.urgent_relation_three.option].name : '',
urgent_name_three: this.data.information.urgent_name_three.text_center ? this.data.information.urgent_name_three.text_center : '',
urgent_phone_three: this.data.information.urgent_phone_three.text_center ? this.data.information.urgent_phone_three.text_center : '',
remark: this.data.information.remark.text_center ? this.data.information.remark.text_center : '',
other: this.data.information.other.img_arr.length > 0 ? this.data.information.other.up_img_arr.join(',') : '',
t_bank_account: this.data.information?.t_bank_account?.text_center ? this.data.information?.t_bank_account?.text_center : '',
t_bank: this.data.information?.t_bank?.text_center ? this.data.information?.t_bank?.text_center : '',
urgent_relation_one: this.data.information?.urgent_relation_one.option || this.data.information?.urgent_relation_one.option === 0 ? this.data.relationship1[this.data.information?.urgent_relation_one.option].name : '',
urgent_name_one: this.data.information?.urgent_name_one?.text_center ? this.data.information?.urgent_name_one?.text_center : '',
urgent_phone_one: this.data.information?.urgent_phone_one?.text_center ? this.data.information?.urgent_phone_one?.text_center : '',
urgent_relation_two: this.data.information?.urgent_relation_two.option || this.data.information?.urgent_relation_two.option === 0 ? this.data.relationship2[this.data.information?.urgent_relation_two.option].name : '',
urgent_name_two: this.data.information?.urgent_name_two?.text_center ? this.data.information?.urgent_name_two?.text_center : '',
urgent_phone_two: this.data.information?.urgent_phone_two?.text_center ? this.data.information?.urgent_phone_two?.text_center : '',
urgent_relation_three: this.data.information?.urgent_relation_three.option || this.data.information?.urgent_relation_three.option === 0 ? this.data.relationship3[this.data.information?.urgent_relation_three.option].name : '',
urgent_name_three: this.data.information?.urgent_name_three?.text_center ? this.data.information?.urgent_name_three?.text_center : '',
urgent_phone_three: this.data.information?.urgent_phone_three?.text_center ? this.data.information?.urgent_phone_three?.text_center : '',
remark: this.data.information?.remark?.text_center ? this.data.information?.remark?.text_center : '',
other: this.data.information?.other.img_arr.length > 0 ? this.data.information?.other.up_img_arr.join(',') : '',
}
let image_data = {
car_register_cert: this.data.form_image.car_register_cert.img_arr.length > 0 ? this.data.form_image.car_register_cert.up_img_arr.join(',') : '',
car_insurance: this.data.form_image.car_insurance.img_arr.length > 0 ? this.data.form_image.car_insurance.up_img_arr.join(',') : '',
car_insure: this.data.form_image.car_insure.img_arr.length > 0 ? this.data.form_image.car_insure.up_img_arr.join(',') : '',
car_image: this.data.form_image.car_image.img_arr.length > 0 ? this.data.form_image.car_image.up_img_arr.join(',') : '',
verify_car_video: this.data.form_image.verify_car_video.img_arr.length > 0 ? this.data.form_image.verify_car_video.up_img_arr.join(',') : '',
promise_book: this.data.form_image.promise_book.img_arr.length > 0 ? this.data.form_image.promise_book.up_img_arr.join(',') : '',
marriage: this.data.form_image.marriage.img_arr.length > 0 ? this.data.form_image.marriage.up_img_arr.join(',') : '',
registered_residence_book: this.data.form_image.registered_residence_book.img_arr.length > 0 ? this.data.form_image.registered_residence_book.up_img_arr.join(',') : '',
running_account: this.data.form_image.running_account.img_arr.length > 0 ? this.data.form_image.running_account.up_img_arr.join(',') : '',
house_property: this.data.form_image.house_property.img_arr.length > 0 ? this.data.form_image.house_property.up_img_arr.join(',') : '',
remark: this.data.form_image.remark.text_center ? this.data.form_image.remark.text_center : '',
other: this.data.form_image.other.img_arr.length > 0 ? this.data.form_image.other.up_img_arr.join(',') : '',
car_register_cert: this.data.form_image?.car_register_cert?.img_arr?.length > 0 ? this.data.form_image?.car_register_cert.up_img_arr.join(',') : '',
car_insurance: this.data.form_image?.car_insurance?.img_arr?.length > 0 ? this.data.form_image?.car_insurance.up_img_arr.join(',') : '',
car_insure: this.data.form_image?.car_insure?.img_arr?.length > 0 ? this.data.form_image?.car_insure.up_img_arr.join(',') : '',
car_image: this.data.form_image?.car_image?.img_arr?.length > 0 ? this.data.form_image?.car_image.up_img_arr.join(',') : '',
verify_car_video: this.data.form_image?.verify_car_video?.img_arr?.length > 0 ? this.data.form_image?.verify_car_video.up_img_arr.join(',') : '',
promise_book: this.data.form_image?.promise_book?.img_arr?.length > 0 ? this.data.form_image?.promise_book.up_img_arr.join(',') : '',
marriage: this.data.form_image?.marriage?.img_arr?.length > 0 ? this.data.form_image?.marriage.up_img_arr.join(',') : '',
registered_residence_book: this.data.form_image?.registered_residence_book?.img_arr?.length > 0 ? this.data.form_image?.registered_residence_book.up_img_arr.join(',') : '',
running_account: this.data.form_image?.running_account?.img_arr?.length > 0 ? this.data.form_image?.running_account.up_img_arr.join(',') : '',
house_property: this.data.form_image?.house_property?.img_arr?.length > 0 ? this.data.form_image?.house_property.up_img_arr.join(',') : '',
remark: this.data.form_image?.remark.text_center ? this.data.form_image?.remark.text_center : '',
other: this.data.form_image?.other?.img_arr?.length > 0 ? this.data.form_image?.other.up_img_arr.join(',') : '',
}
let url
if (this.data.det_type == '2') {

Loading…
Cancel
Save