mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-19 04:26:45 +08:00
对比dev代码
This commit is contained in:
@@ -81,10 +81,10 @@ export default {
|
||||
switch (this.isFrom) {
|
||||
case 'proposal':
|
||||
mainListDate.platform = 'proposal'
|
||||
break;
|
||||
break
|
||||
case 'sale':
|
||||
mainListDate.platform = 'app'
|
||||
break;
|
||||
break
|
||||
}
|
||||
let resultData = await mainRiskList(mainListDate)
|
||||
if (resultData.result == 0) {
|
||||
@@ -201,7 +201,8 @@ export default {
|
||||
return this.$toast('抱歉,您没有该产品的销售权限!')
|
||||
}
|
||||
|
||||
let flagCompany = await riskRules.checkCompany(resultData.productCode, JSON.parse(localStorage.saleInsuredInfo).workcompany, this)
|
||||
let flagCompany = await riskRules.checkCompany(resultData.productCode, JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).workcompany, this)
|
||||
|
||||
if (flagCompany && localStorage.isFrom != 'proposal') {
|
||||
//校验该投保人的工作单位是否能够投保该产品
|
||||
return this.$toast('该投保人工作单位不能投保该产品')
|
||||
|
||||
Reference in New Issue
Block a user