H5/Js/Qtck.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
H5/Js/Qtrk.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
H5/Qtck.aspx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Images/Style.css | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Mst.master | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
H5/Js/Qtck.js
@@ -17,6 +17,7 @@ active: 0, show: false, actions: [], ItemDetail: [], } }, mounted() { @@ -40,6 +41,7 @@ if (json.status == 0) { if (json.data.tbBillList.length <= 0) { that.$toast.fail("没有可用的数据"); that.$playSound('error'); } else { that.actions = json.data.tbBillList.map(item => { return { name: item } @@ -48,12 +50,14 @@ } 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); }); }, @@ -82,21 +86,26 @@ .then(function (res) { var json = res; if (json.status == 0) { that.ItemBlDetail = json.data.tbBillList; that.ItemDetail = json.data.tbBillList; //that.ItemBlDetail = 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); }); }, getBarcode() { if (this.isLoading) { return; } //this.barcode = value; var that = this; @@ -104,18 +113,21 @@ 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; } @@ -135,48 +147,60 @@ that.barcode = json.data.form.barcode; that.ItemBlDetail = json.data.item that.$notify({ type: 'success', message: json.data.message }); 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); }); }, tmcf() { if (this.isLoading) { return; } var that = this; that.isLoading = true; 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.fnm) { this.$toast.fail("发料数量不能为空"); that.$playSound('error'); that.isLoading = false; return; } if (that.fnm <= 0) { this.$toast.fail("发料数量不能小于等于零"); that.$playSound('error'); that.isLoading = false; return; } @@ -196,15 +220,18 @@ that.barcode = json.data.form.barcode; that.ItemBlDetail = json.data.item that.$notify({ type: 'success', message: json.data.message }); 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); }); } H5/Js/Qtrk.js
@@ -42,6 +42,7 @@ if (json.data.tbBillList.length <= 0) { that.$toast.fail("没有可用的数据"); that.$playSound('error'); } else { that.actions = json.data.tbBillList.map(item => { return { name: item } @@ -50,12 +51,14 @@ } 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); }); }, @@ -90,12 +93,14 @@ } 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); }); }, @@ -111,6 +116,7 @@ if (!that.billNo) { this.$toast.fail("申请单号不能为空"); that.$playSound('error'); that.$refs.sectionCode.focus(); that.sectionCode = null; that.isLoading = false; @@ -119,6 +125,7 @@ if (!that.sectionCode) { this.$toast.fail("库位编码不能为空"); that.$playSound('error'); that.isLoading = false; return; } @@ -130,11 +137,13 @@ .then(function (res) { var json = res; if (json.status == 0) { that.$notify({ type: 'success', message: json.data.tbBillList }); //that.$notify({ type: 'success', message: json.data.tbBillList }); //that.$playSound('success'); that.$refs.barcode.focus(); } else { that.$toast.fail(json.message); that.$playSound('error'); that.$refs.sectionCode.focus(); that.sectionCode = null; } @@ -143,6 +152,7 @@ .catch(function (error) { that.isLoading = false; that.$toast.fail("网络错误,请重试!"); that.$playSound('error'); console.log(error); }); }, @@ -155,24 +165,28 @@ 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.sectionCode) { this.$toast.fail("库位编码不能为空"); that.$playSound('error'); that.isLoading = false; return; } @@ -193,11 +207,13 @@ that.barcode = null; that.ItemBlDetail = json.data.items; that.$notify({ type: 'success', message: '扫描成功' }); that.$playSound('success'); that.$refs.barcode.focus(); //that.GetMesItemBlDetailByBillNo() } else { that.$toast.fail(json.message); that.$playSound('error'); that.$refs.barcode.focus(); that.barcode = null; } @@ -206,6 +222,7 @@ .catch(function (error) { that.isLoading = false; that.$toast.fail("网络错误,请重试!"); that.$playSound('error'); console.log(error); }); }, H5/Qtck.aspx
@@ -67,7 +67,7 @@ </van-cell-group> </div> <div class="van-tab-left"> <%-- <div class="van-tab-left"> <van-tabs @click="onClick" color="#000" title-active-color="#0283EF" > <van-tab title="待领物料"> <van-row v-for="value in ItemBlDetail" class="font"> @@ -77,7 +77,50 @@ </van-row> </van-tab> </van-tabs> </div> </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-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet> </asp:Content> @@ -86,5 +129,5 @@ <%--<comback ></comback>--%> </asp:Content> <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> <script src="Js/Qtck.js?<%=113 %>"></script> <script src="Js/Qtck.js?<%=11300 %>"></script> </asp:Content> Images/Style.css
@@ -4,7 +4,7 @@ font-family: Microsoft YaHei,Helvitica,Verdana,Arial,san-serif; padding: 0px; margin: 0px; /*font-family: '微软雅黑', 'Microsoft YaHei', sans-serif;*/ /* font-family: '宋体', 'Microsoft YaHei', sans-serif;*/ } a, a:hover { @@ -366,6 +366,13 @@ padding: .020rem .0800rem; /* 更小的内边距 */ } /* 减少左侧标题的字体大小并使颜色更淡 */ .van-field__label { color: #000000!important; /* 更淡的颜色 */ } .van-field--disabled .van-field__label { color: #000000 !important; } /*IQC检验整体样式 20250322 池南骏*/ .van-popup__close-icon--top-right { @@ -405,6 +412,9 @@ margin-right: 0rem; font-size: .20rem; /* 字体大小减小 */ } .van-field--disabled .van-field__label { color: #9c9898 !important; } /* 增加右侧输入区域的字体大小并加深颜色 */ .van-cell__value { Mst.master
@@ -14,7 +14,7 @@ <script src="/scripts/config.js?<%=123611117 %>"></script> <link href="/scripts/vant/vant.css" rel="stylesheet" /> <script src="/scripts/vant/vant.js"></script> <link href="/Images/Style.css?<%=16994 %>" rel="stylesheet" /> <link href="/Images/Style.css?<%=169950 %>" rel="stylesheet" /> <script src="/Scripts/uni.webview.1.5.2.js"></script> <asp:ContentPlaceHolder ID="head" runat="server"> </asp:ContentPlaceHolder>