Commit c623bff6 authored by linxin's avatar linxin

add

parent 4e5feb6b
Pipeline #4423 canceled with stages
......@@ -321,6 +321,7 @@ export default {
})
},
changeBase (item) {
window.localStorage.setItem('bp_name_tenant', item.bp_name)
if (this.num === 1) {
window.localStorage.setItem('contractReadonly', false)
window.localStorage.setItem('fromPage', 'list')
......
......@@ -281,6 +281,7 @@ export default {
}, */
saveInfo: {
project_id: window.localStorage.project_id,
bp_name: '',
product_id: '',
product_id_n: '',
product_num: '',
......@@ -322,7 +323,6 @@ export default {
if (window.localStorage.contractReadonly === 'true' && this.fromPage === 'list') {
return true
} else {
debugger
return false
}
},
......@@ -368,6 +368,7 @@ export default {
vm.calculeFlag = false
vm.salesEnter = vm.$route.params.salesEnter
vm.bp_agent_id = vm.$route.params.bp_agent_id
vm.saveInfo.bp_name = window.localStorage.bp_name_tenant
vm.saveTed = false
if (vm.fromPage === 'sale') {
vm.fromList = false
......@@ -376,7 +377,7 @@ export default {
vm.rentInfoQuery()
}
Object.keys(vm.saveInfo).forEach(i => { // 置空saveInfo
if (i !== 'project_id') {
if (i !== 'project_id' && i !== 'bp_name') {
vm.saveInfo[i] = ''
}
})
......
......@@ -447,6 +447,7 @@ export default {
this.showModal = false
window.localStorage.setItem('bp_id_tenant', this.salesInfo.bp_id_tenant)
window.localStorage.setItem('bp_class_tenant', item.bp_class)
window.localStorage.setItem('bp_name_tenant', item.bp_name)
},
hideModal () {
this.showModal = false
......
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