Browse Source

客户授信

devlop
邓雄飞 4 years ago
parent
commit
1d8b0e05ae
2 changed files with 18 additions and 13 deletions
  1. 21
      pages/client-detail/index.vue
  2. 10
      pages/client/index.nvue

21
pages/client-detail/index.vue

@ -103,7 +103,15 @@ export default {
this.dialogType = 3
this.$refs.popup.open()
} else {
go2('client-credit')
let info = this.$refs.basicInformationRef.getCompanyInfo()
if (info.id) {
go2('client-credit', { enterpriseId: info.id, name: info.name })
} else {
uni.showToast({
title: '该企业基础信息不完善',
icon: 'error'
})
}
}
},
cancelTap() {
@ -131,17 +139,6 @@ export default {
default:
break
}
},
makeCredit() {
let info = this.$refs.basicInformationRef.getCompanyInfo()
if (info.id) {
go2('client-credit', { enterpriseId: info.id, name: info.name })
} else {
uni.showToast({
title: '该企业基础信息不完善',
icon: 'error'
})
}
}
}
}

10
pages/client/index.nvue

@ -35,7 +35,7 @@
</view>
</view>
</view>
<view class="enquiry-submit">
<view class="enquiry-submit" @click="jumpEnquiryDetail">
<text class="text">去报价</text>
<image style="width: 32rpx; height: 32rpx" src="/static/imgs/client/next-icon.png"></image>
</view>
@ -80,6 +80,7 @@ export default {
}
},
methods: {
go2,
mapChange(data) {
let params = {
cooperationState: 0,
@ -170,6 +171,13 @@ export default {
clearInterval(this.transitionTimer)
this.transitionTimer = null
}
},
// 前往询价详情
jumpEnquiryDetail() {
let target = this.enquiryList[this.curIndex]
if(target) {
go2('submit-quotation',{title:'提交报价',id:target.id})
}
}
},
computed: {

Loading…
Cancel
Save