| H5/Js/Yjdb.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| H5/Js/cprk.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| H5/Yjdb.aspx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| H5/cprk.aspx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
H5/Js/Yjdb.js
@@ -34,6 +34,7 @@ loginGuid: this.GetLoginInfor().loginGuid, loginAccount: this.GetLoginInfor().loginAccount, }; this.$refs.sectionCode.focus(); }, methods: { handleRowClick(item, index) { @@ -148,7 +149,7 @@ var tbBillList = json.data.tbBillList || {}; that.ItemBlDetail = tbBillList.blDetails || []; // 待扫 that.ItemYsDetail = tbBillList.ysDetails || []; // 已扫 that.$refs.barcode.focus(); that.$refs.sectionCode.focus(); that.barcode = ""; that.sectionCode = tbBillList.allList[0].inKw; // 重置库位查询中所有行的选中状态 H5/Js/cprk.js
@@ -16,6 +16,8 @@ itemInsFormData: {}, tableData: [], itemTableData: [], itemDetail: [], barcodeDetail: [], barMessage: "", Message: "", @@ -92,11 +94,11 @@ .then(function (res) { var json = res; if (json.status == 0) { that.formData.itemNo = json.data.tbMesItems.itemNo; that.formData.itemName = json.data.tbMesItems.itemName; that.formData.itemModel = json.data.tbMesItems.itemModel; that.formData.barQuantity = json.data.tbBillList.quantity; that.formData.DAA001 = json.data.tbBillList.billNo; that.formData.itemNo = json.data.tbBillList.barcodeInfo[0].ITEM_NO; that.formData.itemName = json.data.tbBillList.barcodeInfo[0].item_name; that.formData.itemModel = json.data.tbBillList.barcodeInfo[0].item_model; that.formData.barQuantity = json.data.tbBillList.barcodeInfo[0].QUANTITY; that.formData.DAA001 = json.data.tbBillList.barcodeInfo[0].BILL_NO; //that.formData.sumQuantity = json.data.tbMesItems.quantity; if (that.formData.sectionCode == "" || that.formData.sectionCode == null) { that.$refs.sectionCode.focus(); @@ -126,6 +128,31 @@ getScan() { var that = this; that.AxiosHttp("post", 'MesCprk/GetBarInfo', { sectionCode: that.formData.sectionCode, userName: that.userInfo.loginAccount, barcode: that.formData.barcode, }, false) .then(function (res) { var json = res; if (json.status == 0) { that.itemDetail = json.data.tbBillList.xcslItemList that.barcodeDetail = json.data.tbBillList.xcslWjsBarList } else { 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'); @@ -151,6 +178,7 @@ that.formData.cfNum = null; that.$playSound('success'); that.$notify({ type: 'success', message: json.message }); } else { that.$playSound('error'); H5/Yjdb.aspx
@@ -8,11 +8,7 @@ </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="返回" H5/cprk.aspx
@@ -82,11 +82,56 @@ <van-button type="primary" @click="getScan" >确认</van-button> <%--<van-button type="primary" @click="ToErp" >审核</van-button>--%> <van-button type="primary" @click="cleraCode" >清除库位编码</van-button> <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 itemDetail" :key="index"> <van-col span="8" > <div class="blue-text">{{itm.itemNo}}</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.rks}}</van-col> </van-row> </van-tab> <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 barcodeDetail" :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.rks}}</van-col> </van-row> </van-tab> </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/cprk.js?<%=1214 %>"></script> <script src="Js/cprk.js?<%=1217 %>"></script> </asp:Content>