Commit 0d3c9681 authored by 786817560's avatar 786817560

'解决冲突'

parents 59582f2f a5887454
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime : 2019-12-27 09:44:12 * @LastEditTime : 2019-12-27 10:28:37
* @LastEditors : Please set LastEditors * @LastEditors : Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
......
...@@ -404,6 +404,9 @@ export default { ...@@ -404,6 +404,9 @@ export default {
}, },
save () { save () {
let vm = this let vm = this
// vm.$router.push({
// name: 'CreateEnclosureInfo',
// })
let url = process.env.basePath + 'prj_lease_info_save' let url = process.env.basePath + 'prj_lease_info_save'
vm.saveInfo.down_payment_ratio = (vm.saveInfo.down_payment_ratio_n.replace('%', '') / 100).toFixed(2) vm.saveInfo.down_payment_ratio = (vm.saveInfo.down_payment_ratio_n.replace('%', '') / 100).toFixed(2)
vm.saveInfo.lease_charge_ratio = (vm.saveInfo.lease_charge_ratio_n.replace('%', '') / 100).toFixed(2) vm.saveInfo.lease_charge_ratio = (vm.saveInfo.lease_charge_ratio_n.replace('%', '') / 100).toFixed(2)
...@@ -426,6 +429,9 @@ export default { ...@@ -426,6 +429,9 @@ export default {
}, },
next () { next () {
let vm = this let vm = this
// vm.$router.push({
// name: 'CreateEnclosureInfo',
// })
if (vm.isComputed) { if (vm.isComputed) {
let url = process.env.basePath + 'prj_product_info_save' let url = process.env.basePath + 'prj_product_info_save'
let param = { let param = {
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="card-upload plus" @click="ocrShow('','')"> <div class="card-upload plus" @click="ocrShow('特批申请书',checkId)">
<img src="@/assets/userBind/camera.png" class="upload-btn" > <img src="@/assets/userBind/camera.png" class="upload-btn" >
</div> </div>
</div> </div>
...@@ -125,7 +125,6 @@ export default { ...@@ -125,7 +125,6 @@ export default {
houseImg: '', houseImg: '',
carImg: '', carImg: '',
marryImg: '', marryImg: '',
applicationImg: '',
licenseImg: '', licenseImg: '',
house_id: '', house_id: '',
car_id: '', car_id: '',
...@@ -140,16 +139,56 @@ export default { ...@@ -140,16 +139,56 @@ export default {
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name === 'CreateRentInfo') { if (from.name === 'CreateRentInfo') {
vm.idCardFront = ''
vm.idCardBack = ''
vm.houseImg = ''
vm.carImg = ''
vm.marryImg = ''
vm.licenseImg = ''
vm.upload_list = [] vm.upload_list = []
vm.dowload_list = [] vm.dowload_list = []
vm.cddItemList = []
vm.bpClass = window.localStorage.bp_class vm.bpClass = window.localStorage.bp_class
vm.status = window.localStorage.user_bp_status vm.status = window.localStorage.user_bp_status
vm.loadItemList() vm.loadItemList()
// vm.getPrjId() vm.queryCheckId()
} }
}) })
}, },
methods: { methods: {
// 特批证书check_id查询
queryCheckId () {
let vm = this
let url = process.env.basePath + 'prj_atm_query'
let param = {
project_id: window.localStorage.project_id,
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
console.log('特批证书check_id查询', res)
if (res.result === 'S') {
vm.checkId = res.info.check_id
vm.certificateQuery()
}
})
},
// 特批证书查询
certificateQuery () {
let vm = this
let url =
process.env.basePath + 'attachment_list_query' // 附件查询
let param = {
check_id: vm.checkId,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.dowload_list = res.lists
}
})
},
// 查看大图 // 查看大图
showBigPicture (pic) { showBigPicture (pic) {
let vm = this let vm = this
...@@ -441,9 +480,6 @@ export default { ...@@ -441,9 +480,6 @@ export default {
} }
// vm.house_id = res.lists[0].attachment_id // vm.house_id = res.lists[0].attachment_id
break break
case 'XXX': // 特批申请书
vm.dowload_list = [...res.lists]
break
default: default:
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment