| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <%@ 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> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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) |
| | | { |
| | | |
| | | } |
| | | } |
| | |
| | | </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="è¿å" |
| | |
| | | <%--<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> |
| | |
| | | <%@ 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 { |
| | |
| | | </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="è¿å" |
| | |
| | | ></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>--%> |
| | |
| | | </asp:Content> |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> |
| | | <script src="Js/BarCfBefore.js?<%=001 %>"></script> |
| | | </asp:Content> |
| | | </asp:Content> |
| | |
| | | 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) |
| | | { |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <%@ 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> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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) |
| | | { |
| | | |
| | | } |
| | | } |
| | |
| | | <%@ 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, |
| | |
| | | v-model="LsBar" |
| | | label="åçæ¡ç " |
| | | placeholder="请æ«åçç " |
| | | <%-- @keyup.enter.native="getModel" --%> |
| | | @keyup.enter.native="productBinding" |
| | | autofocus="true"> |
| | | </van-field> |
| | | |
| | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | flex: 1; /* çåå©ä½ç©ºé´ */ |
| | | min-width: 0; /* 鲿¢å
å®¹æº¢åº */ |
| | | } |
| | | |
| | | .van-checkbox__icon--checked .van-icon |
| | | { |
| | | color: #ffffff !important; |
| | | } |
| | | |
| | | </style> |
| | | </asp:Content> |
| | | |
| | |
| | | <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"> |
| | |
| | | <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> |
| | |
| | | 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"> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | <%--<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> |
| | |
| | | <%--<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> |
| | |
| | | <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;"> </div> |
| | | <div style="height:100px;"> </div> |
| | | </asp:Content> |
| | | <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server"> |
| | | <webnav :active="0"></webnav> |
| | |
| | | <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> |
| | |
| | | @click="submit" |
| | | :loading="ttrre1" |
| | | loading-text="å è½½ä¸..." |
| | | >æäº¤æ£éª</van-button> |
| | | >å®¡æ ¸</van-button> |
| | | </div> |
| | | <div style="padding: 12px;"> |
| | | <van-button |
| | |
| | | @click="Fsubmit" |
| | | :loading="ttrre2" |
| | | loading-text="å è½½ä¸..." |
| | | >æ¤åæ£éª</van-button> |
| | | >åå®¡æ ¸</van-button> |
| | | </div> |
| | | </van-popup> |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | |  |
| | | <%@ 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> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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) |
| | | { |
| | | |
| | | } |
| | | } |
| | |
| | | :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>--%> |
| | |
| | | <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" |
| | |
| | | <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 |
| | |
| | | <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>--%> |
| | | |
| | |
| | | </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" |
| | |
| | | <%--<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> |
| | |
| | | <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> |
| | |
| | | <%--<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> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | |  |
| | | 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(); |
| | | }); |
| | | }, |
| | | |
| | | |
| | | } |
| | | }) |
| | |
| | | //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; |
| | | } |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | console.log(error); |
| | | that.$refs.barcode.focus(); |
| | | }); |
| | |
| | | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | console.log(error); |
| | | }); |
| | | }, |
| | |
| | | formData: { |
| | | barcode: "", |
| | | itemNo: "", |
| | | sumQuantity: 0 |
| | | sumQuantity:0 |
| | | }, |
| | | itemInsFormData: {}, |
| | | tableData: [], |
| | |
| | | //}, |
| | | getScan() { |
| | | var that = this; |
| | | |
| | | |
| | | that.isLoading = true; |
| | | that.AxiosHttp("post", 'MesBarCF/GetBarInfoBefore', { |
| | | barcode: that.formData.barcode, |
| | |
| | | .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.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; |
| | | } |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | console.log(error); |
| | | that.$refs.barcode.focus(); |
| | | }); |
| | |
| | | |
| | | 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; |
| | |
| | | that.$refs.barcode.focus(); |
| | | that.formData.barcode = null; |
| | | that.formData.cfNum = null; |
| | | that.$playSound('success'); |
| | | that.$notify({ type: 'success', message: json.message }); |
| | | } |
| | | else { |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | console.log(error); |
| | | }); |
| | | }, |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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); |
| | | }); |
| | | }, |
| | | } |
| | | }) |
| | |
| | | var that = this; |
| | | that.isLoading = true; |
| | | that.AxiosHttp("post", 'Womdaa/getZsBarInfo', { |
| | | Xt: that.GX, |
| | | GX: that.GX, |
| | | Zsbarcode: that.ZsBar |
| | | }, false) |
| | | .then(function (res) { |
| | |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | that.$playSound('error'); |
| | | that.$refs.ZsBar.focus(); |
| | | that.ZsBar = ""; |
| | | that.ZsBarInfo = []; |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.ZsBar.focus(); |
| | | that.ZsBar = ""; |
| | | that.ZsBarInfo = []; |
| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | 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; |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.ZsBar.focus(); |
| | | that.ZsBar = null; |
| | | that.LsBar = null; |
| | |
| | | var vm = new Vue({ |
| | |  |
| | | var vm = new Vue({ |
| | | el: '#app', |
| | | data: function () { |
| | | return { |
| | |
| | | //} |
| | | ], |
| | | DAA001: [], |
| | | show: false,//å表å±ç¤º |
| | | actions: [],//å表çå¼ |
| | | xtName: "",//线ä½åç§° |
| | | xtNum: "",//线ä½ç¼å· |
| | | agvChecked: false,//æ¯å¦å¾éAGV |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | } |
| | | |
| | | //å¾
è£
æ° |
| | | 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'); |
| | |
| | | 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("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | }); |
| | |
| | | that.LsBar = ""; // æ¸
空è¾å
¥æ¡ |
| | | }, |
| | | |
| | | GetWeightByXt() { |
| | | |
| | | handleClear() { |
| | | this.KbBar = ""; |
| | | this.XBar = ""; |
| | | this.LsBar = ""; |
| | | this.DAA001 = []; |
| | | this.XbarInfo = []; |
| | | |
| | | }, |
| | | |
| | | // æ°å¢æ¹æ³ï¼æäº¤ææå·²æ ¸å¯¹çæ°æ® |
| | |
| | | } |
| | | |
| | | // 计ç®å¯è£
æ°åå·²è£
æ° |
| | | const oldqty = +(that.KbBarInfo.oldqty || 0); |
| | | const oldqty = +(that.KbBarInfo.quantity || 0); |
| | | const ySum = +(that.KbBarInfo.ySum || 0); |
| | | |
| | | if (oldqty !== ySum) { |
| | |
| | | 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(); |
| | | }); |
| | | } |
| | | |
| | | |
| | | } |
| | | }) |
| | |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | 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; |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.billNo.focus(); |
| | | that.billNo = ""; |
| | | that.ItemBlDetail = null; |
| | |
| | | |
| | | 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.fum = json.data.form.fum; |
| | | //that.ItemBlDetail = json.data.items |
| | | that.$notify({ type: 'success', message: 'æ«ç æå' }); |
| | | that.$playSound('success'); |
| | | |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | |
| | | } |
| | | 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 = ""; |
| | | } |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | //console.log(error); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | |
| | | 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 = ""; |
| | |
| | | } |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | 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; |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.billNo.focus(); |
| | | that.billNo = ""; |
| | | that.ItemBlDetail = null; |
| | |
| | | |
| | | if (that.sectionCode.length == 0) { |
| | | this.$toast.fail("åºä½ç¼ç ä¸è½ä¸ºç©º"); |
| | | that.$playSound('error'); |
| | | return; |
| | | } |
| | | |
| | |
| | | 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 = ""; |
| | | |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | //console.log(error); |
| | | that.$refs.sectionCode.focus(); |
| | | that.sectionCode = ""; |
| | |
| | | |
| | | 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; |
| | | } |
| | |
| | | //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; |
| | |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | that.$playSound('error'); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | | } |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | //console.log(error); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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); |
| | | //}, |
| | | } |
| | | }) |
| | |
| | | }, 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("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | |
| | | |
| | | if (!that.inputValue) { |
| | | this.$toast.fail("æ£éªå¼ä¸è½ä¸ºç©º"); |
| | | that.$playSound('error'); |
| | | that.isLoading = false; |
| | | return; |
| | | } |
| | |
| | | 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; |
| | |
| | | }, 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) { |
| | |
| | | }, 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 => { |
| | |
| | | mocode: "", |
| | | boardStyle: "" |
| | | }, |
| | | jyGw:"",//æ£éªå·¥ä½ |
| | | isShowTable: false, |
| | | tableData: [],//è¿åçæ£éªé¡¹ç® |
| | | jymxData: [],//å±ç¤ºçæ£éªé¡¹ç® |
| | |
| | | } |
| | | }, |
| | | 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, |
| | |
| | | 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: { |
| | | // è¾å
¥è¿æ»¤ |
| | |
| | | }, |
| | | |
| | | addJyzIpqc(input) { |
| | | |
| | | var that = this; |
| | | var guid1 = that.formData.guid;//主表id |
| | | var mxguid = that.tableData[that.tabActive].guid;//æ£éªé¡¹ç®çguid |
| | |
| | | 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();//å·æ°æ£éªæç»é¢æ¿ |
| | |
| | | //æ£éªæç»å·æ° |
| | | 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 || []; |
| | |
| | | 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) { |
| | |
| | | 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) |
| | | }) |
| | | }, |
| | | } |
| | | }) |
| | |
| | | }, |
| | | |
| | | onLoad() { |
| | | |
| | | this.pageIndex = 0; |
| | | if (this.refreshing) { |
| | | this.data = []; |
| | | this.refreshing = false; |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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. ç¦æ¢å°æ°ç¹å¼å¤´ |
| | | //}, |
| | | } |
| | | }) |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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'); |
| | | }); |
| | | }, |
| | | } |
| | | }); |
| | |
| | | img: "../Images/print.png", |
| | | path: '/H5/Config.aspx' |
| | | } |
| | | ] |
| | | ], |
| | | actions: [],//å表çå¼ |
| | | orgName: "",//线ä½åç§° |
| | | orgId: "",//线ä½ç¼å· |
| | | show: false,//å表å±ç¤º |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | // 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; |
| | | }, |
| | | } |
| | | }) |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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); |
| | | //}, |
| | | } |
| | | }) |
| | |
| | | sectionCode:"", |
| | | depotData: [], |
| | | ItemDetail: [], |
| | | rkType: "æ£å¸¸å
¥åº", |
| | | show: false,//䏿æ¡çæ¾ç¤º |
| | | actions: [{ name: "æ£å¸¸å
¥åº" }, { name: "å·¥åºå
¥åº" }, { name: "æåºå
¥åº" }],//䏿æ¡çæ°å¼ |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }; |
| | | }, |
| | | 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; |
| | |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | that.depotData = json.data.tbBillList; |
| | | that.$playSound('success'); |
| | | that.$refs.barcode.focus(); |
| | | } |
| | | else { |
| | |
| | | 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 }); |
| | |
| | | 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 } |
| | | }); |
| | |
| | | if (json.status == 0) { |
| | | that.ItemDetail = json.data.tbBillList; |
| | | that.$refs.barcode.focus(); |
| | | that.$playSound('success'); |
| | | } |
| | | else { |
| | | that.$playSound('error'); |
| | |
| | | //if (json.data.tbBillList) { |
| | | // //this.ToErp(); |
| | | //} else { |
| | | |
| | | //} |
| | | that.scanFormData.quantity = json.data.tbBillList.barcodeNum |
| | | that.getItem(); |
| | |
| | | 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'); |
| | |
| | | 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 { |
| | |
| | | |
| | | if (!value) { |
| | | this.$toast.fail("åºä½ç¼ç "); |
| | | that.$playSound('error'); |
| | | return; |
| | | } |
| | | |
| | |
| | | /*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); |
| | | }); |
| | | }, |
| | |
| | | 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; |
| | |
| | | }) |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$playSound('error'); |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼" + error.message); |
| | | that.$refs.barcode.focus(); |
| | | }); |
| | |
| | | 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; |
| | | } |
| | |
| | | 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 = []; |
| | |
| | | } |
| | | 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); |
| | | }); |
| | | } |
| | |
| | | show: false, |
| | | actions: [], |
| | | ItemDetail: [], |
| | | splitNum: "", |
| | | zdy: "", |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | 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); |
| | |
| | | .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; |
| | | }) |
| | |
| | | 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'); |
| | | }); |
| | | }, |
| | | |
| | | } |
| | | }) |
| | |
| | | show: false, |
| | | actions: [], |
| | | ItemDetail: [], |
| | | depotInfo:[], |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | that.$playSound('error'); |
| | | console.log(error); |
| | | }); |
| | | }, |
| | | onClick(index, title) { |
| | | this.$toast(`${index} ${title}`); |
| | | this.$notify({ type: 'success', message: 'ææç©ææ«ç æåææç©ææ«ç æåææç©ææ«ç æåææç©ææ«ç æå' }); |
| | | |
| | | }, |
| | | onSelect(item) { |
| | | // é»è®¤æ
åµä¸ç¹å»é项æ¶ä¸ä¼èªå¨æ¶èµ· |
| | |
| | | if (json.status == 0) { |
| | | //that.$notify({ type: 'success', message: json.data.tbBillList }); |
| | | //that.$playSound('success'); |
| | | that.depotInfo = json.data; |
| | | that.$refs.barcode.focus(); |
| | | } |
| | | else { |
| | |
| | | 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() { |
| | |
| | | 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: { |
| | |
| | | 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; |
| | | }) |
| | |
| | | //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; |
| | |
| | | }); |
| | | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | 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; |
| | | } |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | console.log(error); |
| | | }); |
| | | }, |
| | |
| | | |
| | | 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; |
| | |
| | | .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); |
| | | |
| | | } |
| | | |
| | | } |
| | | }) |
| | |
| | | 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() { |
| | |
| | | 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; |
| | |
| | | } |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | //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) |
| | |
| | | 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 = ""; |
| | |
| | | .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() { |
| | |
| | | |
| | | 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.num = null; |
| | | //that.ItemBlDetail = json.data.tbBillList.item2 |
| | | that.$notify({ type: 'success', message: 'æ«ææå' }); |
| | | that.$playSound('success'); |
| | | that.GetMesItemBlDetailByBillNo(); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | |
| | | |
| | | |
| | | } 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 = ""; |
| | |
| | | }) |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$playSound('error'); |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | //console.log(error); |
| | | that.$refs.barcode.focus(); |
| | |
| | | |
| | | 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; |
| | | } |
| | |
| | | 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; |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | //console.log(error); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = ""; |
| | |
| | | } |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | GetMesItemBlDetailByBillNo() { |
| | | var that = this; |
| | | that.isLoading = true; |
| | | that.AxiosHttp("post", 'MesItemBl/GetMesItemBlDetailByBillNo', { |
| | | that.AxiosHttp("post", 'MesItemBl/GetMesItemBlDetailBySccBillNo', { |
| | | billNo: that.billNo, |
| | | type:"ç产è¶
é¢" |
| | | }, false) |
| | |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | |
| | | 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; |
| | |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | |
| | | 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); |
| | | }); |
| | | } |
| | |
| | | // { printerId: 'Printer2', ipAddress: '192.168.1.2' }, |
| | | // { printerId: 'Printer3', ipAddress: '192.168.1.3' } |
| | | //], // æå°æºå表 |
| | | // å½åéä¸è¡çç´¢å¼ |
| | | currentIndex: -1, |
| | | // åå¨éä¸è¡æ°æ®å¯¹è±¡ |
| | | selItem: {} , |
| | | ItemBarKw: [],//å½å¤©è¡ç¸å
³æ¡ç åºä½ä¿¡æ¯ |
| | | DaaInfo: {}, |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }; |
| | | }, |
| | | 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; |
| | |
| | | }, 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); |
| | |
| | | that.$refs.daa001.focus(); |
| | | that.modeInfo.daa001 = ""; |
| | | that.modeInfo.planNo = ""; |
| | | that.modeInfo.startTime = ""; |
| | | that.ItemDetail = []; |
| | | } |
| | | that.isLoading = false; |
| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | } |
| | | 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; |
| | | } |
| | |
| | | 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 = ""; |
| | |
| | | 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(); |
| | |
| | | }, |
| | | |
| | | |
| | | 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; |
| | |
| | | that.itemInfo = json.data.tbBillList; |
| | | that.actions = json.data.tbBillList.map(item => { |
| | | return { |
| | | name: item.daaInfo // æ¼æ¥å段 |
| | | |
| | | name: item.daaInfo, // æ¼æ¥å段 |
| | | subname: item.startTime |
| | | }; |
| | | }); |
| | | } |
| | |
| | | } |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | 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; |
| | |
| | | .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); |
| | | }); |
| | |
| | | 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; |
| | | } |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.sectionCode.focus(); |
| | | that.depotSectionCode = null; |
| | | console.log(error); |
| | |
| | | |
| | | if (!that.billNo) { |
| | | this.$toast.fail("ç³è¯·åå·ä¸è½ä¸ºç©º"); |
| | | that.$playSound('error'); |
| | | that.$refs.billNo.focus(); |
| | | that.isLoading = false; |
| | | return; |
| | |
| | | |
| | | if (!that.depotSectionCode) { |
| | | this.$toast.fail("åºä½ç¼å·ä¸è½ä¸ºç©º"); |
| | | that.$playSound('error'); |
| | | that.$refs.sectionCode.focus(); |
| | | that.depotSectionCode = null; |
| | | that.isLoading = false; |
| | |
| | | |
| | | if (!that.barcode) { |
| | | this.$toast.fail("æ¡ç ç¼å·ä¸è½ä¸ºç©º"); |
| | | that.$playSound('error'); |
| | | that.$refs.barcode.focus(); |
| | | that.barcode = null; |
| | | that.isLoading = false; |
| | |
| | | |
| | | if (!that.userInfo.loginAccount) { |
| | | this.$toast.fail(json.message); |
| | | that.$playSound('error'); |
| | | return; |
| | | } |
| | | |
| | |
| | | |
| | | 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); |
| | | }); |
| | | }, |
| | |
| | | }, |
| | | 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) { |
| | |
| | | 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 { |
| | |
| | | selectKey: "",//æ¥è¯¢å
³é®å |
| | | actions: [],//å表çå¼ |
| | | show: false,//å表å±ç¤º |
| | | DaaInfo: { }, |
| | | |
| | | } |
| | | }, |
| | |
| | | |
| | | if (!that.DAA001 || that.DAA001.length <= 0) { |
| | | that.$toast.fail("å·¥ååå·ä¸è½ä¸ºç©ºï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.DAA001.focus(); |
| | | return; |
| | | } |
| | |
| | | .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; |
| | |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | that.$playSound('error'); |
| | | that.$refs.DAA001.focus(); |
| | | that.DAA001 = ""; |
| | | } |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | }); |
| | | }, |
| | | ScanXcsl() { |
| | |
| | | var that = this; |
| | | if (!that.Bar ||that.Bar.length <= 0) { |
| | | that.$toast.fail("ç©ææ¡ç ä¸è½ä¸ºç©ºï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.Bar.focus(); |
| | | return; |
| | | } |
| | |
| | | |
| | | if (!that.DAA001 ||that.DAA001.length <= 0) { |
| | | that.$toast.fail("å·¥ååå·ä¸è½ä¸ºç©ºï¼"); |
| | | that.$playSound('error'); |
| | | that.$refs.DAA001.focus(); |
| | | return; |
| | | } |
| | |
| | | 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(); |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | }); |
| | | }, |
| | | //è·åå·¥åä¿¡æ¯ |
| | |
| | | that.isLoading = true; |
| | | that.AxiosHttp("post", 'Womdaa/GetXcslDaa', { |
| | | selectKey: that.selectKey, |
| | | selDaaType: "1", |
| | | }, false) |
| | | .then(function (res) { |
| | | var json = res; |
| | |
| | | that.itemInfo = json.data.tbBillList; |
| | | that.actions = json.data.tbBillList.map(item => { |
| | | return { |
| | | name: item.daaInfo // æ¼æ¥å段 |
| | | name: item.daaInfo, // æ¼æ¥å段 |
| | | subname: item.startTime |
| | | |
| | | }; |
| | | }); |
| | |
| | | console.log('æåçDAA001:', this.DAA001); |
| | | } else { |
| | | this.$toast.fail('å·¥åå·æ ¼å¼å¼å¸¸'); |
| | | that.$playSound('error'); |
| | | this.DAA001 = ''; |
| | | } |
| | | this.GetItemsXcsl(); |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | //è·ååè´§éç¥åå· |
| | | getInfo() { |
| | | |
| | | this.show = true; |
| | | var that = this; |
| | | that.isLoading = true |
| | |
| | | that.actions = json.data.tbBillList.map(item => { |
| | | return { name: item } |
| | | }); |
| | | |
| | | } |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | that.show = false; |
| | | } |
| | | that.isLoading = false; |
| | | }) |
| | |
| | | // this.$notify({ type: 'success', message: 'ææç©ææ«ç æåææç©ææ«ç æåææç©ææ«ç æåææç©ææ«ç æå' }); |
| | | |
| | | //}, |
| | | //ç¹å»äºä»¶ |
| | | onSelect(item) { |
| | | // é»è®¤æ
åµä¸ç¹å»é项æ¶ä¸ä¼èªå¨æ¶èµ· |
| | | // å¯ä»¥éè¿ close-on-click-action 屿§å¼å¯èªå¨æ¶èµ· |
| | |
| | | //this.$toast(item.name); |
| | | |
| | | }, |
| | | //æ ¹æ®åè´§éç¥åå·è·åæç» |
| | | GetMesItemDetailByBillNo() { |
| | | var that = this; |
| | | that.isLoading = true; |
| | |
| | | that.ItemBlDetail = []; |
| | | }); |
| | | }, |
| | | //æ«ç |
| | | getBarcode() { |
| | | |
| | | //this.barcode = value; |
| | |
| | | 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(); |
| | |
| | | that.splitNum = ""; |
| | | }); |
| | | }, |
| | | //æ¡ç æå |
| | | tmcf() { |
| | | //this.show = true; |
| | | |
| | |
| | | |
| | | if (that.formData.barcode == "" || that.formData.barcode == null) { |
| | | that.$refs.barcode.focus(); |
| | | that.$playSound('success'); |
| | | that.isLoading = false; |
| | | } else { |
| | | that.getScan(); |
| | |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | that.$playSound('error'); |
| | | that.formData.sectionCode = null; |
| | | that.$refs.sectionCode.focus(); |
| | | that.isLoading = false; |
| | |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | that.$playSound('error'); |
| | | console.log(error); |
| | | that.formData.sectionCode = null; |
| | | that.$refs.sectionCode.focus(); |
| | |
| | | //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(); |
| | |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | that.$playSound('error'); |
| | | that.$refs.barcode.focus(); |
| | | that.formData.barcode = null; |
| | | that.isLoading = false; |
| | |
| | | }) |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$playSound('error'); |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | console.log(error); |
| | | that.$refs.barcode.focus(); |
| | |
| | | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | }) |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$playSound('error'); |
| | | that.$toast.fail("ç½ç»é误ï¼è¯·éè¯ï¼"); |
| | | console.log(error); |
| | | }); |
| | |
| | | this.Message = ""; |
| | | if (this.tableData.length == 0) { |
| | | this.Message = "æ¡ç ä¸ºç©ºï¼æ æ³æ¨éERP"; |
| | | that.$playSound('error'); |
| | | return; |
| | | } |
| | | let userName = this.$loginInfo.account; |
| | |
| | | this.messageCenter.dealWith = 0; |
| | | this.messageCenter.status = 1; |
| | | this.messageCenter.resultData = res.msg; |
| | | that.$playSound('success'); |
| | | this.updateMessage(this.messageCenter); |
| | | } |
| | | }); |
| | |
| | | }).then(res => { |
| | | if (res.data.tbBillList) { |
| | | this.Message += " å®¡æ ¸æåï¼"; |
| | | that.$playSound('success'); |
| | | } else { |
| | | this.Message += " å®¡æ ¸å¤±è´¥ï¼"; |
| | | that.$playSound('error'); |
| | | } |
| | | |
| | | let entity = { |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <%@ 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> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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) |
| | | { |
| | | |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <%@ 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> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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) |
| | | { |
| | | |
| | | } |
| | | } |
| | |
| | | <%--<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> |
| | |
| | | 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> |
| | |
| | | <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> |
| | | <!-- èªå®ä¹å段ç¨äºæ¾ç¤ºä¸¤ä¸ªæ è¯ --> |
| | |
| | | <%--<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> |
| | |
| | | <style> |
| | | .van-field__control { |
| | | text-align:right !important; |
| | | color: #0283EF; |
| | | } |
| | | </style> |
| | | </asp:Content> |
| | |
| | | </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"> |
| | |
| | | </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> |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | |  |
| | | <%@ 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> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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) |
| | | { |
| | | |
| | | } |
| | | } |
| | |
| | | <%@ 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 |
| | |
| | | ></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" |
| | |
| | | @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" |
| | |
| | | <van-field |
| | | v-model="formData.itemNo" |
| | | label="ç©æç¼ç " |
| | | placeholder="" |
| | | disabled |
| | | ></van-field> |
| | | <van-field |
| | | v-model="formData.itemNo" |
| | | label="å°è´§åå·" |
| | | placeholder="" |
| | | disabled |
| | | ></van-field> |
| | |
| | | <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"> |
| | |
| | | <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> |
| | | |
| | |
| | | </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>--%> |
| | |
| | | <%--<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> |
| | |
| | | <%@ 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> |
| | |
| | | </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="è¿å" |
| | |
| | | <van-button size="small" type="info" plain @click="getInfo" >éæ©</van-button> |
| | | </template></van-field> |
| | | <van-field |
| | | ref="barcode" |
| | | value="" |
| | | label="ç©ææ¡ç " |
| | | clearable |
| | |
| | | ></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="" |
| | |
| | | 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> |
| | | |
| | |
| | | <%--<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> |
| | |
| | | </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="è¿å" |
| | |
| | | <%--@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" |
| | |
| | | <%--<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> |
| | |
| | | readonly |
| | | ></van-field> |
| | | <van-field |
| | | ref="barcode" |
| | | ref="barcode" |
| | | value="" |
| | | label="æ¥å·¥æ¡ç " |
| | | clearable |
| | |
| | | :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"> |
| | |
| | | <%--<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> |
| | |
| | | </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="è¿å" |
| | |
| | | ></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="" |
| | |
| | | <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> |
| | |
| | | <van-col span="5">{{itm.recoKw}}</van-col> |
| | | </van-row> |
| | | </van-tab> |
| | | |
| | | <van-tab title="åºä½å表" class="mySolid font"> |
| | | <van-row> |
| | | <van-col span="10" class="text-left padding-left">æ¡ç ç¼å·</van-col> |
| | | <van-col span="5" class="text-left padding-left">åºä½</van-col> |
| | | <van-col span="4">æ°é</van-col> |
| | | <van-col span="5">ä»åº</van-col> |
| | | </van-row> |
| | | <van-row v-for="(itm,index) in ItemBarKw" :key="index"> |
| | | <van-col span="10" class="text-left padding-left"> |
| | | <div class="blue-text">{{itm.iteM_BARCODE}}</div> |
| | | </van-col> |
| | | <van-col span="5" class="text-left padding-left"> |
| | | <div>{{itm.depoT_SECTIONS_CODE}}</div> |
| | | </van-col> |
| | | <van-col span="4" class="blue-text">{{itm.quantity}}</van-col> |
| | | <van-col span="5" >{{itm.depot_name}}</van-col> |
| | | </van-row> |
| | | </van-tab> |
| | | |
| | | <van-tab title="å·²æ«ç©æ" class="mySolid font"> |
| | | <van-row> |
| | |
| | | </van-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"> |
| | |
| | | <%--<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> |
| | |
| | | <%--<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> |
| | |
| | | .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="çäº§å¤æ" |
| | |
| | | left-arrow |
| | | @click-left="GoBack()"> |
| | | </van-nav-bar> |
| | | |
| | | |
| | | <div class="mySolid"> |
| | | <van-cell-group> |
| | |
| | | </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> |
| | | |
| | |
| | | <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> |
| | | |
| | |
| | | </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> |
| | |
| | | </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="è¿å" |
| | |
| | | <%--<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> |
| | | |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | > |
| | | </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="工忰é" |
| | |
| | | <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"> |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | </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="è¿å" |
| | |
| | | </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> |
| | | |
| | |
| | | <%--<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> |
| | |
| | | </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="è¿å" |
| | |
| | | </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> |
| | |
| | | <%--<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> |
| | | |