<%@ Page Title="现场投料" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Xctl.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="7" class="text-left padding-left">所属单据</van-col>
|
<van-col span="3">备料数</van-col>
|
<van-col span="3">接收数</van-col>
|
<van-col span="3">投料数</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="7" class="text-left padding-left">
|
<div>{{itm.item_model}}</div>
|
</van-col>
|
<van-col span="3" class="blue-text">{{itm.bL_Num}}</van-col>
|
<van-col span="3" class="blue-text">{{itm.jS_Num}}</van-col>
|
<van-col span="3" class="blue-text">{{itm.tR_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.cxtR_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/Xctl.js?<%=1111 %>"></script>
|
</asp:Content>
|