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