|
|
@ -637,47 +637,48 @@ namespace DSWeb.Areas.CommMng.DAL
|
|
|
|
|
|
|
|
|
|
|
|
//发货人 SHIPPER
|
|
|
|
//发货人 SHIPPER
|
|
|
|
PropNameList = new Dictionary<string, string>
|
|
|
|
PropNameList = new Dictionary<string, string>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ "委托公司", "CUSTOMERNAME" },
|
|
|
|
|
|
|
|
{ "联系人", "ATTN" },
|
|
|
|
|
|
|
|
{ "电话", "ATTNTEL" },
|
|
|
|
|
|
|
|
|
|
|
|
{ "委托公司", "CUSTOMERNAME" },
|
|
|
|
{ "发货人", "SHIPPER" },
|
|
|
|
{ "联系人", "ATTN" },
|
|
|
|
{ "客户委托编码", "CUSTNO" },
|
|
|
|
{ "电话", "ATTNTEL" },
|
|
|
|
{ "备注", "REMARK" },
|
|
|
|
|
|
|
|
{ "邮箱", "ATTNEMAIL" },
|
|
|
|
|
|
|
|
{ "收货地", "PLACERECEIPT" },
|
|
|
|
|
|
|
|
{ "目的港", "DESTINATION" },
|
|
|
|
|
|
|
|
//{ "运费条款", "SHIPPER" },
|
|
|
|
|
|
|
|
{ "货描", "DESCRIPTION" },
|
|
|
|
|
|
|
|
{ "毛重", "KGS" },
|
|
|
|
|
|
|
|
{ "包装种类", "KINDPKGS" },
|
|
|
|
|
|
|
|
{ "收货人", "CONSIGNEE" },
|
|
|
|
|
|
|
|
{ "通知人", "NOTIFYPARTY" },
|
|
|
|
|
|
|
|
|
|
|
|
{ "发货人", "SHIPPER" },
|
|
|
|
{ "运输条款", "SERVICE" },
|
|
|
|
{ "客户委托编码", "CUSTNO" },
|
|
|
|
|
|
|
|
{ "备注", "REMARK" },
|
|
|
|
|
|
|
|
{ "邮箱", "ATTNEMAIL" },
|
|
|
|
|
|
|
|
{ "收货地", "PLACERECEIPT" },
|
|
|
|
|
|
|
|
{ "目的港", "DESTINATION" },
|
|
|
|
|
|
|
|
//{ "运费条款", "SHIPPER" },
|
|
|
|
|
|
|
|
{ "货描", "DESCRIPTION" },
|
|
|
|
|
|
|
|
{ "毛重", "KGS" },
|
|
|
|
|
|
|
|
{ "包装种类", "KINDPKGS" },
|
|
|
|
|
|
|
|
{ "收货人", "CONSIGNEE" },
|
|
|
|
|
|
|
|
{ "通知人", "NOTIFYPARTY" },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ "运输条款", "SERVICE" },
|
|
|
|
{ "船公司", "CARRIER" },
|
|
|
|
|
|
|
|
{ "船名", "VESSEL" },
|
|
|
|
|
|
|
|
|
|
|
|
{ "船公司", "CARRIER" },
|
|
|
|
{ "航次", "VOYNO" },
|
|
|
|
{ "船名", "VESSEL" },
|
|
|
|
{ "贸易条款", "TRADETERM" },
|
|
|
|
|
|
|
|
{ "品名", "GOODSNAME" },
|
|
|
|
|
|
|
|
|
|
|
|
{ "航次", "VOYNO" },
|
|
|
|
{ "起运港", "PODLOAD" },
|
|
|
|
{ "贸易条款", "TRADETERM" },
|
|
|
|
{ "卸货港", "PORTDISCHARGE" },
|
|
|
|
{ "品名", "GOODSNAME" },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ "起运港", "PODLOAD" },
|
|
|
|
{ "交货地", "PLACEDELIVERY" },
|
|
|
|
{ "卸货港", "PORTDISCHARGE" },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ "交货地", "PLACEDELIVERY" },
|
|
|
|
{ "ETD", "ETD" },
|
|
|
|
|
|
|
|
{ "唛头", "MARKS" },
|
|
|
|
|
|
|
|
{ "件数", "NOPKGS" },
|
|
|
|
|
|
|
|
|
|
|
|
{ "ETD", "ETD" },
|
|
|
|
{ "体积", "CBM" },
|
|
|
|
{ "唛头", "MARKS" },
|
|
|
|
{ "HSCODE", "HSCODE" }
|
|
|
|
{ "件数", "NOPKGS" },
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
{ "体积", "CBM" },
|
|
|
|
var oldCustomerName= headdata.CUSTOMERNAME;
|
|
|
|
{ "HSCODE", "HSCODE" }
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var item in PropNameList)
|
|
|
|
foreach (var item in PropNameList)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -710,6 +711,10 @@ namespace DSWeb.Areas.CommMng.DAL
|
|
|
|
|
|
|
|
|
|
|
|
if (_tempinfoclient == null || string.IsNullOrWhiteSpace(_tempinfoclient.SHORTNAME))
|
|
|
|
if (_tempinfoclient == null || string.IsNullOrWhiteSpace(_tempinfoclient.SHORTNAME))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
//headdata.CUSTOMERNAME = "";
|
|
|
|
|
|
|
|
headdata.CUSTOMERNAME = oldCustomerName;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
headdata.CUSTOMERNAME = _tempinfoclient.SHORTNAME;
|
|
|
|
headdata.CUSTOMERNAME = _tempinfoclient.SHORTNAME;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1177,7 +1182,10 @@ namespace DSWeb.Areas.CommMng.DAL
|
|
|
|
//String secretUserid = rsa.encrypt(null, userid, null, "utf-8", spk, false);
|
|
|
|
//String secretUserid = rsa.encrypt(null, userid, null, "utf-8", spk, false);
|
|
|
|
//heads.put("userid", secretUserid);
|
|
|
|
//heads.put("userid", secretUserid);
|
|
|
|
//userid将会填在user.wechetaccount里面
|
|
|
|
//userid将会填在user.wechetaccount里面
|
|
|
|
var _userid = EncryptByPublicKey("cs1", SPK);
|
|
|
|
|
|
|
|
|
|
|
|
//var _userinfo = cdc.user
|
|
|
|
|
|
|
|
//var _userid = EncryptByPublicKey(_userinfo.w, SPK);
|
|
|
|
|
|
|
|
var _userid = EncryptByPublicKey("49", SPK);
|
|
|
|
|
|
|
|
|
|
|
|
var dic = new Dictionary<string, string> {
|
|
|
|
var dic = new Dictionary<string, string> {
|
|
|
|
{ "token", token },
|
|
|
|
{ "token", token },
|
|
|
|