|
@@ -2173,10 +2173,8 @@ 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))
|
|
@@ -2194,6 +2192,7 @@ export default {
|
|
|
this.$set(item, 'price', '0')
|
|
|
this.$set(item, 'amount', '0')
|
|
|
this.$set(item, 'sort', this.maxFeeNum + 1)
|
|
|
+ this.$set(item, 'priceType', res.data.cname)
|
|
|
this.maxFeeNum++
|
|
|
let a = {
|
|
|
...item,
|