DS7_JinGang
dengyu 1 year ago
parent 2ae21c513a
commit d1abdb4f49

@ -23,6 +23,7 @@ using DSWeb.MvcShipping.DAL.MsInfoClient;
using DSWeb.MvcShipping.Models.MsInfoClient; using DSWeb.MvcShipping.Models.MsInfoClient;
using DSWeb.Areas.Account.DAL.Chfee_Invoiceapplication; using DSWeb.Areas.Account.DAL.Chfee_Invoiceapplication;
using static java.security.cert.CertPathValidatorException; using static java.security.cert.CertPathValidatorException;
using DSWeb.Areas.Account.DAL.Chfee_payapplication;
namespace DSWeb.Areas.CommMng.Controllers namespace DSWeb.Areas.CommMng.Controllers
{ {
@ -229,7 +230,7 @@ namespace DSWeb.Areas.CommMng.Controllers
if (formname == "查询列表") if (formname == "查询列表")
{ {
var dataList = MsInfoClientDAL.GetDataList(0,50,condition, user.USERID, isaudit, user.SHOWNAME, user.COMPANYID, null); var dataList = MsInfoClientDAL.GetDataList(0,50,condition, user.USERID, user.SHOWNAME, user.COMPANYID, null);
var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() }); var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() });
return new ContentResult() { Content = json1 }; return new ContentResult() { Content = json1 };
} }
@ -300,7 +301,14 @@ namespace DSWeb.Areas.CommMng.Controllers
} }
if (formname == "查询明细") if (formname == "查询明细")
{ {
var dataList = ChinvoiceapplicationDAL.GetDetailList( condition, ""); var dataList = ChinvoiceapplicationDAL.GetBodyList( condition, "");
var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() });
return new ContentResult() { Content = json1 };
}
if (formname == "查询附件")
{
//condition当中只写billno
var dataList = ChfeeFileDal.GetFileList(condition);
var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() }); var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() });
return new ContentResult() { Content = json1 }; return new ContentResult() { Content = json1 };
} }

Loading…
Cancel
Save