cnf
2025-09-11 d777d043b6dc98a332981bd40c79ce077a19f472
七喜代码
已修改53个文件
已添加18个文件
4433 ■■■■ 文件已修改
H5/AgvCz.aspx 145 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/AgvCz.aspx.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/BarCf.aspx 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/BarCfBefore.aspx 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/BarCfBefore.aspx.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Cgyt.aspx 164 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Cgyt.aspx.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Cpbd.aspx 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Cpdbsj.aspx 77 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Dbck.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Dbrk.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Default.aspx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Dhdsh.aspx 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Fgbd.aspx 159 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Fgbd.aspx.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/IPQC_XJ/Add.aspx 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/IPQC_XJ/List.aspx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/AgvCz.js 320 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/BarCf.js 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/BarCfBefore.js 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Cgyt.js 166 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Cpbd.js 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Cpbdsj.js 177 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Dbck.js 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Dbrk.js 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Fgbd.js 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/IPQC_SJ/Add.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/IPQC_XJ/Add.js 99 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/IPQC_XJ/List.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Kwbg.js 191 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Kwcx.js 172 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/My.js 75 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Nxhd.js 136 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/PurchaseInventory.js 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/PurchaseReturn.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/QcPrint.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Qcrk.js 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Qtck.js 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Qtrk.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Scbg.js 214 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Scbl.js 138 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Sccl.js 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Scll.js 157 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Sctl.js 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/UserLogin.js 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Xcsl.js 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Xsck.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/cprk.js 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Kwbg.aspx 145 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Kwbg.aspx.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Kwcx.aspx 148 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Kwcx.aspx.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/LLJ/Add.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/LLJ/List.aspx 92 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/My.aspx 45 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Nxhd.aspx 159 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Nxhd.aspx.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/PurchaseInventory.aspx 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/PurchaseReturn.aspx 262 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Qtck.aspx 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Qtrk.aspx 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Scbg.aspx 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Scbl.aspx 57 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Sccl.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Scll.aspx 73 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Sctl.aspx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Strk.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Sttl.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Xcsl.aspx 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Xsck.aspx 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Xsth.aspx 65 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/AgvCz.aspx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,145 @@
<%@ Page Title="AGV操作" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="AgvCz.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; /* é˜²æ­¢å†…容溢出 */
    }
    .van-checkbox__icon--checked .van-icon
    {
        color: #ffffff !important;
    }
</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>
    <div class="content-wrapper">
        <van-nav-bar
            title="AGV操作"
            left-text="返回"
            left-arrow
            @click-left="GoBack()">
        </van-nav-bar>
        <div class="mySolid">
            <van-cell-group>
                <van-field
                    ref="KbBar"
                    v-model="KbBar"
                    label="卡板条码"
                    clearable
                    placeholder="请扫码"
                    :right-icon-size="19"
                    v-focus.noKeyboard
                    @keyup.enter.native="getKbBarInfo"
                    autofocus="true">
                </van-field>
                <van-field
                    ref="jyz"
                    v-model="jyz"
                    label="检验状态"
                    placeholder="请选择检验状态"
                    autofocus="true"
                    @click.native="selectJyz">
                </van-field>
                <van-field
                    ref="lcName"
                    v-model="lcName"
                    label="楼层"
                    placeholder="请选择楼层"
                    autofocus="true"
                    @click.native="selectLc">
                </van-field>
                <div style="height: 10px"></div>
               <!-- ä¿®æ”¹åŽçš„æŒ‰é’®å®¹å™¨ -->
               <div class="button-container">
                <van-button
                  type="warning"
                  class="action-button reset-button"
                  @click.native="handleAgvSj"
                >AGV送检</van-button>
                <van-button
                  type="primary"
                  class="action-button"
                  @click.native="handleAgvJy"
                >AGV检验</van-button>
                 <!-- style="background-color: #27f83f;border-color: #27f83f;color: white" -->
                <van-button
                  type="info"
                  class="action-button submit-button"
                  @click.native="handleAgvRk"
                >入立库</van-button>
              </div>
            </van-cell-group>
        </div>
        <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
        <van-action-sheet v-model="show2" :actions="actions2" @select="onSelect2" ></van-action-sheet>
    </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/AgvCz.js?<%=11 %>"></script>
</asp:Content>
H5/AgvCz.aspx.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class H5_Cpdbsj : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
H5/BarCf.aspx
@@ -8,6 +8,11 @@
</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="返回"
@@ -73,5 +78,5 @@
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/BarCf.js?<%=121111 %>"></script>
    <script src="Js/BarCf.js?<%=1211111 %>"></script>
</asp:Content>
H5/BarCfBefore.aspx
@@ -1,4 +1,4 @@
<%@ Page Title="入库前拆料" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="BarCfBefore.aspx.cs" Inherits="H5_BarCfBefore" %>
<%@ Page Title="入库前拆料" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="BarCfBefore.aspx.cs" Inherits="H5_Scll" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style>
    .bg-info {
@@ -8,6 +8,11 @@
</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="返回"
@@ -63,7 +68,7 @@
></van-field>
</van-cell-group>
    </div>
    <van-button type="primary" @click="getChaiFen" >确认拆分</van-button>
    <%--<van-button type="primary" @click="ToErp" >审核</van-button>--%>
<%--    <van-button type="primary" @click="cleraCode" >清除库位编码</van-button>--%>
@@ -74,4 +79,4 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/BarCfBefore.js?<%=001 %>"></script>
</asp:Content>
</asp:Content>
H5/BarCfBefore.aspx.cs
@@ -5,7 +5,7 @@
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class H5_BarCfBefore : System.Web.UI.Page
public partial class H5_Scll : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
H5/Cgyt.aspx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,164 @@
<%@ Page Title="验退扫码" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Cgyt.aspx.cs" Inherits="H5_Scll" %>
<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()"
        @click-right="showButton = true"
>
    <template #right>
    <van-icon name="ellipsis" />
    </template>
    </van-nav-bar>
<%--    <div class="mySolid">--%>
        <van-cell-group>
 <van-field
   ref="barcode"
   v-model="formData.barcode"
  label="物料条码"
   clearable
 placeholder="请扫码"
  :right-icon-size="19"
  v-focus.noKeyboard
     @keyup.enter.native="getScan"
  <%--@change="getScan"--%>
></van-field>
   <van-field
  v-model="formData.itemNo"
  label="物料编码"
  placeholder=""
  disabled
></van-field>
   <van-field
  v-model="formData.itemName"
  label="物料名称"
  placeholder=""
  disabled
></van-field>
   <van-field
  v-model="formData.itemModel"
  label="物料规格"
  placeholder=""
  disabled
></van-field>
   <van-field
  v-model="formData.sumQuantity"
  label="条码数量"
  placeholder="条码数量"
  disabled
></van-field>
   <van-field
  v-model="formData.itemNo"
  label="到货单号"
  placeholder=""
  disabled
></van-field>
 <van-field
   ref="ytdh"
   v-model="ytdh"
  label="验退单号"
   clearable
  :right-icon-size="19"
  disabled
></van-field>
    <div class="button-container">
        <van-button
        type="info"
        class="action-button submit-button"
        @click.native="handleSubmit"
        >确认退料</van-button>
    </div>
</van-cell-group>
<%--    </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="4">需求数</van-col>--%>
<%--            <van-col span="5">物料分区</van-col>--%>
            <van-col span="8">已扫总数</van-col>
        </van-row>
        <van-row  v-for="(itm,index) in ItemDetail" :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="3" class="blue-text"></van-col>--%>
            <van-col span="8" class="blue-text">{{itm.quantity}}</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="8">数量</van-col>
        </van-row>
        <van-row  v-for="(itm,index) in tableData" :key="index">
           <van-col span="8" class="text-left padding-left">
                <div>{{itm.iteM_BARCODE}}</div>
           </van-col>
            <van-col span="8" class="text-left padding-left">
            <div>{{itm.item_no}}</div>
            <div>{{itm.item_name}}</div>
            </van-col>
            <van-col span="8">
                <div>{{itm.quantity}}</div>
            </van-col>
       </van-row>
   </van-tab>
</van-tabs>
                     <!-- å¼¹å‡ºèœå• -->
            <van-popup
              v-model="showButton"
              position="bottom"
              :style="{ width: '100%' }"
              :close-on-click-overlay="!ttrre1 && !ttrre2"
              lock-scroll
            >
            <div style="padding: 12px;">
              <van-button
                block
                type="info"
                @click="submit"
                :loading="ttrre1"
                loading-text="加载中..."
              >审核推送</van-button>
            </div>
            <div style="padding: 12px;">
              <van-button
                block
                type="danger"
                @click="deleteCgyt"
                :loading="ttrre2"
                loading-text="加载中..."
              >删除退料</van-button>
            </div>
          </van-popup>
<%--    <van-button type="primary" @click="getScan" >确认</van-button>--%>
    <%--<van-button type="primary" @click="ToErp" >审核</van-button>--%>
<%--    <van-button type="primary" @click="cleraCode" >清除库位编码</van-button>--%>
</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/Cgyt.js?<%=00010001111 %>"></script>
</asp:Content>
H5/Cgyt.aspx.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class H5_Scll : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
H5/Cpbd.aspx
@@ -1,4 +1,5 @@
<%@ Page Title="产品绑定" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Cpbd.aspx.cs" Inherits="H5_Cpbd" %>

<%@ Page Title="产品绑定" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Cpbd.aspx.cs" Inherits="H5_Cpbd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  <style>
    .si-status-box,
@@ -69,7 +70,7 @@
                    v-model="LsBar"
                    label="后盖条码"
                    placeholder="请扫后盖码"
<%--                    @keyup.enter.native="getModel" --%>
                   @keyup.enter.native="productBinding"
                    autofocus="true">
                </van-field>
                
@@ -129,7 +130,7 @@
                </van-row>
            </van-tab>
            <van-tab title="已绑条码" class="mySolid font">
<%--            <van-tab title="已绑条码" class="mySolid font">
                <van-row>
                    <van-col span="5">人员</van-col>
                    <van-col span="5">产线</van-col>
@@ -144,7 +145,7 @@
                    <van-col span="4" >{{itm.fQty}}</van-col>
                    <van-col span="5" >{{itm.sQty}}</van-col>
                </van-row>
            </van-tab>
            </van-tab>--%>
        </van-tabs>
    </div>
</asp:Content>
@@ -154,5 +155,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Cpbd.js?<%=1211121 %>"></script>
    <script src="Js/Cpbd.js?<%=1211122 %>"></script>
</asp:Content>
H5/Cpdbsj.aspx
@@ -51,6 +51,12 @@
        flex: 1; /* ç­‰åˆ†å‰©ä½™ç©ºé—´ */
        min-width: 0; /* é˜²æ­¢å†…容溢出 */
    }
    .van-checkbox__icon--checked .van-icon
    {
        color: #ffffff !important;
    }
</style>
</asp:Content>
@@ -82,7 +88,7 @@
                    <div class="si-status__left">
                      <span class="si-status__label">可装数</span>
                    </div>
                    <div  class="si-status__right">{{KbBarInfo.oldqty||0}}</div>
                    <div  class="si-status__right">{{KbBarInfo.quantity||0}}</div>
                  </div>
                  <div class="si-status-box si-status--error">
@@ -90,7 +96,7 @@
                      <span class="si-status__label">待装数</span>
                    </div>
                    <div class="si-status__right">
                      {{ ((+(KbBarInfo.oldqty || 0) - +(KbBarInfo.ySum || 0)) || 0) }}
                      {{ ((+(KbBarInfo.quantity || 0) - +(KbBarInfo.ySum || 0)) || 0) }}
                    </div>
                  </div>
                </div>
@@ -134,38 +140,65 @@
                    autofocus="true">
                </van-field>
                <van-field
                    ref="LsBar"
                    v-model="LsBar"
                    label="产品条码"
                    class="custom-label-field"
                    placeholder="请扫产品条码"
                    @keyup.enter.native="checkProductBarcode"
                    autofocus="true">
                    <template #extra>
                      <span style="margin-right:8px">AGV</span>
                        <van-checkbox
                            v-model="agvChecked"
                            shape="round"
                            icon-size="18px">
                        </van-checkbox>
                    </template>
                </van-field>
<%--                <van-field
                    ref="LsBar"
                    v-model="LsBar"
                <van-field
                    ref="xtName"
                    v-model="xtName"
                    label="线别"
                    placeholder="请选择线别"
                    autofocus="true">
                </van-field>--%>
                    autofocus="true"
                    @click.native="selectXt">
                    <template #button >
                      <van-button
                        style="background-color: #ffcc00;border-color: #ffcc00;color: white"
                        class="action-button reset-button"
                        @click.stop="handleAGVCall"
                      >呼叫</van-button>
                    </template>
                </van-field>
                <div style="height: 10px"></div>
               <!-- ä¿®æ”¹åŽçš„æŒ‰é’®å®¹å™¨ -->
                <div class="button-container">
                  <van-button
                    type="warning"
                    class="action-button reset-button"
<%--                      @click.native="handleClear"--%>
                  >重置</van-button>
                  <van-button
                    type="info"
                    class="action-button submit-button"
                    @click.native="handleSubmit"
                  >送检</van-button>
                </div>
               <div class="button-container">
                <van-button
                  type="warning"
                  class="action-button reset-button"
                  @click.native="handleClear"
                >重置</van-button>
                <van-button
                  type="primary"
                  class="action-button"
                  @click.native="handleAGVInspection"
                >送检</van-button>
                 <!-- style="background-color: #27f83f;border-color: #27f83f;color: white" -->
                <van-button
                  type="info"
                  class="action-button submit-button"
                  @click.native="handleSubmit"
                >提交</van-button>
              </div>
            </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">
@@ -178,7 +211,7 @@
                <van-row 
                    v-for="(itm,index) in XbarInfo" 
                    :key="index"
                    :style="{ background: itm.is_hedui === '1' ? '#e8f5e9 !important' : 'transparent' }">
                    :style="{ background: itm.is_hedui === '1' ? '#75f41d !important' : 'transparent' }">
                    <van-col span="7" class="text-left padding-left">{{itm.iteM_BARCODE}}</van-col>
                    <van-col span="7" class="text-left padding-left">
                        <div class="blue-text">{{itm.item_no}}</div>
@@ -220,5 +253,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Cpbdsj.js?<%=1211111141 %>"></script>
    <script src="Js/Cpbdsj.js?<%=12111111421514 %>"></script>
</asp:Content>
H5/Dbck.aspx
@@ -123,5 +123,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Dbck.js?<%=123111116 %>"></script>
 <script src="Js/Dbck.js?<%=123111114 %>"></script>
</asp:Content>
H5/Dbrk.aspx
@@ -152,5 +152,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Dbrk.js?<%=1141112 %>"></script>
 <script src="Js/Dbrk.js?<%=1141111 %>"></script>
</asp:Content>
H5/Default.aspx
@@ -22,13 +22,13 @@
                <a class="font text-center" :href="item1.path+'&tabIdx='+index">
                  <img :src="item1.icoimg" alt="" class="img" style=" display:inline-block" />
               </a>
                  <div><span style="display:inline-block;     font-size: 0.25rem;"> {{item1.pageView}}</span></div>
                  <div><span style="display:inline-block;     font-size: 0.4rem;"> {{item1.pageView}}</span></div>
              </van-grid-item>
            </van-grid>
           </template>
      </van-tab>
</van-tabs>
     <div style="height:100px;">&nbsp;</div>
    <div style="height:100px;">&nbsp;</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
     <webnav :active="0"></webnav>
H5/Dhdsh.aspx
@@ -130,8 +130,9 @@
                    <van-col span="5" >采购订单</van-col>
                </van-row>
                <van-row 
                    v-for="(itm,index) in BarList"
                    :key="index">
                            v-for="(itm,index) in BarList"
                            :key="index"
                            :style="{ background: itm.include_qty == itm.ysl ? '#75f41d !important' : 'transparent' }">
                    <van-col span="7" class="text-left padding-left">{{itm.small_barcode}}</van-col>
                    <van-col span="6" class="text-left padding-left">
                        <div class="blue-text">{{itm.item_no}}</div>
@@ -166,7 +167,7 @@
                @click="submit"
                :loading="ttrre1"
                loading-text="加载中..."
              >提交检验</van-button>
              >审核</van-button>
            </div>
            <div style="padding: 12px;">
              <van-button 
@@ -175,7 +176,7 @@
                @click="Fsubmit"
                :loading="ttrre2"
                loading-text="加载中..."
              >撤回检验</van-button>
              >反审核</van-button>
            </div>
          </van-popup>
H5/Fgbd.aspx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,159 @@

<%@ Page Title="返工绑定" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Fgbd.aspx.cs" Inherits="H5_Fgbd" %>
<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; /* ç»§æ‰¿çˆ¶çº§æ–‡å­—颜色 */
    }
</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="HgBar"
                    v-model="HgBar"
                    label="后盖条码"
                    clearable
                    placeholder="请扫后盖条码"
                    :right-icon-size="19"
                    v-focus.noKeyboard
                    @keyup.enter.native="getHgBarInfo"
                    autofocus="true">
                </van-field>
                <van-field
                    v-model="UserName"
                    label="作业人员"
                    clearable
                    :right-icon-size="19"
                    placeholder=""
                    readonly >
                </van-field>
                <van-field
                    ref="barcode"
                    v-model="HgBarInfo.lineName"
                    label="产线"
                    clearable
                    placeholder="产线名称"
                    :right-icon-size="19"
                    readonly >
                </van-field>
                <van-field
                    ref="FgBar"
                    v-model="FgBar"
                    label="返工追溯码"
                    placeholder="请扫箱条码"
                   @keyup.enter.native="ScanFgbd"
                    autofocus="true">
                </van-field>
<%--                <div class="si-status-group">
                  <div class="si-status-box si-status--ok">
                    <div class="si-status__left">
                      <span class="si-status__label">总数</span>
                    </div>
                    <div  class="si-status__right">{{HgBarInfo.sumQty}}</div>
                  </div>
                  <div class="si-status-box si-status--error">
                    <div class="si-status__left">
                      <span class="si-status__label">完成数</span>
                    </div>
                    <div class="si-status__right">{{HgBarInfo.finQty}}</div>
                  </div>--%>
<%--                    <van-button
                        slot="button"
                        type="info"
                        size="small"
                        @click="productBinding">
                        æäº¤
                    </van-button>--%>
                </div>
            </van-cell-group>
        </div>
        <van-tabs color="#000" title-active-color="#0283EF">
            <van-tab title="产品信息" class="mySolid font">
                <van-cell-group >
                  <van-field label="指令单号" colon="true" v-model="HgBarInfo.daa001" readonly style="background: #ffa53b"></van-field>
                  <van-field label="条码数量" colon="true" v-model="HgBarInfo.barQty" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="追溯码" colon="true" v-model="HgBarInfo.zsBarcode" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="产品编码" colon="true" v-model="HgBarInfo.item_no" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="产品名称" colon="true" v-model="HgBarInfo.item_name" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="产品规格" colon="true" v-model="HgBarInfo.item_model" readonly style="background: #ffa53b" ></van-field>
<%--                  <van-field label="前一工序" colon="true" v-model="HgBarInfo.lastGx" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="当前工序" colon="true" v-model="GX" readonly style="background: #ffa53b" ></van-field>--%>
                </van-cell-group>
            </van-tab>
<%--            <van-tab title="生产履历" class="mySolid font">
                <van-row>
                    <van-col span="6">人员</van-col>
                    <van-col span="6">产线</van-col>
                    <van-col span="6">工序</van-col>
                    <van-col span="6">结果</van-col>
                </van-row>
                <van-row v-for="(itm,index) in Traceability" :key="index">
                    <van-col span="6" >{{itm.useR_NAME}}</van-col>
                    <van-col span="6" >{{itm.line_no}}</van-col>
                    <van-col span="6" class="blue-text">{{itm.processNo}}</van-col>
                    <van-col span="6" >{{itm.checkResult}}</van-col>
                </van-row>
            </van-tab>--%>
<%--            <van-tab title="已绑条码" class="mySolid font">
                <van-row>
                    <van-col span="5">人员</van-col>
                    <van-col span="5">产线</van-col>
                    <van-col span="5">工序</van-col>
                    <van-col span="4">良品</van-col>
                    <van-col span="5">不良品</van-col>
                </van-row>
                <van-row v-for="(itm,index) in Traceability" :key="index">
                    <van-col span="5" >{{itm.fQty}}</van-col>
                    <van-col span="5" >{{itm.fQty}}</van-col>
                    <van-col span="5" class="blue-text">{{itm.fQty}}</van-col>
                    <van-col span="4" >{{itm.fQty}}</van-col>
                    <van-col span="5" >{{itm.sQty}}</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/Fgbd.js?<%=111 %>"></script>
</asp:Content>
H5/Fgbd.aspx.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class H5_Fgbd : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
H5/IPQC_XJ/Add.aspx
@@ -89,11 +89,15 @@
                :right-icon-size="19"
                    v-model="selectKey"
                ><template #button>
                <van-button size="small" type="info" plain @click="getInfo" >选择</van-button>
                <van-button size="small" type="info" @click="getInfo" >选择</van-button>
                </template></van-field>
                            <van-action-sheet v-model="daashow" :actions="actions" @select="onSelect" ></van-action-sheet>
              <van-field label="指令工单" colon="true" v-model="formData.lotNo" @keyup.enter.native="createByWomdaa" ></van-field>
              <van-field label="指令工单" colon="true" v-model="formData.lotNo" @keyup.enter.native="createByWomdaa" >
                  <template #button>
                    <van-button size="small" type="info" @click="scanOnH5DAA " >扫描</van-button>
                  </template>
              </van-field>
              <van-field label="检验时段" colon="true" v-model="formData.checkTimeSlot" readonly ></van-field>
<%--              <van-field label="创建时间" colon="true" v-model="formData.createDate" readonly ></van-field>
              <van-field label="创建人" colon="true" v-model="formData.createBy" readonly ></van-field>--%>
@@ -111,15 +115,23 @@
                    <div class="wrap-content">{{ formData.itemModel }}</div>
                  </template>
                </van-field>
<%--              <van-field label="数量" colon="true" v-model="formData.fcovertQty" readonly ></van-field>--%>
              <van-field label="不合格描述"   v-if='formData.fCheckResu == "N:不合格"' colon v-model="remarks" readonly class="wrap-field"> 
                  <template #input>
                      <div class="wrap-content">{{ remarks }}</div>
                    </template>
                  <template #button>
                    <van-tag type="primary" style="font-size:15px" @click="updateRemarks(formData.guid)">输入</van-tag>
                    <%--<van-tag type="primary" style="font-size:15px" @click="updateRemarks(formData.guid)">输入</van-tag>--%>
                      <van-button size="small" type="info" @click="updateRemarks(formData.guid)" >输入</van-button>
                  </template>
              </van-field>
                <van-field label="检验工位" colon="true" v-model="jyGw" @keyup.enter.native="selIpqcItemsByGw" >
                    <template #button>
                      <van-button size="small" type="info" @click="scanOnH5GW" >扫描</van-button>
<%--                      <van-tag type="primary" style="font-size:15px" @click="scanOnH5">扫描</van-tag>--%>
                    </template>
                </van-field>
            <van-dialog v-model="showDialog" title="不合格描述" :show-cancel-button="false"  @confirm="remarksConfirm">
              <van-field
                v-model="remarks"
@@ -158,19 +170,24 @@
          <van-tabs color="#000"  title-active-color="#0283EF" style="padding-bottom: 120px;">
              <van-tab title="检验项目" class="mySolid font">
                  <van-row type="flex" justify="center">
                       <van-col span="10" center class="text-left padding-left">检验项目</van-col>
                      <van-col span="8">已检数/抽检数</van-col>
                       <van-col span="8" center class="text-left padding-left">检验项目</van-col>
                      <van-col span="5">已检数/抽检数</van-col>
                      <van-col span="5">工位</van-col>
                      <van-col span="6">检验结果</van-col>
                  </van-row>
                  <van-row  v-for="(item,index) in tableData" :key="index"  type="flex" justify="left">
        
                       <van-col span="10" center class="text-left padding-left" >
                       <van-col span="8" center class="text-left padding-left" >
                           <van-cell center
                            center :title="item.fcheckItem" @click="togglePopup(index)"></van-cell>
                      </van-col>
                      <van-col span="8" >
                      <van-col span="5" >
                            <van-cell center 
                                center :title="item.fenterQty + '/' + item.checkQyt" @click="togglePopup(index)"></van-cell>
                        </van-col>
                       <van-col span="5" >
                            <van-cell center
                                center :title="item.stationName" @click="togglePopup(index)"></van-cell>
                        </van-col>
                      <van-col center span="6" >
                          <van-cell center
@@ -220,8 +237,8 @@
                              <van-field label="标准值" colon="true" v-model="jymxData.fstand" readonly ></van-field>
                              <van-field label="上限" colon="true" v-model="jymxData.fupAllow" readonly ></van-field>
                              <%--<van-field label="AC数" colon="true" v-model="jymxData.facQty" readonly ></van-field>--%>
                              <van-field label="RE数" colon="true" v-model="jymxData.freQty" readonly ></van-field>
                              <van-field label="样本数" colon="true" v-model="jymxData.ybsl" readonly ></van-field>
<%--                              <van-field label="RE数" colon="true" v-model="jymxData.freQty" readonly ></van-field>
                              <van-field label="样本数" colon="true" v-model="jymxData.ybsl" readonly ></van-field>--%>
                              <%--<van-field label="预览结果" colon="true" v-model="jymxData.result" readonly ></van-field>--%>
                              <%--<van-field label="结果录入" colon="true" v-model="resultValue"  placeholder="请输入OK-数字或NG-数字"></van-field>--%>
                              
@@ -236,11 +253,11 @@
                    </template>
                    <template>
                              <!-- è¾“入框 -->
                              <div v-if="jymxData.fdownAllow !== '' && jymxData.fupAllow !== ''" class="si-input-box">
                              <div v-if="jymxData.fdownAllow !== '' && jymxData.fdownAllow !== '0' && jymxData.fupAllow !== ''&& jymxData.fupAllow !== '0'" class="si-input-box">
                                <div class="si-input__left">
                                  <span class="si-input__label">检验值输入</span>
                                </div>
                                <div v-if="jymxData.fdownAllow !== '' && jymxData.fupAllow !== ''" class="si-status__right">
                                <div v-if="jymxData.fdownAllow !== '' && jymxData.fdownAllow !== '0' && jymxData.fupAllow !== ''&& jymxData.fupAllow !== '0'" class="si-status__right">
                                  <van-field
                                      :ref="'inputValue' + tabActive"
                                      v-model="inputValue"
@@ -351,5 +368,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="../Js/IPQC_XJ/Add.js?<%=11111111111 %>"></script>
 <script src="../Js/IPQC_XJ/Add.js?<%=1111111111254 %>"></script>
</asp:Content>
H5/IPQC_XJ/List.aspx
@@ -79,7 +79,7 @@
                                      <van-tag round plain v-else-if="item.fCheckResu === 'W:未知'" type="warning">未知</van-tag>
                                      <van-tag round plain v-else-if="item.fCheckResu === ''" type="warning">未知</van-tag>
                                      <van-tag round plain v-else-if="item.fCheckResu === 'Y:合格'" type="success">合格</van-tag>
                                      <van-tag round plain v-else type="danger">未知</van-tag>
                                      <van-tag round plain v-else type="warning">未知</van-tag>
                                  </template>
                               </van-field>
                             </van-cell-group>
@@ -133,5 +133,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="../Js/IPQC_XJ/List.js?<%=11 %>"></script>
 <script src="../Js/IPQC_XJ/List.js?<%=111 %>"></script>
</asp:Content>
H5/Js/AgvCz.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,320 @@

var vm = new Vue({
    el: '#app',
    data: function () {
        return {
            isLoading: false,
            userInfo: {
                "loginGuid": '',
                "loginAccount": '',
            },
            KbBar: "",//卡板条码
            LsBar: "",//后盖流水条码
            XBar: "",//箱条码
            UserName: Cookies.get('loginName'),//用户名称
            KbBarInfo: [],
            KbBarMxInfo: [],
            show: false,//列表展示
            actions: [{
                name: "一楼",
                Postition: 1  // æ–°å¢ž
            }, {
                    name: "四楼",
                    Postition: 4  // æ–°å¢ž
                }],//列表的值
            show2: false,//列表展示
            actions2: [{
                name: "合格"
            },{
                    name: "不合格"
                }],//列表的值
            lcName: "",//楼层名称
            lcNum: "",//楼层编号
            jyz: "",//检验值
        }
    },
    mounted() {
        var that = this;
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid,
            loginAccount: this.GetLoginInfor().loginAccount,
        };
    },
    methods: {
        getKbBarInfo() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/getKbBarInfo', {
                Xt: that.GX,
                Kbbarcode: that.KbBar
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                    }
                    else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        that.$refs.KbBar.focus();
                        that.KbBar = "";
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    that.$refs.KbBar.focus();
                    that.KbBar = "";
                });
        },
        handleClear() {
            this.KbBar = "";
            this.XBar = "";
            this.LsBar = "";
            this.DAA001 = [];
            this.XbarInfo = [];
        },
        handleSubmit() {
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (!that.KbBar) {
                that.$playSound('error');
                that.$toast.fail("请先扫描卡板条码");
                return;
            }
            // è®¡ç®—可装数和已装数
            const oldqty = +(that.KbBarInfo.quantity || 0);
            const ySum = +(that.KbBarInfo.ySum || 0);
            if (oldqty !== ySum) {
                that.$playSound('error');
                that.$toast.fail(`装板未完成,待装数:${oldqty - ySum}`);
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/submitInspection', {
                KbBar: that.KbBar,
                userAccount: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                        // æ¸…空数据
                        //that.KbBar = "";
                        //that.XbarInfo = [];
                        //that.KbBarInfo = [];
                        //that.$refs.KbBar.focus();
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("提交失败,请重试!");
                    that.$refs.KbBar.focus();
                });
        },
        onSelect(action) {
            this.lcNum = action.Postition;  // ç»‘定line_no到xtNum字段
            //console.log("选择的线体编号:", this.xtNum);
            this.lcName = action.name;  // ç»‘定name到xtName字段
            this.show = false;
        },
        onSelect2(action) {
            this.jyz = action.name;  // ç»‘定name到xtName字段
            this.show2 = false;
        },
        //获取可呼叫AGV的线体
        selectLc() {
            this.show = true;
            //var that = this;
            //that.actions = [];
            //that.isLoading = true;
            //that.AxiosHttp("post", 'Womdaa/GetAgvXt', {
            //    selectKey: that.selectKey,
            //}, false)
            //    .then(function (res) {
            //        var json = res;
            //        if (json.status == 0) {
            //            if (json.data.tbBillList.length <= 0) {
            //                that.$toast.fail("没有可用的数据");
            //                that.$playSound('error');
            //            } else {
            //                that.itemInfo = json.data.tbBillList;
            //                that.actions = json.data.tbBillList.map(item => {
            //                    return {
            //                        name: item.name,
            //                        lineNo: item.line_no  // æ–°å¢ž
            //                    };
            //                });
            //            }
            //        }
            //        else {
            //            that.$toast.fail(json.message);
            //            that.$playSound('error');
            //        }
            //        that.isLoading = false;
            //    })
            //    .catch(function (error) {
            //        that.isLoading = false;
            //        that.$toast.fail("网络错误,请重试!");
            //        that.$playSound('error');
            //        console.log(error);
            //    });
        },
        selectJyz() {
            this.show2 = true;
        },
        //AGV送检
        handleAgvSj() {
            //this.$toast.fail("功能开发测试中!");
            //return;
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (!that.KbBar) {
                that.$playSound('error');
                that.$toast.fail("请先扫描卡板条码");
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/handleAGVInspection', {
                KbBar: that.KbBar,
                userAccount: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("AGV送检失败,请重试!");
                    that.$refs.KbBar.focus();
                });
        },
        //AGV检验
        handleAgvJy() {
            //this.$toast.fail("功能开发测试中!");
            //return;
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (!that.jyz) {
                that.$playSound('error');
                that.$toast.fail("请先选择检验值");
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/handleAgvJy', {
                jyz: that.jyz,
                KbBar: that.KbBar,
                userAccount: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("AGV检验失败,请重试!");
                    that.$refs.KbBar.focus();
                });
        },
        handleAgvRk() {
            //this.$toast.fail("功能开发测试中!");
            //return;
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (!that.KbBar) {
                that.$playSound('error');
                that.$toast.fail("请先扫描卡板条码");
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/handleAgvRk', {
                KbBar: that.KbBar,
                userAccount: that.userInfo.loginAccount,
                Postition: that.lcNum
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("AGV入立库失败,请重试!");
                    that.$refs.KbBar.focus();
                });
        },
    }
})
H5/Js/BarCf.js
@@ -87,13 +87,10 @@
                        //that.barMessage = json.data.tbBillList.message;
                        //that.$refs.barcode.focus();
                        //that.formData.barcode = null;
                        that.$playSound('success');
                        that.$refs.cfNum.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                    }
@@ -103,7 +100,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                    that.$refs.barcode.focus();
                });
@@ -117,12 +113,20 @@
            if (that.formData.cfNum * 1 <= 0) {
                that.$toast.fail("拆分数量不能为空!");
                that.$playSound('error');
                return;
            }
            //if (that.formData.cfNum > that.formData.sumQuantity) {
            //    that.$toast.fail("拆分数量不能大于条码数量!");
            //    return;
            //}
            if (parseFloat(that.formData.cfNum) > parseFloat(that.formData.sumQuantity)) {
                that.$toast.fail("拆分数量不能大于条码数量!");
                return;
            }
            if (that.formData.barcode.length * 1 <= 0) {
                that.$toast.fail("物料条码不能为空!");
                that.$playSound('error');
                return;
            }
            that.isLoading = true;
@@ -140,12 +144,10 @@
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                        that.formData.cfNum = null;
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.cfNum.focus();
                    }
                    that.isLoading = false;
@@ -153,7 +155,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
H5/Js/BarCfBefore.js
@@ -10,7 +10,7 @@
            formData: {
                barcode: "",
                itemNo: "",
                sumQuantity: 0
                sumQuantity:0
            },
            itemInsFormData: {},
            tableData: [],
@@ -66,7 +66,7 @@
        //},
        getScan() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesBarCF/GetBarInfoBefore', {
                barcode: that.formData.barcode,
@@ -74,7 +74,7 @@
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.formData.sumQuantity = json.data.tbBillList.quantity;
                        that.formData.itemNo = json.data.tbMesItems.itemNo;
@@ -87,12 +87,10 @@
                        //that.barMessage = json.data.tbBillList.message;
                        //that.$refs.barcode.focus();
                        //that.formData.barcode = null;
                        that.$playSound('success');
                        that.$refs.cfNum.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                    }
@@ -102,7 +100,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                    that.$refs.barcode.focus();
                });
@@ -116,19 +113,16 @@
            if (that.formData.cfNum * 1 <= 0) {
                that.$toast.fail("拆分数量不能为空!");
                that.$playSound('error');
                return;
            }
            // ... existing code ...
            if (parseFloat(that.formData.cfNum) > parseFloat(that.formData.sumQuantity)) {
                that.$toast.fail("拆分数量不能大于条码数量!");
                that.$playSound('error');
                return;
            }
            // ... existing code ...
            if (that.formData.barcode.length * 1 <= 0) {
                that.$toast.fail("物料条码不能为空!");
                that.$playSound('error');
                return;
            }
            that.isLoading = true;
@@ -146,7 +140,6 @@
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                        that.formData.cfNum = null;
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    }
                    else {
@@ -158,7 +151,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
H5/Js/Cgyt.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,166 @@
var vm = new Vue({
    el: '#app',
    data: function () {
        return {
            isLoading: false,
            userInfo: {
                "loginGuid": '',
                "loginAccount": '',
            },
            formData: {
                sectionCode: "",
                barcode: "",
                itemNo: "",
                sumQuantity:0
            },
            itemInsFormData: {},
            tableData: [],
            itemTableData: [],
            barMessage: "",
            Message: "",
            messageCenter: {},
            messageId: 0,
            showClearIcon: false,
            focus1: true,
            focus2: false,
            isActive: 0,
            index: 0,
            currentTab: 0,
            contentScrollW: 0, // å¯¼èˆªåŒºå®½åº¦
            scrollLeft: 0, // æ¨ªå‘滚动条位置
            fullHeight: "",
            sectionCode:"",
            depotData: [],
            ItemDetail: [],
            showButton: false,//右上角菜单触发
            ttrre1: false,
            ttrre2: false,
            ytdh: "",
        }
    },
    mounted() {
        var that = this;
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid,
            loginAccount: this.GetLoginInfor().loginAccount,
        };
    },
    methods: {
        getScan() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesBarCF/GetBarInfoBefore', {
                barcode: that.formData.barcode,
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.formData.sumQuantity = json.data.tbBillList.quantity;
                        that.formData.itemNo = json.data.tbMesItems.itemNo;
                        that.formData.itemName = json.data.tbMesItems.itemName;
                        that.formData.itemModel = json.data.tbMesItems.itemModel;
                        that.ytdh = "";
                        that.ItemDetail = [];
                        that.tableData = [];
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    console.log(error);
                    that.$refs.barcode.focus();
                });
        },
        handleSubmit() {
            if (this.isLoading) {
                return;
            }
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesCgthSq/ScanCgyt', {
                barcode: that.formData.barcode,
                userName: that.userInfo.loginAccount,
            }, true, 0).then(function (res1) {
                if (res1.status == 0) {
                    that.$notify({ type: 'success', message: res1.data.tbBillList.msg });
                    that.ytdh = res1.data.tbBillList.ytdh;
                    that.ItemDetail = res1.data.ytItem;
                    that.tableData = res1.data.ytBarInfo;
                    that.formData.barcode = "";
                }
                else {
                    that.$toast.fail(res1.message);
                }
                that.isLoading = false
            }).catch(function (error) {
                that.$toast.fail("网络错误,请重试!");
                that.isLoading = false
                console.log(error);
            });
        },
        deleteCgyt() {
            if (this.isLoading) {
                return;
            }
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesCgthSq/deleteCgyt', {
                ytdh: that.ytdh,
                userName: that.userInfo.loginAccount,
            }, true, 0).then(function (res1) {
                if (res1.rtnData.outSum == 1) {
                    that.$notify({ type: 'success', message: '提交成功' });
                    that.init();
                } else {
                    that.$toast.fail(res1.rtnData.outMsg);
                }
                that.isLoading = false
            }).catch(function (error) {
                that.$toast.fail("网络错误,请重试!");
                that.isLoading = false
                console.log(error);
            });
        },
        submit() {
            if (this.ttrre) {
                return;
            }
            var that = this;
            that.ttrre = true;
            that.AxiosHttp("post", 'FqcManager/EditModelSubmit', {
                guid: that.formData.guid
            }, true, 0).then(function (res1) {
                if (res1.rtnData.outSum == 1) {
                    that.$notify({ type: 'success', message: '提交成功' });
                    that.init();
                } else {
                    that.$toast.fail(res1.rtnData.outMsg);
                }
                that.ttrre = false
            }).catch(function (error) {
                that.$toast.fail("网络错误,请重试!");
                that.ttrre = false
                console.log(error);
            });
        },
    }
})
H5/Js/Cpbd.js
@@ -28,7 +28,7 @@
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/getZsBarInfo', {
                Xt: that.GX,
                GX: that.GX,
                Zsbarcode: that.ZsBar
            }, false)
                .then(function (res) {
@@ -40,6 +40,7 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = "";
                        that.ZsBarInfo = [];
@@ -50,6 +51,7 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = "";
                    that.ZsBarInfo = [];
@@ -60,10 +62,12 @@
            var that = this;
            if (that.ZsBar.length <= 0) {
                that.$toast.fail("追溯码不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.LsBar.length <= 0) {
                that.$toast.fail("后盖码不能为空!");
                that.$playSound('error');
                return;
            }
@@ -78,12 +82,14 @@
                    if (json.status == 0) {
                        // that.scanInfo = json.data.tbBillList;
                        that.$notify({ type: 'success', message: json.message });
                        that.$playSound('success');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = null;
                        that.LsBar = null;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = null;
                        that.LsBar = null;
@@ -94,6 +100,7 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = null;
                    that.LsBar = null;
H5/Js/Cpbdsj.js
@@ -1,4 +1,5 @@
var vm = new Vue({

var vm = new Vue({
    el: '#app',
    data: function () {
        return {
@@ -27,6 +28,11 @@
                //}
            ],
            DAA001: [],
            show: false,//列表展示
            actions: [],//列表的值
            xtName: "",//线体名称
            xtNum: "",//线体编号
            agvChecked: false,//是否勾选AGV
        }
    },
    mounted() {
@@ -97,7 +103,7 @@
            }
            //待装数
            var Dvalue = (that.KbBarInfo.oldqty || 0) - +(that.KbBarInfo.ySum || 0)
            var Dvalue = (that.KbBarInfo.quantity || 0) - +(that.KbBarInfo.ySum || 0)
            // æ£€æŸ¥æ˜¯å¦è¶…过装箱数
            if (that.Xvalue > Dvalue) {
                that.$playSound('error');
@@ -126,17 +132,26 @@
                    var json = res;
                    if (json.status == 0) {
                        that.XbarInfo.push(json.data.tbBillList.xBarInfo[0]);
                        that.$playSound('success');
                        that.$refs.XBar.focus();
                        that.XBar = "";
                        // æ£€æŸ¥æ˜¯å¦è¶…过装箱数
                        if (that.XbarInfo.length >= that.Xvalue) {
                            that.$refs.LsBar.focus();
                        }
                    }
                    else {
                        that.$playSound('error');
                        that.XBar = "";
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.XBar = "";
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                });
@@ -252,8 +267,13 @@
            that.LsBar = ""; // æ¸…空输入框
        },
        GetWeightByXt() {
        handleClear() {
            this.KbBar = "";
            this.XBar = "";
            this.LsBar = "";
            this.DAA001 = [];
            this.XbarInfo = [];
        },
        // æ–°å¢žæ–¹æ³•:提交所有已核对的数据
@@ -307,7 +327,7 @@
            }
    
            // è®¡ç®—可装数和已装数
            const oldqty = +(that.KbBarInfo.oldqty || 0);
            const oldqty = +(that.KbBarInfo.quantity || 0);
            const ySum = +(that.KbBarInfo.ySum || 0);
            
            if (oldqty !== ySum) {
@@ -344,5 +364,152 @@
                    that.$refs.KbBar.focus();
                });
        },
        onSelect(action) {
            this.xtNum = action.lineNo;  // ç»‘定line_no到xtNum字段
            console.log("选择的线体编号:", this.xtNum);
            this.xtName = action.name;  // ç»‘定name到xtName字段
            this.show = false;
        },
        //获取可呼叫AGV的线体
        selectXt() {
            this.show = true;
            var that = this;
            that.actions = [];
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/GetAgvXt', {
                selectKey: that.selectKey,
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        if (json.data.tbBillList.length <= 0) {
                            that.$toast.fail("没有可用的数据");
                            that.$playSound('error');
                        } else {
                            that.itemInfo = json.data.tbBillList;
                            that.actions = json.data.tbBillList.map(item => {
                                return {
                                    name: item.name,
                                    lineNo: item.line_no  // æ–°å¢ž
                                };
                            });
                        }
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
        //AGV送检
        handleAGVInspection() {
            //this.$toast.fail("功能开发测试中!");
            //return;
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (that.agvChecked === false)
            {
                that.$playSound('error');
                that.$toast.fail("AGV送检请先勾选 AGV");
                return;
            }
            if (!that.KbBar) {
                that.$playSound('error');
                that.$toast.fail("请先扫描卡板条码");
                return;
            }
            // è®¡ç®—可装数和已装数
            const oldqty = +(that.KbBarInfo.quantity || 0);
            const ySum = +(that.KbBarInfo.ySum || 0);
            if (oldqty !== ySum) {
                that.$playSound('error');
                that.$toast.fail(`装板未完成,待装数:${oldqty - ySum}`);
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/handleAGVInspection', {
                KbBar: that.KbBar,
                userAccount: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("AGV送检失败,请重试!");
                    that.$refs.KbBar.focus();
                });
        },
        //AGV呼叫
        handleAGVCall() {
            //this.$toast.fail("功能开发测试中!");
            //return;
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (!that.xtNum) {
                that.$playSound('error');
                that.$toast.fail("请先选择线体");
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/handleAGVCall', {
                XtNum: that.xtNum,
                userAccount: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("AGV呼叫失败,请重试!");
                    that.$refs.KbBar.focus();
                });
        }
    }
})
H5/Js/Dbck.js
@@ -45,21 +45,18 @@
                            that.$toast.fail("没有找到可以选择的出库单号");
                        }
                        that.actions = json.data.tbBillList.map(item => {
                            return { name: item }
                        });
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -88,13 +85,11 @@
                    var json = res;
                    if (json.status == 0) {
                        that.ItemDetail = json.data.tbBillList;
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.billNo.focus();
                        that.billNo = "";
                        that.ItemDetail = null;
@@ -104,7 +99,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.billNo.focus();
                    that.billNo = "";
                    that.ItemBlDetail = null;
@@ -120,21 +114,18 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.billNo) {
                this.$toast.fail("申请单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
@@ -153,7 +144,6 @@
                        ////that.fum = json.data.form.fum;
                        //that.ItemBlDetail = json.data.items
                        that.$notify({ type: 'success', message: '扫码成功' });
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
@@ -162,14 +152,12 @@
                    }
                    else if (json.status == 2) {
                        that.itemNo = json.data.tbBillList.itemNo;
                        that.$playSound('error');
                        that.$refs.splitNum.focus();
                        that.scanInfo.splitNum = json.data.tbBillList.splitNum;
                        that.scanInfo.barcodeNum = json.data.tbBillList.barcodeNum;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
@@ -178,7 +166,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    that.$refs.barcode.focus();
                    that.barcode = "";
@@ -194,17 +181,14 @@
            var that = this;
            if (that.billNo.length <= 0) {
                that.$toast.fail("申请单号不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.scanInfo.splitNum * 1 <= 0) {
                that.$toast.fail("拆分数量不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.barcode.length * 1 <= 0) {
                that.$toast.fail("物料条码不能为空!");
                that.$playSound('error');
                return;
            }
            //that.ip = "";
H5/Js/Dbrk.js
@@ -50,14 +50,12 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -87,13 +85,11 @@
                    if (json.status == 0) {
                        //that.ItemBlDetail = json.data.tbBillList;
                        that.ItemDetail = json.data.tbBillList;
                        that.$playSound('success');
                        that.$refs.sectionCode.focus();
                        that.sectionCode = "";
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.billNo.focus();
                        that.billNo = "";
                        that.ItemBlDetail = null;
@@ -103,7 +99,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.billNo.focus();
                    that.billNo = "";
                    that.ItemBlDetail = null;
@@ -117,7 +112,6 @@
            if (that.sectionCode.length == 0) {
                this.$toast.fail("库位编码不能为空");
                that.$playSound('error');
                return;
            }
@@ -130,13 +124,11 @@
                    var json = res;
                    if (json.status == 0) {
                        that.$notify({ type: 'success', message: json.data.tbBillList });
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.sectionCode.focus();
                        that.sectionCode = "";
@@ -145,7 +137,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    that.$refs.sectionCode.focus();
                    that.sectionCode = "";
@@ -160,21 +151,18 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.sectionCode) {
                this.$toast.fail("库位不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
@@ -200,7 +188,6 @@
                        //that.barcode = json.data.form.barcode;
                        that.ItemBlDetail = json.data.items
                        that.$notify({ type: 'success', message: '扫码成功' });
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                        that.billNo = json.data.form.billNo;
@@ -208,7 +195,6 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
@@ -217,7 +203,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    that.$refs.barcode.focus();
                    that.barcode = "";
H5/Js/Fgbd.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,129 @@
var vm = new Vue({
    el: '#app',
    data: function () {
        return {
            isLoading: false,
            userInfo: {
                "loginGuid": '',
                "loginAccount": '',
            },
            HgBar: "",//追溯条码
            FgBar: "",//后盖流水条码
            UserName: Cookies.get('loginName'),//用户名称
            HgBarInfo: [],
            Traceability: [],
            GX: "G006:内箱核对",
        }
    },
    mounted() {
        var that = this;
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid,
            loginAccount: this.GetLoginInfor().loginAccount,
        };
    },
    methods: {
        getHgBarInfo() {
            if (this.isLoading) {
                return;
            }
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/getHgBarInfo', {
                Xt: that.GX,
                Zsbarcode: that.HgBar
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.HgBarInfo = json.data.tbBillList.zsBarInfo[0];
                        that.Traceability = json.data.tbBillList.traceability;
                        that.$refs.FgBar.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$refs.HgBar.focus();
                        that.HgBar = "";
                        that.HgBarInfo = [];
                        that.Traceability = [];
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$refs.HgBar.focus();
                    that.HgBar = "";
                    that.HgBarInfo = [];
                    that.Traceability = [];
                });
        },
        ScanFgbd() {
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (that.HgBar.length <= 0) {
                that.$toast.fail("后盖码不能为空!");
                return;
            }
            if (that.FgBar.length <= 0) {
                that.$toast.fail("箱码不能为空!");
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/ScanFgbd', {
                HgBar: that.HgBar,//流水码/后盖码
                FgBar: that.FgBar,//返工追溯码
                userName: that.userInfo.loginAccount,
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        // that.scanInfo = json.data.tbBillList;
                        that.$notify({ type: 'success', message: json.message });
                        that.$refs.HgBar.focus();
                        that.HgBar = null;
                        that.FgBar = null;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$refs.HgBar.focus();
                        that.HgBar = null;
                        that.FgBar = null;
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$refs.HgBar.focus();
                    that.HgBar = null;
                    that.FgBar = null;
                });
        },
        //打印机注释
        //selectPrinter(printer) {
        //    this.selectedPrinter = printer.printerId; // æ›´æ–°é€‰ä¸­çš„æ‰“印机编号
        //},
        //confirmSelection() {
        //    if (this.selectedPrinter) {
        //        alert(`您选择了打印机:${this.selectedPrinter}`);
        //        // åœ¨è¿™é‡Œå¤„理选择结果,例如调用接口或更新状态
        //        this.isPrinterPopupVisible = false; // å…³é—­å¼¹çª—
        //    } else {
        //        alert('请选择一个打印机!');
        //    }
        //},
        //onPrinterSelected(value) {
        //    console.log('当前选中的打印机编号:', value);
        //},
    }
})
H5/Js/IPQC_SJ/Add.js
@@ -186,11 +186,9 @@
            }, true, 1).then(function (res1) {
                if (res1.rtnCode == 1) {
                    that.tableMxData = res1.rtnData;
                    that.$playSound('success');
                } else {
                    that.$toast.fail(res1.rtnMsg);
                    that.$playSound('error');
                }
            }).catch(function (error) {
                that.$toast.fail("网络错误,请重试!");
@@ -203,7 +201,6 @@
            if (!that.inputValue) {
                this.$toast.fail("检验值不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
@@ -225,14 +222,12 @@
                    that.$notify({
                        type: 'success', message: res1.rtnMsg
                    });
                    that.$playSound('success');
                    that.refreshJYItem();//刷新检验项目
                    //that.handleTabClick();//刷新检验明细面板
                    //that.$refs.inputValue.focus();
                    that.inputValue = null;
                } else {
                    that.$toast.fail(res1.rtnMsg);
                    that.$playSound('error');
                    that.inputValue = null;
                }
                that.isLoading = false;
@@ -316,11 +311,9 @@
            }, true, 1).then(function (res1) {
                if (res1.rtnData.outSum == 1) {
                    that.$notify({ type: 'success', message: '提交成功' });
                    that.$playSound('success');
                    that.init();
                } else {
                    that.$toast.fail(res1.rtnData.outMsg);
                    that.$playSound('error');
                }
                that.ttrre = false
            }).catch(function (error) {
@@ -343,11 +336,9 @@
                }, true, 1).then(res1 => {
                    if (res1.rtnCode == 1) {
                        that.$notify({ type: 'success', message: '重新加载成功' });
                        that.$playSound('success');
                        that.init();
                    } else {
                        that.$toast.fail(res1.rtnMsg);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                }).catch(error => {
H5/Js/IPQC_XJ/Add.js
@@ -24,6 +24,7 @@
                mocode: "",
                boardStyle: ""
            },
            jyGw:"",//检验工位
            isShowTable: false,
            tableData: [],//返回的检验项目
            jymxData: [],//展示的检验项目
@@ -51,7 +52,24 @@
        }
    },
    mounted() {
        var that = this;
        let that = this;
        //读取扫码beg 2025-7-25
        window.msgFromUniapp = function (arg) {
            //alert(arg.txtName);
            //alert("扫码的结果:" + arg.msg);
            //alert("工位码:" + that.jyGw);
            if (arg.txtName === "GW") {
                that.jyGw = arg.msg;
                that.selIpqcItemsByGw();
            }
            else if (arg.txtName === "DAA") {
                that.formData.lotNo = arg.msg;
                that.createByWomdaa();
            }
        }
        //读取扫码end
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid,
            loginAccount: this.GetLoginInfor().loginAccount,
@@ -59,7 +77,16 @@
        this.formData.id = this.Request("id"),
        this.formData.releaseNo = this.Request("releaseNo");
        this.formData.lotNo = this.Request("lotNo");
        ////读取扫码beg 2025-7-25
        //let that = this;
        //window.msgFromUniapp = function (arg) {
        //    alert("扫码的结果:" + arg.msg);
        //}
        ////读取扫码end
        this.init();
    },
    methods: {
        // è¾“入过滤
@@ -193,6 +220,7 @@
        },
        addJyzIpqc(input) {
            var that = this;
            var guid1 = that.formData.guid;//主表id
            var mxguid = that.tableData[that.tabActive].guid;//检验项目的guid
@@ -203,8 +231,12 @@
                inP1: input,//或者0k-19,或者ng-19,或实际检验值
            }, true, 1).then(function (res1) {
                if (res1.rtnCode > 0) {
                    that.$notify({
                        type: 'success', message: res1.rtnMsg
                    //that.$notify({
                    //    type: 'success', message: res1.rtnMsg
                    //});
                    that.$toast.success({
                        duration: 1000, // æŒç»­å±•示 toast
                        message: '操作成功',
                    });
                    that.refreshJYItem();//刷新检验项目
                    //that.handleTabClick();//刷新检验明细面板
@@ -257,7 +289,7 @@
        //检验明细刷新
        refreshJYItem() {
            const that = this;
            return that.AxiosHttp("post", 'LLJ/getJYItem', {
            return that.AxiosHttp("post", 'Ipqc/getJYItem', {
                releaseNo: that.formData.releaseNo
            }, false).then(res1 => {
                const tableData = res1.data.tbBillList || [];
@@ -285,7 +317,7 @@
                        that.formData = data;
                        that.remarks = that.formData.fnGDesc;
                        that.lineId = data.lineId;
                        that.AxiosHttp("post", 'LLJ/getJYItem', {
                        that.AxiosHttp("post", 'Ipqc/getJYItem', {
                            //id: that.formData.guid,
                            releaseNo: that.formData.releaseNo
                        }, false).then(function (res1) {
@@ -534,5 +566,62 @@
                that.init();//刷新检验项目
            })
        },
        //检验项目扫描工位可做检验
        selIpqcItemsByGw() {
            //alert("开始工位");
            const that = this;
            var guid1 = that.formData.guid;//主表id
            return that.AxiosHttp("post", 'Ipqc/selIpqcItemsByGw', {
                inOrderGuid1: guid1,
                userAccount: that.userInfo.loginAccount,
                gw: that.jyGw
            }, false).then(res => {
                var json = res;
                if (json.status == 0) {
                    that.init();//刷新
                }
                else {
                    that.$toast.fail(json.message);
                    that.$playSound('error');
                    that.jyGw = "";
                }
                that.isLoading = false;
            }).catch(error => {
                that.$toast.fail("网络错误,请重试!");
                console.error('Refresh error:', error);
            });
        },
        //扫描工位
        scanOnH5GW() {
            let sendData = {
                Type: 'Scan',
                txtName: 'GW',
                Barcode: '',
                Detail: '',
                Ip: '',
                Port: '',
            }
            uni.webView.postMessage({
                data: JSON.stringify(sendData)
            })
        },
        //扫描工单
        scanOnH5DAA() {
            let sendData = {
                Type: 'Scan',
                txtName: 'DAA',
                Barcode: '',
                Detail: '',
                Ip: '',
                Port: '',
            }
            uni.webView.postMessage({
                data: JSON.stringify(sendData)
            })
        },
    }
})
H5/Js/IPQC_XJ/List.js
@@ -43,7 +43,7 @@
        },
        onLoad() {
            this.pageIndex = 0;
            if (this.refreshing) {
                this.data = [];
                this.refreshing = false;
H5/Js/Kwbg.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,191 @@
var vm = new Vue({
    el: '#app', // æŒ‡å®šVue实例挂载到ID为'app'的DOM元素上
    data: function () {
        return {
            isLoading: false, // åŠ è½½çŠ¶æ€æ ‡å¿—
            userInfo: { // ç”¨æˆ·ä¿¡æ¯å¯¹è±¡
                "loginGuid": '', // ç”¨æˆ·ç™»å½•GUID
                "loginAccount": '', // ç”¨æˆ·ç™»å½•账号
            },
            formData: { // è¡¨å•数据对象
                barcode: "", // ç‰©æ–™æ¡ç 
                itemNo: "", // ç‰©æ–™ç¼–码
                sumQuantity: 0, // æ¡ç æ•°é‡
                DepotId: "",// ä»“库ID
                DepotCode: "", // ä»“库编码
                depotName: "", // ä»“库名称
                depotSectionsCode: "" //库位
                // æ³¨æ„ï¼šè¿™é‡Œåªæ˜¾ç¤ºäº†éƒ¨åˆ†å­—段,实际代码中可能还有更多字段
            },
            itemInsFormData: {}, // ç‰©æ–™å®žä¾‹è¡¨å•数据
            tableData: [], // è¡¨æ ¼æ•°æ®
            itemTableData: [], // ç‰©æ–™è¡¨æ ¼æ•°æ®
            barMessage: "", // æ¡ç æ¶ˆæ¯
            Message: "", // é€šç”¨æ¶ˆæ¯
            messageCenter: {}, // æ¶ˆæ¯ä¸­å¿ƒ
            messageId: 0, // æ¶ˆæ¯ID
            showClearIcon: false, // æ˜¯å¦æ˜¾ç¤ºæ¸…除图标
            focus1: true, // ç„¦ç‚¹æŽ§åˆ¶1
            focus2: false, // ç„¦ç‚¹æŽ§åˆ¶2
            isActive: 0, // æ´»åŠ¨çŠ¶æ€
            index: 0, // ç´¢å¼•
            currentTab: 0, // å½“前标签页
            contentScrollW: 0, // å¯¼èˆªåŒºå®½åº¦
            scrollLeft: 0, // æ¨ªå‘滚动条位置
            fullHeight: "", // å…¨å±é«˜åº¦
            kwInfo: {},
        }
    },
    mounted() { // Vue实例挂载完成后执行
        var that = this;
        // åˆå§‹åŒ–用户信息
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid, // ä»ŽGetLoginInfor方法获取登录GUID
            loginAccount: this.GetLoginInfor().loginAccount, // ä»ŽGetLoginInfor方法获取登录账号
        };
    },
    methods: { // æ–¹æ³•定义
        // å·²æ³¨é‡Šçš„getModel方法
        //getModel() {
        //    var that = this;
        //    that.isLoading = true;
        //    that.AxiosHttp("post", 'MesDepotSections/GetSectionName', {
        //        sectionCode: that.formData.sectionCode
        //    }, false)
        //        .then(function (res) {
        //            var json = res;
        //            if (json.status == 0) {
        //                that.formData.sectionName = json.data.tbBillList;
        //            }
        //            else {
        //                that.$toast.fail(json.message);
        //                that.formData.sectionName = "";
        //            }
        //            that.isLoading = false;
        //        })
        //        .catch(function (error) {
        //            that.isLoading = false;
        //            that.$toast.fail("网络错误,请重试!");
        //            console.log(error);
        //            that.$refs.daa001.focus();
        //        });
        //},
        // èŽ·å–æ¡ç æ‰«æä¿¡æ¯çš„æ–¹æ³•
        getScan() {
            var that = this;
            that.isLoading = true; // è®¾ç½®åŠ è½½çŠ¶æ€ä¸ºtrue
            // å‘送POST请求获取条码信息
            that.AxiosHttp("post", 'Kwbg/GetBarInfo', {
                barcode: that.formData.barcode, // ä¼ é€’条码参数
            }, false)
                .then(function (res) { // è¯·æ±‚成功处理
                    var json = res;
                    if (json.status == 0) { // å¦‚果返回状态为0表示成功
                        // æ›´æ–°è¡¨å•数据
                        console.log(json.data.tbBillList);
                        console.log(json.data.tbBillList[0]);
                        that.kwInfo = json.data.tbBillList[0];
                        // å·²æ³¨é‡Šçš„代码:设置其他数据
                        //that.itemInsFormData = json.data.tbBillList.itemIns;
                        //that.itemTableData = json.data.tbBillList.itemInDetails;
                        //that.tableData = json.data.tbBillList.invItemInCDetails;
                        //that.barMessage = json.data.tbBillList.message;
                        //that.$refs.barcode.focus();
                        //that.formData.barcode = null;
                        that.$refs.kwbg.focus(); // å°†ç„¦ç‚¹ç§»åŠ¨åˆ°æ‹†åˆ†æ•°é‡è¾“å…¥æ¡†
                    }
                    else { // å¦‚果返回状态不为0表示失败
                        that.$toast.fail(json.message); // æ˜¾ç¤ºé”™è¯¯æç¤º
                        that.$refs.barcode.focus(); // å°†ç„¦ç‚¹ç§»å›žæ¡ç è¾“入框
                        that.formData.barcode = null; // æ¸…空条码输入
                    }
                    //that.$notify({ type: 'success', message: json.message }); // å·²æ³¨é‡Šçš„æˆåŠŸé€šçŸ¥
                    that.isLoading = false; // è®¾ç½®åŠ è½½çŠ¶æ€ä¸ºfalse
                })
                .catch(function (error) { // è¯·æ±‚失败处理
                    that.isLoading = false; // è®¾ç½®åŠ è½½çŠ¶æ€ä¸ºfalse
                    that.$toast.fail("网络错误,请重试!"); // æ˜¾ç¤ºç½‘络错误提示
                    console.log(error); // è¾“出错误到控制台
                    that.$refs.barcode.focus(); // å°†ç„¦ç‚¹ç§»å›žæ¡ç è¾“入框
                });
        },
        // æ‰§è¡Œåº“位变更的方法
        getBianGeng() {
            if (this.isLoading) { // å¦‚果正在加载中,直接返回
                return;
            }
            var that = this;
            // éªŒè¯åº“位变更条件
            if (!that.formData.kwbg || that.formData.kwbg.trim() === "") {
                that.$toast.fail("变更库位不能为空!");
                return;
            }
            if (that.formData.kwbg === that.formData.depotSectionsCode) {
                that.$toast.fail("当前库位不能等于变更库位!");
                return;
            }
            if (!that.formData.barcode || that.formData.barcode.trim() === "") {
                that.$toast.fail("条码不能为空!");
                return;
            }
            that.isLoading = true; // è®¾ç½®åŠ è½½çŠ¶æ€ä¸ºtrue
            // å‘送POST请求执行库位变更操作
            that.AxiosHttp("post", 'Kwbg/ChangeDepotSection', {
                userName: that.userInfo.loginAccount, // ç”¨æˆ·å
                barcode: that.formData.barcode, // æ¡ç 
                OldDepotSectionCode: that.kwInfo.depoT_SECTIONS_CODE, // åŽŸåº“ä½ç¼–ç 
                NewDepotSectionCode: that.formData.kwbg // æ–°åº“位编码
            }, false)
                .then(function (res) { // è¯·æ±‚成功处理
                    var json = res;
                    if (json.status == 0) { // å¦‚果返回状态为0表示成功
                        // å·²æ³¨é‡Šçš„代码:设置模式信息
                        // that.modeInfo = json.data.tbBillList;
                        // è°ƒç”¨æ‰“印方法
                        //that.sendPrintMessage(json.data.tbBillList);
                        that.$refs.barcode.focus(); // å°†ç„¦ç‚¹ç§»å›žæ¡ç è¾“入框
                        that.formData.barcode = null; // æ¸…空条码输入
                        that.formData.kwbg = null; // æ¸…空‘库位变更’
                        that.$notify({ type: 'success', message: json.message }); // æ˜¾ç¤ºæˆåŠŸé€šçŸ¥
                    }
                    else { // å¦‚果返回状态不为0表示失败
                        that.$toast.fail(json.message); // æ˜¾ç¤ºé”™è¯¯æç¤º
                        that.$refs.kwbg.focus(); // å°†ç„¦ç‚¹ç§»å›žâ€˜åº“位变更’输入框
                    }
                    that.isLoading = false; // è®¾ç½®åŠ è½½çŠ¶æ€ä¸ºfalse
                })
                .catch(function (error) { // è¯·æ±‚失败处理
                    that.isLoading = false; // è®¾ç½®åŠ è½½çŠ¶æ€ä¸ºfalse
                    that.$toast.fail("网络错误,请重试!"); // æ˜¾ç¤ºç½‘络错误提示
                    console.log(error); // è¾“出错误到控制台
                });
        },
        // å·²æ³¨é‡Šçš„æ¸…除代码方法
        //cleraCode() {
        //    this.formData.sectionCode = null;
        //},
        // å¤„理数字输入的方法,限制只能输入数字和小数点
        //handleNumberInput3(value) {
        //    this.formData.kwbg = value.replace(/[^\d.]/g, '')  // 1. åŽ»é™¤éžæ•°å­—å’Œå°æ•°ç‚¹
        //        .replace(/(\..*)\./g, '$1')               // 2. ç¦æ­¢å¤šä¸ªå°æ•°ç‚¹
        //        .replace(/^\./g, '');                     // 3. ç¦æ­¢å°æ•°ç‚¹å¼€å¤´
        //},
    }
})
H5/Js/Kwcx.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,172 @@
var vm = new Vue({
    el: '#app',
    data: function () {
        return {
            isLoading: false,
            modeInfo: { deptSectionCode: "", rkDate: "" }, // å…¥åº“日期默认空
            scanInfo: { barcode: "", itemNo: "", itemName: "", itemModel: "", depotCode: "", depotName: "", sectionCode: "", sectionName: "", oldqty: "", quantity: "" },
            barInfoList: [],
            selectKW: "",
            tbKWInfo: [],
            tbItemInfo: [],
            actions: [],
            show: false,
            zkChecked: false,
            showDatePicker: false,
            tempDate: new Date(), // æ—¥æœŸé€‰æ‹©å™¨é»˜è®¤ä»Šå¤©
            itemNo: { barCode: "", itemNo: "" }, // å…¥åº“日期默认空
        }
    },
    mounted() {
        var that = this;
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid,
            loginAccount: this.GetLoginInfor().loginAccount,
        };
    },
    watch: {
        showDatePicker(val) {
            if (val) {
                // å¼¹çª—打开时,重置为当天
                this.tempDate = new Date();
            }
        }
    },
    methods: {
        formatDate(date) {
            const d = new Date(date);
            console.log(d);
            return `${d.getFullYear()}-${(d.getMonth() + 1).toString().padStart(2, '0')}-${d.getDate().toString().padStart(2, '0')}`;
        },
        onDateConfirm(date) {
            this.modeInfo.rkDate = this.formatDate(date);
            this.showDatePicker = false;
            this.getBarInfoListModel();
        },
        getBarInfoListModel() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesKwcx/GetBarInfoList', {
                deptSectionCode: that.modeInfo.deptSectionCode,
                rkDate: that.modeInfo.rkDate,
                zkChecked: that.zkChecked
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.barInfoList = json.data.tbBarInfoList;
                    } else {
                        that.barInfoList = [];
                        that.modeInfo.deptSectionCode = '';
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function () {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
        getScan() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesKwcx/GetBarInfo', {
                barcode: that.scanInfo.barcode
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        Object.assign(that.scanInfo, json.data.tbBarInfo);
                    } else {
                        that.scanInfo.barcode = '';
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function () {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
        getKWInfo() {
            var that = this;
            that.show = true;
            that.actions = [];
            that.isLoading = true;
            that.AxiosHttp("post", 'MesKwcx/GetKWList', {
                selectKW: that.selectKW
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0 && json.data.tbKWList.length > 0) {
                        that.actions = json.data.tbKWList.map(item => ({ name: item.code }));
                    } else {
                        that.$toast.fail("没有可用的数据");
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function () {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
        onSelect(item) {
            var that = this;
            that.show = false;
            that.isLoading = true;
            that.selectKW = item.name;
            that.AxiosHttp("post", 'MesKwcx/GetKWInfo', {
                code: item.name
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.tbKWInfo = json.data.tbKWInfo;
                    } else {
                        that.tbKWInfo = [];
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function () {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
        getItemInfoListModel() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesKwcx/GetItemInfoList', {
                barCode: that.itemNo.barCode,
                itemNo: that.itemNo.itemNo
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.tbItemInfo = json.data.tbItemInfo;
                    } else {
                        that.tbItemInfo = [];
                        that.itemNo.barCode = '';
                        that.itemNo.itemNo = '';
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function () {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    //that.$playSound('error');
                });
        },
    }
});
H5/Js/My.js
@@ -44,7 +44,11 @@
                    img: "../Images/print.png",
                    path: '/H5/Config.aspx'
                }
            ]
            ],
            actions: [],//列表的值
            orgName: "",//线体名称
            orgId: "",//线体编号
            show: false,//列表展示
        }
    },
    mounted() {
@@ -71,30 +75,67 @@
                    // on cancel
                });
        },
       /* goMsg() {
            var that = this;
            window.location.href = "/H5/Message.aspx";
        },*/
        //goMsg() {
        //    var that = this;
        //    window.location.href = "/H5/Message.aspx";
        //},
        goMsg() {
            var that = this;
            uni.navigateTo({
                url: "/pages/index/test/PrintInit?type=1",
            })
            });
        },
        goOrg() {
        changeOrg() {
            this.show = true;
            var that = this;
            this.$dialog.confirm({
                title: '友情提示',
                message: '确定切换当前组织?',
                confirmButtonText: '确定',
                cancelButtonText: '取消'
            })
                .then(() => {
                    window.location.href = "/UserLogin.aspx";
            that.actions = [];
            that.isLoading = true;
            that.AxiosHttp("post", 'Login/changeOrg', {
                userName: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        if (json.data.tbBillList.length <= 0) {
                            that.$toast.fail("没有可用的数据");
                            that.$playSound('error');
                        } else {
                            that.itemInfo = json.data.tbBillList;
                            that.actions = json.data.tbBillList.map(item => {
                                return {
                                    name: item.orgName,
                                    orgId: item.orgId,  // æ–°å¢ž
                                    orgNo: item.orgNo  // æ–°å¢ž
                                };
                            });
                        }
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(() => {
                    // on cancel
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
        onSelect(action) {
            //this.xtNum = action.lineNo;  // ç»‘定line_no到xtNum字段
            //console.log("选择的线体编号:", this.xtNum);
            //this.xtName = action.name;  // ç»‘定name到xtName字段
            //this.show = false;
            Cookies.set('orgId', action.orgId);
            Cookies.set('orgNo', action.orgNo);
            Cookies.set('orgName', action.name);
            this.show = false;
        },
    }
})
H5/Js/Nxhd.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,136 @@
var vm = new Vue({
    el: '#app',
    data: function () {
        return {
            isLoading: false,
            userInfo: {
                "loginGuid": '',
                "loginAccount": '',
            },
            ZsBar: "",//追溯条码
            LsBar: "",//后盖流水条码
            UserName: Cookies.get('loginName'),//用户名称
            ZsBarInfo: [],
            Traceability: [],
            GX: "G006:内箱核对",
        }
    },
    mounted() {
        var that = this;
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid,
            loginAccount: this.GetLoginInfor().loginAccount,
        };
    },
    methods: {
        getHgBarInfo() {
            if (this.isLoading) {
                return;
            }
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/getHgBarInfo', {
                Xt: that.GX,
                Zsbarcode: that.ZsBar
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.ZsBarInfo = json.data.tbBillList.zsBarInfo[0];
                        that.Traceability = json.data.tbBillList.traceability;
                        that.$refs.LsBar.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = "";
                        that.ZsBarInfo = [];
                        that.Traceability = [];
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = "";
                    that.ZsBarInfo = [];
                    that.Traceability = [];
                });
        },
        ScanNxhd() {
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (that.ZsBar.length <= 0) {
                that.$toast.fail("后盖码不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.LsBar.length <= 0) {
                that.$toast.fail("箱码不能为空!");
                that.$playSound('error');
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/ScanNxhd', {
                ZsBar: that.ZsBar,
                LsBar: that.LsBar,
                userName: that.userInfo.loginAccount,
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        // that.scanInfo = json.data.tbBillList;
                        that.$notify({ type: 'success', message: json.message });
                        that.$playSound('success');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = null;
                        that.LsBar = null;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = null;
                        that.LsBar = null;
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = null;
                    that.LsBar = null;
                });
        },
        //打印机注释
        //selectPrinter(printer) {
        //    this.selectedPrinter = printer.printerId; // æ›´æ–°é€‰ä¸­çš„æ‰“印机编号
        //},
        //confirmSelection() {
        //    if (this.selectedPrinter) {
        //        alert(`您选择了打印机:${this.selectedPrinter}`);
        //        // åœ¨è¿™é‡Œå¤„理选择结果,例如调用接口或更新状态
        //        this.isPrinterPopupVisible = false; // å…³é—­å¼¹çª—
        //    } else {
        //        alert('请选择一个打印机!');
        //    }
        //},
        //onPrinterSelected(value) {
        //    console.log('当前选中的打印机编号:', value);
        //},
    }
})
H5/Js/PurchaseInventory.js
@@ -34,9 +34,6 @@
            sectionCode:"",
            depotData: [],
            ItemDetail: [],
            rkType: "正常入库",
            show: false,//下拉框的显示
            actions: [{ name: "正常入库" }, { name: "工废入库" }, { name: "料废入库" }],//下拉框的数值
        }
    },
    mounted() {
@@ -47,19 +44,6 @@
        };
    },
    methods: {
        getInfo() {
            this.show = true;
        },
        // ä¿®æ­£ onSelect æ–¹æ³•
        onSelect(item) {  // item æ˜¯é€‰ä¸­çš„对象(如 { name: "正常入库" })
            this.rkType = item.name;  // æå– name å­—段作为选中值
            this.show = false;
            console.log('选中的入库类型:', this.rkType);
        },
        getModel() {
            var that = this;
            that.isLoading = true;
@@ -70,7 +54,6 @@
                    var json = res;
                    if (json.status == 0) {
                        that.depotData = json.data.tbBillList;
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                    }
                    else {
@@ -104,22 +87,23 @@
                that.$playSound('error');
                return;
            }
            console.log('提交前 rkType çš„值:', this.rkType);  // ç¡®è®¤æ˜¯å¦ä¸ºå•个字符串
            console.log('提交前 rkType çš„类型:', typeof this.rkType);  // åº”输出 "string"
            that.isLoading = true;
            that.AxiosHttp("post", 'MesInvItemInCDetails/SaveBarCodes', {
                sectionCode: that.sectionCode,
                userName: that.userInfo.loginAccount,
                barcode: that.formData.barcode,
                cgrkType: this.rkType // ç›´æŽ¥ä½¿ç”¨ rkType,默认值或选中值
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        //that.formData.itemNo = json.data.tbBillList.itemNo;
                        //that.formData.sumQuantity = json.data.tbBillList.sumQuantity;
                        that.ItemDetail = json.data.tbBillList.itemInDetails;
                        //that.itemInsFormData = json.data.tbBillList.itemIns;
                        //that.itemTableData = json.data.tbBillList.itemInDetails;g
                        that.tableData = json.data.tbBillList.itemBarCDetails;
                        //that.barMessage = json.data.tbBillList.message;
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                        that.$notify({ type: 'success', message: json.message });
H5/Js/PurchaseReturn.js
@@ -55,7 +55,6 @@
                    var json = res;
                    if (json.status == 0) {
                        that.itemOutNoList = json.data.tbBillList;
                        that.$playSound('success');
                        that.itemOutNoStr = that.itemOutNoList.map(s => {
                            return { name: s.billNo }
                        });
@@ -134,7 +133,6 @@
                    if (json.status == 0) {
                        that.ItemDetail = json.data.tbBillList;
                        that.$refs.barcode.focus();
                        that.$playSound('success');
                    }
                    else {
                        that.$playSound('error');
@@ -170,6 +168,7 @@
                        //if (json.data.tbBillList) {
                        //    //this.ToErp();
                        //} else {
                        //}
                        that.scanFormData.quantity = json.data.tbBillList.barcodeNum
                        that.getItem();
@@ -243,19 +242,17 @@
                    var json = res;
                    if (json.status == 0) {
                        //  that.modeInfo = json.data.tbBillList;
                        that.getItem();
                        that.scanInfo.splitNum = null;
                        that.scanFormData.quantity = null;
                        that.scanFormData.barcode = null;
                        that.$notify({ type: 'success', message: json.message });
                        that.$playSound('success');
                       //kyy
                       //  that.sendMessage(json.data.tbBillList);
                        that.getItem();
                        //that.sendMessage(json.data.tbBillList);
                        that.sendPrintMessage(json.data.tbBillList);
                        that.$refs.barcode.focus();
                       //kyy
                       // that.getItem();
                    }
                    else {
                        that.$playSound('error');
H5/Js/QcPrint.js
@@ -135,7 +135,6 @@
                        that.depotsInfo = json.data.tbBillList.depotsInfo;
                        that.orgInfo = json.data.tbBillList.orgInfo;
                        that.orgID = json.data.tbBillList.fSubsidiary;
                        that.$playSound('success');
                        that.$refs.selectKey.focus();
                    }
                    else {
H5/Js/Qcrk.js
@@ -28,7 +28,6 @@
            if (!value) {
                this.$toast.fail("库位编码");
                that.$playSound('error');
                return;
            }
@@ -43,20 +42,17 @@
                        /*that.$notify({ type: 'success', message: json.data.tbBillList });*/
                        if (!that.barcode?.trim()) {
                            that.$refs.barcode.focus();
                            that.$playSound('succcess');
                        } else {
                            that.scanBarcode();
                        }
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    console.log(error);
                });
        },
@@ -76,13 +72,11 @@
                        that.num = res.data.tbBillList.quantity;
                        if (!that.depotNo?.trim()) { 
                            that.$refs.depotNo.focus();
                            that.$playSound('success');
                        } else {
                            that.scanBarcode();
                        }
                    }
                    else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        that.$refs.barcode.focus();
                        that.barcode = null;
@@ -91,7 +85,6 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!" + error.message);
                    that.$refs.barcode.focus();
                });
@@ -101,21 +94,18 @@
            var that = this;
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode?.trim()) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.depotNo?.trim()) {
                this.$toast.fail("仓库不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
@@ -129,7 +119,6 @@
                    var json = res;
                    if (json.status == 0) {
                        that.$notify({ type: 'success', message: json.data.tbBillList.message });
                        that.$playSound('success');
                        that.barcode = null;
                        that.num = null;
                        that.barInfo = [];
@@ -137,14 +126,12 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        }
H5/Js/Qtck.js
@@ -18,6 +18,8 @@
            show: false,
            actions: [],
            ItemDetail: [],
            splitNum: "",
            zdy: "",
        }
    },
    mounted() {
@@ -87,7 +89,10 @@
                    var json = res;
                    if (json.status == 0) {
                        that.ItemDetail = json.data.tbBillList;
                        that.zdy = json.data.tbBillList.allList[0].createNmae;
                        //that.ItemBlDetail = json.data.tbBillList;
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
                    else {
                        that.$toast.fail(json.message);
@@ -140,18 +145,23 @@
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.itemNo = json.data.form.itemNo;
                        that.num = json.data.form.num;
                        that.fnm = json.data.form.fum;
                        that.barcode = json.data.form.barcode;
                        that.ItemBlDetail = json.data.item
                        that.$notify({ type: 'success', message: json.data.message });
                        that.num = json.data.tbBillList.barcodeNum;
                        that.GetMesItemBlDetailByBillNo();
                        that.$refs.barcode.focus();
                        that.barcode = null;
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    }
                    else if (json.status == 2) {
                        that.$refs.splitNum.focus();
                        that.splitNum = json.data.tbBillList.splitNum;
                        that.num = json.data.tbBillList.barcodeNum;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        that.$refs.barcode.focus();
                        that.barcode = null;
                    }
                    that.isLoading = false;
                })
@@ -234,6 +244,82 @@
                    that.$playSound('error');
                    console.log(error);
                });
        }
        },
        getChaiFen() {
            //this.isPrinterPopupVisible = true; // æ˜¾ç¤ºå¼¹çª—
            if (this.isLoading) {
                return;
            }
            var that = this;
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.billNo) {
                this.$toast.fail("申请单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            //that.ip = "";
            //that.prot = "";
            //that.getPrintInfo();
            //if (that.ip.length <= 0 || that.prot.length <= 0) {
            //    alert(that.ip);
            //    alert(that.prot);
            //    return;
            //}
            that.isLoading = true;
            that.AxiosHttp("post", 'MesItemQt/ScanCodeCF', {
                userName: that.userInfo.loginAccount,
                barcode: that.barcode,
                billNo: that.billNo,
                Num: that.splitNum,
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        //  that.modeInfo = json.data.tbBillList;
                        that.splitNum = null;
                        that.num = null;
                        that.barcode = null;
                        that.$notify({ type: 'success', message: json.message });
                        that.$playSound('success');
                        that.GetMesItemBlDetailByBillNo();
                        //that.sendMessage(json.data.tbBillList);
                        that.sendPrintMessage(json.data.tbBillList);
                        that.$refs.barcode.focus();
                    }
                    else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
    }
})
H5/Js/Qtrk.js
@@ -18,6 +18,7 @@
            show: false,
            actions: [],
            ItemDetail: [],
            depotInfo:[],
        }
    },
    mounted() {
@@ -61,11 +62,6 @@
                    that.$playSound('error');
                    console.log(error);
                });
        },
        onClick(index, title) {
            this.$toast(`${index} ${title}`);
            this.$notify({ type: 'success', message: '某某物料扫码成功某某物料扫码成功某某物料扫码成功某某物料扫码成功' });
        },
        onSelect(item) {
            // é»˜è®¤æƒ…况下点击选项时不会自动收起
@@ -139,6 +135,7 @@
                    if (json.status == 0) {
                        //that.$notify({ type: 'success', message: json.data.tbBillList });
                        //that.$playSound('success');
                        that.depotInfo = json.data;
                        that.$refs.barcode.focus();
                    }
                    else {
H5/Js/Scbg.js
@@ -12,26 +12,21 @@
            stafId: "",
            stafName: "",
            stafList: [],
            BarcodesDetail: [],
            taskNo: "", //工单号
            itemNo: "", //物料编号
            planQty: "", //计划数量
            reportedQty: "", //已报工数量
            currentQty: "", //本次报工数量
            barcodeQty: "", //条码数量
            sjBillNo:"",//送检单号
            itemName: "", //物料名称
            itemModel: "", //物料型号
            load: false,
            active: 0,
            actions: [],//列表的值
            show: false,//列表展示
            billactive: 0,
            billactions: [],//列表的值
            billshow: false,//列表展示
            show: false,
            actions: [],
        }
    },
    mounted() {
@@ -51,45 +46,18 @@
                        return { name: item.staffName }
                    });
                    that.stafId = that.userInfo.loginAccount;
                    //that.stafId = '0305';
                    console.log('DAccccccccDAD' + that.stafId);
                    that.stafList = json.data.tbBillList;
                    //console.log('DAWDADWDADADADWD' + that.stafList);
                    //console.log('DAWDADWDA' + that.stafList);
                    //console.log('DADADAD' + that.stafId);
                    let staf = that.stafList.filter(it => String(it.staffNo) === String(that.stafId));
                    if (staf.length > 0) {
                        that.stafName = staf[0].staffName;
                        that.stafId = staf[0].staffNo;
                        that.$refs.barcode.focus();
                    } else {
                        that.$toast("未找到匹配的 ç”¨æˆ·åç§°");
                        that.$playSound('error');
                    }
                }
                else {
                    that.$toast.fail(json.message);
                    that.$playSound('error');
                }
                that.isLoading = false;
            })
            .catch(function (error) {
                that.isLoading = false;
                that.$playSound('error');
                that.$toast.fail("网络错误,请重试!");
                console.log(error);
            });
        // é»˜è®¤æƒ…况下点击选项时不会自动收起
        // å¯ä»¥é€šè¿‡ close-on-click-action å±žæ€§å¼€å¯è‡ªåŠ¨æ”¶èµ·
        //this.GetMesItemBlDetailByBillNo();
        //this.$toast(item.name);
    },
    methods: {
@@ -107,46 +75,11 @@
                        that.actions = json.data.tbBillList.map(item => {
                            return { name: item.staffName }
                        });
                        that.$playSound('success');
                        that.stafList = json.data.tbBillList;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
        selectBillNo() {
            this.billshow = true;
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesWorkProd/GetRksqSelect',
            {
                staffNo: that.stafId
                //name: that.userInfo.loginAccount,
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.billactions = json.data.result.rksqOrderList.map(item => {
                            return { name: item.billNo }
                        });
                        that.stafList = json.data.result.rksqOrderList;
                        that.$playSound('success');
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
@@ -179,24 +112,6 @@
            //this.$toast(item.name);
        },
        onBillSelect(item) {
            // é»˜è®¤æƒ…况下点击选项时不会自动收起
            // å¯ä»¥é€šè¿‡ close-on-click-action å±žæ€§å¼€å¯è‡ªåŠ¨æ”¶èµ·
            this.billshow = false;
            let staf = this.stafList.filter(it => it.billNo === item.name);
            if (staf.length > 0) {
                this.sjBillNo = staf[0].billNo;
                this.$refs.sjBillNo.focus();
            } else {
                this.$toast("未找到匹配的送检单号");
                that.$playSound('error');
            }
            //this.GetMesItemBlDetailByBillNo();
            //this.$toast(item.name);
        },
        getStaff() {
            var that = this;
@@ -212,28 +127,21 @@
                        });
                        that.stafList = json.data.tbBillList;
                        that.$playSound('success');
                        console.log('DAWDADWDADADADWD' + that.stafList);
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
            // é»˜è®¤æƒ…况下点击选项时不会自动收起
            // å¯ä»¥é€šè¿‡ close-on-click-action å±žæ€§å¼€å¯è‡ªåŠ¨æ”¶èµ·
            console.log('DAWDADWDA'+that.stafList);
            console.log('DADADAD'+ this.stafId);
            let staf = that.stafList.filter(it => String(it.staffNo) === String(that.stafId));
            let staf = that.stafList.filter(it => it.staffNo === that.stafId);
            if (staf.length > 0) {
                that.stafName = staf[0].staffName;
@@ -249,25 +157,22 @@
        getBarcode() {
            //this.barcode = value;
            //this.show = true;
            var that = this;
            
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                return;
            }
            if (!that.stafId) {
                that.$toast.fail("员工不允许为空");
                that.$playSound('error');
                return;
            }
@@ -290,19 +195,12 @@
                        that.barcodeQty = entity.barcodeQty; //条码数量
                        that.itemName = entity.itemName; //物料名称
                        that.itemModel = entity.itemModel; //物料型号
                        that.sjBillNo = entity.sjBillNo;
                        that.BarcodesDetail = entity.barcodesDetail;
                        console.log('DADWADWD WDD AD AD A');
                        console.log(entity.barcodesDetail);
                        console.log(that.BarcodesDetail);
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = null;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.barcode = null;
                    }
@@ -311,7 +209,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -324,53 +221,40 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.load = false;
                return;
            }
            //if (!that.barcode) {
            //    this.$toast.fail("条码不能为空");
            //    that.load = false;
            //    return;
            //}
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.load = false;
                return;
            }
            //if (!that.currentQty) {
            //    this.$toast.fail("报工数量不能为空");
            //    that.load = false;
            //    return;
            //}
            if (!that.currentQty) {
                this.$toast.fail("报工数量不能为空");
                that.load = false;
                return;
            }
            //if (that.currentQty <=0) {
            //    this.$toast.fail("报工数量需要大于零");
            //    that.load = false;
            //    return;
            //}
            if (!that.sjBillNo) {
                this.$toast.fail("送检单号不能为空");
                that.$playSound('error');
            if (that.currentQty <=0) {
                this.$toast.fail("报工数量需要大于零");
                that.load = false;
                return;
            }
            that.AxiosHttp("post", 'MesWorkProd/ScanWorkProd', {
                userNo: that.stafId,
                //itemBarcode: that.barcode,
                //quantity: that.currentQty
                sjBillNo: that.sjBillNo
                userNo: that.userInfo.loginAccount,
                itemBarcode: that.barcode,
                quantity: that.currentQty
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.$notify({ type: 'success', message: '送检成功' });
                        that.BarcodesDetail = [];
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: '保存成功' });
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                    that.load = false;
@@ -378,64 +262,8 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
        getBillNo() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesWorkProd/GetRksqList', {
                staffNo: that.stafId,
                sjBillNo: that.sjBillNo
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        let entity = json.data.result;
                        that.BarcodesDetail = entity.barcodesDetail;
                        console.log('DADWADWD WDD AD AD A');
                        console.log(entity.barcodesDetail);
                        console.log(that.BarcodesDetail);
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.$refs.sjBillNo.focus();
                        that.$playSound('success');
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$refs.sjBillNo.focus();
                        that.$playSound('error');
                        that.barcode = null;
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
            // é»˜è®¤æƒ…况下点击选项时不会自动收起
            // å¯ä»¥é€šè¿‡ close-on-click-action å±žæ€§å¼€å¯è‡ªåŠ¨æ”¶èµ·
            //console.log('DAWDADWDA' + that.stafList);
            //console.log('DADADAD' + this.stafId);
            //let staf = that.stafList.filter(it => String(it.staffNo) === String(that.stafId));
            //if (staf.length > 0) {
            //    that.stafName = staf[0].staffName;
            //    that.stafId = staf[0].staffNo;
            //    that.$refs.barcode.focus();
            //} else {
            //    that.$toast("未找到匹配的 ç”¨æˆ·åç§°");
            //}
            //this.GetMesItemBlDetailByBillNo();
            //this.$toast(item.name);
        }
    }
})
H5/Js/Scbl.js
@@ -16,10 +16,20 @@
            barcode: "",
            ItemBlDetail:[],
            modeInfo: [],
            queryInfo: { dateTime: "", lineNo: "", lineName: "" },
            active: 0,
            show: false,
            show1:false,
            actions: [],
            actions1: [],
            ItemDetail: [],
            minDate: new Date(new Date().getFullYear() - 1, 0, 1),  // è¿‡å޻䏀年
            maxDate: new Date(new Date().getFullYear() + 1, 11, 31), // æœªæ¥ä¸€å¹´
            showScDatePicker: false,
            tempDate: new Date(),
            showDatePicker: false,
            ItemBarKw: [],
            currentIndex: -1,
        }
    },
    mounted() {
@@ -32,16 +42,72 @@
        selectType = this.type == "bl" ? selectType = "生产补料" : selectType = "生产超领";
    },
    methods: {
        handleRowClick(item, index) {
            if (this.isLoading) {
                return;
            }
            // é‡ç½®æ‰€æœ‰è¡Œçš„选中状态
            this.currentIndex = -1;
            // è®¾ç½®å½“前选中行
            this.currentIndex = index;
            this.selItem = {
                itemid: item.itemId,
                index: index
            };
            console.log('当前选中项:', this.selItem); // è°ƒè¯•用
            this.GetBarKwByItem();
        },
        GetBarKwByItem() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/GetBarKwByItem', {
                itemId: that.selItem.itemid,
                userName: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.ItemBarKw = json.data.tbBillList;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.ItemBarKw = [];
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                    that.ItemBarKw = [];
                });
        },
        formatDate(date) {
            const d = new Date(date);
            console.log(d);
            return `${d.getFullYear()}-${(d.getMonth() + 1).toString().padStart(2, '0')}-${d.getDate().toString().padStart(2, '0')}`;
        },
        onDateConfirm(date) {
            this.queryInfo.dateTime = this.formatDate(date);
            this.showDatePicker = false;
        },
        getInfo() {
            this.show = true;
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesItemBl/GetSCBLBillNo', {
                type: selectType,
                dateTime: that.queryInfo.dateTime,
                lineNo: that.queryInfo.lineNo
            }, false)
                .then(function (res) {
                    var json = res;
@@ -56,14 +122,12 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -77,10 +141,15 @@
            //this.$toast(item.name);
        },
        onSelect1(actions1) {
            this.queryInfo.lineNo = actions1.lineNo;
            this.show1 = false;
            this.queryInfo.lineName = actions1.name;
        },
        GetMesItemBlDetailByBillNo() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesItemBl/GetMesItemWWBlDetailByBillNo', {
            that.AxiosHttp("post", 'MesItemBl/GetMesItemBlDetailByBillNo', {
                billNo: that.billNo,
                type: selectType
            }, false)
@@ -89,12 +158,14 @@
                    if (json.status == 0) {
                        that.ItemDetail = json.data.tbBillList;
                        that.daa001 = json.data.tbBillList.daa001;
                        console.log(json.data.tbBillList.daa001);
                        console.log(json.data.tbBillList.items);
                        that.$refs.barcode.focus();
                        that.$playSound('success');
                        that.currentIndex = -1;
                        that.ItemBarKw = [];
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.billNo.focus();
                        that.billNo = "";
                        that.daa001 = "";
@@ -105,12 +176,39 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    tthat.$refs.billNo.focus();
                    that.billNo = "";
                    that.daa001 = "";
                    that.ItemBlDetail = [];
                });
        },
        getLineInfo() {
            var that = this;
            that.show1 = true;
            that.actions = [];
            that.isLoading = true;
            that.AxiosHttp("post", 'MesItemBl/GetLineInfo', {
                selectLine: that.selectLine
            }, false)
                .then(function (res) {
                    var json = res;
                    console.log(json);
                    if (json.status == 0 && json.data.tbLineInfo.length > 0) {
                        that.actions1 = json.data.tbLineInfo.map(item => ({
                            name: item.lineName,
                            lineNo: item.lineNo
                        }));
                    } else {
                        that.$toast.fail("没有可用的数据");
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function () {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
        getBarcode() {
@@ -126,28 +224,24 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.billNo) {
                this.$toast.fail("补料单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.daa001) {
                this.$toast.fail("工单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
@@ -169,7 +263,6 @@
                        that.num = null;
                        //that.ItemBlDetail = json.data.tbBillList.item2
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.$playSound('success');
                        that.GetMesItemBlDetailByBillNo();
                        that.$refs.barcode.focus();
                        that.barcode = "";
@@ -178,14 +271,12 @@
                        
                    } else if (json.status == 2) {
                        that.$playSound('error');
                        that.$refs.splitNum.focus();
                        that.splitNum = json.data.cfNum;
                        that.num = json.data.num;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                        that.num = "";
@@ -195,7 +286,6 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    //console.log(error);
                    that.$refs.barcode.focus();
@@ -212,35 +302,30 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.billNo) {
                this.$toast.fail("补料单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.daa001) {
                this.$toast.fail("工单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.splitNum) {
                this.$toast.fail("发货数量不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
@@ -257,17 +342,19 @@
                    var json = res;
                    if (json.status == 0) {
                        that.ItemBlDetail = json.data.pendingList;
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                        that.num = "";
                        that.splitNum = "";
                        that.$notify({ type: 'success', message: json.message });
                        that.$playSound('success');
                        that.GetMesItemBlDetailByBillNo();
                        //that.sendMessage(json.data.tbBillList);
                        that.sendPrintMessage(json.data.tbBillList);
                        that.$refs.barcode.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                    }
                    that.isLoading = false;
@@ -275,7 +362,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    that.$refs.barcode.focus();
                    that.barcode = "";
H5/Js/Sccl.js
@@ -48,14 +48,12 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -77,7 +75,7 @@
        GetMesItemBlDetailByBillNo() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesItemBl/GetMesItemBlDetailByBillNo', {
            that.AxiosHttp("post", 'MesItemBl/GetMesItemBlDetailBySccBillNo', {
                billNo: that.billNo,
                type:"生产超领"
            }, false)
@@ -86,18 +84,15 @@
                    if (json.status == 0) {
                        that.ItemBlDetail = json.data.tbBillList.item;
                        that.daa001 = json.data.tbBillList.bl001;
                        that.$playSound('success');
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -110,39 +105,34 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.billNo) {
                this.$toast.fail("补料单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.daa001) {
                this.$toast.fail("工单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            that.AxiosHttp("post", 'MesItemBl/ScblScanBarcode', {
            that.AxiosHttp("post", 'MesItemBl/ScanBarcodeForOverPicking', {
                userName: that.userInfo.loginAccount,
                barcode: that.barcode,
                blNo: that.billNo,
                billNo: that.daa001,
                type: "生产超领"
                billNo: that.daa001
            }, false)
                .then(function (res) {
                    var json = res;
@@ -152,19 +142,16 @@
                        that.sms = json.data.tbBillList.item.fum;
                        that.num = json.data.tbBillList.item.num;
                        that.ItemBlDetail = json.data.tbBillList.pendingList
                        that.$playSound('error');
                        that.$notify({ type: 'success', message: '扫描成功' });
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -176,64 +163,55 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.billNo) {
                this.$toast.fail("补料单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.daa001) {
                this.$toast.fail("工单号不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.sms) {
                this.$toast.fail("发货数量不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            that.AxiosHttp("post", 'MesItemBl/SplitBarcode', {
            that.AxiosHttp("post", 'MesItemBl/PrintBarcodeForOverPicking', {
                userName: that.userInfo.loginAccount,
                barcode: that.barcode,
                blNo: that.billNo,
                billNo: that.daa001,
                num: that.sms,
                type: "生产超领"
                num: that.sms
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.ItemBlDetail = json.data.tbBillList.pendingList;
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: '扫描成功' });
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        }
H5/Js/Scll.js
@@ -24,6 +24,12 @@
            //    { printerId: 'Printer2', ipAddress: '192.168.1.2' },
            //    { printerId: 'Printer3', ipAddress: '192.168.1.3' }
            //], // æ‰“印机列表
            // å½“前选中行的索引
            currentIndex: -1,
            // å­˜å‚¨é€‰ä¸­è¡Œæ•°æ®å¯¹è±¡
            selItem: {} ,
            ItemBarKw: [],//当天行相关条码库位信息
            DaaInfo: {},
        }
    },
    mounted() {
@@ -34,6 +40,62 @@
        };
    },
    methods: {
        /**
         * å¤„理行点击事件(单选逻辑)
         * @param {Object} item å½“前行数据
         * @param {Number} index å½“前行索引
         */
        handleRowClick(item, index) {
            if (this.isLoading) {
                return;
            }
            // é‡ç½®æ‰€æœ‰è¡Œçš„选中状态
            this.currentIndex = -1;
            // è®¾ç½®å½“前选中行
            this.currentIndex = index;
            this.selItem = {
                itemid: item.fMaterialId,
                index: index
            };
            console.log('当前选中项:', this.selItem); // è°ƒè¯•用
            this.GetBarKwByItem();
        },
        GetBarKwByItem() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/GetBarKwByItem', {
                itemId: that.selItem.itemid,
                userName: that.userInfo.loginAccount
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.ItemBarKw = json.data.tbBillList;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.ItemBarKw = [];
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                    that.ItemBarKw = [];
                });
        },
        getModel() {
            var that = this;
            that.isLoading = true;
@@ -43,13 +105,15 @@
            }, false)
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        console.log(json)
                        that.ItemDetail = json.data.tbBillList;
                        that.DaaInfo = json.data.tbBillList.daaInfo;
                        that.modeInfo.planNo = json.data.tbBillList.planNo;
                        that.$playSound('success');
                        that.modeInfo.startTime = json.data.tbBillList.startTime;
                        that.$refs.barcode.focus();
                        // é‡ç½®æ‰€æœ‰è¡Œçš„选中状态
                        that.currentIndex = -1;
                        that.ItemBarKw = [];
                    }
                    else {
                        that.$toast.fail(json.message);
@@ -57,6 +121,7 @@
                        that.$refs.daa001.focus();
                        that.modeInfo.daa001 = "";
                        that.modeInfo.planNo = "";
                        that.modeInfo.startTime = "";
                        that.ItemDetail = [];
                    }
                    that.isLoading = false;
@@ -79,12 +144,10 @@
            var that = this;
            if (that.modeInfo.daa001.length <= 0) {
                that.$toast.fail("工单单号不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.scanInfo.barcode.length * 1 <= 0) {
                that.$toast.fail("物料条码不能为空!");
                that.$playSound('error');
                return;
            }
@@ -106,7 +169,6 @@
                    }
                    else if (json.status == 2) {
                        that.$refs.splitNum.focus();
                        that.$playSound('success');
                        that.scanInfo.splitNum = json.data.tbBillList.splitNum;
                        that.scanInfo.barcodeNum = json.data.tbBillList.barcodeNum;
                    }
@@ -135,17 +197,14 @@
            var that = this;
            if (that.modeInfo.daa001.length <= 0) {
                that.$toast.fail("工单单号不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.scanInfo.splitNum * 1 <= 0) {
                that.$toast.fail("拆分数量不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.scanInfo.barcode.length * 1 <= 0) {
                that.$toast.fail("物料条码不能为空!");
                that.$playSound('error');
                return;
            }
            //that.ip = "";
@@ -175,7 +234,7 @@
                        that.$notify({ type: 'success', message: json.message });
                        that.$playSound('success');
                        //that.sendMessage(json.data.tbBillList);
                        that.sendPrintMessage(json.data.tbBillList);
                        that.$refs.barcode.focus();
                        that.getModel();
@@ -194,43 +253,43 @@
        },
        sendMessage(tbBillList) {
            const cfDetails = tbBillList.cfBarInfo.map(item => {
                return "! 0 200 200 210 1\r\n" +
                    "PAGE - WIDTH 700 \r\n" +
                    "BOX 0 0 700 180 0 \r\n" +
                    `T 16 0 10 10 ç‰©æ–™ç¼–码:\r\n` +
                    `T 55 3 120 10 ${item.iteM_NO}\r\n` +
                    `T 16 0 310 10 ${item.item_name}\r\n` +
                    "T 55 2 10 42 ç‰©æ–™è§„格:\r\n" +
                    `T 55 2 110 42 ${item.item_model}\r\n` +
                    "T 16 0 10 78 æ•°é‡ï¼š\r\n" +
                    `T 0 5 90 78 ${item.quantity}\r\n` +
                    `T 16 5 180 78 ${item.barType}\r\n` +
                    `BARCODE 128 1 25 35 350 130 ${item.iteM_BARCODE}\r\n` +
                    `T 0 1 350 130 ${item.iteM_BARCODE}\r\n` +
                    "T 55 0 10 125 åˆ›å»ºæ—¶é—´ï¼š\r\n" +
                    `T 55 0 120 125 ${item.creatE_DATE}\r\n` +
                    "T 55 0 10 150 æ‰“印时间:\r\n" +
                    `T 55 0 120 150 ${item.print_date}\r\n` +
                    "B QR 580 12 M 2 U 4\r\n" +
                    `MA,${item.iteM_BARCODE}\r\n` +
                    "ENDQR\r\nFORM\r\nPRINT\r\n";
            });
            //alert(cfDetails);
            let sendData = {
                Type: 'Bar',
                Barcode: tbBillList.cfBarInfo[0].iteM_BARCODE,
                Detail: cfDetails,
                Ip: tbBillList.printInfo[0].ip,
                Port: tbBillList.printInfo[0].port,
            }
            console.log('sendMessage å¼€å§‹1:')
            console.log('sendMessage å¼€å§‹2:' + JSON.stringify(sendData))
            uni.webView.postMessage({
                data: JSON.stringify(sendData)
            })
        },
        //sendMessage(tbBillList) {
        //    const cfDetails = tbBillList.cfBarInfo.map(item => {
        //        return "! 0 200 200 210 1\r\n" +
        //            "PAGE - WIDTH 700 \r\n" +
        //            "BOX 0 0 700 180 0 \r\n" +
        //            `T 16 0 10 10 ç‰©æ–™ç¼–码:\r\n` +
        //            `T 55 3 120 10 ${item.iteM_NO}\r\n` +
        //            `T 16 0 310 10 ${item.item_name}\r\n` +
        //            "T 55 2 10 42 ç‰©æ–™è§„格:\r\n" +
        //            `T 55 2 110 42 ${item.item_model}\r\n` +
        //            "T 16 0 10 78 æ•°é‡ï¼š\r\n" +
        //            `T 0 5 90 78 ${item.quantity}\r\n` +
        //            `T 16 5 180 78 ${item.barType}\r\n` +
        //            `BARCODE 128 1 25 35 350 130 ${item.iteM_BARCODE}\r\n` +
        //            `T 0 1 350 130 ${item.iteM_BARCODE}\r\n` +
        //            "T 55 0 10 125 åˆ›å»ºæ—¶é—´ï¼š\r\n" +
        //            `T 55 0 120 125 ${item.creatE_DATE}\r\n` +
        //            "T 55 0 10 150 æ‰“印时间:\r\n" +
        //            `T 55 0 120 150 ${item.print_date}\r\n` +
        //            "B QR 580 12 M 2 U 4\r\n" +
        //            `MA,${item.iteM_BARCODE}\r\n` +
        //            "ENDQR\r\nFORM\r\nPRINT\r\n";
        //    });
        //    //alert(cfDetails);
        //    let sendData = {
        //        Type: 'Bar',
        //        Barcode: tbBillList.cfBarInfo[0].iteM_BARCODE,
        //        Detail: cfDetails,
        //        Ip: tbBillList.printInfo[0].ip,
        //        Port: tbBillList.printInfo[0].port,
        //    }
        //    console.log('sendMessage å¼€å§‹1:')
        //    console.log('sendMessage å¼€å§‹2:' + JSON.stringify(sendData))
        //    uni.webView.postMessage({
        //        data: JSON.stringify(sendData)
        //    })
        //},
        //getPrintInfo() {
        //    var that = this;
@@ -323,8 +382,8 @@
                            that.itemInfo = json.data.tbBillList;
                            that.actions = json.data.tbBillList.map(item => {
                                return {
                                    name: item.daaInfo  // æ‹¼æŽ¥å­—段
                                    name: item.daaInfo,  // æ‹¼æŽ¥å­—段
                                    subname: item.startTime
                                };
                            });
                        }
H5/Js/Sctl.js
@@ -50,14 +50,12 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -84,14 +82,12 @@
                    var json = res;
                    if (json.status == 0) {
                        that.ItemDetail = json.data.tbBillList;
                        that.$refs.sectionCode.focus();
                        that.$playSound('success');
                        //that.$refs.sectionCode.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.billNo.focus();
                        that.ItemDetail = null;
                        that.ItemDetail = [];
                        that.billNo = null;
                    }
                    that.isLoading = false;
@@ -99,9 +95,8 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.billNo.focus();
                    that.ItemDetail = null;
                    that.ItemDetail = [];
                    that.billNo = null;
                    console.log(error);
                });
@@ -120,12 +115,10 @@
                    var json = res;
                    if (json.status == 0) {
                        that.depot = json.data.tbBillList;
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.sectionCode.focus();
                        that.depotSectionCode = null;
                    }
@@ -134,7 +127,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.sectionCode.focus();
                    that.depotSectionCode = null;
                    console.log(error);
@@ -149,7 +141,6 @@
            if (!that.billNo) {
                this.$toast.fail("申请单号不能为空");
                that.$playSound('error');
                that.$refs.billNo.focus();
                that.isLoading = false;
                return;
@@ -157,7 +148,6 @@
            if (!that.depotSectionCode) {
                this.$toast.fail("库位编号不能为空");
                that.$playSound('error');
                that.$refs.sectionCode.focus();
                that.depotSectionCode = null;
                that.isLoading = false;
@@ -166,7 +156,6 @@
            if (!that.barcode) {
                this.$toast.fail("条码编号不能为空");
                that.$playSound('error');
                that.$refs.barcode.focus();
                that.barcode = null;
                that.isLoading = false;
@@ -175,7 +164,6 @@
            
            if (!that.userInfo.loginAccount) {
                this.$toast.fail(json.message);
                that.$playSound('error');
                return;
            }
@@ -191,19 +179,23 @@
                        that.itemNo = json.data.tbBillList.itemNo;
                        that.sms = json.data.tbBillList.num;
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.getMesItemTblDetailByBillNo();
                        that.$refs.barcode.focus();
                        that.barcode = null;
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.barcode = null;
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.barcode.focus();
                    that.barcode = null;
                    console.log(error);
                });
        },
H5/Js/UserLogin.js
@@ -11,13 +11,14 @@
    },
    mounted() {
        var that = this;
        if (typeof (Cookies.get('loginAccount')) == "undefined") { }
        if (typeof (Cookies.get('loginAccount')) == "undefined") {
        }
        else {
            that.phone = Cookies.get('loginAccount');
          //  that.passwd = Cookies.get('passwd');
            //that.passwd = Cookies.get('passwd');
        }
       // that.phone = "admin";
      //  that.passwd = "123456";
        //that.phone = "admin";
        //that.passwd = "123456";
    },
    methods: {
        onSubmit(name) {
@@ -37,9 +38,17 @@
                        var _userGuid = json.data.tbBillList.guid;
                        var _userAccount = json.data.tbBillList.account;
                        var _userName = json.data.tbBillList.userName;
                        var _orgId = json.data.tbBillList.orgId;
                        var _orgNo = json.data.tbBillList.orgNo;
                        var _orgName = json.data.tbBillList.orgName;
                        Cookies.set('loginGuid', _userGuid);
                        Cookies.set('loginAccount', _userAccount);
                        Cookies.set('loginName', _userName);
                        Cookies.set('orgId', _orgId);
                        Cookies.set('orgNo', _orgNo);
                        Cookies.set('orgName', _orgName);
                        console.log(json.data.tbBillList);
                        console.log(Cookies);
                        window.location.href = ("/H5/Default.aspx?userGuid=" + _userGuid + "&userAccount=" + _userAccount);
                    }
                    else {
H5/Js/Xcsl.js
@@ -23,6 +23,7 @@
            selectKey: "",//查询关键字
            actions: [],//列表的值
            show: false,//列表展示
            DaaInfo: {  },
        }
    },
@@ -39,6 +40,7 @@
            if (!that.DAA001 || that.DAA001.length <= 0) {
                that.$toast.fail("工单单号不能为空!");
                that.$playSound('error');
                that.$refs.DAA001.focus();
                return;
            }
@@ -50,8 +52,9 @@
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.DAANum = json.data.tbBillList.gD_Num;
                        that.DAA021 = json.data.tbBillList.workNo;
                        //that.DAANum = json.data.tbBillList.gD_Num;
                        //that.DAA021 = json.data.tbBillList.workNo;
                        that.DaaInfo = json.data.tbBillList.daaInfoList[0];
                        that.xcslItemList = json.data.tbBillList.xcslItemList;
                        that.xcslWjsBarList = json.data.tbBillList.xcslWjsBarList;
                        that.xcslYjsBarList = json.data.tbBillList.xcslYjsBarList;
@@ -59,6 +62,7 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.DAA001.focus();
                        that.DAA001 = "";
                    }
@@ -67,6 +71,7 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
        ScanXcsl() {
@@ -78,6 +83,7 @@
            var that = this;
            if (!that.Bar ||that.Bar.length <= 0) {
                that.$toast.fail("物料条码不能为空!");
                that.$playSound('error');
                that.$refs.Bar.focus();
                return;
            }
@@ -85,6 +91,7 @@
            if (!that.DAA001 ||that.DAA001.length <= 0) {
                that.$toast.fail("工单单号不能为空!");
                that.$playSound('error');
                that.$refs.DAA001.focus();
                return;
            }
@@ -100,10 +107,12 @@
                    if (json.status == 0) {
                        // that.scanInfo = json.data.tbBillList;
                        that.$notify({ type: 'success', message: json.message });
                        that.$playSound('success');
                        that.GetItemsXcsl();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                    that.$refs.Bar.focus();
@@ -112,6 +121,7 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                });
        },
        //获取工单信息
@@ -122,6 +132,7 @@
            that.isLoading = true;
            that.AxiosHttp("post", 'Womdaa/GetXcslDaa', {
                selectKey: that.selectKey,
                selDaaType: "1",
            }, false)
                .then(function (res) {
                    var json = res;
@@ -134,7 +145,8 @@
                            that.itemInfo = json.data.tbBillList;
                            that.actions = json.data.tbBillList.map(item => {
                                return {
                                    name: item.daaInfo  // æ‹¼æŽ¥å­—段
                                    name: item.daaInfo,  // æ‹¼æŽ¥å­—段
                                    subname: item.startTime
                                };
                            });
@@ -167,6 +179,7 @@
                console.log('提取的DAA001:', this.DAA001);
            } else {
                this.$toast.fail('工单号格式异常');
                that.$playSound('error');
                this.DAA001 = '';
            }
            this.GetItemsXcsl();
H5/Js/Xsck.js
@@ -29,8 +29,8 @@
        };
    },
    methods: {
        //获取发货通知单号
        getInfo() {
            this.show = true;
            var that = this;
            that.isLoading = true
@@ -47,11 +47,11 @@
                            that.actions = json.data.tbBillList.map(item => {
                                return { name: item }
                            });
                        }
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.show = false;
                    }
                    that.isLoading = false;
                })
@@ -67,6 +67,7 @@
        //    this.$notify({ type: 'success', message: '某某物料扫码成功某某物料扫码成功某某物料扫码成功某某物料扫码成功' });
        //},
        //点击事件
        onSelect(item) {
            // é»˜è®¤æƒ…况下点击选项时不会自动收起
            // å¯ä»¥é€šè¿‡ close-on-click-action å±žæ€§å¼€å¯è‡ªåŠ¨æ”¶èµ·
@@ -77,6 +78,7 @@
            //this.$toast(item.name);
        },
        //根据发货通知单号获取明细
        GetMesItemDetailByBillNo() {
            var that = this;
            that.isLoading = true;
@@ -110,6 +112,7 @@
                    that.ItemBlDetail = [];
                });
        },
        //扫码
        getBarcode() {
            //this.barcode = value;
@@ -155,7 +158,6 @@
                        that.barcode = null;
                        that.sms = null;
                        that.num = null;
                        //that.ItemBlDetail = json.data.tbBillList.item2
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.GetMesItemDetailByBillNo();
                        that.$refs.barcode.focus();
@@ -188,6 +190,7 @@
                    that.splitNum = "";
                });
        },
        //条码拆分
        tmcf() {
            //this.show = true;
H5/Js/cprk.js
@@ -55,7 +55,6 @@
                        if (that.formData.barcode == "" || that.formData.barcode == null) {
                            that.$refs.barcode.focus();
                            that.$playSound('success');
                            that.isLoading = false;
                        } else {
                            that.getScan();
@@ -63,7 +62,6 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.formData.sectionCode = null;
                        that.$refs.sectionCode.focus();
                        that.isLoading = false;
@@ -74,7 +72,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                    that.formData.sectionCode = null;
                    that.$refs.sectionCode.focus();
@@ -100,7 +97,6 @@
                        //that.formData.sumQuantity = json.data.tbMesItems.quantity;
                        if (that.formData.sectionCode == "" || that.formData.sectionCode == null) {
                            that.$refs.sectionCode.focus();
                            that.$playSound('sucess');
                            that.isLoading = false;
                        } else {
                            that.getScan();
@@ -108,7 +104,6 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                        that.isLoading = false;
@@ -117,7 +112,6 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    console.log(error);
                    that.$refs.barcode.focus();
@@ -128,12 +122,10 @@
            if (that.formData.sectionCode.length * 1 <= 0) {
                that.$toast.fail("库位编码不能为空!");
                that.$playSound('error');
                return;
            }
            if (that.formData.barcode.length * 1 <= 0) {
                that.$toast.fail("物料条码不能为空!");
                that.$playSound('error');
                return;
            }
            that.isLoading = true;
@@ -149,11 +141,9 @@
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
                        that.formData.cfNum = null;
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: json.message });
                    }
                    else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        that.$refs.barcode.focus();
                        that.formData.barcode = null;
@@ -162,7 +152,6 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    console.log(error);
                });
@@ -210,7 +199,6 @@
            this.Message = "";
            if (this.tableData.length == 0) {
                this.Message = "条码为空,无法推送ERP";
                that.$playSound('error');
                return;
            }
            let userName = this.$loginInfo.account;
@@ -249,7 +237,6 @@
                    this.messageCenter.dealWith = 0;
                    this.messageCenter.status = 1;
                    this.messageCenter.resultData = res.msg;
                    that.$playSound('success');
                    this.updateMessage(this.messageCenter);
                }
            });
@@ -265,10 +252,8 @@
            }).then(res => {
                if (res.data.tbBillList) {
                    this.Message += "  å®¡æ ¸æˆåŠŸï¼";
                    that.$playSound('success');
                } else {
                    this.Message += " å®¡æ ¸å¤±è´¥ï¼š";
                    that.$playSound('error');
                }
                let entity = {
H5/Kwbg.aspx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,145 @@
<%@ Page Title="库位变更" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Kwbg.aspx.cs" Inherits="H5_Scll" %>
<%--
  é¡µé¢æŒ‡ä»¤ï¼š
  - Title: é¡µé¢æ ‡é¢˜ä¸º"库位变更"
  - Language: ä½¿ç”¨C#作为服务器端语言
  - MasterPageFile: ä½¿ç”¨Mst.master作为母版页
  - AutoEventWireup: è®¾ç½®ä¸ºtrue,允许自动连接页面事件
  - CodeFile: åŽå°ä»£ç æ–‡ä»¶ä¸ºKwbg.aspx.cs
  - Inherits: ç»§æ‰¿è‡ªH5_Scllç±»
--%>
<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">
    <%-- ä¸»ä½“内容区域 --%>
    <%-- Vant UI导航栏组件 --%>
    <van-nav-bar
  title="库位变更" <%-- å¯¼èˆªæ æ ‡é¢˜ --%>
  left-text="返回" <%-- å·¦ä¾§è¿”回按钮文本 --%>
  left-arrow <%-- æ˜¾ç¤ºå·¦ä¾§ç®­å¤´å›¾æ ‡ --%>
  @click-left="GoBack()" <%-- ç‚¹å‡»å·¦ä¾§æŒ‰é’®æ—¶è°ƒç”¨GoBack方法 --%>
></van-nav-bar>
    <%-- è¡¨å•区域 --%>
    <div class="mySolid">
        <van-cell-group> <%-- Vant UI单元格组组件 --%>
            <%-- ç‰©æ–™æ¡ç è¾“入框 --%>
            <van-field
               ref="barcode" <%-- Vue引用标识 --%>
               v-model="formData.barcode" <%-- åŒå‘数据绑定到formData.barcode --%>
               label="物料条码" <%-- å­—段标签 --%>
               clearable  <%-- å¯æ¸…空内容 --%>
               placeholder="请扫码" <%-- å ä½ç¬¦æ–‡æœ¬ --%>
               :right-icon-size="19" <%-- å³ä¾§å›¾æ ‡å¤§å° --%>
               v-focus.noKeyboard <%-- è‡ªå®šä¹‰æŒ‡ä»¤ï¼Œè‡ªåŠ¨èšç„¦ä¸”ä¸æ˜¾ç¤ºé”®ç›˜ --%>
               @keyup.enter.native="getScan" <%-- ç›‘听回车键事件,触发getScan方法 --%>
               <%-- @change="getScan" å·²æ³¨é‡Šçš„变更事件 --%>
            ></van-field>
            <%-- ç‰©æ–™ç¼–码显示字段(只读) --%>
            <van-field
               v-model="kwInfo.iteM_NO" <%-- åŒå‘数据绑定到formData.itemNo --%>
               label="物料编码" <%-- å­—段标签 --%>
               placeholder="" <%-- ç©ºå ä½ç¬¦ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <%-- ç‰©æ–™åç§°æ˜¾ç¤ºå­—段(只读) --%>
            <van-field
               v-model="kwInfo.item_name" <%-- åŒå‘数据绑定到formData.itemName --%>
               label="物料名称" <%-- å­—段标签 --%>
               placeholder="" <%-- ç©ºå ä½ç¬¦ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <%-- ç‰©æ–™è§„格显示字段(只读) --%>
            <van-field
               v-model="kwInfo.item_model" <%-- åŒå‘数据绑定到formData.itemModel --%>
               label="物料规格" <%-- å­—段标签 --%>
               placeholder="" <%-- ç©ºå ä½ç¬¦ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <%-- æ¡ç æ•°é‡æ˜¾ç¤ºå­—段(只读) --%>
            <van-field
               v-model="kwInfo.quantity" <%-- åŒå‘数据绑定到formData.sumQuantity --%>
               label="条码数量" <%-- å­—段标签 --%>
               placeholder="条码数量" <%-- å ä½ç¬¦æ–‡æœ¬ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <%-- ä»“库ID显示字段(只读) --%>
            <van-field
               v-model="kwInfo.depot_id" <%-- åŒå‘数据绑定到formData.DepotId --%>
               label="仓库ID" <%-- å­—段标签 --%>
               placeholder="" <%-- ç©ºå ä½ç¬¦ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <%-- ä»“库编码显示字段(只读) --%>
            <van-field
               v-model="kwInfo.depot_code" <%-- åŒå‘数据绑定到formData.DepotCode --%>
               label="仓库编码" <%-- å­—段标签 --%>
               placeholder="" <%-- ç©ºå ä½ç¬¦ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <%-- ä»“库名称显示字段(只读) --%>
            <van-field
               v-model="kwInfo.depot_name" <%-- åŒå‘数据绑定到formData.depotName --%>
               label="仓库名称" <%-- å­—段标签 --%>
               placeholder="" <%-- ç©ºå ä½ç¬¦ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <%-- ä»“库库位显示字段(只读) --%>
            <van-field
               v-model="kwInfo.depoT_SECTIONS_CODE" <%-- åŒå‘数据绑定到formData.depotSectionsCode --%>
               label="仓库库位" <%-- å­—段标签 --%>
               placeholder="" <%-- ç©ºå ä½ç¬¦ --%>
               disabled <%-- ç¦ç”¨è¾“å…¥ --%>
            ></van-field>
            <van-field
              ref="kwbg"
              v-model="formData.kwbg"
              label="库位变更"
              clearable
              placeholder="请输入变更库位"
<%--              @input="handleNumberInput3"--%>
              :right-icon-size="19"
              v-focus.noKeyboard
             ></van-field>
        </van-cell-group>
    </div>
    <%-- ç¡®è®¤å˜æ›´æŒ‰é’® --%>
    <van-button type="primary" @click="getBianGeng">确认变更</van-button>
    <%-- å·²æ³¨é‡Šçš„审核按钮 --%>
    <%--<van-button type="primary" @click="ToErp" >审核</van-button>--%>
    <%-- å·²æ³¨é‡Šçš„æ¸…除库位编码按钮 --%>
    <%--<van-button type="primary" @click="cleraCode" >清除库位编码</van-button>--%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <%-- åŠ è½½çŠ¶æ€æ˜¾ç¤ºåŒºåŸŸ --%>
    <comloading v-if="isLoading"></comloading> <%-- å½“isLoading为true时显示加载组件 --%>
    <%-- å·²æ³¨é‡Šçš„返回组件 --%>
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <%-- JavaScript资源引入 --%>
    <script src="Js/Kwbg.js?<%=121120 %>"></script> <%-- å¼•å…¥BarBG.js文件,带版本参数防止缓存 --%>
</asp:Content>
H5/Kwbg.aspx.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class H5_Scll : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
H5/Kwcx.aspx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,148 @@
<%@ Page Title="库位查询" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Kwcx.aspx.cs" Inherits="H5_Kwcx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</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>
    <div class="content-wrapper">
        <van-nav-bar
            title="库位查询"
            left-text="返回"
            left-arrow
            @click-left="GoBack()">
        </van-nav-bar>
        <van-tabs color="#000" title-active-color="#0283EF">
            <!-- åº“位物料 -->
            <van-tab title="库位物料" class="mySolid font">
                <van-cell-group>
                    <van-field
                        v-model="modeInfo.deptSectionCode"
                        label="库位"
                        clearable
                        placeholder="请扫码"
                        @keyup.enter.native="getBarInfoListModel">
                        <template #extra>
                            <span style="margin-right:8px">在库</span>
                            <van-checkbox
                                v-model="zkChecked"
                                shape="round"
                                icon-size="18px"
                                @change="getBarInfoListModel"></van-checkbox>
                        </template>
                    </van-field>
                    <van-field
                        v-model="modeInfo.rkDate"
                        label="入库日期"
                        clearable
                        placeholder="请选择日期"
                        readonly
                        @click="showDatePicker = true">
                    </van-field>
                    <van-popup v-model="showDatePicker" position="bottom">
                        <van-datetime-picker
                            type="date"
                            v-model="tempDate"
                            @confirm="onDateConfirm"
                            @cancel="showDatePicker = false" />
                    </van-popup>
                </van-cell-group>
                <van-row>
                    <van-col span="6" class="text-left padding-left">物料编码</van-col>
                    <van-col span="8" class="text-left padding-left">物料名称</van-col>
                    <van-col span="7">条码</van-col>
                    <van-col span="3">数量</van-col>
                </van-row>
                <van-row v-for="(itm,index) in barInfoList" :key="index">
                    <van-col span="6" class="text-left padding-left">{{itm.itemNo}}</van-col>
                    <van-col span="8" class="text-left padding-left">{{itm.itemName}}</van-col>
                    <van-col span="7" class="blue-text">{{itm.itemBar}}</van-col>
                    <van-col span="3">{{itm.quantity}}</van-col>
                </van-row>
            </van-tab>
            <!-- ç©ºåº“位 -->
            <van-tab title="空库位" class="mySolid font">
                <van-cell-group>
                    <van-field
                        v-model="selectKW"
                        label="仓库查询"
                        clearable
                        placeholder="请选择仓库">
                        <template #button>
                            <van-button size="small" type="info" plain @click="getKWInfo">选择</van-button>
                        </template>
                    </van-field>
                </van-cell-group>
                <van-row>
                    <van-col span="6" class="text-left padding-left">库位编码</van-col>
                    <van-col span="18" class="text-left padding-left">库位名称</van-col>
                </van-row>
                <van-row v-for="(itm,index) in tbKWInfo" :key="index">
                    <van-col span="6" class="text-left padding-left">{{itm.code}}</van-col>
                    <van-col span="18" class="text-left padding-left">{{itm.name}}</van-col>
                </van-row>
            </van-tab>
            <!-- æ¡ç æŸ¥è¯¢ -->
            <van-tab title="条码查询" class="mySolid font">
                <van-cell-group>
                    <van-field v-model="scanInfo.barcode" label="条码" clearable placeholder="请扫码" @keyup.enter.native="getScan"></van-field>
                    <van-field v-model="scanInfo.barcode" label="物料条码" readonly></van-field>
                    <van-field v-model="scanInfo.itemNo" label="物料编码" readonly></van-field>
                    <van-field v-model="scanInfo.itemName" label="物料名称" readonly></van-field>
                    <van-field v-model="scanInfo.itemModel" label="规格" readonly></van-field>
                    <van-field v-model="scanInfo.depotCode" label="仓库编号" readonly></van-field>
                    <van-field v-model="scanInfo.depotName" label="仓库名称" readonly></van-field>
                    <van-field v-model="scanInfo.sectionCode" label="储位编号" readonly></van-field>
                    <van-field v-model="scanInfo.sectionName" label="储位名称" readonly></van-field>
                    <van-field v-model="scanInfo.oldqty" label="初始数量" readonly></van-field>
                    <van-field v-model="scanInfo.quantity" label="库存数量" readonly></van-field>
                </van-cell-group>
            </van-tab>
            <!-- ç¼–码查询 -->
            <van-tab title="编码查询" class="mySolid font">
                <van-cell-group>
                    <van-field
                        v-model="itemNo.barCode"
                        label="物料条码"
                        clearable
                        placeholder="请扫描物料条码"
                        @keyup.enter.native="getItemInfoListModel">
                    </van-field>
                    <van-field
                        v-model="itemNo.itemNo"
                        label="物料编码"
                        clearable
                        placeholder="请输入物料编码"
                        @keyup.enter.native="getItemInfoListModel">
                    </van-field>
                </van-cell-group>
                <van-row>
                    <van-col span="10" class="text-left padding-left">物料编码</van-col>
                    <van-col span="8" class="text-left padding-left">库位</van-col>
                    <van-col span="6" class="text-left padding-left">数量</van-col>
                </van-row>
                <van-row v-for="(itm,index) in tbItemInfo" :key="index">
                    <van-col span="10" class="text-left padding-left">{{itm.itemNo}}</van-col>
                    <van-col span="8" class="text-left padding-left">{{itm.sectionCode}}</van-col>
                    <van-col span="6" class="text-left padding-left">{{itm.quantity}}</van-col>
                </van-row>
            </van-tab>
        </van-tabs>
        <van-action-sheet v-model="show" :actions="actions" @select="onSelect"></van-action-sheet>
    </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/Kwcx.js?<%=12366151 %>"></script>
</asp:Content>
H5/Kwcx.aspx.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class H5_Kwcx : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
H5/LLJ/Add.aspx
@@ -388,5 +388,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="../Js/LLJ/Add.js?<%=119997118%>"></script>
 <script src="../Js/LLJ/Add.js?<%=119997116 %>"></script>
</asp:Content>
H5/LLJ/List.aspx
@@ -17,89 +17,6 @@
                text-align: left;
            }
            /* å®¡æ ¸çŠ¶æ€æ¤­åœ†çº¿ä½“æ ·å¼ */
            .audit-stamp {
                position: absolute;
                top: 6px;
                right: 6px;
                width: 80px;
                height: 28px;
                border-radius: 14px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 10px;
                font-weight: 500;
                text-align: center;
                z-index: 10;
                border: 1.5px solid;
                backdrop-filter: blur(8px);
                -webkit-backdrop-filter: blur(8px);
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
                transform: rotate(-8deg);
                letter-spacing: 1px;
                transition: all 0.3s ease;
            }
            .audit-stamp--approved {
                background: rgba(82, 196, 26, 0.12);
                border-color: rgba(82, 196, 26, 0.5);
                color: #52c41a;
                animation: stamp-approved 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            }
            .audit-stamp--pending {
                background: rgba(255, 159, 67, 0.12);
                border-color: rgba(255, 159, 67, 0.5);
                color: #ff9f43;
                animation: stamp-pending 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            }
            .audit-stamp:hover {
                transform: rotate(-8deg) scale(1.05);
                box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
            }
            @keyframes stamp-approved {
                0% {
                    transform: rotate(-8deg) scale(0) translateX(30px);
                    opacity: 0;
                    filter: blur(3px);
                }
                70% {
                    transform: rotate(-8deg) scale(1.1) translateX(-3px);
                    opacity: 0.8;
                    filter: blur(0.5px);
                }
                100% {
                    transform: rotate(-8deg) scale(1) translateX(0);
                    opacity: 1;
                    filter: blur(0);
                }
            }
            @keyframes stamp-pending {
                0% {
                    transform: rotate(-8deg) scale(0) translateX(30px);
                    opacity: 0;
                    filter: blur(3px);
                }
                70% {
                    transform: rotate(-8deg) scale(1.1) translateX(-3px);
                    opacity: 0.8;
                    filter: blur(0.5px);
                }
                100% {
                    transform: rotate(-8deg) scale(1) translateX(0);
                    opacity: 1;
                    filter: blur(0);
                }
            }
            .van-cell-group {
                position: relative;
            }
            </style>
</asp:Content>
@@ -133,13 +50,6 @@
                        <van-cell v-for="item in data" :key="item">
                          <div>
                             <van-cell-group>
                               <!-- å®¡æ ¸çŠ¶æ€ç›–ç«  -->
                               <div v-if="item.fsubmit == 1" class="audit-stamp audit-stamp--approved">
                                 å·²å®¡æ ¸
                               </div>
                               <div v-else-if="!item.fsubmit || item.fsubmit == 0" class="audit-stamp audit-stamp--pending">
                                 æœªå®¡æ ¸
                               </div>
                               <van-cell :title="item.releaseNo" is-link :url="'Add.aspx?id='+item.guid+'&lotNo='+item.lotNo+'&releaseNo='+item.releaseNo" ></van-cell>
                               <van-field label="到货单号" colon="true" v-model="item.lotNo" readonly ></van-field>
                                 <!-- è‡ªå®šä¹‰å­—段用于显示两个标识 -->
@@ -223,5 +133,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="../Js/LLJ/List.js?<%=117 %>"></script>
 <script src="../Js/LLJ/List.js?<%=116 %>"></script>
</asp:Content>
H5/My.aspx
@@ -4,6 +4,7 @@
    <style>
    .van-field__control {
            text-align:right !important;
            color: #0283EF;
        }
    </style>
</asp:Content>
@@ -21,37 +22,55 @@
</dl>
</div>
   <van-cell-group>
<%--        <van-field
        <%--<van-field
   readonly
   is-link
   v-model="cardType"
   label="切换组织"
   placeholder="祈禧股份"
   @click="goOrg"
></van-field>
        <van-field
   readonly
   is-link
   v-model="cardType"
   label="消息中心"
   placeholder="15条"
   @click="goMsg()"
 ></van-field>--%>
>
  <van-field readonly
        </van-field>--%>
<%--        <van-field
   readonly
   is-link
   v-model="cardType"
   label="打印配置"
   placeholder=""
   @click="goMsg()"
 ></van-field>--%>
<van-field
    label="当前组织"
    :value="Cookies.get('orgName') || '暂无组织信息'"
    readonly
    input-align="center"
    class="org-field bold-center"
    :style="{
        fontWeight: '700'
    }"
></van-field>
         <van-field
    readonly
    is-link
    v-model="cardType"
    label="切换组织"
    placeholder=""
    @click="changeOrg"
 ></van-field>
  <van-field readonly
  <van-field
    readonly
    is-link
    v-model="cardType"
    label="退出"
    placeholder=""
    @click="goOut"
 ></van-field>
               <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
</van-cell-group>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
@@ -59,6 +78,6 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
     <script src="Js/comWebNav.js"></script>
    <script src="Js/My.js?<%=123457 %>"></script>
    <script src="Js/My.js?<%=123455 %>"></script>
</asp:Content>
H5/Nxhd.aspx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,159 @@

<%@ Page Title="内箱核对" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="Nxhd.aspx.cs" Inherits="H5_Nxhd" %>
<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; /* ç»§æ‰¿çˆ¶çº§æ–‡å­—颜色 */
    }
</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="ZsBar"
                    v-model="ZsBar"
                    label="后盖条码"
                    clearable
                    placeholder="请扫后盖条码"
                    :right-icon-size="19"
                    v-focus.noKeyboard
                    @keyup.enter.native="getHgBarInfo"
                    autofocus="true">
                </van-field>
                <van-field
                    v-model="UserName"
                    label="作业人员"
                    clearable
                    :right-icon-size="19"
                    placeholder=""
                    readonly >
                </van-field>
                <van-field
                    ref="barcode"
                    v-model="ZsBarInfo.lineName"
                    label="产线"
                    clearable
                    placeholder="产线名称"
                    :right-icon-size="19"
                    readonly >
                </van-field>
                <van-field
                    ref="LsBar"
                    v-model="LsBar"
                    label="箱条码"
                    placeholder="请扫箱条码"
                   @keyup.enter.native="ScanNxhd"
                    autofocus="true">
                </van-field>
<%--                <div class="si-status-group">
                  <div class="si-status-box si-status--ok">
                    <div class="si-status__left">
                      <span class="si-status__label">总数</span>
                    </div>
                    <div  class="si-status__right">{{ZsBarInfo.sumQty}}</div>
                  </div>
                  <div class="si-status-box si-status--error">
                    <div class="si-status__left">
                      <span class="si-status__label">完成数</span>
                    </div>
                    <div class="si-status__right">{{ZsBarInfo.finQty}}</div>
                  </div>--%>
<%--                    <van-button
                        slot="button"
                        type="info"
                        size="small"
                        @click="productBinding">
                        æäº¤
                    </van-button>--%>
                </div>
            </van-cell-group>
        </div>
        <van-tabs color="#000" title-active-color="#0283EF">
            <van-tab title="产品信息" class="mySolid font">
                <van-cell-group >
                  <van-field label="指令单号" colon="true" v-model="ZsBarInfo.daa001" readonly style="background: #ffa53b"></van-field>
                  <van-field label="条码数量" colon="true" v-model="ZsBarInfo.barQty" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="追溯码" colon="true" v-model="ZsBarInfo.zsBarcode" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="产品编码" colon="true" v-model="ZsBarInfo.item_no" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="产品名称" colon="true" v-model="ZsBarInfo.item_name" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="产品规格" colon="true" v-model="ZsBarInfo.item_model" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="前一工序" colon="true" v-model="ZsBarInfo.lastGx" readonly style="background: #ffa53b" ></van-field>
                  <van-field label="当前工序" colon="true" v-model="GX" readonly style="background: #ffa53b" ></van-field>
                </van-cell-group>
            </van-tab>
            <van-tab title="生产履历" class="mySolid font">
                <van-row>
                    <van-col span="6">人员</van-col>
                    <van-col span="6">产线</van-col>
                    <van-col span="6">工序</van-col>
                    <van-col span="6">结果</van-col>
                </van-row>
                <van-row v-for="(itm,index) in Traceability" :key="index">
                    <van-col span="6" >{{itm.useR_NAME}}</van-col>
                    <van-col span="6" >{{itm.line_no}}</van-col>
                    <van-col span="6" class="blue-text">{{itm.processNo}}</van-col>
                    <van-col span="6" >{{itm.checkResult}}</van-col>
                </van-row>
            </van-tab>
<%--            <van-tab title="已绑条码" class="mySolid font">
                <van-row>
                    <van-col span="5">人员</van-col>
                    <van-col span="5">产线</van-col>
                    <van-col span="5">工序</van-col>
                    <van-col span="4">良品</van-col>
                    <van-col span="5">不良品</van-col>
                </van-row>
                <van-row v-for="(itm,index) in Traceability" :key="index">
                    <van-col span="5" >{{itm.fQty}}</van-col>
                    <van-col span="5" >{{itm.fQty}}</van-col>
                    <van-col span="5" class="blue-text">{{itm.fQty}}</van-col>
                    <van-col span="4" >{{itm.fQty}}</van-col>
                    <van-col span="5" >{{itm.sQty}}</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/Nxhd.js?<%=1111 %>"></script>
</asp:Content>
H5/Nxhd.aspx.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class H5_Nxhd : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
H5/PurchaseInventory.aspx
@@ -1,10 +1,11 @@
<%@ Page Title="采购入库" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="PurchaseInventory.aspx.cs" Inherits="H5_Scll" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style>
        .bg-info {
            background-color: #fff;
        }
    </style>
    .bg-info {
        background-color:#fff;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <van-nav-bar
@@ -15,18 +16,6 @@
></van-nav-bar>
<%--    <div class="mySolid">--%>
        <van-cell-group>
            <van-field
  value=""
  label="入库类型"
  clearable
   placeholder="选择/手录"
  :right-icon-size="19"
    v-model="rkType"
   v-focus.noKeyboard
><template #button>
  <van-button size="small" type="info" plain @click="getInfo" >选择</van-button>
</template></van-field>
  <van-field 
    ref="sectionCode"
    v-model="sectionCode"
@@ -38,12 +27,25 @@
      @keyup.enter.native="getModel"
    <%--@change="getModel" --%>
      autofocus="true"
  >
  </van-field>
 <%--  <van-field  v-model="depotData.depotName"  label="仓库名称"  placeholder=""  disabled ></van-field>
   <van-field  v-model="depotData.depotCode"  label="仓库编码" placeholder="" disabled></van-field>--%>
 <van-field ref="barcode" v-model="formData.barcode" label="物料条码"clearable  placeholder="请扫码"
  ></van-field>
   <van-field
  v-model="depotData.depotName"
  label="仓库名称"
  placeholder=""
  disabled
></van-field>
     <van-field
  v-model="depotData.depotCode"
  label="仓库编码"
  placeholder=""
  disabled
></van-field>
 <van-field
   ref="barcode"
   v-model="formData.barcode"
  label="物料条码"
   clearable
 placeholder="请扫码"
  :right-icon-size="19"
  v-focus.noKeyboard
     @keyup.enter.native="getScan"
@@ -52,6 +54,12 @@
   <van-field
  v-model="formData.itemNo"
  label="物料编码"
  placeholder=""
  disabled
></van-field>
   <van-field
  v-model="formData.itemNo"
  label="到货单号"
  placeholder=""
  disabled
></van-field>
@@ -85,7 +93,8 @@
                    <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="8">已入库数</van-col>
            <van-col span="5">物料分区</van-col>
            <van-col span="3">已入库数</van-col>
        </van-row>
        <van-row  v-for="(itm,index) in ItemDetail" :key="index">
                   <van-col span="8" class="text-left padding-left">
@@ -95,7 +104,8 @@
        <van-col span="8" class="text-left padding-left">
            <div>{{itm.itemModel}}</div>
        </van-col>
           <van-col span="8" class="blue-text">{{itm.fQty}}</van-col>
           <van-col span="3" class="blue-text">{{itm.fQty}}</van-col>
            <van-col span="5" class="blue-text">{{itm.fQty}}</van-col>
       </van-row>
   </van-tab>
@@ -190,8 +200,6 @@
      </van-tab>--%>
</van-tabs>
    <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
<%--    <van-button type="primary" @click="getScan" >确认</van-button>--%>
    <%--<van-button type="primary" @click="ToErp" >审核</van-button>--%>
<%--    <van-button type="primary" @click="cleraCode" >清除库位编码</van-button>--%>
@@ -201,5 +209,5 @@
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/PurchaseInventory.js?<%=1236111112 %>"></script>
</asp:Content>
    <script src="Js/PurchaseInventory.js?<%=123611111 %>"></script>
</asp:Content>
H5/PurchaseReturn.aspx
@@ -1,155 +1,127 @@
<%@ Page Title="采购退料" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true"
    CodeFile="PurchaseReturn.aspx.cs" Inherits="H5_Scll" %>
<%@ Page Title="采购退料" Language="C#" MasterPageFile="~/Mst.master" AutoEventWireup="true" CodeFile="PurchaseReturn.aspx.cs" Inherits="H5_Scll" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style>
        .bg-info {
            background-color: #fff;
        }
    </style>
    .bg-info {
        background-color:#fff;
    }
</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
                    value=""
                    label="申请单号"
                    clearable
                    placeholder="选择申请单号"
                    :right-icon-size="19"
                    v-model="scanFormData.itemOutNo"
                    @keyup.enter.native="getItem"
                    v-focus.noKeyboard
                >
                    <template #button>
                        <van-button size="small" type="info" plain @click="getItemOutNo">选择</van-button>
                    </template>
                </van-field>
                <!-- ç‰©æ–™æ¡ç è¾“入框 -->
                <van-field
                    ref="barcode"
                    v-model="scanFormData.barcode"
                    label="物料条码"
                    clearable
                    placeholder="请扫描物料条码"
                    :right-icon-size="19"
                    v-focus.noKeyboard
                    @keyup.enter.native="SaveBarCodes"
                    <%--@change="SaveBarCodes"--%>
                ></van-field>
                <!-- ç‰©æ–™ç¼–码(禁用) -->
                <van-field
                    v-model="scanFormData.itemNo"
                    label="物料编码"
                    placeholder="物料编码"
                    disabled
                ></van-field>
                <!-- æ•°é‡ï¼ˆç¦ç”¨ï¼‰ -->
                <van-field
                    v-model="scanFormData.quantity"
                    label="数量"
                    placeholder="数量"
                    disabled
                ></van-field>
                <!-- å‘料数量与条码拆分 -->
                <van-field
                    ref="splitNum"
                    v-model="scanInfo.splitNum"
                    center
                    clearable
                    label="发料数量"
                    placeholder="发料数量"
                >
                    <van-button
                        slot="button"
                        type="info"
                        size="small"
                        plain
                        @click="getChaiFen"
                    >
                        æ¡ç æ‹†åˆ†
                    </van-button>
                </van-field>
            </van-cell-group>
        </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">
                    <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="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-button type="primary" @click="SaveBarCodes">确认</van-button>--%>
        <!-- åº•部弹窗 -->
        <van-action-sheet
            v-model="show"
            :actions="itemOutNoStr"
            @select="onSelect"
        ></van-action-sheet>
        <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
      value=""
      label="申请单号"
      clearable
       placeholder="选择申请单号"
      :right-icon-size="19"
        v-model="scanFormData.itemOutNo"
      @keyup.enter.native="getItem"
       v-focus.noKeyboard
    ><template #button>
      <van-button size="small" type="info" plain @click="getItemOutNo" >选择</van-button>
    </template></van-field>
 <van-field
   ref="barcode"
   v-model="scanFormData.barcode"
  label="物料条码"
   clearable
 placeholder="请扫描物料条码"
  :right-icon-size="19"
  v-focus.noKeyboard
     @keyup.enter.native="SaveBarCodes"
  <%--@change="SaveBarCodes"--%>
></van-field>
   <van-field
  v-model="scanFormData.itemNo"
  label="物料编码"
  placeholder="物料编码"
  disabled
></van-field>
   <van-field
  v-model="scanFormData.quantity"
  label="数量"
  placeholder="数量"
  disabled
></van-field>
            <van-field
    ref="splitNum"
    v-model="scanInfo.splitNum"
    center
    clearable
    label="发料数量"
    placeholder="发料数量">
    <van-button
        slot="button"
        type="info"
        size="small"
        plain
        @click="getChaiFen">
        æ¡ç æ‹†åˆ†
    </van-button>
</van-field>
</van-cell-group>
    </div>
</asp:Content>
  <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">
            <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="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-button type="primary" @click="SaveBarCodes" >确认</van-button>--%>
    <van-action-sheet v-model="show" :actions="itemOutNoStr" @select="onSelect" ></van-action-sheet>
                </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
    <comloading v-if="isLoading"></comloading>
    <comloading  v-if="isLoading"></comloading>
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/PurchaseReturn.js?<%=12811111 %>"></script>
</asp:Content>
    <script src="Js/PurchaseReturn.js?<%=1281111111 %>"></script>
</asp:Content>
H5/Qtck.aspx
@@ -8,6 +8,12 @@
        </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="返回"
@@ -29,6 +35,7 @@
    <van-button size="small" type="info" plain @click="getInfo" >选择</van-button>
  </template></van-field>
 <van-field
     ref="barcode"
  value=""
  label="物料条码"
   clearable 
@@ -41,12 +48,13 @@
></van-field>
 <van-field
  value=""
  label="物料编码"
  label="制单人"
   clearable 
 placeholder="物料编码"
 placeholder="制单人"
  :right-icon-size="19"
     v-model="itemNo"
     v-model="zdy"
  v-focus.noKeyboard
     disabled
></van-field>
   <van-field
  value=""
@@ -55,15 +63,22 @@
  placeholder="条码数量"
  disabled
></van-field>
<van-field
  value=""
       v-model="fnm"
  label="发料数量"
  placeholder="发料数量"
  disabled
><template #button>
    <van-button size="small" type="info" plain @click="tmcf" >条码拆分</van-button>
  </template></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>
@@ -129,5 +144,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Qtck.js?<%=11300 %>"></script>
 <script src="Js/Qtck.js?<%=11306 %>"></script>
</asp:Content>
H5/Qtrk.aspx
@@ -8,6 +8,12 @@
</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="返回"
@@ -38,6 +44,26 @@
      <%--@change="getSectionCode"--%>
   :right-icon-size="19"
   placeholder="库位编码"
></van-field>
 <van-field
        ref="depotsInfo"
        v-model="depotInfo.depot_code"
    value=""
    label="仓库编码"
    clearable
    placeholder="仓库编码"
    :right-icon-size="19"
        disabled
></van-field>
                <van-field
        ref="depotsInfo"
        v-model="depotInfo.depot_name"
    value=""
    label="仓库名称"
    clearable
    placeholder="仓库名称"
    :right-icon-size="19"
        disabled
></van-field>
 <van-field
     ref="barcode"
@@ -132,5 +158,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Qtrk.js?<%=124000 %>"></script>
 <script src="Js/Qtrk.js?<%=1240002 %>"></script>
</asp:Content>
H5/Scbg.aspx
@@ -38,7 +38,7 @@
    readonly
></van-field>
 <van-field
  ref="barcode"
     ref="barcode"
  value=""
  label="报工条码"
   clearable 
@@ -120,51 +120,10 @@
   :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>
    <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>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
@@ -172,5 +131,5 @@
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Scbg.js?<%=12365 %>"></script>
    <script src="Js/Scbg.js?<%=12328 %>"></script>
</asp:Content>
H5/Scbl.aspx
@@ -8,6 +8,11 @@
</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="type=='cl'?'生产超领':'生产补料'"
          left-text="返回"
@@ -16,6 +21,32 @@
        ></van-nav-bar>
        <div class="content-wrapper">
        <van-cell-group>
    <van-field
        v-model="queryInfo.dateTime"
        label="单据日期"
        clearable
        placeholder="请选择日期"
        readonly
        @click="showDatePicker = true">
    </van-field>
    <van-popup v-model="showDatePicker" position="bottom">
        <van-datetime-picker
            type="date"
            v-model="tempDate"
            :min-date="minDate"
            :max-date="maxDate"
            @confirm="onDateConfirm"
            @cancel="showDatePicker = false" />
    </van-popup>
    <van-field
        v-model="queryInfo.lineName"
        label="生产线别"
        clearable
        placeholder="请选择生产线别">
        <template #button>
            <van-button size="small" type="info" plain @click="getLineInfo">选择</van-button>
        </template>
    </van-field>
  <van-field
      ref="billNo"
    value=""
@@ -78,7 +109,9 @@
            <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">
        <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>
@@ -90,6 +123,25 @@
            <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>
@@ -113,6 +165,7 @@
</van-tabs>
    <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
    <van-action-sheet v-model="show1" :actions="actions1" @select="onSelect1"></van-action-sheet>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
@@ -120,5 +173,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Scbl.js?<%=12318111 %>"></script>
 <script src="Js/Scbl.js?<%=1231887111 %>"></script>
</asp:Content>
H5/Sccl.aspx
@@ -86,5 +86,5 @@
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Sccl.js?<%=12324 %>"></script>
    <script src="Js/Sccl.js?<%=12322 %>"></script>
</asp:Content>
H5/Scll.aspx
@@ -4,10 +4,20 @@
       .bg-info {
     background-color: #fff;
    }
    .org-info {
        height: 0.5rem;
        line-height: 0.5rem;
        padding: 0 0.16rem;
    }
</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>
    <div class="content-wrapper">
        <van-nav-bar
            title="生产备料"
@@ -15,6 +25,7 @@
            left-arrow
            @click-left="GoBack()">
        </van-nav-bar>
        <div class="mySolid">
            <van-cell-group>
@@ -42,11 +53,29 @@
                </van-field>
                
                <van-field
                    v-model="modeInfo.planNo"
                    v-model="DaaInfo.workNo"
                    label="任务单号"
                    clearable 
                    :right-icon-size="19"
                    placeholder="任务单号"
                    disabled>
                </van-field>
                <van-field
                    v-model="DaaInfo.startTime"
                    label="开工时间"
                    clearable
                    :right-icon-size="19"
                    placeholder="开工时间"
                    disabled>
                </van-field>
                <van-field
                    v-model="DaaInfo.lineName"
                    label="线体名称"
                    clearable
                    :right-icon-size="19"
                    placeholder="线体名称"
                    disabled>
                </van-field>
                
@@ -97,16 +126,40 @@
                    <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">
                    <van-col span="8" class="text-left padding-left">
                        <div class="blue-text">{{itm.itemNo}}</div>
                        <div>{{itm.itemName}}</div>
                <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-col>
                    <van-col span="8" class="text-left padding-left">
                        <div>{{itm.itemModel}}</div>
                </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="3" class="blue-text">{{itm.dsQty}}</van-col>
                    <van-col span="5">{{itm.recoKw}}</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>
@@ -138,5 +191,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Scll.js?<%=123336162 %>"></script>
    <script src="Js/Scll.js?<%=1233361592 %>"></script>
</asp:Content>
H5/Sctl.aspx
@@ -8,6 +8,12 @@
        </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="返回"
@@ -131,6 +137,6 @@
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Sctl.js?<%=162 %>"></script>
 <script src="Js/Sctl.js?<%=16214 %>"></script>
</asp:Content>
H5/Strk.aspx
@@ -82,7 +82,7 @@
              <div>{{value.itemName}}</div>
          </van-col>
        <van-col span="6">{{value.fQty}}</van-col>
        <van-col span="6">{{value.sQty ?? 0}}</van-col>
        <van-col span="6">{{value.sQty || 0}}</van-col>
  </van-row>
</van-tab>
          <van-tab title="已退明细"></van-tab>
H5/Sttl.aspx
@@ -81,7 +81,7 @@
           <div>{{value.itemName}}</div>
      </van-col>
      <van-col span="6">{{value.fQty}}</van-col>
     <van-col span="6">{{value.sQty ?? 0}}</van-col>
     <van-col span="6">{{value.sQty || 0}}</van-col>
</van-row>
  </van-tab>
</van-tabs>
H5/Xcsl.aspx
@@ -87,14 +87,32 @@
                    >
                </van-field>
                <van-field
                    ref="DAA021"
                    v-model="DAA021"
                    v-model="DaaInfo.workNo"
                    label="任务单号"
                    clearable
                    :right-icon-size="19"
                    placeholder="任务单号"
                    autofocus="true"
                    readonly
                    >
                    disabled>
                </van-field>
                <van-field
                    v-model="DaaInfo.startTime"
                    label="开工时间"
                    clearable
                    :right-icon-size="19"
                    placeholder="开工时间"
                    disabled>
                </van-field>
                <van-field
                    v-model="DaaInfo.lineName"
                    label="线体名称"
                    clearable
                    :right-icon-size="19"
                    placeholder="线体名称"
                    disabled>
                </van-field>
                <van-field
                    v-model="DAANum"
                    label="工单数量"
@@ -133,8 +151,8 @@
                    <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-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">
@@ -148,16 +166,16 @@
                <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="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>
                        <div>{{itm.QUANTITY}}</div>
                    </van-col>
                    <van-col span="3">
                        <div>{{itm.useR_NAME}}</div>
                        <div>{{itm.USER_NAME}}</div>
                    </van-col>
                    <van-col span="5">
                        <div>{{itm.create_date}}</div>
@@ -176,19 +194,19 @@
                <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="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>
                        <div>{{itm.QUANTITY}}</div>
                    </van-col>
                    <van-col span="3">
                        <div>{{itm.useR_NAME}}</div>
                        <div>{{itm.USER_NAME}}</div>
                    </van-col>
                    <van-col span="5">
                        <div>{{itm.xcsL_CREATE_DATE}}</div>
                        <div>{{itm.XCSL_CREATE_DATE}}</div>
                    </van-col>
                </van-row>
            </van-tab>
@@ -201,5 +219,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Xcsl.js?<%=11111111 %>"></script>
    <script src="Js/Xcsl.js?<%=11111115 %>"></script>
</asp:Content>
H5/Xsck.aspx
@@ -8,6 +8,12 @@
</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="返回"
@@ -62,30 +68,49 @@
</van-cell-group>
    </div>
    <div  class="van-tab-left">
              <van-tabs <%--@click="onClick"--%> color="#000" title-active-color="#0283EF" >
  <van-tab title="待发物料" class="mySolid font">
<%--    <van-row v-for="value in ItemBlDetail" class="font">
          <van-col span="12">物料:{{value.itemNo}}</van-col>
          <van-col span="6">申请数{{value.bld007}}</van-col>
          <van-col span="6">已领数{{value.bld008}}</van-col>
    </van-row>--%>
<van-tabs color="#000" title-active-color="#0283EF">
    <van-tab title="待扫物料" class="mySolid font">
        <van-row>
        <van-col span="12" class="text-left padding-left">物料</van-col>
         <van-col span="6">需领</van-col>
        <van-col span="6">已扫</van-col>
</van-row>
<van-row  v-for="value in ItemBlDetail" class="font">
      <van-col span="12"  class="text-left padding-left">
           <div>{{value.itemNo}}</div>
           <div>{{value.itemName}}</div>
      </van-col>
      <van-col span="6">{{value.fQty}}</van-col>
     <van-col span="6">{{value.sQty || 0}}</van-col>
</van-row>
  </van-tab>
            <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 ItemBlDetail.items" :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" 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="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 ItemBlDetail.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>
    </div>
    <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
@@ -95,5 +120,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Xsck.js?<%=1271111 %>"></script>
 <script src="Js/Xsck.js?<%=1271113 %>"></script>
</asp:Content>
H5/Xsth.aspx
@@ -8,6 +8,12 @@
        </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="返回"
@@ -68,24 +74,47 @@
</van-cell-group>
    </div>
      <van-tabs <%--@click="onClick"--%> color="#000" title-active-color="#0283EF" >
              <van-tab title="待退明细" class="mySolid font">
  <van-row>
        <van-col span="12" class="text-left padding-left">物料</van-col>
         <van-col span="6">待扫</van-col>
        <van-col span="6">已扫</van-col>
</van-row>
  <van-row v-for="value in ItemTblDetail" class="font">
        <van-col span="12"  class="text-left padding-left">
              <div>{{value.itemNo}}</div>
              <div>{{value.itemName}}</div>
          </van-col>
        <van-col span="6">{{value.fQty}}</van-col>
        <van-col span="6">{{value.sQty || 0}}</van-col>
  </van-row>
</van-tab>
          <van-tab title="已退明细"></van-tab>
<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 ItemTblDetail.items" :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" 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="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 ItemTblDetail.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>
@@ -96,6 +125,6 @@
    <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Xsth.js?<%=161 %>"></script>
 <script src="Js/Xsth.js?<%=162 %>"></script>
</asp:Content>