using iWareCommon.Common.Entity; using iWareCommon.Common.EnumType; using iWareDataCore.BASE.Entity; using iWareDataCore.BASE.EnumType; using iWareDataCore.BASE.Service; using iWareWms; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace FineUIPro.iWareWms.View.InOut { public partial class AddInOutDetail : PageBase { protected void btnSaveClose_Click(object sender, EventArgs e) { string listno = tblistno.Text; string materialcode = tbmaterialcode.Text; if (string.IsNullOrEmpty(listno)) { Alert.ShowInTop("请输入出入库单号!"); return; } if (string.IsNullOrEmpty(materialcode)) { Alert.ShowInTop("请输入物料二维码!"); return; } string msg = ""; InOutListService.GetInstance().AddOutInDetail(listno, materialcode, out msg); Alert.ShowInTop(msg); } protected void Page_Load(object sender, EventArgs e) { } } }