222
schangxiang@126.com
2025-08-23 06b5e669d423ba48fd3f92bbb318b6395e38af1b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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)
        {
        }
    }
}