Commit 8c4e7b00 authored by dragondean@qq.com's avatar dragondean@qq.com

修复留空的箱明细从订单商品选择品牌异常

parent 75a6d9a7
......@@ -246,6 +246,13 @@ export default {
if (this.value.weight < 0) {
this.value.weight = -this.value.weight
}
},
'value.brand'(val){
if(!val) return
const index = this.brandList.findIndex(item => item.id == val)
getProductBrank(val).then(res => {
this.brandList.push(res.data)
})
}
}
}
......
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