[FIX] 修改建议书转投保check校验条件

This commit is contained in:
li.kai
2020-07-08 17:22:32 +08:00
parent 70fe4cd249
commit d997d6fda6
2 changed files with 13 additions and 4 deletions

View File

@@ -77,8 +77,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) == '{}') {