Browse Source

增加税务成本可为0

master
feng 3 years ago
parent
commit
e286b8f85f
  1. 2
      src/Coldairarrow.Entity/DTO/TeamitemDto.cs
  2. 4
      客户端/齐越慧眼/齐越慧眼/vuepage/client/src/views/items/Index.vue
  3. 4
      客户端/齐越慧眼/齐越慧眼/vuepage/client/src/views/pricetask/Index.vue

2
src/Coldairarrow.Entity/DTO/TeamitemDto.cs

@ -86,7 +86,7 @@ namespace Coldairarrow.Entity.DTO
/// <summary> /// <summary>
/// 税务成本 /// 税务成本
/// </summary> /// </summary>
public decimal TaxPrice { get; set; } public decimal? TaxPrice { get; set; }
/// <summary> /// <summary>
/// 利润 /// 利润

4
客户端/齐越慧眼/齐越慧眼/vuepage/client/src/views/items/Index.vue

@ -776,8 +776,8 @@ export default {
initProfits(item,ext){ initProfits(item,ext){
ext.PlatformPoint = parseFloat(item.RivalPrice * 0.05).toFixed(2); ext.PlatformPoint = parseFloat(item.RivalPrice * 0.05).toFixed(2);
var taxp=parseFloat(item.RivalPrice * 0.03).toFixed(2) //var taxp=parseFloat(item.RivalPrice * 0.03).toFixed(2)
if(ext.TaxPrice<=0||ext.TaxPrice==undefined) if(ext.TaxPrice==undefined||ext.TaxPrice==null)
{ {
ext.TaxPrice = parseFloat(item.RivalPrice * 0.03).toFixed(2); ext.TaxPrice = parseFloat(item.RivalPrice * 0.03).toFixed(2);
} }

4
客户端/齐越慧眼/齐越慧眼/vuepage/client/src/views/pricetask/Index.vue

@ -686,8 +686,8 @@ export default {
ext.PlatformPoint = parseFloat(item.RivalPrice * 0.05).toFixed(2); ext.PlatformPoint = parseFloat(item.RivalPrice * 0.05).toFixed(2);
var taxp=parseFloat(item.RivalPrice * 0.03).toFixed(2) //var taxp=parseFloat(item.RivalPrice * 0.03).toFixed(2)
if(ext.TaxPrice<=0||ext.TaxPrice==undefined) if(ext.TaxPrice==undefined||ext.TaxPrice==null)
{ {
ext.TaxPrice = parseFloat(item.RivalPrice * 0.03).toFixed(2); ext.TaxPrice = parseFloat(item.RivalPrice * 0.03).toFixed(2);
} }

Loading…
Cancel
Save