Commit 1b57b3cf by zhangxw

修改

1 parent 75223f87
......@@ -152,11 +152,14 @@ export default {
}
this.$apis.grounding.getPurchaseGroundingDetail(params).then(res => {
res.goodsSourceStr = !((res.goodsSource ?? '') === '') ? goodsSourceOptions[res.goodsSource - 0]?.label : '-'
let index = this.editFormData.findIndex(val => val.name == 'shopPurchasePrice')
if (this.membraneTypeList?.includes(res?.goodsInfo?.goodsType)) { // 膜类商品 单位是卷
if(index > -1) this.editFormData[index].label = '门店采购价(元)/卷'
}
res.groundingGoodsInfo = {
...res.goodsInfo,
...res.upgradeGoods
}
console.log(res)
this.editForm = res
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!