Commit 77a23104 by wkliang

fix

parent 0d1e0e76
......@@ -44,6 +44,9 @@ class ActionAPI extends APIBase {
return system.getResult(null, '未选择子产品')
}
if (action_body.product_type == 2) {
action_body.items = action_body.items.map(data => {
return parseInt(data)
})
let checkRes = await this.productSve.checkSitem(action_body.items)
if (!checkRes) {
return system.getResult(null, '不能选择组合产品为子产品')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment