mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 06:36:44 +08:00
修改订单列表点击新增订单方法逻辑
This commit is contained in:
@@ -580,8 +580,16 @@ export default {
|
|||||||
//新增
|
//新增
|
||||||
add() {
|
add() {
|
||||||
let thisToken = this.$CacheUtils.getLocItem('token')
|
let thisToken = this.$CacheUtils.getLocItem('token')
|
||||||
|
let thisisFrom = ''
|
||||||
|
if(this.$CacheUtils.getLocItem('isFrom') == 'GBCsale') {
|
||||||
|
thisisFrom = this.$CacheUtils.getLocItem('isFrom')
|
||||||
|
}
|
||||||
window.localStorage.clear()
|
window.localStorage.clear()
|
||||||
this.$CacheUtils.setLocItem('token', thisToken)
|
this.$CacheUtils.setLocItem('token', thisToken)
|
||||||
|
if(thisisFrom) {
|
||||||
|
this.$CacheUtils.setLocItem('isFrom', thisisFrom)
|
||||||
|
}
|
||||||
|
|
||||||
localStorage.orderNo = ''
|
localStorage.orderNo = ''
|
||||||
localStorage.chooseProductCodes = '' //置空所选险种
|
localStorage.chooseProductCodes = '' //置空所选险种
|
||||||
this.$jump({
|
this.$jump({
|
||||||
|
|||||||
Reference in New Issue
Block a user