kyy
2025-08-27 6d99b4a9b919906cb53d09e1dec042490999ddf8
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
<%@ 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-nav-bar
          title="生产报工"
          left-text="返回"
          left-arrow
          @click-left="GoBack()"
        ></van-nav-bar>
        <div class="content-wrapper">
        <van-cell-group>
  <van-field
    value=""
    label="员工编号"
    clearable 
     placeholder="选择"
    :right-icon-size="19"
      v-model="stafId"
      @keyup.enter.native ="getStaff"
     v-focus.noKeyboard
  ><template #button>
    <van-button size="small" type="info" plain @click="getInfo" >选择</van-button>
  </template></van-field> 
<van-field
  value=""
  label="员工名称"
   clearable 
 placeholder="员工名称"
  :right-icon-size="19"
     v-model="stafName"
    readonly
></van-field>
 <van-field
  ref="barcode"
  value=""
  label="报工条码"
   clearable 
 placeholder="请扫码"
     @keyup.enter.native ="getBarcode"
     <%--@input="getBarcode"--%>
  :right-icon-size="19"
     v-model="barcode"
  v-focus.noKeyboard
></van-field>
  <van-field
   value=""
   label="生产工单"
   clearable
      v-model="taskNo"
      readonly 
   :right-icon-size="19"
   placeholder="生产工单"
></van-field>
  <van-field
   value=""
   label="物料编号"
   clearable
      v-model="itemNo"
   :right-icon-size="19"
      readonly 
   placeholder="物料编号"
></van-field>
  <van-field
   value=""
   label="物料名称"
   clearable
      v-model="itemName"
   :right-icon-size="19"
      readonly 
   placeholder="物料名称"
></van-field>
     <van-field
   value=""
   label="规格型号"
   clearable
      v-model="itemModel"
         readonly 
   :right-icon-size="19"
   placeholder="规格型号"
></van-field>
  <van-field
   value=""
   label="计划数量"
   clearable
      v-model="planQty"
   :right-icon-size="19"
      readonly 
   placeholder="计划数量"
></van-field>
 <van-field
   value=""
   label="已报工数"
   clearable
      v-model="reportedQty"
     readonly 
   :right-icon-size="19"
   placeholder="已报工数"
></van-field>
 <van-field
   value=""
   label="条码数量"
   clearable
      v-model="barcodeQty"
   :right-icon-size="19"
   placeholder="条码数量"
     readonly 
></van-field>
 <van-field
   value=""
   label="报工数量"
   clearable
      v-model="currentQty"
   :right-icon-size="19"
   placeholder="报工数量"
></van-field>
 <van-field
 ref="sjBillNo"
 value=""
 label="送检单号"
  clearable 
placeholder="送检单号"
    @keyup.enter.native ="getBillNo"
    <%--@input="getBillNo"--%>
 :right-icon-size="19"
    v-model="sjBillNo"
 v-focus.noKeyboard
>
 <template #button>
   <van-button size="small" type="info" plain @click="selectBillNo" >选择</van-button>
 </template>
 </van-field>
 
</van-cell-group>
    
   <van-button type="primary" @click="tmcf" :loading="load" loading-text="发送中">送检</van-button>
   <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
   <van-action-sheet v-model="billshow" :actions="billactions" @select="onBillSelect" ></van-action-sheet>
 
   <van-tabs color="#000" title-active-color="#0283EF">
       <van-tab title="报工条码信息" class="mySolid font">
           <van-row>
               <van-col span="8" >条码编号</van-col>
               <van-col span="6" >物料名称</van-col>
               <van-col span="6">规格</van-col>
               <van-col span="3">数量</van-col>
           </van-row>
           <van-row v-for="(itm,index) in BarcodesDetail" :key="index">
               <van-col span="8" >
                   <div class="blue-text">{{itm.itemBarcode}}</div>
               </van-col>
               <van-col span="6">
                  <div>{{itm.itemName}}</div>
               </van-col>
               <van-col span="6">
                   <div>{{itm.itemModel}}</div>
               </van-col>
               <van-col span="3" class="blue-text">{{itm.bgQuantity}}</van-col>
           </van-row>
       </van-tab>
 
</div>
</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/Scbg.js?<%=12365 %>"></script>
</asp:Content>