Commit 84ab3184 authored by 王建文's avatar 王建文

融资方案功能调整

parent b7a6fb1d
......@@ -49,12 +49,12 @@
</div>
</div>
<h-content v-if="num === 0" class="business-condition">
<list-item :item-height="44" class="second-part">
<!-- <list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">业务经办</div>
<input slot="content" v-model="baseInfo.bp_user_id_n" readonly>
</item>
</list-item>
</list-item> -->
<div class="equipment-list">承租人信息</div>
<list-item :item-height="44" class="second-part">
<item>
......@@ -798,7 +798,12 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.quotationInfo = res.lists[0]
if(res.lists.length==0){
vm.quotationInfo = {}
}else{
vm.quotationInfo = res.lists[0]
}
}
})
},
......@@ -1181,7 +1186,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
hlsPopup.showLongCenter('基本信息保存成功')
} else {
hlsPopup.showLongCenter(res.message)
}
......@@ -1189,7 +1194,7 @@ export default {
},
// 保存设备
prjLeaseItemSave () {
debugger
// debugger
let vm = this
let url = $config.basePath + 'zm_prj_lease_item_save'
let param = {
......@@ -1204,6 +1209,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
hlsPopup.showLongCenter('设备保存成功')
vm.getLease()
} else {
hlsPopup.showLongCenter(res.message)
......@@ -1245,6 +1251,7 @@ export default {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.quotationInfo.quotation_id = res.quotation_id
hlsPopup.showLongCenter('方案信息保存成功')
} else {
hlsPopup.showLongCenter(res.message)
}
......
......@@ -49,12 +49,12 @@
</div>
</div>
<h-content v-if="num === 0" class="business-condition">
<list-item :item-height="44" class="second-part">
<!-- <list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">业务经办</div>
<input slot="content" v-model="baseInfo.bp_user_id_n" readonly>
<input slot="content" v-model="baseInfo.bp_user_id_n" >
</item>
</list-item>
</list-item> -->
<div class="equipment-list">承租人信息</div>
<list-item :item-height="44" class="second-part">
<item>
......@@ -848,6 +848,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
hlsPopup.showLongCenter('基本信息保存成功')
vm.project_id=res.project_id
} else {
hlsPopup.showLongCenter(res.message)
......@@ -887,6 +888,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
hlsPopup.showLongCenter('设备保存成功')
vm.getLease()
} else {
hlsPopup.showLongCenter(res.message)
......@@ -927,6 +929,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
hlsPopup.showLongCenter('方案信息保存成功')
vm.quotationInfo.quotation_id = res.quotation_id
} else {
hlsPopup.showLongCenter(res.message)
......
......@@ -64,7 +64,7 @@ export default {
pwdType: 'password', // 密码类型
openEye: require('@/assets/login/passNoShow.png'), // 图片地址
phone_number: '',
verifiedCode: '',
verifiedCode: '123456',
user_password: '',
confirm: '',
......@@ -193,7 +193,7 @@ export default {
},
async submit () {
let vm = this
if (!vm.phoneNumberFlag) {
if (!vm.phone_number) {
hlsPopup.showLongCenter('请输入手机号!')
} else if (vm.verifiedCode !== vm.captchaKey) {
hlsPopup.showLongCenter('验证码错误!')
......
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