diff --git a/WMS-BS/NFine.Web/Areas/WMS/Controllers/DeleteReceiptsController.cs b/WMS-BS/NFine.Web/Areas/WMS/Controllers/DeleteReceiptsController.cs
new file mode 100644
index 0000000..8d7f4d6
--- /dev/null
+++ b/WMS-BS/NFine.Web/Areas/WMS/Controllers/DeleteReceiptsController.cs
@@ -0,0 +1,298 @@
+using NFine.Application.WMS;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.IO;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using NFine.Code;
+using System.Data.SqlClient;
+using NFine.Data.Extensions;
+using System.Data.OleDb;
+using System.Configuration;
+using ICS.Application.Entity;
+
+namespace NFine.Web.Areas.WMS.Controllers
+{
+ public class DeleteReceiptsController : ControllerBase
+ {
+ // GET: WMS/PickMaterial
+ PickMaterialApp App = new PickMaterialApp();
+ public ActionResult ICSDeleteReceipts()
+ {
+ return View();
+ }
+
+ [HttpGet]
+ [HandlerAjaxOnly]
+ public ActionResult GetGridJson(Pagination pagination, string queryJson, string Type)
+ {
+ DataTable ListData = new DataTable();
+ if (Type == "1")//工单
+ {
+ ListData = App.GetGridJson(queryJson, ref pagination);
+ }
+ if (Type == "2")//工单发料
+ {
+ ListData = App.GetGridJson2(queryJson, ref pagination);
+ }
+ if (Type == "12")//售后领料
+ {
+ ListData = App.GetGridJson12(queryJson, ref pagination);
+ }
+ if (Type == "3")//工单材料出库
+ {
+ ListData = App.GetGridJson3(queryJson, ref pagination);
+ }
+ if (Type == "4")//委外备料
+ {
+ ListData = App.GetGridJson4(queryJson, ref pagination);
+ }
+ if (Type == "5")//委外领料
+ {
+ ListData = App.GetGridJson5(queryJson, ref pagination);
+ }
+ if (Type == "6")//委外材料出库
+ {
+ ListData = App.GetGridJson6(queryJson, ref pagination);
+ }
+ if (Type == "7")//销售发货
+ {
+ ListData = App.GetGridJson7(queryJson, ref pagination);
+ }
+ if (Type == "8")//其它出库
+ {
+ ListData = App.GetGridJson8(queryJson, ref pagination);
+ }
+ if (Type == "9")//借用单
+ {
+ ListData = App.GetGridJson9(queryJson, ref pagination);
+ }
+ if (Type == "10")//物料调拨
+ {
+ ListData = App.GetGridJson10(queryJson, ref pagination);
+ }
+ if (Type == "11")//两步调出
+ {
+ ListData = App.GetGridJson11(queryJson, ref pagination);
+ }
+
+ var JsonData = new
+ {
+ total = pagination.total,
+ page = pagination.page,
+ records = pagination.records,
+ rows = ListData,
+ };
+ return Content(JsonData.ToJson());
+ }
+
+ //子表查询
+ [HttpGet]
+ [HandlerAjaxOnly]
+ public ActionResult GetSubGridJson(Pagination pagination, string Code, string queryJson, string Type)
+ {
+ DataTable ListData = new DataTable();
+ if (Type == "1") { ListData = App.GetSubGridJson1(Code); }//工单
+ if (Type == "2") { ListData = App.GetSubGridJson2(queryJson, Code, ref pagination); }//工单发料
+ if (Type == "12") { ListData = App.GetSubGridJson12(queryJson, Code); }//工单发料
+ if (Type == "3") { ListData = App.GetSubGridJson3(Code); }//材料出库
+ if (Type == "4") { ListData = App.GetSubGridJson4(Code); }//委外备料
+ if (Type == "5") { ListData = App.GetSubGridJson5(Code, queryJson, ref pagination); }//委外领料
+ if (Type == "6") { ListData = App.GetSubGridJson6(Code); }//委外材料出库
+ if (Type == "7") { ListData = App.GetSubGridJson7(Code, queryJson, ref pagination); }//销售发货
+ if (Type == "8") { ListData = App.GetSubGridJson8(Code, queryJson, ref pagination); }//其它出库
+ if (Type == "9") { ListData = App.GetSubGridJson9(Code); }//借用单
+ if (Type == "10") { ListData = App.GetSubGridJson10(Code, queryJson, ref pagination); }//物料调拨
+ if (Type == "11") { ListData = App.GetSubGridJson11(Code); }//两步调出
+ var JsonData = new
+ {
+ total = pagination.total,
+ page = pagination.page,
+ records = pagination.records,
+ rows = ListData,
+ };
+ return Content(JsonData.ToJson());
+ }
+
+
+ [HttpGet]
+ [HandlerAjaxOnly]
+ public ActionResult GetICSMOPickMergeTemp(Pagination pagination, string ID, string Type, string flag)
+ {
+ try
+ {
+ DataTable ListData = new DataTable();
+ if (flag == "1")
+ {
+ ListData = App.GetICSMOPickMergeTemp(ID, Type);
+ }
+ else
+ {
+ ListData = App.GetICSMOPickMergeTemp2(ID, Type);
+ }
+
+ var JsonData = new
+ {
+ total = pagination.total,
+ page = pagination.page,
+ records = pagination.records,
+ rows = ListData,
+ msg="",
+ };
+ return Content(JsonData.ToJson());
+ }
+ catch (Exception ex)
+ {
+ var JsonData = new
+ {
+ total = 0,
+ page = 0,
+ records = 0,
+ rows = "",
+ msg=ex.Message,
+ };
+ return Content(JsonData.ToJson());
+ }
+ }
+
+ ///
+ + | +
+
+
+
+ |
+
+ + + | +
+
+
+
+ |
+
+ + + | +
+
+
+
+ |
+
+ : | +
+
+
+
+
+ |
+
+ : | +
+
+
+
+ |
+
+ : | +
+
+
+
+ |
+ |||
: | +
+
+
+
+ |
+
+ : | +
+
+
+
+ |
+
+ : | +
+
+
+
+ |
+
+ : | +
+
+
+
+ |
+
+ : | +
+
+
+
+ |
+
+ : | +
+
+
+
+ |
+
+ + + | +
+
+ 是
+ 否
+
+ |
+
+ + + + + | + +