|
|
@ -273,6 +273,7 @@ |
|
|
|
:key="index" |
|
|
|
> |
|
|
|
<a-input v-if="item.isEdit" v-model="ext.TaxPrice"></a-input> |
|
|
|
<span v-else-if="ext.TaxPrice==undefined">-</span> |
|
|
|
<span v-else class="spanValue">{{ ext.TaxPrice }}</span> |
|
|
|
</div> |
|
|
|
</a-col> |
|
|
@ -574,6 +575,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
import { json } from 'body-parser'; |
|
|
|
|
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -687,7 +690,7 @@ export default { |
|
|
|
ext.PlatformPoint = parseFloat(item.RivalPrice * 0.05).toFixed(2); |
|
|
|
} |
|
|
|
|
|
|
|
if(ext.BuyPrice!=undefined) |
|
|
|
if(ext.BuyPrice>0) |
|
|
|
{ |
|
|
|
if(ext.TaxPrice==undefined||ext.TaxPrice==''){ |
|
|
|
ext.TaxPrice = parseFloat(ext.BuyPrice * 0.03).toFixed(2); |
|
|
@ -770,7 +773,12 @@ export default { |
|
|
|
res.Data.forEach((item) => { |
|
|
|
item.isEdit = false; |
|
|
|
item.Extensions.forEach((ext) => { |
|
|
|
this.initProfits(item,ext) |
|
|
|
var keys= Object.keys(ext) |
|
|
|
keys.forEach(key=>{ |
|
|
|
if(ext[key]==null) |
|
|
|
ext[key]=undefined |
|
|
|
}) |
|
|
|
this.initProfits(item,ext) |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.datas = res.Data; |
|
|
|