cdk
4 天以前 cd757b79217ba11868a4e771298194a362621afe
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
<%@ Page Title="" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
        <style>
            .bg-info {
                background-color: #fff;
            }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
            <van-notice-bar 
    :scrollable="false" 
    :text="'当前组织:' + (Cookies.get('orgName') || '暂无组织信息')" 
    class="org-info"
/></van-notice-bar>
 
        <van-nav-bar
          title="其他出库"
          left-text="返回"
          left-arrow
          @click-left="GoBack()"
        ></van-nav-bar>
        <div>
        <van-cell-group>
  <van-field
    value=""
    label="出库单号"
    clearable 
     placeholder="选择/手录"
      @keyup.enter.native="GetMesItemBlDetailByBillNo"
    :right-icon-size="19"
      v-model="billNo"
     v-focus.noKeyboard
  ><template #button>
    <van-button size="small" type="info" plain @click="getInfo" >选择</van-button>
  </template></van-field>
 <van-field
     ref="barcode"
  value=""
  label="物料条码"
   clearable 
 placeholder="请扫码"
    <%-- @input="getBarcode"--%>
     @keyup.enter.native ="getBarcode"
  :right-icon-size="19"
     v-model="barcode"
  v-focus.noKeyboard
></van-field>
 <van-field
  value=""
  label="制单人"
   clearable 
 placeholder="制单人"
  :right-icon-size="19"
     v-model="zdy"
  v-focus.noKeyboard
     disabled
></van-field>
   <van-field
  value=""
       v-model="num"
  label="条码数量"
  placeholder="条码数量"
  disabled
></van-field>
            <van-field
    ref="splitNum"
    v-model="splitNum"
    center
    clearable
    label="发料数量"
    placeholder="发料数量">
    <van-button 
        slot="button" 
        type="info" 
        size="small"  
        plain 
        @click="getChaiFen">
        条码拆分
    </van-button>
</van-field>
</van-cell-group>
    </div>
 
   <%-- <div  class="van-tab-left">
              <van-tabs @click="onClick" color="#000" title-active-color="#0283EF" >
  <van-tab title="待领物料">
    <van-row v-for="value in ItemBlDetail" class="font">
          <van-col span="12">物料:{{value.itemNo}}</van-col>
          <van-col span="6">计划数{{value.qd007}}</van-col>
          <van-col span="6">完成数{{value.qd008}}</van-col>
    </van-row>
  </van-tab>
</van-tabs>
    </div>--%>
<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="3">待扫</van-col>
            <van-col span="5">推荐库位</van-col>
        </van-row>
        <van-row v-for="(itm,index) in ItemDetail.items" :key="index" 
            :style="{ background: currentIndex === index ? '#87CEEB' : '' }"
            @click.native="handleRowClick(itm, index)">
            <van-col span="8" class="text-left padding-left">
                <div class="blue-text">{{itm.itemNo}}</div>
                <div>{{itm.itemName}}</div>
            </van-col>
            <van-col span="8" class="text-left padding-left">
                <div>{{itm.itemModel}}</div>
            </van-col>
            <van-col span="3" class="blue-text">{{itm.dsQty}}</van-col>
            <van-col span="5">{{itm.recoKw}}</van-col>
        </van-row>
    </van-tab>
 
    <van-tab title="库位列表" class="mySolid font">
        <van-row>
            <van-col span="10" class="text-left padding-left">条码编号</van-col>
            <van-col span="5" class="text-left padding-left">库位</van-col>
            <van-col span="4">数量</van-col>
            <van-col span="5">仓库</van-col>
        </van-row>
        <van-row v-for="(itm,index) in ItemBarKw" :key="index">
            <van-col span="10" class="text-left padding-left">
                <div class="blue-text">{{itm.iteM_BARCODE}}</div>
            </van-col>
            <van-col span="5" class="text-left padding-left">
                <div>{{itm.depoT_SECTIONS_CODE}}</div>
            </van-col>
            <van-col span="4" class="blue-text">{{itm.quantity}}</van-col>
            <van-col span="5" >{{itm.depot_name}}</van-col>
        </van-row>
    </van-tab>
 
    <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="3">需领数</van-col>
            <van-col span="5">已领数</van-col>
        </van-row>
        <van-row v-for="(itm,index) in ItemDetail.ysitems" :key="index">
            <van-col span="8" class="text-left padding-left">
                <div class="blue-text">{{itm.itemNo}}</div>
                <div>{{itm.itemName}}</div>
            </van-col>
            <van-col span="8" class="text-left padding-left">
                <div>{{itm.itemModel}}</div>
            </van-col>
            <van-col span="3">{{itm.fQty}}</van-col>
            <van-col span="5" class="blue-text">{{itm.sQty}}</van-col>
        </van-row>
    </van-tab>
</van-tabs>
 
 
    <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <comloading  v-if="isLoading"></comloading>
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Qtck.js?<%=111306 %>"></script>
</asp:Content>