Merge branch 'feature/【建议书转投保】修改checke校验条件' into dev

# Conflicts:
#	src/views/ebiz/proposal/List.vue
This commit is contained in:
li.kai
2020-07-08 17:36:36 +08:00
2 changed files with 14 additions and 5 deletions

View File

@@ -80,8 +80,10 @@ export default {
//获取产品售卖权限列表
getProductSellPermissionList(val, that) {
let flag = true
const data = { productCodes: [val] }
if (Object.prototype.toString.call(val) === '[object Array]') data.productCodes = [...val]
return new Promise((resolve, reject) => {
productCheck({ productCodes: [val] }).then(
productCheck(data).then(
res => {
if (res.result == '0') {
if (JSON.stringify(res.content) == '{}') {