|
@@ -2173,8 +2173,10 @@ export default {
|
|
|
getMarketPrice({code: item.code, isFreight: this.form.isFreight, isLabel: this.form.isLabel}).then(response => {
|
|
|
if (response.data.data.length > 0) {
|
|
|
this.$set(item, 'price', response.data.data[0].salePrice)
|
|
|
+ this.$set(item, 'priceType', res.data.cname)
|
|
|
} else {
|
|
|
this.$set(item, 'price', '0')
|
|
|
+ this.$set(item, 'priceType', res.data.cname)
|
|
|
}
|
|
|
this.priceChange(item)
|
|
|
// this.$set(item, 'amount', (Number(item.price) * Number(item.orderQuantity)).toFixed(2))
|