diff --git a/DSWeb/Areas/Account/Controllers/Chfee_lockController.cs b/DSWeb/Areas/Account/Controllers/Chfee_lockController.cs index 880a759b..5d4b19b6 100644 --- a/DSWeb/Areas/Account/Controllers/Chfee_lockController.cs +++ b/DSWeb/Areas/Account/Controllers/Chfee_lockController.cs @@ -143,6 +143,7 @@ namespace DSWeb.Areas.Account.Controllers strSql.Append(",case ISNULL(C.ETDCLOSE,0) when 1 then '已锁定' else '未锁定' end as ETDCLOSEREF"); strSql.Append(",case ISNULL(C.DRCLOSE,0) when 1 then '已锁定' else '未锁定' end as DRCLOSEREF"); strSql.Append(",case ISNULL(C.CRCLOSE,0) when 1 then '已锁定' else '未锁定' end as CRCLOSEREF"); + strSql.Append(",(select [NAME] from [company] where GID=B.SALECORPID) as SALECORP"); strSql.Append(" FROM V_OP_BILL B "); strSql.Append(" LEFT JOIN (SELECT BSNO,isnull(SUM(CASE FEETYPE WHEN 1 THEN(CASE CURRENCY WHEN 'RMB' THEN ISNULL(AMOUNT, 0) ELSE 0 END) ELSE 0 END), 0) AS RMBDR,"); diff --git a/DSWeb/Areas/Account/Viewsjs/Chfee_lock/Chfee_lock.js b/DSWeb/Areas/Account/Viewsjs/Chfee_lock/Chfee_lock.js index cadeeec8..599821db 100644 --- a/DSWeb/Areas/Account/Viewsjs/Chfee_lock/Chfee_lock.js +++ b/DSWeb/Areas/Account/Viewsjs/Chfee_lock/Chfee_lock.js @@ -110,6 +110,7 @@ Ext.extend(Shipping.MsChfeelock, Ext.Panel, { { name: 'BSCLOSEOP', type: 'string' }, { name: 'FEECLOSETIME', type: 'string' }, { name: 'FEECLOSEOP', type: 'string' }, + { name: 'SALECORP', type: 'string' }, { name: 'NETWEIGHT', type: 'number' }, { name: 'KGS', type: 'number' }, { name: 'TEU', type: 'number' }, @@ -617,6 +618,11 @@ Ext.extend(Shipping.MsChfeelock, Ext.Panel, { dataIndex: 'CNTRTOTAL', header: '箱型箱量', width: 80 + }, { + sortable: true, + dataIndex: 'SALECORP', + header: '所属分部', + width: 80 }, { sortable: true, dataIndex: 'REMARK', diff --git a/DSWeb/Areas/MvcShipping/Controllers/MsChFeeController.cs b/DSWeb/Areas/MvcShipping/Controllers/MsChFeeController.cs index 1b662bd6..6d56deb0 100644 --- a/DSWeb/Areas/MvcShipping/Controllers/MsChFeeController.cs +++ b/DSWeb/Areas/MvcShipping/Controllers/MsChFeeController.cs @@ -389,66 +389,66 @@ namespace DSWeb.MvcShipping.Controllers return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose2) }; } - var FEESAVENOTSAMEAMOUNT = MsSysParamSetDAL.GetData("PARAMNAME='FEESAVENOTSAMEAMOUNT'"); - if (FEESAVENOTSAMEAMOUNT.PARAMVALUE == "1"&& feetype==2) - { - var oldfeelist = MsChFeeDAL.GetAllDataList("BSNO='" + bsno + "' AND FEETYPE=2"); - var findlist = new List(); - foreach (var fee in oldfeelist) - { - var newfee = bodyList.Find(X => X.GId == fee.GId); - if (newfee == null&&fee.FeeType == 2) - { - var newinvlink = findlist.Find(X => X.Currency == fee.Currency && X.CustomerName == fee.CustomerName && X.Amount == fee.Amount); - if (newinvlink == null) - { - var InvLink = new MsChFee(); - InvLink.Currency = fee.Currency; - InvLink.CustomerName = fee.CustomerName; - InvLink.Amount = fee.Amount; - findlist.Add(InvLink); - } - else - { - var jsonRespose3 = new JsonResponse - { - Success = false, - Message = "客户名称,金额,币别 ,相同,不允许保存,请调整!", - }; - return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose3) }; - - } - } - } + // var FEESAVENOTSAMEAMOUNT = MsSysParamSetDAL.GetData("PARAMNAME='FEESAVENOTSAMEAMOUNT'"); + // if (FEESAVENOTSAMEAMOUNT.PARAMVALUE == "1"&& feetype==2) + // { + // var oldfeelist = MsChFeeDAL.GetAllDataList("BSNO='" + bsno + "' AND FEETYPE=2"); + // var findlist = new List(); + // foreach (var fee in oldfeelist) + // { + // var newfee = bodyList.Find(X => X.GId == fee.GId); + // if (newfee == null&&fee.FeeType == 2) + // { + // var newinvlink = findlist.Find(X => X.Currency == fee.Currency && X.CustomerName == fee.CustomerName && X.Amount == fee.Amount); + // if (newinvlink == null) + // { + // var InvLink = new MsChFee(); + // InvLink.Currency = fee.Currency; + // InvLink.CustomerName = fee.CustomerName; + // InvLink.Amount = fee.Amount; + // findlist.Add(InvLink); + // } + // else + // { + // var jsonRespose3 = new JsonResponse + // { + // Success = false, + // Message = "客户名称,金额,币别 ,相同,不允许保存,请调整!", + // }; + // return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose3) }; + + // } + // } + // } - foreach (var fee in bodyList) - { - if (fee.FeeType == 2) - { - var newinvlink = findlist.Find(X => X.Currency == fee.Currency && X.CustomerName == fee.CustomerName && X.Amount == fee.Amount); - if (newinvlink == null) - { - var InvLink = new MsChFee(); - InvLink.Currency = fee.Currency; - InvLink.CustomerName = fee.CustomerName; - InvLink.Amount = fee.Amount; - findlist.Add(InvLink); - } - else - { - var jsonRespose3 = new JsonResponse - { - Success = false, - Message = "客户名称,金额,币别 ,相同,不允许保存,请调整!", - }; - return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose3) }; - - } - } - } - - - } + // foreach (var fee in bodyList) + // { + // if (fee.FeeType == 2) + // { + // var newinvlink = findlist.Find(X => X.Currency == fee.Currency && X.CustomerName == fee.CustomerName && X.Amount == fee.Amount); + // if (newinvlink == null) + // { + // var InvLink = new MsChFee(); + // InvLink.Currency = fee.Currency; + // InvLink.CustomerName = fee.CustomerName; + // InvLink.Amount = fee.Amount; + // findlist.Add(InvLink); + // } + // else + // { + // var jsonRespose3 = new JsonResponse + // { + // Success = false, + // Message = "客户名称,金额,币别 ,相同,不允许保存,请调整!", + // }; + // return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose3) }; + + // } + // } + // } + + + //} if (isyj == "1") diff --git a/DSWeb/Areas/MvcShipping/Controllers/MsOpSeaeModuleController.cs b/DSWeb/Areas/MvcShipping/Controllers/MsOpSeaeModuleController.cs index d31b56b7..82a8b79a 100644 --- a/DSWeb/Areas/MvcShipping/Controllers/MsOpSeaeModuleController.cs +++ b/DSWeb/Areas/MvcShipping/Controllers/MsOpSeaeModuleController.cs @@ -88,10 +88,10 @@ namespace DSWeb.MvcShipping.Controllers ////分公司代码 - //if (headData.CORPID == "" || headData.CORPID == null) - //{ - // headData.CORPID = Convert.ToString(Session["COMPANYID"]); - //} + if (headData.CORPID == "" || headData.CORPID == null) + { + headData.CORPID = Convert.ToString(Session["COMPANYID"]); + } //分公司代码 if (headData.GID == "" || headData.GID == null) @@ -103,7 +103,8 @@ namespace DSWeb.MvcShipping.Controllers if (opstatus == "add") { headData.DbOperationType = DbOperationType.DbotIns; - // + headData.INPUTBY =Convert.ToString(Session["SHOWNAME"]).ToString().Trim(); + headData.INPUTDATE = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); } else if (opstatus == "edit") { diff --git a/DSWeb/Areas/MvcShipping/DAL/MsChFee/MsChFeeDAL.cs b/DSWeb/Areas/MvcShipping/DAL/MsChFee/MsChFeeDAL.cs index cca20a32..edf21713 100644 --- a/DSWeb/Areas/MvcShipping/DAL/MsChFee/MsChFeeDAL.cs +++ b/DSWeb/Areas/MvcShipping/DAL/MsChFee/MsChFeeDAL.cs @@ -91,7 +91,7 @@ namespace DSWeb.MvcShipping.DAL.MsChFeeDAL private const string PARM_FEE_ISACC = "@ISACC"; private const string PARM_SALECORP = "@SALECORP"; private const string PARM_FEE_ISCRMORDERFEE = "@ISCRMORDERFEE"; - + private const string PARM_FEE_STATEMENTNO = "@STATEMENTNO"; #endregion static private SqlParameter[] GetInsertParms() @@ -135,7 +135,8 @@ namespace DSWeb.MvcShipping.DAL.MsChFeeDAL new SqlParameter(PARM_MANAGER,SqlDbType.VarChar,50), new SqlParameter(PARM_FEE_ISACC,SqlDbType.VarChar,1), new SqlParameter(PARM_SALECORP,SqlDbType.VarChar,60), - new SqlParameter(PARM_FEE_ISCRMORDERFEE,SqlDbType.VarChar,1) + new SqlParameter(PARM_FEE_ISCRMORDERFEE,SqlDbType.VarChar,1), + new SqlParameter(PARM_FEE_STATEMENTNO,SqlDbType.VarChar,60) }; @@ -146,16 +147,16 @@ namespace DSWeb.MvcShipping.DAL.MsChFeeDAL private const string SQL_INSERT_FEE = " INSERT INTO ch_fee(GID, BSNO, FEETYPE, FEENAME, FEEDESCRIPTION, CUSTOMERTYPE, CUSTOMERNAME, UNIT, UNITPRICE, QUANTITY, AMOUNT, CURRENCY, " + " EXCHANGERATE, REASON, REMARK, COMMISSIONRATE,ENTEROPERATOR, ENTERDATE,ISOPEN, ISADVANCEDPAY, SORT, FEESTATUS, FEEFRT, " - + " TAXRATE,NOTAXAMOUNT,ACCTAXRATE,LINENUM,TAXUNITPRICE,MODIFIEDUSER,MODIFIEDTIME,WMSOUTBSNO,PREAMOUNT,ISINVOICE,INPUTMODE,LOCALCURR,MANAGER,ISACC,SALECORP,ISCRMORDERFEE) " + + " TAXRATE,NOTAXAMOUNT,ACCTAXRATE,LINENUM,TAXUNITPRICE,MODIFIEDUSER,MODIFIEDTIME,WMSOUTBSNO,PREAMOUNT,ISINVOICE,INPUTMODE,LOCALCURR,MANAGER,ISACC,SALECORP,ISCRMORDERFEE,STATEMENTNO) " + " VALUES " + " (@gid,@bsno,@fee_type,@fee_name,@fee_description,@customer_type,@customer_name,@unit,@unit_price,@quantity,@amount,@currency, " + " @exchange_rate,@reason,@remark,@comm_rate,@enter_operator,@enter_date,@is_open,@is_advance_pay,@sort,@fee_status,@fee_frt, " - + " @taxrate,@notaxamount,@acctaxrate,@LINENUM,@taxunit_price,@MODIFIEDUSER,@MODIFIEDTIME,@WMSOUTBSNO,@PREAMOUNT,@ISINVOICE,@INPUTMODE,@LOCALCURR,@MANAGER,@ISACC,@SALECORP,@ISCRMORDERFEE)";//DateTime.Now.ToString() + + " @taxrate,@notaxamount,@acctaxrate,@LINENUM,@taxunit_price,@MODIFIEDUSER,@MODIFIEDTIME,@WMSOUTBSNO,@PREAMOUNT,@ISINVOICE,@INPUTMODE,@LOCALCURR,@MANAGER,@ISACC,@SALECORP,@ISCRMORDERFEE,@STATEMENTNO)";//DateTime.Now.ToString() private const string SQL_UPDATE_CH_FE = " UPDATE ch_fee SET FEENAME = @fee_name,FEEDESCRIPTION=@fee_description,CUSTOMERTYPE=@customer_type,CUSTOMERNAME = @customer_name,UNIT = @unit,UNITPRICE = @unit_price,QUANTITY = @quantity,COMMISSIONRATE = @comm_rate," + " AMOUNT = @amount,CURRENCY = @currency,EXCHANGERATE = @exchange_rate,FEEFRT = @fee_frt,REMARK = @remark,ISADVANCEDPAY = @is_advance_pay," + " WMSOUTBSNO=@WMSOUTBSNO,LINENUM=@LINENUM,TaxRate=@TAXRATE,NoTaxAmount=@NOTAXAMOUNT,AccTaxRate=@ACCTAXRATE,TAXUNITPRICE=@TAXUNITPRICE,PREAMOUNT=@PREAMOUNT," - + "MODIFIEDUSER=@MODIFIEDUSER,MODIFIEDTIME=@MODIFIEDTIME,ISOPEN = @ISOPEN,IsInvoice=@IsInvoice,INPUTMODE=@INPUTMODE,LOCALCURR=@LOCALCURR,MANAGER=@MANAGER,ISACC=@ISACC,SALECORP=@SALECORP,ISCRMORDERFEE=@ISCRMORDERFEE WHERE GID = @gid "; + + "MODIFIEDUSER=@MODIFIEDUSER,MODIFIEDTIME=@MODIFIEDTIME,ISOPEN = @ISOPEN,IsInvoice=@IsInvoice,INPUTMODE=@INPUTMODE,LOCALCURR=@LOCALCURR,MANAGER=@MANAGER,ISACC=@ISACC,SALECORP=@SALECORP,ISCRMORDERFEE=@ISCRMORDERFEE,STATEMENTNO=@STATEMENTNO WHERE GID = @gid "; private const string SQL_INSERT_ORDERFEE = " INSERT INTO ch_fee_order(GID, BSNO, FEETYPE, FEENAME, FEEDESCRIPTION, CUSTOMERTYPE, CUSTOMERNAME, UNIT, UNITPRICE, QUANTITY, AMOUNT, CURRENCY, " @@ -328,7 +329,7 @@ namespace DSWeb.MvcShipping.DAL.MsChFeeDAL }; } else parms[38].Value = "0"; - + parms[39].Value = feeEntity.STATEMENTNO; SqlHelper.ExecuteNonQuery(sqlTran, CommandType.Text, SQL_INSERT_FEE, parms); } @@ -366,7 +367,8 @@ namespace DSWeb.MvcShipping.DAL.MsChFeeDAL new SqlParameter("@MANAGER",SqlDbType.VarChar,60), new SqlParameter("@ISACC",SqlDbType.VarChar,1), new SqlParameter("@SALECORP",SqlDbType.VarChar,60), - new SqlParameter("@ISCRMORDERFEE",SqlDbType.VarChar,1) + new SqlParameter("@ISCRMORDERFEE",SqlDbType.VarChar,1), + new SqlParameter("@STATEMENTNO",SqlDbType.VarChar,60) }; @@ -497,7 +499,7 @@ namespace DSWeb.MvcShipping.DAL.MsChFeeDAL } } else updateParms[31].Value = "0"; - + updateParms[32].Value = feeEntity.STATEMENTNO; SqlHelper.ExecuteNonQuery(sqlTran, CommandType.Text, SQL_UPDATE_CH_FE, updateParms); } } diff --git a/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeModule/MsOpSeaeModuleDAL.cs b/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeModule/MsOpSeaeModuleDAL.cs index c275a844..79bbbe4b 100644 --- a/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeModule/MsOpSeaeModuleDAL.cs +++ b/DSWeb/Areas/MvcShipping/DAL/MsOpSeaeModule/MsOpSeaeModuleDAL.cs @@ -58,8 +58,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL strSql.Append("PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION,"); strSql.Append("NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME,"); strSql.Append("GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE,"); - strSql.Append("INPUTBY,PLACERECEIPTID,REMARKS,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],"); - strSql.Append("[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN]"); + strSql.Append("INPUTBY,PLACERECEIPTID,REMARK,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],"); + strSql.Append("[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN],CUSTOMERNAME"); strSql.Append(" from op_seae_module "); if (!string.IsNullOrEmpty(strCondition)) @@ -100,8 +100,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL strSql.Append("PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION,"); strSql.Append("NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME,"); strSql.Append("GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE,"); - strSql.Append("INPUTBY,PLACERECEIPTID,REMARKS,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],"); - strSql.Append("[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN]"); + strSql.Append("INPUTBY,PLACERECEIPTID,REMARK,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],"); + strSql.Append("[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN],CUSTOMERNAME"); strSql.Append(" from op_seae_module "); if (!string.IsNullOrEmpty(strCondition)) @@ -129,8 +129,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL strSql.Append("PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION,"); strSql.Append("NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME,"); strSql.Append("GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE,"); - strSql.Append("INPUTBY,PLACERECEIPTID,REMARKS,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],"); - strSql.Append("[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN]"); + strSql.Append("INPUTBY,PLACERECEIPTID,REMARK,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],"); + strSql.Append("[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN],CUSTOMERNAME"); strSql.Append(" from op_seae_module "); if (!string.IsNullOrEmpty(condition)) @@ -206,7 +206,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL data.PAYABLEAT = Convert.ToString(reader["PAYABLEAT"]);//到付地点 data.SERVICE = Convert.ToString(reader["SERVICE"]);//运输条款 data.MARKS = Convert.ToString(reader["MARKS"]);//唛头 - data.REMARKS = Convert.ToString(reader["REMARKS"]);//唛头 + data.REMARK = Convert.ToString(reader["REMARK"]);//唛头 data.DCLASS = Convert.ToString(reader["DCLASS"]);//唛头 data.DUNNO = Convert.ToString(reader["DUNNO"]);//发货人 data.REEFERF = Convert.ToString(reader["REEFERF"]);//发货人 @@ -223,6 +223,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL data.COPYNOBILL = Convert.ToString(reader["COPYNOBILL"]);// if (reader["INPUTDATE"] != DBNull.Value) data.INPUTDATE = Convert.ToDateTime(reader["INPUTDATE"]).ToString("yyyy-MM-dd HH:mm:ss");//签单日期 + data.CUSTOMERNAME = Convert.ToString(reader["CUSTOMERNAME"]);// #endregion headList.Add(data); } @@ -292,7 +293,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL data.PAYABLEAT = Convert.ToString(reader["PAYABLEAT"]);//到付地点 data.SERVICE = Convert.ToString(reader["SERVICE"]);//运输条款 data.MARKS = Convert.ToString(reader["MARKS"]);//唛头 - data.REMARKS = Convert.ToString(reader["REMARKS"]);//唛头 + data.REMARK = Convert.ToString(reader["REMARK"]);//唛头 data.DCLASS = Convert.ToString(reader["DCLASS"]);//唛头 data.DUNNO = Convert.ToString(reader["DUNNO"]);//发货人 data.REEFERF = Convert.ToString(reader["REEFERF"]);//发货人 @@ -387,13 +388,13 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL } else { - str = " UPPER(Corpid)='" + companyid + "'"; + str = " 1=1"; } } else if (visiblerange == "1") { - str = " UPPER(Corpid)='" + companyid + "'"; + str = " 1=1"; } return str; } diff --git a/DSWeb/Areas/MvcShipping/Models/MsOpSeaeModule/MsOpSeaeModule.cs b/DSWeb/Areas/MvcShipping/Models/MsOpSeaeModule/MsOpSeaeModule.cs index 269b9344..25b9729f 100644 --- a/DSWeb/Areas/MvcShipping/Models/MsOpSeaeModule/MsOpSeaeModule.cs +++ b/DSWeb/Areas/MvcShipping/Models/MsOpSeaeModule/MsOpSeaeModule.cs @@ -60,10 +60,10 @@ namespace DSWeb.MvcShipping.Models.MsOpSeaeModule private string _inputby = ""; - /// - /// 录入人 + /// + /// 录入人 /// - [ModelDB] + [ModelDB(MDBType = ModelDBOprationType.Insert)] public string INPUTBY { get{ return _inputby; } @@ -480,16 +480,6 @@ namespace DSWeb.MvcShipping.Models.MsOpSeaeModule } - private string _cntrno = ""; - /// - /// 集装箱大写 - /// - [ModelDB] - public string CNTRNO - { - get { return _cntrno; } - set { _cntrno = value; } - } @@ -539,7 +529,7 @@ namespace DSWeb.MvcShipping.Models.MsOpSeaeModule /// 备注 /// [ModelDB] - public string REMARKS + public string REMARK { get { return _remarks; } set { _remarks = value; } @@ -704,7 +694,10 @@ namespace DSWeb.MvcShipping.Models.MsOpSeaeModule get { return _INPUTDATE; } set { _INPUTDATE = value; } } - + [ModelDB] + public string CUSTOMERNAME { get; set; } + [ModelDB(MDBType = ModelDBOprationType.Insert)] + public string CORPID { get; set; } #endregion diff --git a/DSWeb/Areas/MvcShipping/Views/MsOpAire/EditView.aspx b/DSWeb/Areas/MvcShipping/Views/MsOpAire/EditView.aspx index b2d7e94d..9e95a7a8 100644 --- a/DSWeb/Areas/MvcShipping/Views/MsOpAire/EditView.aspx +++ b/DSWeb/Areas/MvcShipping/Views/MsOpAire/EditView.aspx @@ -33,6 +33,17 @@ DEPTNAME = '<%= Session["DEPTNAME"] %>'; } getSessgion5(); + var strLANGUAGES; + function getSessgion6() { + strLANGUAGES = '<%= Session["LANGUAGES"] %>'; //zh-cn-中文,en-us-英文 + if (strLANGUAGES == "en-us") { + document.write(' @@ -44,6 +55,16 @@ + + + + +<%----%> + + + + +