新框架PDA前端(祈禧6月初版本)
南骏 池
3 天以前 3ff569f00d22919e47cab8fb6d7d9867fd115d97
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<%@ Page Title="现场收料" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Xcsl.aspx.cs" Inherits="H5_Cpdbsj" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  <style>
    .si-status-box,
    .si-status__left
    {
        background-color: transparent !important; /* 透明背景 */
        border: 1px solid #000 !important; /* 黑色外框 */
        color: #000 !important; /* 全局文字颜色 */
        height: 0.5rem;
    }
 
    .si-status__left::after {
        content: none !important;
    }
 
    .si-status__label,
    .si-status__right {
        font-size: 0.33rem !important; /* 统一字体大小 */
        color: inherit !important; /* 继承父级文字颜色 */
    }
 
 
    /* 居中核心样式 */
.centered-stepper-field {
  .stepper-container {
    display: flex;
    justify-content: center; /* 水平居中 */
    width: 100%;
  }
 
  /* 调整步进器按钮间距 */
  .van-stepper__minus {
    margin-right: 12px;
  }
  .van-stepper__plus {
    margin-left: 12px;
  }
}
 
      /* 新增样式 */
    .button-container {
        display: flex;
        width: 100%;
        gap: 12px; /* 按钮间距 */
        padding: 0 16px; /* 左右留白 */
        box-sizing: border-box;
    }
 
    .action-button {
        flex: 1; /* 等分剩余空间 */
        min-width: 0; /* 防止内容溢出 */
    }
</style>
</asp:Content>
 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <div class="content-wrapper">
        <van-nav-bar
            title="现场收料"
            left-text="返回"
            left-arrow
            @click-left="GoBack()">
        </van-nav-bar>
 
        <div class="mySolid">
            <van-cell-group>
                <van-field
                    ref ="selectKey"
                value=""
                label="工单查询"
                clearable 
                    placeholder="请输入工单号进行查询"
                :right-icon-size="19"
                    v-model="selectKey"
                    @keyup.enter.native="GetMesItemBlDetailByBillNo"
                ><template #button>
                <van-button size="small" type="info" plain @click="getInfo" >选择</van-button>
                </template></van-field>
                <van-field
                    ref="DAA001"
                    v-model="DAA001"
                    label="指令工单"
                    placeholder="指令工单"
                    @keyup.enter.native="GetItemsXcsl" 
                    autofocus="true"
                    >
                </van-field>
                <van-field
                    ref="DAA021"
                    v-model="DAA021"
                    label="任务单号"
                    placeholder="任务单号"
                    autofocus="true"
                    readonly
                    >
                </van-field>
                <van-field
                    v-model="DAANum"
                    label="工单数量"
                    placeholder="工单数量"
                    autofocus="true"
                    readonly>
                </van-field>
 
                <van-field
                    ref="Bar"
                    v-model="Bar"
                    label="物料条码"
                    placeholder="请扫物料条码"
                    @keyup.enter.native="ScanXcsl" 
                    autofocus="true">
                </van-field>
 
            </van-cell-group>
        </div>
 
            <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
 
        <van-tabs color="#000" title-active-color="#0283EF">
            <van-tab title="材料列表" class="mySolid font">
                <van-row>
                    <van-col span="8" class="text-left padding-left">物料</van-col>
                    <van-col span="8" class="text-left padding-left">规格型号</van-col>
                    <van-col span="4">备料数</van-col>
                    <van-col span="4">接收数</van-col>
                </van-row>
                <van-row v-for="(itm,index) in xcslItemList" :key="index">
                    <van-col span="8" class="text-left padding-left">
                        <div class="blue-text">{{itm.item_no}}</div>
                        <div>{{itm.item_name}}</div>
                    </van-col>
                    <van-col span="8" class="text-left padding-left">
                        <div>{{itm.item_model}}</div>
                    </van-col>
                    <van-col span="4" class="blue-text">{{itm.bL_Num}}</van-col>
                    <van-col span="4" class="blue-text">{{itm.jS_Num}}</van-col
                </van-row>
            </van-tab>
            <van-tab title="未接收列表" class="mySolid font">
                <van-row>
                    <van-col span="5" class="text-left padding-left">条码</van-col>
                    <van-col span="8" class="text-left padding-left">物料</van-col>
                    <van-col span="3" class="text-left padding-left">数量</van-col>
                    <van-col span="3" >人员</van-col>
                    <van-col span="5" >时间</van-col>
                </van-row>
                <van-row 
                    v-for="(itm,index) in xcslWjsBarList" 
                    :key="index">
                    <van-col span="5" class="text-left padding-left">{{itm.iteM_BARCODE}}</van-col>
                    <van-col span="8" class="text-left padding-left">
                        <div class="blue-text">{{itm.item_no}}</div>
                        <div>{{itm.item_name}}</div>
                    </van-col>
                    <van-col span="3" class="text-left padding-left">
                        <div>{{itm.quantity}}</div>
                    </van-col>
                    <van-col span="3">
                        <div>{{itm.useR_NAME}}</div>
                    </van-col>
                    <van-col span="5">
                        <div>{{itm.create_date}}</div>
                    </van-col>
                </van-row>
            </van-tab>
 
            <van-tab title="已接收列表" class="mySolid font">
                <van-row>
                    <van-col span="5" class="text-left padding-left">条码</van-col>
                    <van-col span="8" class="text-left padding-left">物料</van-col>
                    <van-col span="3" class="text-left padding-left">数量</van-col>
                    <van-col span="3" >接收人</van-col>
                    <van-col span="5" >接收时间</van-col>
                </van-row>
                <van-row 
                    v-for="(itm,index) in xcslYjsBarList" 
                    :key="index">
                    <van-col span="5" class="text-left padding-left">{{itm.iteM_BARCODE}}</van-col>
                    <van-col span="8" class="text-left padding-left">
                        <div class="blue-text">{{itm.item_no}}</div>
                        <div>{{itm.item_name}}</div>
                    </van-col>
                    <van-col span="3" class="text-left padding-left">
                        <div>{{itm.quantity}}</div>
                    </van-col>
                    <van-col span="3">
                        <div>{{itm.useR_NAME}}</div>
                    </van-col>
                    <van-col span="5">
                        <div>{{itm.xcsL_CREATE_DATE}}</div>
                    </van-col>
                </van-row>
            </van-tab>
        </van-tabs>
    </div>
</asp:Content>
 
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <comloading v-if="isLoading"></comloading>
</asp:Content>
 
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Xcsl.js?<%=11111111 %>"></script>
</asp:Content>