<%@ 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>
|