懒羊羊
2023-11-14 4ad58b3dbd72e7ca266318f24a203210da5b24d7
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@layout("/common/_container.html",{js:["/assets/modular/pm/salesOrder/split.js"]}){
 
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-col-md6">
                        <label class="layui-form-label">订单编号</label>
                        <div class="layui-input-block">
                            <input id="salesOrderCode" name="salesOrderCode" placeholder="请输入订单编号" type="text" class="layui-input" disabled/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <label class="layui-form-label">货号</label>
                        <div class="layui-input-block">
                            <input id="cargoNo" name="cargoNo" placeholder="请输入货号" type="text" class="layui-input" disabled/>
                        </div>
                    </div>
                    <div class="layui-col-md6" style="margin-top: 10px">
                        <label class="layui-form-label">产品编号</label>
                        <div class="layui-input-block">
                            <input id="productCode" name="productCode" placeholder="请输入产品编号" type="text" class="layui-input" disabled/>
                        </div>
                    </div>
                    <div class="layui-col-md6" style="margin-top: 10px">
                        <label class="layui-form-label">计划数量</label>
                        <div class="layui-input-block">
                            <input id="planNumber" name="planNumber" placeholder="请输入计划数量" type="number" class="layui-input" disabled/>
                        </div>
                    </div>
                    <div class="layui-col-md6" style="margin-top: 10px">
                        <label class="layui-form-label">剩余数量</label>
                        <div class="layui-input-block">
                            <input id="residueNumber" name="residueNumber" placeholder="请输入剩余数量" type="number" class="layui-input" disabled/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-form-item">
                <div class="layui-inline">
                    数量:
                </div>
                <div class="layui-inline">
                    <input id="splitNumber" class="layui-input" type="text" placeholder="请输入拆分数量"/>
                </div>
                <div class="layui-inline">
                    <button id="splitbtn" class="layui-btn icon-btn offset2"><i class="layui-icon">&#xe654;</i>拆分</button>
                </div>
            </div>
        </div>
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-header" style="text-align: center">拆分订单列表</div>
                <div class="layui-card-body">
                    <table class="layui-table" id="salesOrderChildTable" lay-filter="salesOrderChildTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="form-group-bottom text-center" style="margin-bottom: 20px">
    <button class="layui-btn" id="btnSubmit">&emsp;提交&emsp;</button>
    <button type="reset" class="layui-btn layui-btn-primary" id="cancel" ew-event="closeDialog">&emsp;关闭&emsp;</button>
</div>
@}