Commit aa2d1858 authored by 786817560's avatar 786817560

Merge branch 'develop' of https://hel.hand-china.com/xugong/hls-xcmg-vue-app into develop

parents 4c6d65d2 e779af2a
......@@ -29,7 +29,7 @@
>
<div class="wrap">
<div v-for="(item,index) in showLists" :key="index" class="contract-lists" >
<div class="pro-code" @click="changeBase">
<div class="pro-code" @click="changeBase(item)">
<img src="@/assets/distributorSign/fileIcon.png" alt="" class="file-icon">
<p>
<span>合同号</span>
......@@ -320,7 +320,7 @@ export default {
name: 'SalesInfo',
})
},
changeBase () {
changeBase (item) {
if (this.num === 1) {
window.localStorage.setItem('contractReadonly', false)
window.localStorage.setItem('formPage', 'list')
......@@ -330,6 +330,9 @@ export default {
}
this.$router.push({
name: 'CreateBaseInfo',
params: {
bp_id: item.bp_id,
},
})
},
goDetails () {
......
......@@ -25,7 +25,7 @@
</div>
<div class="userInfo">租赁产品</div>
<list-item :item-height="44">
<item v-if="!isReadOnly"> :showArrow="true" @click.native="selectProductLine">
<item v-if="!isReadOnly":showArrow="true" @click.native="selectProductLine">
<div slot="name">产品线</div>
<input slot="content" v-model="saveInfo.division_n" readonly placeholder="请选择" >
</item>
......@@ -330,6 +330,7 @@ export default {
if (vm.fromPage === 'sale') {
vm.fromList = false
} else if (vm.fromPage === 'list') {
debugger
vm.fromList = true
vm.rentInfoQuery()
}
......
......@@ -301,7 +301,9 @@ export default {
},
confirmToPay (e) {
let vm = this
let url = process.env.basePath + 'update_order_info'
let randomString = Math.floor(Math.random() * 21)
let url = process.env.basePath + 'update_order_info' + '&index' +
`'${randomString}'`
if (e) {
vm.pay_type = e.pay_type
vm.bank_account_id = e.bank_account_id
......@@ -316,8 +318,8 @@ export default {
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
} else {
hlsPopup.showLongCenter(res.message)
}
......
......@@ -264,7 +264,9 @@ export default {
},
confirmToPay (e) {
let vm = this
let url = process.env.basePath + 'update_order_info'
let randomString = Math.floor(Math.random() * 21)
let url = process.env.basePath + 'update_order_info' + '&index' +
`'${randomString}'`
if (e) {
vm.pay_type = e.pay_type
vm.bank_account_id = e.bank_account_id
......@@ -279,8 +281,8 @@ export default {
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
} else {
hlsPopup.showLongCenter(res.message)
}
......
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