DS7_JinGang
hanxuntao 1 year ago
parent e6c9a5c386
commit 1ee64841dd

@ -58,6 +58,7 @@ namespace DSWeb.Areas.Account.Controllers
return new ContentResult() { Content = json }; return new ContentResult() { Content = json };
} }
[ValidateInput(false)]
public ContentResult GetBLListData(int start, int limit, string sort,string condition) public ContentResult GetBLListData(int start, int limit, string sort,string condition)
{ {
var dataList = Chfee_AuditDAL.GetBillDataList(start, limit,condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort); var dataList = Chfee_AuditDAL.GetBillDataList(start, limit,condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -68,6 +69,7 @@ namespace DSWeb.Areas.Account.Controllers
return new ContentResult() { Content = json }; return new ContentResult() { Content = json };
} }
[ValidateInput(false)]
public ContentResult GetBLListDataStr(string sort, string condition) public ContentResult GetBLListDataStr(string sort, string condition)
{ {
var dataListStr = Chfee_AuditDAL.GetBillDataListStr(condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort); var dataListStr = Chfee_AuditDAL.GetBillDataListStr(condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);
@ -85,6 +87,7 @@ namespace DSWeb.Areas.Account.Controllers
var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() }); var json = JsonConvert.Serialize(new { Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() });
return new ContentResult() { Content = json }; return new ContentResult() { Content = json };
} }
[ValidateInput(false)]
public ContentResult GetBLListData3(int start, int limit, string sort, string condition) public ContentResult GetBLListData3(int start, int limit, string sort, string condition)
{ {
var dataList = Chfee_AuditDAL.GetBillDataList3(start, limit, condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort); var dataList = Chfee_AuditDAL.GetBillDataList3(start, limit, condition, Convert.ToString(Session["USERID"]), Convert.ToString(Session["SHOWNAME"]), Convert.ToString(Session["COMPANYID"]), sort);

@ -2563,7 +2563,7 @@ Ext.extend(Shipping.ChPayapplicationAudit, Ext.Panel, {
sql = sql + getAndConSql(sql, expDateEnd, "APPLYTIME <='" + expDateEnd + "'"); sql = sql + getAndConSql(sql, expDateEnd, "APPLYTIME <='" + expDateEnd + "'");
var APPLICANT = form.findField('APPLICANT').getValue(); var APPLICANT = form.findField('APPLICANT').getValue();
sql = sql + getAndConSql(sql, APPLICANT, "APPLICANT like '%" + APPLICANT + "%'"); sql = sql + getAndConSql(sql, APPLICANT, "APPLICANT= '" + APPLICANT + "'");
this.isAudit = form.findField('DC').getValue(); this.isAudit = form.findField('DC').getValue();

@ -646,7 +646,31 @@ Ext.extend(Shipping.MsChPayapplicationIndex, Ext.Panel, {
}); });
//人员信息加载
this.storeOpCode = Ext.create('DsExt.ux.RefTableStore', {
model: 'DsShipping.ux.UserRefModel',
proxy: { url: '/CommMng/BasicDataRef/GetUserRefList' }
});
this.storeOpCode.load();
//
this.comboxAPPLICANT = Ext.create('DsExt.ux.RefTableCombox', {
fieldLabel: Zi.LAN.Applicant,
store: this.storeOpCode,
forceSelection: true,
name: 'APPLICANT',
labelWidth: 50,
valueField: 'GID',
displayField: 'CodeAndName',
enableKeyEvents: true,
listeners: {
keyup: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
//#endregion //#endregion
@ -769,9 +793,9 @@ Ext.extend(Shipping.MsChPayapplicationIndex, Ext.Panel, {
} }
} }
} }
}, { }, this.comboxAPPLICANT,{
xtype: 'hiddenfield', xtype: 'hiddenfield',
flex: 3.82 flex: 2.82
} }
] ]
} }
@ -1278,6 +1302,8 @@ Ext.extend(Shipping.MsChPayapplicationIndex, Ext.Panel, {
var expDateEnd = form.findField('ExpDateEnd').getRawValue(); var expDateEnd = form.findField('ExpDateEnd').getRawValue();
sql = sql + getAndConSql(sql, expDateEnd, "APPLYTIME <='" + expDateEnd + "'"); sql = sql + getAndConSql(sql, expDateEnd, "APPLYTIME <='" + expDateEnd + "'");
var APPLICANT = form.findField('APPLICANT').getValue();
sql = sql + getAndConSql(sql, APPLICANT, "APPLICANT= '" + APPLICANT + "'");
return sql; return sql;
}, },

@ -48391,6 +48391,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
ordermain.reeferf = bill.REEFERF; ordermain.reeferf = bill.REEFERF;
ordermain.humidity = bill.HUMIDITY; ordermain.humidity = bill.HUMIDITY;
ordermain.IsCreateHtmlPage = true; ordermain.IsCreateHtmlPage = true;
ordermain.GoodsDescription = bill.DESCRIPTION;
var cntrlist = new List<ContaList>(); var cntrlist = new List<ContaList>();

@ -484,6 +484,8 @@ namespace DSWeb.MvcShipping.Models.MsOpSeaeDjy
/// ///
///</summary> ///</summary>
/// ///
public string GoodsDescription { get; set; }
public bool IsCreateHtmlPage { get; set; } public bool IsCreateHtmlPage { get; set; }
public List<ContaList> contaList { get; set; } public List<ContaList> contaList { get; set; }
} }

@ -439,9 +439,10 @@ namespace DSWeb.SoftMng.Controllers
var propArr = model.GetType().GetProperties(); var propArr = model.GetType().GetProperties();
var errorstr = ""; var errorstr = "";
foreach (var CodeSgAuditRuleGroup in CodeSgAuditRuleGroupList) { foreach (var CodeSgAuditRuleGroup in CodeSgAuditRuleGroupList) {
var iserror = true;
var billerrorstr = ""; var billerrorstr = "";
var iserror = false;
foreach (var audit in CodeSgAuditRuleGroup.CodeSgAuditRuleList) { foreach (var audit in CodeSgAuditRuleGroup.CodeSgAuditRuleList) {
if (1==2) if (1==2)
{ {
@ -1243,9 +1244,9 @@ namespace DSWeb.SoftMng.Controllers
} }
} }
if (iserror) { if (!string.IsNullOrEmpty(billerrorstr)) {
errorstr = errorstr+ Environment.NewLine+"序号:"+ CodeSgAuditRuleGroup.SGANO+"("+billerrorstr+")"; errorstr = errorstr+ "<br>序号:" + CodeSgAuditRuleGroup.SGANO+"("+billerrorstr+")";
} }

@ -1932,7 +1932,7 @@ namespace DSWeb.SoftMng.DAL
{ {
model.COMPOP = row["COMPOP"].ToString(); model.COMPOP = row["COMPOP"].ToString();
} }
if (row["COMPTIME"] != null) if (row["COMPTIME"] !=DBNull.Value)
{ {
model.COMPTIME = Convert.ToDateTime(row["COMPTIME"]).ToString("yyyy-MM-dd hh:mm:ss"); model.COMPTIME = Convert.ToDateTime(row["COMPTIME"]).ToString("yyyy-MM-dd hh:mm:ss");
} }

@ -519,9 +519,9 @@ Ext.extend(Shipping.SingleIndex, Ext.Panel, {
return ''; return '';
} }
var sql = " s.COMPOP<>'" + SHOWNAME + "' "; // var sql = " s.COMPOP<>'" + SHOWNAME + "' ";
var sql = " 1=1 ";
var BillState = form.findField('BillState').getValue(); var BillState = form.findField('BillState').getValue();
sql = sql + getAndConSql(sql, BillState, " d.BillState='" + BillState + "'"); sql = sql + getAndConSql(sql, BillState, " d.BillState='" + BillState + "'");

@ -271,6 +271,23 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
} }
}); });
this.Pagenum = Ext.create('Ext.form.field.Number', {
name: 'bottles',
fieldLabel: '每页记录数',
labelAlign: 'right',
value: this.PageSize,
maxValue: 100000,
width: 180,
minValue: 0,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
_this.onRefreshClick();
}
}
}
});
this.column = [ this.column = [
{ {
sortable: true, hidden: true, sortable: true, hidden: true,
@ -937,12 +954,12 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
hideGroupedHeader: true, hideGroupedHeader: true,
enableGroupingMenu: true enableGroupingMenu: true
}], }],
bbar: Ext.create('Ext.PagingToolbar', { bbar: [Ext.create('Ext.PagingToolbar', {
store: this.storeList, store: this.storeList,
displayInfo: true, displayInfo: true,
displayMsg: '当前显示 {0} - {1}条记录 /共 {2}条记录', displayMsg: '当前显示 {0} - {1}条记录 /共 {2}条记录',
emptyMsg: "没有数据" emptyMsg: "没有数据"
}) }), this.Pagenum]
}); });
@ -2002,12 +2019,16 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
var sql = this.getCondition(); var sql = this.getCondition();
this.sqlcontext = sql; this.sqlcontext = sql;
this.PageSize = this.Pagenum.getValue();
this.storeList.pageSize = this.PageSize;
this.storeList.load({ this.storeList.load({
params: { start: 0, limit: this.PageSize, condition: sql }, params: { start: 0, limit: this.PageSize, condition: sql },
waitMsg: "正在查询数据...", waitMsg: "正在查询数据...",
scope: this scope: this
}); });
this.storeListNofen.pageSize = this.PageSize;
this.storeListNofen.load({ this.storeListNofen.load({
params: { start: 0, limit: this.PageSize, condition: " t.BLTYPE='派车分票' AND (t.GID=t.PGID OR t.PGID='' OR t.PGID IS NULL) and (isend=0 or isend is null) " }, params: { start: 0, limit: this.PageSize, condition: " t.BLTYPE='派车分票' AND (t.GID=t.PGID OR t.PGID='' OR t.PGID IS NULL) and (isend=0 or isend is null) " },
waitMsg: "正在查询数据...", waitMsg: "正在查询数据...",
@ -2018,13 +2039,16 @@ Ext.extend(DsTruck.MsPcEditIndex, Ext.Panel, {
}, },
onDsQuery: function (button, event) { onDsQuery: function (button, event) {
var sql=this.sqlcontext; var sql = this.sqlcontext;
this.PageSize = this.Pagenum.getValue();
this.storeList.pageSize = this.PageSize;
this.storeList.load({ this.storeList.load({
params: { start: 0, limit: this.PageSize, condition: sql }, params: { start: 0, limit: this.PageSize, condition: sql },
waitMsg: "正在查询数据...", waitMsg: "正在查询数据...",
scope: this scope: this
}); });
this.storeListNofen.pageSize = this.PageSize;
this.storeListNofen.load({ this.storeListNofen.load({
params: { start: 0, limit: this.PageSize, condition: " t.BLTYPE='派车分票' AND (t.GID=t.PGID OR t.PGID='' OR t.PGID IS NULL) and (isend=0 or isend is null) " }, params: { start: 0, limit: this.PageSize, condition: " t.BLTYPE='派车分票' AND (t.GID=t.PGID OR t.PGID='' OR t.PGID IS NULL) and (isend=0 or isend is null) " },
waitMsg: "正在查询数据...", waitMsg: "正在查询数据...",

Loading…
Cancel
Save