Browse Source

成都打印发货单调整

master
qian 4 months ago
parent
commit
9796fce9a2
  1. 4
      北京北汽/Controller/SCP_ASN_CONTROLLER.cs

4
北京北汽/Controller/SCP_ASN_CONTROLLER.cs

@ -753,7 +753,7 @@ namespace CK.SCP.Controller
});
_print.CAAIPhone = _buffer.ToString();
}
if (_asn.Site == "CQBMPT")
if (_asn.Site == "CQBMPT" || _asn.Site == "CDBMPT")
{
using (ScpEntities db = EntitiesFactory.CreateScpInstance())
{
@ -762,7 +762,7 @@ namespace CK.SCP.Controller
var phone1 = db.TB_ADDRESS.Count(t => t.Address == ask.Extend1);
if (phone1 > 0)
{
var phone = db.TB_ADDRESS.SingleOrDefault(t => t.Address == ask.Extend1);
var phone = db.TB_ADDRESS.SingleOrDefault(t => t.Address == ask.Extend1 && t.SubSite == ask.SubSite);
_print.CAAIPhone = phone.NamePone;
}
_print.CAAIFax = ask.Remark;

Loading…
Cancel
Save