Browse Source

实体修改

master
TML 4 years ago
parent
commit
9c5e59a5dc
  1. 1
      Models/ScpEntity/TA_VENDER.cs
  2. 2
      Models/ScpEntity/TB_PRICE.cs
  3. 4
      SCP/default.aspx

1
Models/ScpEntity/TA_VENDER.cs

@ -65,6 +65,7 @@ namespace CK.SCP.Models.ScpEntity
public string Site { get; set; }
public int? ReceiveTimeScope { set; get; }
public decimal? Quota { set; get; }
[NotMapped]
public string FactoryName => ScpCache.GetFactoryNameByCode(Site);
}

2
Models/ScpEntity/TB_PRICE.cs

@ -27,5 +27,7 @@ namespace CK.SCP.Models.ScpEntity
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public int State { get; set; }
public decimal? VendAmt { get; set; }
}
}

4
SCP/default.aspx

@ -111,10 +111,10 @@
for (var i = 0; obj.options.length; i++)
{
if ('0210' == obj.options[i].value) {
if ('CNS' == obj.options[i].value) {
obj.options[i].selected = true;
_factory = document.getElementById(_factoryValue);
_factory.value = '0210';
_factory.value = 'CNS';
}
}

Loading…
Cancel
Save